HK1233069B - Instant messaging method and client - Google Patents
Instant messaging method and client Download PDFInfo
- Publication number
- HK1233069B HK1233069B HK17106420.8A HK17106420A HK1233069B HK 1233069 B HK1233069 B HK 1233069B HK 17106420 A HK17106420 A HK 17106420A HK 1233069 B HK1233069 B HK 1233069B
- Authority
- HK
- Hong Kong
- Prior art keywords
- message
- instant messaging
- identity information
- voice message
- client
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及通信领域,特别涉及一种即时通讯方法和服务器。The present application relates to the field of communications, and in particular to an instant messaging method and server.
背景技术Background Art
TTS(Text To Speech)技术是一种能够将文本转换成语音的技术,其能够将文件、网页或文字消息等转换成语音之后输出。TTS (Text To Speech) technology is a technology that can convert text into speech. It can convert files, web pages or text messages into speech and then output them.
目前在传统的电话通信和互联网通信领域,TTS技术都有应用。比如,一些固定语音播报的事项,可以采用TTS技术,在出现修改的时候,只需要修改文本即可,而无需重新进行录音等繁琐操作。TTS technology is currently used in both traditional telephone and internet communications. For example, fixed voice announcements can be made with TTS, allowing changes to be made by simply modifying the text without the need for tedious re-recording or other complex operations.
TTS技术中语音比较标准,且给人较为规范的使用体验。然而,随着社会发展,一些不法分子利用人们对TTS技术的认可,利用TTS技术播报虚假信息,以期蒙蔽受害人,达到非法骗取财物的目的。比如,虚假电话等。使得越来越多的人们越发的敏感,接收到采用TTS语音播报的电话或语音消息时,会认为是虚假消息而直接挂断或者停止收听。由于现有的通信系统或网络系统难以针对虚假信息和非虚假信息进行有效区分,使得采用TTS技术的语音通信或语音消息存在一些被接收方误以为虚假信息而拒听或不回复的情况。TTS technology offers relatively standard voices and a consistent user experience. However, as society evolves, some criminals are exploiting public acceptance of TTS technology to broadcast false information, attempting to deceive victims and defraud them of their property. This includes spoofed phone calls. This has led to a growing number of people becoming increasingly sensitive to TTS voices, believing calls or voice messages broadcast using TTS to be fake and hanging up or stopping listening immediately. Because existing communication and network systems struggle to effectively distinguish between genuine and fake information, TTS voice communications and messages are sometimes mistakenly perceived by recipients as fraudulent and lead to them refusing to listen or responding.
发明内容Summary of the Invention
本申请实施方式的目的是提供一种能够有效避免消息接收方接听误会的即时通讯方法和服务器。The purpose of the embodiments of the present application is to provide an instant messaging method and server that can effectively avoid misunderstandings when a message recipient answers the message.
为解决上述技术问题,本申请提供一种即时通讯方法,其包括:接收第一客户端发出的即时通讯消息,所述即时通讯消息附带有第一身份信息和第二身份信息;根据所述第一身份信息获取对应的自定义语音消息;将所述即时通讯消息与所述自定义语音消息合并,形成当前消息;将所述当前消息发送给所述第二身份信息对应的通信设备。To solve the above technical problems, the present application provides an instant messaging method, which includes: receiving an instant messaging message sent by a first client, the instant messaging message being accompanied by first identity information and second identity information; obtaining a corresponding custom voice message based on the first identity information; merging the instant messaging message with the custom voice message to form a current message; and sending the current message to a communication device corresponding to the second identity information.
本申请还提供一种服务器,该服务器包括:接收模块,用于接收第一客户端发出的即时通讯消息,所述即时通讯消息附带有第一身份信息和第二身份信息;获取模块,用于根据所述第一身份信息获取对应的自定义语音消息;合并模块,用于将所述即时通讯消息与所述自定义语音消息合并,形成当前消息;发送模块,用于将所述当前消息发送给所述第二身份信息对应的通信设备。The present application also provides a server, which includes: a receiving module for receiving an instant messaging message sent by a first client, wherein the instant messaging message is accompanied by first identity information and second identity information; an acquisition module for acquiring a corresponding custom voice message based on the first identity information; a merging module for merging the instant messaging message with the custom voice message to form a current message; and a sending module for sending the current message to a communication device corresponding to the second identity information.
由以上本申请实施方式提供的技术方案可见,本申请可以通过在即时通讯过程中,将从第一客户端发出的即时通讯消息与所述自定义语音消息合并,形成当前消息,并将其发送给与第二身份信息对应的通信设备。当消息接收方接听到所述当前消息时,由于会首先听到与消息发送方身份相匹配的自定义语音消息,因此,能够准确识别出消息发送方的身份,从而能够有效避免消息接收方接听误会,提高了沟通的成功率。As can be seen from the technical solutions provided by the above embodiments of the present application, the present application can, during the instant messaging process, merge the instant messaging message sent from the first client with the custom voice message to form a current message, and send it to the communication device corresponding to the second identity information. When the message recipient hears the current message, since they will first hear the custom voice message that matches the identity of the message sender, they can accurately identify the identity of the message sender, thereby effectively avoiding misunderstandings by the message recipient and improving the success rate of communication.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the implementation methods of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the implementation methods or the description of the prior art. Obviously, the drawings described below are only some implementation methods recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
图1为本申请一个实施方式提供的即时通讯方法的流程图;FIG1 is a flow chart of an instant messaging method provided by one embodiment of the present application;
图2为本申请一个实施方式提供的即时通讯方法的流程图;FIG2 is a flow chart of an instant messaging method provided by one embodiment of the present application;
图3为本申请一个实施方式提供的即时通讯方法的流程图;FIG3 is a flow chart of an instant messaging method provided by one embodiment of the present application;
图4为本申请一个实施方式提供的即时通讯方法的流程图;FIG4 is a flow chart of an instant messaging method provided by one embodiment of the present application;
图5为本申请一个实施方式提供的服务器的模块图。FIG5 is a module diagram of a server provided in one embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本申请一部分实施方式,而不是全部的实施方式。基于本申请中的实施方式,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施方式,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solutions in this application, the following will clearly and completely describe the technical solutions in the embodiments of this application in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
请参阅图1,为本申请的一个实施方式提供的即时通讯方法,其包括如下步骤。Please refer to FIG1 , which shows an instant messaging method provided by one embodiment of the present application, and includes the following steps.
步骤S10:接收第一客户端发出的即时通讯消息,所述即时通讯消息附带有第一身份信息和第二身份信息。Step S10: receiving an instant messaging message sent by the first client, wherein the instant messaging message is accompanied by first identity information and second identity information.
在本实施方式中,第一客户端可以是一个具有网络通信功能的通信设备,例如智能手机、平板电脑、台式电脑、笔记本电脑或智能可穿戴设备等等。当然,第一客户端也可以是运行在上述通信设备中的软件。所述第一客户端可以被用户使用,以发出即时通讯消息。In this embodiment, the first client can be a communication device with network communication capabilities, such as a smartphone, tablet computer, desktop computer, laptop computer, or smart wearable device. Of course, the first client can also be software running on the above communication device. The first client can be used by the user to send instant messaging messages.
在本实施方式中,客户端之间可以进行通讯,即互相向对方发出即时通讯消息。在本实施方式中,即时通讯消息可以包括文字、语音、图片或文件等。In this embodiment, the clients can communicate with each other, that is, send instant messaging messages to each other. In this embodiment, the instant messaging messages can include text, voice, pictures or files.
在本实施方式中,身份信息可以用于标识客户端,使得在客户端之间通讯过程中,可以通过身份信息相互分辨。具体地,第一客户端和第二客户端之间进行即时通讯时,可以建立一个会话并建立会话标识,将标识第一客户端的第一身份信息和标识第二客户端的第二身份信息与会话标识相对应,在第一客户端与第二客户端交互通讯的过程中,即时通讯服务器便可以根据第一身份信息和第二身份信息区分当前即时通讯消息的发出方和接收方。再者,作为接收方的客户端可以根据即时通讯消息附带的身份信息找到对应的会话标识,进而确定展示当前即时通讯消息的会话。In this embodiment, identity information can be used to identify a client, allowing clients to distinguish each other through identity information during communication. Specifically, when a first client and a second client engage in instant messaging, a session and a session identifier can be established. The first identity information identifying the first client and the second identity information identifying the second client are associated with the session identifier. During the interactive communication between the first and second clients, the instant messaging server can distinguish the sender and receiver of the current instant messaging message based on the first and second identity information. Furthermore, the receiving client can find the corresponding session identifier based on the identity information attached to the instant messaging message, thereby determining the session in which the current instant messaging message is displayed.
在本实施方式中,即时通讯消息附带有第一身份信息和第二身份信息,可以包括第一身份信息和第二身份信息时即时通讯消息内容的一部分;可以包括第一身份信息和第二身份信息是即时通讯消息的附件;还可以包括第一身份信息和第二身份信息中,一个是即时通讯消息的附件,另一个是即时通讯消息的内容的一部分。In this embodiment, the instant messaging message is accompanied by the first identity information and the second identity information, which may include the first identity information and the second identity information being part of the instant messaging message content; the first identity information and the second identity information may be attachments to the instant messaging message; or the first identity information and the second identity information may include one being an attachment to the instant messaging message and the other being part of the content of the instant messaging message.
步骤S12:根据所述第一身份信息获取对应的自定义语音消息。Step S12: Obtain a corresponding custom voice message according to the first identity information.
在本实施方式中,所述自定义语音消息可以向消息接收方准确标识消息发送方的身份。所述自定义语音消息可以为由第一客户端录制并对应存储于即时通讯服务器的一段个性话语音。例如:“我是A,以下消息是我给你发送的,收到请尽快回复。”In this embodiment, the customized voice message can accurately identify the message sender to the message recipient. The customized voice message can be a personalized voice message recorded by the first client and stored on the instant messaging server. For example, "I am A. I am sending you the following message. Please reply as soon as possible."
在本实施方式中,所述自定义语音消息可以通过录制的方式制作,也可以通过其他方式制作,只需当消息接收方收到所述自定义语音消息时,能够准确识别消息发送方的身份,而不会怀疑所接收到的消息为虚假信息而挂断或直接忽略不再进一步回复。所属领域技术人员在本申请技术精髓启示下,还可能做出其它变更,但只要其功能和效果与本申请相同或相似均应涵盖于本申请保护范围内。In this embodiment, the customized voice message can be produced by recording or other means. As long as the recipient of the message accurately identifies the sender upon receiving the customized voice message, the recipient will not suspect the message is false and hang up or simply ignore it without further reply. Persons skilled in the art may make other modifications based on the technical essence of this application. However, as long as the functions and effects thereof are the same or similar to those of this application, they shall be included within the scope of protection of this application.
在本实施方式中,所述自定义语音消息存储时,可以根据所述第一身份信息对应存储于即时通讯服务器,当需要获取所述自定义语音消息时,根据所述第一身份信息在服务器上查找获取即可。具体的,举例为:可以设置有数据表,其中数据表中的第一列数据为第一身份信息,第二列数据为对应的自定义语音信息的存储路径。如此通过在该数据表中查找第一身份信息,便可以对应获得相应的自定义语音信息的存储路径。In this embodiment, the customized voice message can be stored on the instant messaging server according to the first identity information. When the customized voice message is needed, it can be retrieved by searching the server based on the first identity information. Specifically, for example, a data table can be provided, wherein the first column of data in the data table contains the first identity information, and the second column of data contains the storage path of the corresponding customized voice message. Thus, by searching the data table for the first identity information, the storage path of the corresponding customized voice message can be obtained.
步骤S14:将所述即时通讯消息与所述自定义语音消息合并,形成当前消息。Step S14: merging the instant messaging message and the custom voice message to form a current message.
在本实施方式中,即时通讯服务器通过查找第一客户端的第一身份信息,获得自定义语音消息对应存储的位置,进而获取自定义语音消息,将第一客户端发出的即时通讯消息与自定义语音消息合并,即时通讯消息可以处于自定义语音消息的末尾,从而形成当前消息。具体的,举例为:所述即时通讯消息可以为文本消息,可以利用TTS技术,将即时通讯消息转为语音消息之后,将该语音消息与自定义语音消息合并。所述即时通讯消息可以为语音消息,可以直接将即时通讯消息合并至自定义语音消息的末尾。进一步举例为:对应于所述即时通讯消息的内容包括图片,可以首先通过图片识别技术,识别出图片中的文字,然后可以通过TTS技术将该文字转换成语音消息,再将该语音消息与自定义语音消息合并。对应于所述即时通讯消息的内容包括文件,可以通过TTS技术将文件内容转换成语音消息,然后将该语音消息与自定义语音消息合并。In this embodiment, the instant messaging server retrieves the first identity information of the first client to obtain the storage location corresponding to the custom voice message, and then obtains the custom voice message. The instant messaging server merges the instant messaging message sent by the first client with the custom voice message, with the instant messaging message being placed at the end of the custom voice message to form the current message. Specifically, for example, if the instant messaging message can be a text message, the instant messaging message can be converted into a voice message using Text-to-Speed Transmission (TTS) technology, and then the voice message can be merged with the custom voice message. If the instant messaging message can be a voice message, the instant messaging message can be directly merged into the end of the custom voice message. For a further example, if the content of the instant messaging message includes an image, image recognition technology can be used to first identify the text within the image, and then the text can be converted into a voice message using TTS technology, and then the voice message can be merged with the custom voice message. If the content of the instant messaging message includes a file, the file content can be converted into a voice message using TTS technology, and then the voice message can be merged with the custom voice message.
步骤S16:将所述当前消息发送给所述第二身份信息对应的通信设备。Step S16: Send the current message to the communication device corresponding to the second identity information.
在本实施方式中,所述通信设备可以为具有网络通信功能的通信设备,例如智能手机、平板电脑或智能可穿戴设备等等。所述通信设备可以被用户使用,以接收当前消息。In this embodiment, the communication device may be a communication device with a network communication function, such as a smart phone, a tablet computer, or a smart wearable device, etc. The communication device may be used by a user to receive a current message.
在本实施方式中,所述第二身份信息用于标识与之对应的通信设备。具体的当第一客户端和第二客户端之间进行即时通讯时,可以建立一个会话并建立会话标识,将标识第一客户端的第一身份信息和标识第二客户端的第二身份信息与会话标识相对应,在第一客户端与第二客户端交互通讯的过程中,即时通讯服务器便可以根据第一身份信息和第二身份信息区分当前即时通讯消息的发出方和接收方。当即时服务器上形成当前消息后,其能够将所述当前消息准确发送至与所述第二身份信息相对于的通信设备。In this embodiment, the second identity information is used to identify the corresponding communication device. Specifically, when a first client and a second client engage in instant messaging, a session and a session identifier can be established. The first identity information identifying the first client and the second identity information identifying the second client are associated with the session identifier. During the interactive communication between the first and second clients, the instant messaging server can distinguish the sender and receiver of the current instant messaging message based on the first and second identity information. Once the current message is formed on the instant messaging server, it can accurately send the current message to the communication device associated with the second identity information.
本申请实施方式提供的即时通讯方法,通过在即时通讯过程中,将从第一客户端接收到的即时通讯消息合并至自定义语音消息的末尾,形成当前消息,并将其发送给与第二身份信息对应的通信设备。当消息接收方接听到所述当前消息时,由于会首先听到与消息发送方身份相匹配的自定义语音消息,因此,能够准确识别出消息发送方的身份,从而能够有效避免消息接收方接听误会,提高了沟通的成功率。The instant messaging method provided in the embodiments of the present application combines an instant messaging message received from a first client with the end of a custom voice message during the instant messaging process to form a current message, and then sends the current message to a communication device corresponding to the second identity information. When the message recipient receives the current message, since they first hear the custom voice message that matches the identity of the message sender, they can accurately identify the identity of the message sender, thereby effectively avoiding misunderstandings by the message recipient and improving the success rate of communication.
请参阅图2,在本申请的一个实施方式中,即时通讯消息为文本消息。在所述步骤S14中可以包括如下步骤。Please refer to Figure 2, in one embodiment of the present application, the instant messaging message is a text message. Step S14 may include the following steps.
步骤S17:将所述即时通讯消息由文本消息转换成语音消息。Step S17: Convert the instant messaging message from a text message to a voice message.
步骤S19:将所述即时通讯消息合并至所述自定义消息的末尾。Step S19: Merge the instant messaging message to the end of the custom message.
在本实施方式中,在即时通讯消息为文本消息时,可以首先进行格式转换,即将文本消息转换成语音消息。然后在进行消息的合并。具体的,举例为:可以利用TTS技术,将文本消息转换为语音消息,然后将该语音消息与自定义语音消息合并。In this embodiment, when the instant messaging message is a text message, it can first be converted into a voice message. Then, the messages can be merged. Specifically, for example, text-to-speech (TTS) technology can be used to convert the text message into a voice message, which can then be merged with the custom voice message.
请参阅图3,在本申请的一个实施方式中,所述方法还包括如下步骤。Please refer to FIG3 . In one embodiment of the present application, the method further includes the following steps.
步骤S20:接收所述第一客户端发出的自定义语音消息,获取所述自定义语音消息对应的第一身份信息。Step S20: receiving the custom voice message sent by the first client, and obtaining the first identity information corresponding to the custom voice message.
步骤S22:将所述自定义语音消息和所述第一身份信息对应存储。Step S22: storing the customized voice message and the first identity information in correspondence with each other.
在本实施方式中,可以通过向服务器上传的方式设置自定义语音消息。比如,用户可以在本地事先录制自定义语音消息之后,将该自定义语音消息上传至服务器,如此实现设置自定义语音消息。In this embodiment, the custom voice message can be set by uploading it to the server. For example, the user can pre-record the custom voice message in this local area and then upload the custom voice message to the server to set the custom voice message.
在本实施方式中,获取第一身份信息的方式可以包括自定义语音消息附带第一身份信息,接收到自定义语音消息之后,便可以获得第一身份信息。还可以包括在上传自定义语音消息的界面,可以输入第一身份信息,从而在上传自定义语音消息时,可以与第一身份信息对应存储。在本实施方式中,可以采用数据表记录第一身份信息和自定义语音消息的存储路径,如此便可以根据第一身份信息进一步得到自定义语音信息。In this embodiment, the method for obtaining the first identity information may include attaching the first identity information to a customized voice message, so that the first identity information can be obtained after receiving the customized voice message. The method may also include allowing the first identity information to be entered in an interface for uploading the customized voice message, so that when the customized voice message is uploaded, it can be stored in association with the first identity information. In this embodiment, a data table can be used to record the storage path of the first identity information and the customized voice message, so that the customized voice message can be further obtained based on the first identity information.
在本实施方式中,所述自定义语音消息存储时,可以根据所述第一身份信息对应存储于即时通讯服务器,当需要获取所述自定义语音消息时,根据所述第一身份信息在服务器上查找获取即可。In this embodiment, when the custom voice message is stored, it can be stored in the instant messaging server according to the first identity information. When the custom voice message needs to be obtained, it can be searched and obtained on the server according to the first identity information.
请参阅图4,在一个实施方式中,在将当前消息发送给通信设备的步骤中包括:Referring to FIG. 4 , in one embodiment, the step of sending the current message to the communication device includes:
步骤S24:获取所述第二身份信息绑定的通信号码。Step S24: Obtain the communication number bound to the second identity information.
步骤S26:向所述通信号码发起呼叫。Step S26: Initiate a call to the communication number.
步骤S28:在与使用所述通信号码的所述通信设备建立通信时,将所述当前消息发送给所述通信设备。Step S28: When establishing communication with the communication device using the communication number, sending the current message to the communication device.
在本实施方式中,通信设备可以具有电信运营商提供的通信号码,在向该通信号码发起呼叫时,可以通过电信运营商的服务器与通信设备建立通信,从而进行电话通信。In this embodiment, the communication device may have a communication number provided by a telecommunications operator. When a call is made to the communication number, communication may be established with the communication device through the server of the telecommunications operator, thereby conducting telephone communication.
在本实施方式中,在第二身份信息对应的用户可以设置有个人信息,该个人信息中可以包括有该用户的通信号码,由于第二身份信息标识该用户,使得第二身份信息与通信号码之间可以存在绑定关系。即已知第二身份信息便可以获取通信号码。In this embodiment, the user corresponding to the second identity information may be provided with personal information, which may include the user's contact number. Since the second identity information identifies the user, a binding relationship may exist between the second identity information and the contact number. That is, the contact number can be obtained by knowing the second identity information.
在本实施方式中,向通信号码发起呼叫,若通信设备接受了呼叫,从而实现建立通信。根据建立的通信,将当前消息发送给通信设备。具体的,通信建立之后,需要将当前消息按照通信协议规定的编码方式,进行编码发送给通信设备,通信设备接收之后,会根据通信协议规定的解码方式解码,进而可以播放当前消息。In this embodiment, a call is initiated to the communication number. If the communication device accepts the call, communication is established. Based on the established communication, the current message is sent to the communication device. Specifically, after communication is established, the current message needs to be encoded according to the encoding method specified in the communication protocol and sent to the communication device. After receiving it, the communication device decodes it according to the decoding method specified in the communication protocol and then plays the current message.
请参阅图5,本申请实施方式还提供一种服务器110,其包括:接收模块20、获取模块22、合并模块24和发送模块26。Please refer to FIG. 5 . The embodiment of the present application further provides a server 110 , which includes: a receiving module 20 , an acquiring module 22 , a merging module 24 and a sending module 26 .
接收模块20,用于接收第一客户端发出的即时通讯消息,所述即时通讯消息附带有第一身份信息和第二身份信息。The receiving module 20 is configured to receive an instant messaging message sent by a first client, wherein the instant messaging message is accompanied by first identity information and second identity information.
在本实施方式中,第一客户端可以是一个具有网络通信功能的通信设备,例如智能手机、平板电脑、台式电脑、笔记本电脑或智能可穿戴设备等等。当然,第一客户端也可以是运行在上述通信设备中的软件。所述第一客户端可以被用户使用,以发出即时通讯消息。In this embodiment, the first client can be a communication device with network communication capabilities, such as a smartphone, tablet computer, desktop computer, laptop computer, or smart wearable device. Of course, the first client can also be software running on the above communication device. The first client can be used by the user to send instant messaging messages.
在本实施方式中,客户端之间可以进行通讯,即互相向对方发出即时通讯消息。在本实施方式中,即时通讯消息可以包括文字、语音、图片或文件等。In this embodiment, the clients can communicate with each other, that is, send instant messaging messages to each other. In this embodiment, the instant messaging messages can include text, voice, pictures or files.
在本实施方式中,身份信息可以用于标识客户端,使得在客户端之间通讯过程中,可以通过身份信息相互分辨。具体地,第一客户端和第二客户端之间进行即时通讯时,可以建立一个会话并建立会话标识,将标识第一客户端的第一身份信息和标识第二客户端的第二身份信息与会话标识相对应,在第一客户端与第二客户端交互通讯的过程中,即时通讯服务器便可以根据第一身份信息和第二身份信息区分当前即时通讯消息的发出方和接收方。再者,作为接收方的客户端可以根据即时通讯消息附带的身份信息找到对应的会话标识,进而确定展示当前即时通讯消息的会话。In this embodiment, identity information can be used to identify a client, allowing clients to distinguish each other through identity information during communication. Specifically, when a first client and a second client engage in instant messaging, a session and a session identifier can be established. The first identity information identifying the first client and the second identity information identifying the second client are associated with the session identifier. During the interactive communication between the first and second clients, the instant messaging server can distinguish the sender and receiver of the current instant messaging message based on the first and second identity information. Furthermore, the receiving client can find the corresponding session identifier based on the identity information attached to the instant messaging message, thereby determining the session in which the current instant messaging message is displayed.
在本实施方式中,即时通讯消息附带有第一身份信息和第二身份信息,可以包括第一身份信息和第二身份信息时即时通讯消息内容的一部分;可以包括第一身份信息和第二身份信息是即时通讯消息的附件;还可以包括第一身份信息和第二身份信息中,一个是即时通讯消息的附件,另一个是即时通讯消息的内容的一部分。In this embodiment, the instant messaging message is accompanied by the first identity information and the second identity information, which may include the first identity information and the second identity information being part of the instant messaging message content; the first identity information and the second identity information may be attachments to the instant messaging message; or the first identity information and the second identity information may include one being an attachment to the instant messaging message and the other being part of the content of the instant messaging message.
获取模块22,用于根据所述第一身份信息获取对应的自定义语音消息。The acquisition module 22 is configured to acquire a corresponding custom voice message according to the first identity information.
在本实施方式中,所述自定义语音消息可以向消息接收方准确标识消息发送方的身份。所述自定义语音消息可以为由第一客户端录制并对应存储于即时通讯服务器的一段个性话语音。例如:“我是XX,以下消息是我给你发送的,收到请尽快回复。”In this embodiment, the customized voice message can accurately identify the message sender to the message recipient. The customized voice message can be a personalized voice message recorded by the first client and stored on the instant messaging server. For example, "I am XX. The following message is from me. Please reply as soon as possible."
所述自定义语音消息可以通过录制的方式制作,也可以通过其他方式制作。只需当消息接收方收到所述自定义语音消息时,能够准确识别消息发送方的身份,而不会怀疑所接收到的消息为虚假信息而挂断或直接忽略不再进一步回复。The customized voice message can be produced by recording or other means. It is only necessary that when the message recipient receives the customized voice message, he or she can accurately identify the identity of the message sender and will not suspect that the received message is false information and hang up or directly ignore it without further reply.
在本实施方式中,所述自定义语音消息存储时,可以根据所述第一身份信息对应存储于即时通讯服务器,当需要获取所述自定义语音消息时,根据所述第一身份信息在服务器上查找获取即可。具体的,举例为:可以设置有数据表,其中数据表中的第一列数据为第一身份信息,第二列数据为对应的自定义语音信息的存储路径。如此通过在该数据表中查找第一身份信息,便可以对应获得相应的自定义语音信息的存储路径。In this embodiment, the customized voice message can be stored on the instant messaging server according to the first identity information. When the customized voice message is needed, it can be retrieved by searching the server based on the first identity information. Specifically, for example, a data table can be provided, wherein the first column of data in the data table contains the first identity information, and the second column of data contains the storage path of the corresponding customized voice message. Thus, by searching the data table for the first identity information, the storage path of the corresponding customized voice message can be obtained.
合并模块24,用于将所述即时通讯消息与所述自定义语音消息合并,形成当前消息。The merging module 24 is configured to merge the instant messaging message with the custom voice message to form a current message.
在本实施方式中,即时通讯服务器通过查找第一客户端的第一身份信息,获得自定义语音消息对应存储的位置,进而获取自定义语音消息,将第一客户端发出的即时通讯消息与自定义语音消息合并,即时通讯消息可以处于自定义语音消息的末尾,从而形成当前消息。具体的,举例为:所述即时通讯消息可以为文本消息,可以利用TTS技术,将即时通讯消息转为语音消息之后,将该语音消息与自定义语音消息合并。所述即时通讯消息可以为语音消息,可以直接将即时通讯消息合并至自定义语音消息的末尾。进一步举例为:对应于所述即时通讯消息的内容包括图片,可以首先通过图片识别技术,识别出图片中的文字,然后可以通过TTS技术将该文字转换成语音消息,再将该语音消息与自定义语音消息合并。对应于所述即时通讯消息的内容包括文件,可以通过TTS技术将文件内容转换成语音消息,然后将该语音消息与自定义语音消息合并。In this embodiment, the instant messaging server retrieves the first identity information of the first client to obtain the storage location corresponding to the custom voice message, and then obtains the custom voice message. The instant messaging server merges the instant messaging message sent by the first client with the custom voice message, with the instant messaging message being placed at the end of the custom voice message to form the current message. Specifically, for example, if the instant messaging message can be a text message, the instant messaging message can be converted into a voice message using Text-to-Speed Transmission (TTS) technology, and then the voice message can be merged with the custom voice message. If the instant messaging message can be a voice message, the instant messaging message can be directly merged into the end of the custom voice message. For a further example, if the content of the instant messaging message includes an image, image recognition technology can be used to first identify the text within the image, and then the text can be converted into a voice message using TTS technology, and then the voice message can be merged with the custom voice message. If the content of the instant messaging message includes a file, the file content can be converted into a voice message using TTS technology, and then the voice message can be merged with the custom voice message.
发送模块26,用于将所述当前消息发送给所述第二身份信息对应的通信设备。The sending module 26 is configured to send the current message to the communication device corresponding to the second identity information.
在本实施方式中,所述通信设备可以为具有网络通信功能的通信设备,例如智能手机、平板电脑、台式电脑、笔记本电脑或智能可穿戴设备等等。当然,第一客户端也可以是运行在上述通信设备中的软件。所述通信设备可以为一个或多个。所述通信设备可以被用户使用,以接收当前消息。In this embodiment, the communication device may be a communication device with network communication capabilities, such as a smartphone, tablet computer, desktop computer, laptop computer, or smart wearable device. Of course, the first client may also be software running on the above communication device. There may be one or more communication devices. The communication device may be used by the user to receive current messages.
在本实施方式中,所述第二身份信息用于标识与之对应的通信设备。In this embodiment, the second identity information is used to identify the corresponding communication device.
具体的当第一客户端和第二客户端之间进行即时通讯时,可以建立一个会话并建立会话标识,将标识第一客户端的第一身份信息和标识第二客户端的第二身份信息与会话标识相对应,在第一客户端与第二客户端交互通讯的过程中,即时通讯服务器便可以根据第一身份信息和第二身份信息区分当前即时通讯消息的发出方和接收方。当即时服务器上形成当前消息后,其能够将所述当前消息准确发送至与所述第二身份信息相对于的通信设备。Specifically, when a first client and a second client engage in instant messaging, a session and a session identifier can be established. First identity information identifying the first client and second identity information identifying the second client are associated with the session identifier. During the interactive communication between the first and second clients, the instant messaging server can distinguish the sender and receiver of the current instant messaging message based on the first and second identity information. Once the current message is formed on the instant messaging server, it can accurately send the current message to the communication device associated with the second identity information.
由以上本申请实施方式提供的技术方案可见,本申请可以通过在即时通讯过程中,将从第一客户端发出的即时通讯消息合并至自定义语音消息的末尾,形成当前消息,并将其发送给与第二身份信息对应的通信设备。当消息接收方接听到所述当前消息时,由于会首先听到与消息发送方身份相匹配的自定义语音消息,因此,能够准确识别出消息发送方的身份,从而能够有效避免消息接收方接听误会,提高了沟通的成功率。As can be seen from the technical solutions provided by the above embodiments of the present application, the present application can, during the instant messaging process, merge the instant messaging message sent from the first client into the end of the custom voice message to form a current message, and send it to the communication device corresponding to the second identity information. When the message recipient hears the current message, since they will first hear the custom voice message that matches the identity of the message sender, they can accurately identify the identity of the message sender, thereby effectively avoiding misunderstandings by the message recipient and improving the success rate of communication.
在本申请文件中,介绍了本申请的多个实施方式,所属领域技术人员可以理解得出,本申请中的实施方式之间可以互相组合。而且,所属领域技术人员知道,本申请有许多变形和变化而不脱离本申请的精神,希望所附的权利要求包括这些变形和变化而不脱离本申请的精神。This application document describes multiple embodiments of the present invention. Those skilled in the art will appreciate that the embodiments described herein may be combined with one another. Furthermore, those skilled in the art will appreciate that many variations and modifications are possible without departing from the spirit of the present invention, and it is intended that the appended claims encompass such variations and modifications without departing from the spirit of the present invention.
Claims (5)
Publications (3)
| Publication Number | Publication Date |
|---|---|
| HK1233069A HK1233069A (en) | 2018-01-19 |
| HK1233069A1 HK1233069A1 (en) | 2018-01-19 |
| HK1233069B true HK1233069B (en) | 2021-08-13 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20250337835A1 (en) | Real-time voice paging voice augmented caller id/ring tone alias | |
| US8706912B2 (en) | Unified LTE cloud system | |
| US8428228B1 (en) | Unified communication system | |
| US11503439B2 (en) | Message management methods and systems | |
| US10334136B2 (en) | Processing a fax transmission using a mobile device | |
| CN106657528A (en) | Incoming call management method and device | |
| US8671149B1 (en) | Unified messaging platform with intelligent voice recognition (IVR) | |
| WO2019062285A1 (en) | Incoming call voice calling method and terminal | |
| US10505876B2 (en) | Instant communication method and server | |
| HK1233069B (en) | Instant messaging method and client | |
| JP2016163285A (en) | Troublesome telephone countermeasure system and troublesome telephone countermeasure method | |
| CN105519148A (en) | System for switching and outputting sender-controlled incoming ringtone and method therefor | |
| US8977245B2 (en) | Agent-based system for call verification | |
| KR101212271B1 (en) | Method for providing additional information on call connecting and recording-medium recorded program thereof | |
| CN103297627A (en) | Method, device and system for processing message | |
| HK1233069A (en) | Instant messaging method and client | |
| HK1233069A1 (en) | Instant messaging method and client | |
| US20220210270A1 (en) | System and Method for Transmitting and Receiving Multimedia Content Between the Caller and The Callee During Ring Time of a Voice Call | |
| US20080086565A1 (en) | Voice messaging feature provided for immediate electronic communications | |
| EP2672666A1 (en) | Sending and receiving a message including a personalized alert notification chosen by the sender | |
| WO2018232656A1 (en) | Voice playing method and mobile terminal |