CN108880993A - Voice instant messaging method, system and mobile terminal - Google Patents
Voice instant messaging method, system and mobile terminal Download PDFInfo
- Publication number
- CN108880993A CN108880993A CN201810705700.9A CN201810705700A CN108880993A CN 108880993 A CN108880993 A CN 108880993A CN 201810705700 A CN201810705700 A CN 201810705700A CN 108880993 A CN108880993 A CN 108880993A
- Authority
- CN
- China
- Prior art keywords
- voice
- slice
- received
- slices
- sending
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/16—Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,具体涉及一种语音即时通信方法、系统及移动终端。The invention relates to the field of communication technology, in particular to a voice instant communication method, system and mobile terminal.
背景技术Background technique
随着智能手表的普及,在手表上进行即时语音通讯已经成为一种趋势和潮流。目前,智能手表实现语音收发的过程如下:发送端在语音录制完成后,将语音一次性上传到服务器,再由服务器将语音数据一次性推送给接收端。然而,在实践中发现,在语音数据量过大或者网络性能较差的情况下,这种语音收发方式会产生较为明显的延迟,用户体验不佳。With the popularity of smart watches, instant voice communication on watches has become a trend and trend. At present, the voice sending and receiving process of the smart watch is as follows: After the voice recording is completed, the sending end uploads the voice to the server at one time, and then the server pushes the voice data to the receiving end at one time. However, in practice, it is found that in the case of excessive voice data volume or poor network performance, this voice sending and receiving method will cause relatively obvious delay, and the user experience is not good.
发明内容Contents of the invention
本发明实施例公开了一种语音即时通信方法、系统及移动终端,能够减少语音即时通信中语音数据传输的延迟,提高语音数据的传输速率。The embodiment of the invention discloses a voice instant communication method, system and mobile terminal, which can reduce the delay of voice data transmission in voice instant communication and improve the transmission rate of voice data.
本发明实施例第一方面公开一种语音即时通信方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a voice instant messaging method, the method comprising:
录制外部语音;Record external voice;
在所述外部语音的录制时长达到指定时长时,将所述指定时长内录制得到的语音数据作为一语音切片;所述语音切片携带有语音序列号;When the recording duration of the external voice reaches a specified duration, the voice data recorded within the specified duration is used as a voice slice; the voice slice carries a voice sequence number;
将所述语音切片发送给接收终端。Send the voice slice to the receiving terminal.
作为一种可选的实施方式,在本发明实施例第一方面中,所述将所述语音切片发送给接收终端,包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, the sending the voice slice to the receiving terminal includes:
将所述语音切片发送给服务器,以使所述服务器将所述语音切片转发给所述接收终端;sending the voice slice to a server, so that the server forwards the voice slice to the receiving terminal;
所述将所述语音切片发送给接收终端之后,所述方法还包括:After the voice slice is sent to the receiving terminal, the method further includes:
判断是否接收到所述服务器发送的响应信息,所述响应信息用于指示所述服务器已接收到所述语音切片;judging whether response information sent by the server is received, where the response information is used to indicate that the server has received the voice slice;
如果未接收到所述响应信息,重新发送所述语音切片。If the response information is not received, resend the voice slice.
作为另一种可选的实施方式,在本发明实施例第一方面中,在判断出未接收到所述响应信息之后,所述方法还包括:As another optional implementation manner, in the first aspect of the embodiments of the present invention, after it is determined that the response information has not been received, the method further includes:
判断所述语音切片重复发送的次数是否超过指定阈值,如果是,存储所述语音切片;Judging whether the number of times the voice slice is repeatedly sent exceeds a specified threshold, if yes, storing the voice slice;
如果所述语音切片重复发送的次数未超过所述指定阈值,执行所述重新发送所述语音切片。If the number of repeated sending of the voice slice does not exceed the specified threshold, perform the re-sending of the voice slice.
本发明实施例第二方面公开另一种语音即时通信方法,所述方法包括:The second aspect of the embodiment of the present invention discloses another voice instant messaging method, the method comprising:
接收发送终端发送的语音切片;所述语音切片为所述发送终端在录制外部语音时在指定时长内录制得到的语音数据,所述语音切片携带有语音序列号;Receiving the voice slice sent by the sending terminal; the voice slice is the voice data recorded by the sending terminal within a specified time period when recording external voice, and the voice slice carries a voice serial number;
检测接收到的所述语音切片所携带的语音序列号是否指示所述语音切片为目标语音消息的结束语音切片;Detecting whether the received voice sequence number carried by the voice slice indicates that the voice slice is the end voice slice of the target voice message;
若是,根据接收到的所有所述语音切片所携带的所述语音序列号,对接收到的所有所述语音切片进行组装以获得目标语音消息。If so, assemble all the received voice slices according to the voice sequence numbers carried by all the received voice slices to obtain a target voice message.
作为一种可选的实施方式,在本发明实施例第二方面中,在检测到所述接收到的所述语音切片为目标语音消息的结束语音切片之后,以及在所述根据接收到的所有所述语音切片所携带的语音序列号,对接收到的所有所述语音切片进行组装以获得目标语音消息之前,所述方法还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, after detecting that the received voice slice is the end voice slice of the target voice message, and after all The voice sequence number carried by the voice slice, before assembling all the voice slices received to obtain the target voice message, the method also includes:
识别所述结束语音切片所携带的发送总量,所述发送总量用于指示所述发送终端发送的所有所述语音切片的数量;Identifying the total amount of transmission carried by the end voice slice, where the total amount of transmission is used to indicate the number of all the voice slices sent by the sending terminal;
判断接收到的所有所述语音切片的数量是否与所述发送总量相对应,如果是,执行所述根据接收到的所有所述语音切片所携带的语音序列号,对接收到的所有所述语音切片进行组装以获得目标语音消息。Judging whether the number of all the voice slices received corresponds to the total amount of sending, if so, performing the step of performing the voice serial number carried by all the voice slices received, Voice slices are assembled to obtain the target voice message.
作为另一种可选的实施方式,在本发明实施例第二方面中,如果检测到所述接收到的所述语音切片不为目标语音消息的结束语音切片,所述方法还包括:As another optional implementation manner, in the second aspect of the embodiment of the present invention, if it is detected that the received voice slice is not the end voice slice of the target voice message, the method further includes:
存储接收到的所述语音切片。The received speech slice is stored.
本发明实施例第三方面公开一种移动终端,包括:The third aspect of the embodiment of the present invention discloses a mobile terminal, including:
录制单元,用于录制外部语音;a recording unit for recording external voice;
切片单元,用于在所述外部语音的录制时长达到指定时长时,将所述指定时长内录制得到的语音数据作为一语音切片;所述语音切片携带有语音序列号;A slicing unit, configured to use the voice data recorded within the specified time as a voice slice when the recording time of the external voice reaches a specified time; the voice slice carries a voice serial number;
发送单元,用于将所述语音切片发送给接收终端。A sending unit, configured to send the voice slice to a receiving terminal.
作为一种可选的实施方式,在本发明实施例第三方面中,所述发送单元用于将所述语音切片发送给接收终端的方式具体为:As an optional implementation manner, in the third aspect of the embodiment of the present invention, the manner in which the sending unit sends the voice slice to the receiving terminal is specifically:
所述发送单元,用于将所述语音切片发送给服务器,以便所述服务器将所述语音切片转发给所述接收终端;The sending unit is configured to send the voice slice to a server, so that the server forwards the voice slice to the receiving terminal;
以及,所述移动终端还包括:And, the mobile terminal also includes:
第一判断单元,用于在所述发送单元将所述语音切片发送给接收终端之后,判断是否接收到所述服务器发送的响应信息,所述响应信息用于指示所述服务器已接收到所述语音切片;The first judging unit is configured to judge whether the response information sent by the server is received after the sending unit sends the voice slice to the receiving terminal, and the response information is used to indicate that the server has received the voice slice;
所述发送单元,还用于在所述第一判断单元判断出未接收到所述响应信息之后,重新发送所述语音切片。The sending unit is further configured to resend the voice slice after the first judging unit judges that the response information has not been received.
作为另一种可选的实施方式,在本发明实施例第三方面中,所述移动终端还包括:As another optional implementation manner, in the third aspect of the embodiments of the present invention, the mobile terminal further includes:
第二判断单元,用于在所述第一判断单元判断出未接收到所述响应信息之后,判断所述语音切片重复发送的次数是否超过指定阈值;A second judging unit, configured to judge whether the number of repeated transmissions of the voice slice exceeds a specified threshold after the first judging unit judges that the response information has not been received;
第一存储单元,用于在所述第二判断单元判断出所述语音切片重复发送的次数超过所述指定阈值之后,存储所述语音切片;A first storage unit, configured to store the voice slice after the second judging unit determines that the number of times the voice slice is repeatedly sent exceeds the specified threshold;
所述发送单元用于在所述第一判断单元判断出未接收到所述响应信息之后重新发送所述语音切片的方式具体为:The manner in which the sending unit is used to resend the voice slice after the first judging unit judges that the response information has not been received is as follows:
所述发送单元,用于在所述第一判断单元判断出未接收到所述响应信息并且所述第二判断单元判断出所述语音切片重复发送的次数未超过所述指定阈值之后,重新发送所述语音切片。The sending unit is configured to resend after the first judging unit judges that the response information has not been received and the second judging unit judges that the number of times the voice slice is repeatedly sent does not exceed the specified threshold The speech slice.
本发明实施例第四方面公开另一种移动终端,包括:The fourth aspect of the embodiment of the present invention discloses another mobile terminal, including:
接收单元,用于接收发送终端发送的语音切片;所述语音切片为所述发送终端在在录制外部语音时在指定时长内录制得到的语音数据,所述语音切片携带有语音序列号;The receiving unit is used to receive the voice slice sent by the sending terminal; the voice slice is the voice data recorded by the sending terminal within a specified time period when recording external voice, and the voice slice carries a voice serial number;
检测单元,用于检测接收到的所述语音切片所携带的语音序列号是否指示所述语音切片为目标语音消息的结束语音切片;A detection unit, configured to detect whether the voice sequence number carried by the received voice slice indicates that the voice slice is the end voice slice of the target voice message;
组装单元,用于在所述检测单元检测到所述接收到的所述语音切片为目标语音消息的结束语音切片之后,根据接收到的所有所述语音切片所携带的语音序列号,对接收到的所有所述语音切片进行组装以获得目标语音消息。An assembling unit configured to, after the detection unit detects that the received voice slice is the end voice slice of the target voice message, according to the voice sequence numbers carried by all the received voice slices, All the speech slices are assembled to obtain the target speech message.
作为一种可选的实施方式,在本发明实施例第四方面中,所述移动终端还包括:As an optional implementation manner, in the fourth aspect of the embodiments of the present invention, the mobile terminal further includes:
识别单元,用于在所述检测单元检测到所述接收到的所述语音切片为目标语音消息的结束语音切片之后,以及在所述组装单元根据接收到的所有所述语音切片所携带的语音序列号,对接收到的所有所述语音切片进行组装以获得目标语音消息之前,识别所述结束语音切片所携带的发送总量,所述发送总量用于指示所述发送终端发送的所有所述语音切片的数量;The identification unit is configured to, after the detection unit detects that the received voice slice is the end voice slice of the target voice message, and after the assembly unit detects that the received voice slice is the end voice slice according to the received voice slices Sequence number, before assembling all the received voice slices to obtain the target voice message, identify the sending total amount carried by the end voice slice, the sending total amount is used to indicate all the sent terminal sent the number of speech slices;
第三判断单元,用于判断接收到的所有所述语音切片的数量是否与所述发送总量相对应;A third judging unit, configured to judge whether the number of all the received voice slices corresponds to the total amount sent;
所述组装单元,具体用于在所述第三判断单元判断出接收到的所有所述语音切片的数量与所述发送总量相对应时,根据接收到的所有所述语音切片所携带的语音序列号,对接收到的所有所述语音切片进行组装以获得目标语音消息。The assembling unit is specifically configured to, when the third judging unit judges that the number of all the received voice slices corresponds to the total amount of sending, according to the voice carried by all the received voice slices sequence number, and assemble all the received voice slices to obtain the target voice message.
作为另一种可选的实施方式,在本发明实施例第四方面中,所述移动终端还包括:As another optional implementation manner, in the fourth aspect of the embodiments of the present invention, the mobile terminal further includes:
第二存储单元,用于在所述检测单元检测到所述接收到的所述语音切片不为目标语音消息的结束语音切片时,存储当前接收到的所述语音切片。The second storage unit is configured to store the currently received voice slice when the detection unit detects that the received voice slice is not the end voice slice of the target voice message.
本发明实施例第五方面公开一种语音即时通信系统,包括:The fifth aspect of the embodiment of the present invention discloses a voice instant messaging system, including:
如本发明实施例第三方面公开的任一项移动终端;Any mobile terminal disclosed in the third aspect of the embodiment of the present invention;
以及,如本发明实施例第四方面公开的任一项移动终端。And, any mobile terminal disclosed in the fourth aspect of the embodiment of the present invention.
本发明第六方面公开一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序使得计算机执行本发明实施例第一方面公开的任一项方法和/或本发明实施例第二方面公开的任一项方法。The sixth aspect of the present invention discloses a computer-readable storage medium, which stores a computer program, wherein the computer program causes the computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention and/or the second method disclosed in the second embodiment of the present invention. Any one of the methods disclosed in the aspect.
本发明实施例第七方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行本发明实施例第一方面公开的任一项方法和/或本发明实施例第二方面公开的任一项方法。The seventh aspect of the embodiments of the present invention discloses a computer program product. When the computer program product runs on a computer, the computer executes any one of the methods disclosed in the first aspect of the embodiments of the present invention and/or the implementation of the present invention. Any method disclosed in the second aspect.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
本发明实施例中,发送终端在录制外部语音时,如果外部语音的录制时长达到指定时长,那么发送终端将录制到的语音数据作为一个语音切片发送给接收终端。相应地,接收终端接收发送终端发送的语音切片,并且在检测到接收的语音切片为目标语音消息的结束语音切片时,对接收到的所有语音切片进行组装,以得到目标语音消息。可见,实施本发明实施例,可以充分利用外部语音的录制时间,在发送终端录制语音数据的同时,接收终端同步进行语音数据的接收,当发送终端的语音录制完成时,接收终端已经接收到部分或全部的语音数据,从而可以减少语音数据传输的延迟,提高语音数据的传输速率,改善用户体验。In the embodiment of the present invention, when the sending terminal records the external voice, if the recording time of the external voice reaches a specified duration, the sending terminal sends the recorded voice data as a voice slice to the receiving terminal. Correspondingly, the receiving terminal receives the voice slice sent by the sending terminal, and when detecting that the received voice slice is the end voice slice of the target voice message, assembles all the received voice slices to obtain the target voice message. It can be seen that implementing the embodiment of the present invention can make full use of the external voice recording time. While the sending terminal is recording the voice data, the receiving terminal will receive the voice data synchronously. When the voice recording of the sending terminal is completed, the receiving terminal has already received part Or all voice data, thereby reducing the delay of voice data transmission, increasing the transmission rate of voice data, and improving user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本发明实施例公开的一种语音即时通信方法的流程示意图;Fig. 1 is a schematic flow chart of a voice instant messaging method disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种语音即时通信方法的流程示意图;Fig. 2 is a schematic flow chart of another voice instant messaging method disclosed in an embodiment of the present invention;
图3是本发明实施例公开的一种移动终端的结构示意图;FIG. 3 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种移动终端的结构示意图;FIG. 4 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;
图5是本发明实施例公开的一种语音即时通信系统的结构示意图;Fig. 5 is a schematic structural diagram of a voice instant messaging system disclosed in an embodiment of the present invention;
图6是本发明实施例公开的一种语音即时通信系统的工作流程示意图。Fig. 6 is a schematic diagram of a workflow of a voice instant messaging system disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要说明的是,本发明实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "include" and "have" and any variations thereof in the embodiments of the present invention and drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
本发明实施例公开了一种语音即时通信方法、系统及移动终端,能够减少语音即时通信中语音数据传输的延迟,提高语音数据的传输速率。以下分别进行详细说明。The embodiment of the invention discloses a voice instant communication method, system and mobile terminal, which can reduce the delay of voice data transmission in voice instant communication and improve the transmission rate of voice data. Each will be described in detail below.
实施例一Embodiment one
请参阅图1,图1是本发明实施例公开的一种语音即时通信方法的流程示意图。该语音即时通信方法适用于智能手表、手机、平板电脑、家教机等移动终端,下文所示的发送终端和接收终端可以为上述的任意一种移动终端,本发明实施例不做限定。其中,上述的移动终端的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows Phone8操作系统等等,本发明实施例不做限定。如图1所示,该语音即时通信方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a voice instant messaging method disclosed in an embodiment of the present invention. The voice instant communication method is applicable to mobile terminals such as smart watches, mobile phones, tablet computers, tutoring machines, etc. The sending terminal and receiving terminal shown below can be any of the above-mentioned mobile terminals, which are not limited in the embodiment of the present invention. Wherein, the above-mentioned operating system of the mobile terminal may include but not limited to Android operating system, IOS operating system, Symbian (Symbian) operating system, Black Berry (Blackberry) operating system, Windows Phone8 operating system, etc., the embodiment of the present invention does not Do limited. As shown in Figure 1, the voice instant communication method may include the following steps:
101、发送终端录制外部语音,并且在外部语音的录制时长达到指定时长时,将指定时长内录制得到的语音数据作为一语音切片。101. The sending terminal records the external voice, and when the recording time of the external voice reaches a specified time, uses the voice data recorded within the specified time as a voice slice.
本发明实施例中,用户可以通过屏幕按键、手势或者语音等方式输入语音录制开始指令,以触发启动发送终端的语音录制功能。在发送终端录制外部语音的过程中可以包括多个录制时长的计时周期,第一个计时周期中语音录制时长的计时起点可以为语音录制功能被触发启动的时刻,当语音录制时长的达到指定时长时,第一个计时周期结束,发送终端将第一个计时周期内录制得到的语音数据作为一语音切片;同时语音录制进入第二个计时周期,该第二个计时周期中语音录制时长的计时起点为第一个计时周期的结束时刻,依次类推,直至发送终端检测到输入的语音录制结束指令,结束外部语音的录制。可以理解的是,如果发送终端在某一计时周期内检测到语音录制结束指令,那么该计时周期可以被认为是最后一个计时周期,最后一个计时周期中语音录制时长的计时终点为检测到语音录制结束指令的时刻,也就是说,发送终端在最后一个计时周期内录制得到的最后一个语音切片的时长可以小于或等于一个指定时长,本发明实施例不做限定。In the embodiment of the present invention, the user may input a voice recording start command through screen keys, gestures, or voice to trigger the start of the voice recording function of the sending terminal. The process of recording external voice by the sending terminal may include multiple timing periods of recording duration. The timing starting point of the voice recording duration in the first timing period may be the moment when the voice recording function is triggered to start. When the voice recording duration reaches the specified duration , the first timing period ends, and the sending terminal takes the voice data recorded in the first timing period as a voice slice; at the same time, the voice recording enters the second timing period, and the timing of the voice recording duration in the second timing period The starting point is the end moment of the first timing period, and so on, until the sending terminal detects the input voice recording end command, and ends the external voice recording. It can be understood that if the sending terminal detects a voice recording end instruction within a certain timing period, then this timing period can be considered as the last timing period, and the timing end point of the voice recording duration in the last timing period is the detected voice recording The moment of ending the instruction, that is to say, the duration of the last voice slice recorded by the sending terminal in the last timing period may be less than or equal to a specified duration, which is not limited in this embodiment of the present invention.
举例来说,可以将指定时长设置为1秒,那么发送终端在录制外部语音时,每录制到1秒的语音数据,就将该时长为1秒的语音数据作为一语音切片,直至外部语音的录制结束。假设发送终端检测到语音录制开始指令到检测到语音录制结束指令之间的时间间隔为32.5秒,那么发送终端可以得到至少33个语音切片,并且录制得到的最后一个语音切片的实际时长可以小于或者等于1秒。For example, the specified duration can be set to 1 second, then when the sending terminal records the external voice, every time it records 1 second of voice data, it will use the voice data with a duration of 1 second as a voice slice until the external voice is recorded. Recording ends. Assuming that the time interval between the sending terminal detecting the voice recording start command and the voice recording end command being detected is 32.5 seconds, then the sending terminal can obtain at least 33 voice slices, and the actual duration of the last recorded voice slice can be less than or equal to 1 second.
此外,为了便于识别各个语音切片产生的先后顺序,发送终端在根据录制到的语音数据生成语音切片时,可以添加语音序列号,以使得生成的语音切片中携带有语音序列号。作为一种可选的实施方式,最后一个语音切片中添加的语音序列号中可以包含用于指示该语音切片为最后一个切片的结束标记。具体地,该结束标记可以为预先约定的特殊字符、字符串等,本发明实施例不做限定。In addition, in order to identify the generation sequence of each voice slice, the sending terminal may add a voice sequence number when generating the voice slice according to the recorded voice data, so that the generated voice slice carries the voice sequence number. As an optional implementation manner, the voice sequence number added to the last voice slice may contain an end mark for indicating that the voice slice is the last slice. Specifically, the end tag may be a pre-agreed special character, character string, etc., which is not limited in this embodiment of the present invention.
102、发送终端将上述的语音切片发送给接收终端。102. The sending terminal sends the aforementioned voice slice to the receiving terminal.
本发明实施例中,发送终端每得到一个语音切片,即时将该语音切片发送至接收终端。In the embodiment of the present invention, each time the sending terminal obtains a voice slice, it immediately sends the voice slice to the receiving terminal.
103、接收终端接收发送终端发送的语音切片。103. The receiving terminal receives the voice slice sent by the sending terminal.
本发明实施例中,接收终端接收到的语音切片为发送终端在录制外部语音时在指定时长内录制得到的语音数据,该语音切片携带有语音序列号。In the embodiment of the present invention, the voice slice received by the receiving terminal is voice data recorded by the sending terminal within a specified time period when recording external voice, and the voice slice carries a voice sequence number.
104、接收终端检测接收到的语音切片所携带的语音序列号是否指示该语音切片为目标语音消息的结束语音切片,如果是,执行步骤105,如果否,接收终端继续执行步骤103。104. The receiving terminal detects whether the voice sequence number carried by the received voice slice indicates that the voice slice is the end voice slice of the target voice message. If yes, execute step 105. If not, the receiving terminal continues to execute step 103.
本发明实施例中,作为一种可选的实施方式,接收终端可以检测接收到的语音切片所携带的语音序列号中是否含有预先约定的结束标记,如果是,那么可以认为该语音切片为目标语音消息的结束语音切片,如果否,那么可以认为该语音切片不为目标语音消息的结束语音切片。当接收终端检测到接收到的语音切片不为目标语音消息的结束语音切片时,可以将接收状态标记为“未收完”状态,在“未收完”的状态下,接收终端始终接收来自发送终端的数据;当接收终端检测到接收到的语音切片为目标语音消息的结束语音切片时,可以将接收状态标记为“接收完成”状态,在“接收完成”的状态下,接收终端不再接收发送终端发送的数据。In the embodiment of the present invention, as an optional implementation, the receiving terminal can detect whether the voice sequence number carried by the received voice slice contains a pre-agreed end mark, and if so, the voice slice can be considered as the target The ending voice slice of the voice message, if not, it can be considered that the voice slice is not the ending voice slice of the target voice message. When the receiving terminal detects that the received voice slice is not the end voice slice of the target voice message, it can mark the receiving state as "unfinished" state, and in the "unfinished" state, the receiving terminal always receives messages from sending The data of the terminal; when the receiving terminal detects that the received voice slice is the end voice slice of the target voice message, it can mark the receiving state as the "receiving complete" state, and in the "receiving complete" state, the receiving terminal will no longer receive Send the data sent by the terminal.
105、接收终端根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息。105. The receiving terminal assembles all the received voice slices according to the voice sequence numbers carried by all the received voice slices to obtain the target voice message.
本发明实施例中,接收终端可以根据语音序列号所指示的顺序组装接收到的所有语音切片,使得组装得到的目标语音消息中每个语音切片的连接顺序与语音切片产生的先后顺序相符,以保证语音消息传输的准确率。此外,当接收终端组装完成得到目标语音消息之后,可以输出目标语音消息,以使接收终端的用户可以获知目标语音消息所包含的信息。In the embodiment of the present invention, the receiving terminal can assemble all received voice slices according to the order indicated by the voice sequence number, so that the connection sequence of each voice slice in the assembled target voice message matches the sequence in which the voice slices are generated, so that Ensure the accuracy of voice message transmission. In addition, after the receiving terminal is assembled to obtain the target voice message, it can output the target voice message, so that the user of the receiving terminal can know the information contained in the target voice message.
可见,在图1所描述的方法中,发送终端每录制得到指定时长的语音数据,便将该语音数据作为一个语音切片发送至接收终端,而非在录制完成后一次性将所有语音数据发送至接收终端;相应地,接收终端接收语音切片,在接收到发送终端发送的所有语音切片之后,对所有语音切片进行组装以得到目标语音消息,语音数据的发送和接收可以同步进行,充分利用了语音录制的时间进行数据传输,可以减少语音即时通信中语音数据传输的延迟,提高语音数据的传输速率。此外,在图1所描述的方法中,如果由于网络异常导致接收终端无法接收到某一个语音切片时,发送终端只需重新发送该语音切片即可,无需重新发送录制到的所有语音数据,与一次性传输全部语音数据的方式相比,图1所描述的方法进一步降低了网络异常对语音数据传输的影响。It can be seen that in the method described in FIG. 1 , every time the sending terminal records voice data of a specified duration, it sends the voice data as a voice slice to the receiving terminal instead of sending all the voice data to the receiving terminal at one time after the recording is completed. The receiving terminal; correspondingly, the receiving terminal receives the voice slices, and after receiving all the voice slices sent by the sending terminal, assembles all the voice slices to obtain the target voice message, and the sending and receiving of voice data can be carried out synchronously, making full use of the voice Data transmission at the time of recording can reduce the delay of voice data transmission in voice instant messaging and increase the transmission rate of voice data. In addition, in the method described in Figure 1, if the receiving terminal cannot receive a certain voice slice due to network abnormality, the sending terminal only needs to resend the voice slice without resending all the recorded voice data. Compared with the method of transmitting all voice data at one time, the method described in FIG. 1 further reduces the impact of network anomalies on voice data transmission.
实施例二Embodiment two
请参阅图2,图2是本发明实施例公开的另一种语音即时通信方法的流程示意图。如图2所示,该语音即时通信方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another voice instant messaging method disclosed in an embodiment of the present invention. As shown in Figure 2, the voice instant communication method may include the following steps:
201、发送终端录制外部语音,并且在外部语音的录制时长达到指定时长时,将指定时长内录制得到的语音数据作为一语音切片。201. The sending terminal records the external voice, and when the recording time of the external voice reaches a specified time, uses the voice data recorded within the specified time as a voice slice.
202、发送终端将语音切片发送给服务器。202. The sending terminal sends the voice slice to the server.
203、服务器将语音切片转发给接收终端。203. The server forwards the voice slice to the receiving terminal.
204、服务器向发送终端发送响应信息。204. The server sends response information to the sending terminal.
本发明实施例中,响应信息用于指示服务器已接收到语音切片,服务器接收到的每个语音切片均对应一个响应信息。In the embodiment of the present invention, the response information is used to indicate that the server has received the voice slice, and each voice slice received by the server corresponds to one response information.
205、发送终端判断是否接收到服务器发送的响应信息,如果是,执行步骤206,如果否,执行步骤207。205. The sending terminal judges whether the response information sent by the server is received, if yes, execute step 206, and if not, execute step 207.
206、发送终端继续将得到的新的语音切片发送给服务器。206. The sending terminal continues to send the obtained new voice slice to the server.
本发明实施例中,如果发送终端在发送某一个语音切片之后接收服务器发送的与该语音切片对应的响应信息,那么发送终端在获取到新的语音切片之后,将新的语音切片发送给服务器。In the embodiment of the present invention, if the sending terminal receives the response information corresponding to the voice slice sent by the server after sending a certain voice slice, then the sending terminal sends the new voice slice to the server after acquiring the new voice slice.
207、发送终端判断该语音切片重复发送的次数是否超过指定阈值,如果是,执行步骤208,如果否,执行步骤209。207. The sending terminal judges whether the number of repeated transmissions of the voice slice exceeds a specified threshold, if yes, execute step 208, and if not, execute step 209.
208、发送终端存储该语音切片。208. The sending terminal stores the voice slice.
本发明实施例中,如果执行步骤207判断出某一个语音切片重复发送的次数超过指定阈值,那么可以认为此时发送终端与服务器之间的数据连接可能存在异常,并且该异常在短时间内恢复正常的概率较低。因此,发送终端将存储该语音切片,直至检测到发送终端与服务器的数据连接恢复正常之后,再重新发送该语音切片;或者发送终端在存储该语音切片之后,切换其他通信方式将语音切片发送至接收终端。In the embodiment of the present invention, if step 207 is performed to determine that the number of repeated transmissions of a certain voice slice exceeds the specified threshold, then it can be considered that there may be an abnormality in the data connection between the sending terminal and the server at this time, and the abnormality will be restored in a short time The probability of normal is low. Therefore, the sending terminal will store the voice slice until it detects that the data connection between the sending terminal and the server returns to normal, and then resend the voice slice; or after storing the voice slice, the sending terminal switches to other communication methods to send the voice slice to receiving terminal.
209、发送终端重新将该语音切片发送给服务器。209. The sending terminal sends the voice slice to the server again.
本发明实施例中,如果发送终端在发送某一个语音切片之后没有接收到服务器发送的与该语音切片对应的响应信息,那么发送终端重新发送该语音切片。实施步骤209,可以降低发送终端与服务器之间的数据异常导致语音切片传输丢失的概率,可以提高语音即时通信的稳定性。In the embodiment of the present invention, if the sending terminal does not receive the response information corresponding to the voice slice sent by the server after sending a certain voice slice, the sending terminal resends the voice slice. By implementing step 209, the probability of loss of voice slice transmission due to abnormal data between the sending terminal and the server can be reduced, and the stability of voice instant messaging can be improved.
210、接收终端接收发送终端发送的语音切片。210. The receiving terminal receives the voice slice sent by the sending terminal.
本发明实施例中,接收终端接收到的语音切片为发送终端在录制外部语音时在指定时长内录制得到的语音数据,该语音切片携带有语音序列号。In the embodiment of the present invention, the voice slice received by the receiving terminal is voice data recorded by the sending terminal within a specified time period when recording external voice, and the voice slice carries a voice sequence number.
211、接收终端检测接收到的语音切片所携带的语音序列号是否指示该语音切片为目标语音消息的结束语音切片,如果是,执行步骤212,如果否,继续执行步骤213。211. The receiving terminal detects whether the voice sequence number carried by the received voice slice indicates that the voice slice is the end voice slice of the target voice message, if yes, execute step 212, if not, continue to execute step 213.
本发明实施例中,作为一种可选的实施方式,如果检测到接收到的语音切片不为目标语音消息的结束语音切片,那么接收终端可以存储接收到的语音切片,以便于后续组装。In the embodiment of the present invention, as an optional implementation manner, if it is detected that the received voice slice is not the end voice slice of the target voice message, the receiving terminal may store the received voice slice for subsequent assembly.
212、接收终端识别结束语音切片所携带的发送总量。212. The receiving terminal identifies the total sending amount carried by the end voice slice.
本发明实施例中,发送总量用于指示发送终端发送的所有语音切片的数量。In the embodiment of the present invention, the total amount of sending is used to indicate the number of all voice slices sent by the sending terminal.
213、接收终端判断接收到的所有语音切片的数量是否与识别出的发送总量相对应,如果是,执行步骤214,如果否,结束本流程。213. The receiving terminal judges whether the number of all the received voice slices corresponds to the recognized transmission total amount, if yes, execute step 214, and if no, end this process.
本发明实施例中,接收到的所有语音切片的数量与发送总量相对应包括:接收到的所有语音切片的数量等于发送总量。也就是说,当接收到的所有语音切片的数量小于或者大于发送总量时,均认为接收到的所有语音切片的数量与发送总量不对应。如果接收到的所有语音切片的数量小于发送总量,可能缺失部分语音切片,接收终端可以根据语音切片所携带的语音序列号识别缺失的语音切片,并发送重发指令至发送终端,以使发送终端再次发送缺失的语音切片;如果接收到的所有语音其欸按的数量大于发送总量,可能存在重复的语音切片,接收终端可以根据语音切片所携带的语音序列号识别重复的语音切片,并删除多余的语音切片,每个语音序列号只保留一个对应的语音切片进行后续组装。In the embodiment of the present invention, the correspondence between the number of all received voice slices and the total amount of sending includes: the number of all received voice slices is equal to the total amount of sending. That is to say, when the number of all received voice slices is less than or greater than the total amount to be sent, it is considered that the number of all received voice slices does not correspond to the total amount to be sent. If the number of all voice slices received is less than the total number of transmissions, some voice slices may be missing, and the receiving terminal can identify the missing voice slices according to the voice sequence numbers carried by the voice slices, and send a resend instruction to the sending terminal, so that the sending The terminal sends the missing voice slice again; if the number of all voices received is greater than the total amount sent, there may be duplicate voice slices, and the receiving terminal can identify the duplicate voice slices according to the voice sequence numbers carried by the voice slices, and Delete redundant voice slices, and only keep one corresponding voice slice for each voice serial number for subsequent assembly.
214、接收终端根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息。214. The receiving terminal assembles all the received voice slices according to the voice sequence numbers carried by all the received voice slices to obtain the target voice message.
本发明实施例中,作为另一种可选的实施方式,接收终端在执行步骤211时,接收到的所有语音切片的数量与发送总量相对应也可以为:接收到的所有语音切片的数量大于等于发送总量。也就是说,只有在接收到的所有语音切片的数量小于发送总量时,认为接收到的所有语音切片的数量与发送总量不对应。In the embodiment of the present invention, as another optional implementation manner, when the receiving terminal executes step 211, the number of all received voice slices corresponds to the total amount sent, which may also be: the number of all received voice slices Greater than or equal to the total amount sent. That is to say, only when the number of all received voice slices is less than the total amount to be sent, it is considered that the number of all received voice slices does not correspond to the total amount to be sent.
如果接收到的所有语音切片的数量大于发送总量,那么接收终端执行步骤212时,识别当前待组装的语音切片所携带的语音序列号,并且判断已经组装好的的语音消息中是否存在语音序列号与当前待组装的语音切片所携带的语音序列号相同的语音切片,如果是,接收终端跳过该当前待组装的语音切片,获取下一个待组装的语音切片。If the number of all voice slices received is greater than the total amount sent, when the receiving terminal executes step 212, it recognizes the voice sequence number carried by the voice slice to be assembled, and judges whether there is a voice sequence in the assembled voice message The voice slice whose number is the same as the voice sequence number carried by the current voice slice to be assembled, if yes, the receiving terminal skips the current voice slice to be assembled, and obtains the next voice slice to be assembled.
可见,在图2所描述的方法中,发送终端将录制到的语音数据分片发送给服务器,由服务器将语音切片转发至接收终端。服务器在接收到语音切片之后,向发送终端发送响应信息,发送终端根据是否接收到响应信息判断该语音切片是否发送成功,并且在语音切片发送不成功的情况下重新发送该语音切片,从而可以降低发送终端与服务器的数据连接存在异常时,语音切片传输丢失的概率,提高语音即时通信的稳定性。此外,如果发送终端判断出某一个语音切片重复发送的次数超过指定阈值,那么发送终端存储该语音切片,等待数据连接恢复正常之后再发送该语音切片或者切换至其他通信方式发送该语音切片,从而可以进一步降低语音切片传输丢失的概率。进一步地,在图2所描述的方法中,接收终端使用语音序列号辅助组装目标语音消息,同时在组装之前对接收到的语音切片的数量进行校验,如果接收到的语音切片的数量与发送终端实际的发送总量不对应,接收终端暂不进行目标语音消息的组装,从而可以提高目标语音消息的完整性,提高语音即时通信的准确度。It can be seen that in the method described in FIG. 2 , the sending terminal sends the recorded voice data segments to the server, and the server forwards the voice segments to the receiving terminal. After the server receives the voice slice, it sends a response message to the sending terminal, and the sending terminal judges whether the voice slice is sent successfully according to whether it receives the response message, and resends the voice slice if the voice slice fails to be sent, thereby reducing When the data connection between the sending terminal and the server is abnormal, the probability of loss of voice slice transmission improves the stability of voice instant communication. In addition, if the sending terminal determines that the number of repeated transmissions of a certain voice slice exceeds the specified threshold, then the sending terminal stores the voice slice and waits for the data connection to return to normal before sending the voice slice or switching to other communication methods to send the voice slice, thereby The probability of voice slice transmission loss can be further reduced. Further, in the method described in FIG. 2 , the receiving terminal uses the voice sequence number to assist in assembling the target voice message, and at the same time checks the number of received voice slices before assembling, if the number of received voice slices is the same as that sent The actual sending amount of the terminal does not correspond, and the receiving terminal does not assemble the target voice message temporarily, so that the integrity of the target voice message can be improved, and the accuracy of voice instant communication can be improved.
实施例四Embodiment four
请参阅图3,图3是本发明实施例公开的一种移动终端的结构示意图。如图3所示,该移动终端可以包括:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention. As shown in Figure 3, the mobile terminal may include:
录制单元301,用于录制外部语音;A recording unit 301, configured to record external voice;
切片单元302,用于在录制单元301录制外部语音的录制时长达到指定时长时,将指定时长内录制得到的语音数据作为一语音切片;其中,语音切片携带有语音序列号;作为一种可选的实施方式,最后一个语音切片中添加的语音序列号中可以包含用于指示该语音切片为最后一个切片的结束标记。具体地,该结束标记可以为预先约定的特殊字符、字符串等,本发明实施例不做限定。The slicing unit 302 is used to record the voice data recorded in the specified duration as a voice slice when the recording duration of the external voice recorded by the recording unit 301 reaches a specified duration; wherein, the voice slice carries a voice serial number; as an optional In the implementation manner, the voice sequence number added to the last voice slice may contain an end mark for indicating that the voice slice is the last slice. Specifically, the end tag may be a pre-agreed special character, character string, etc., which is not limited in this embodiment of the present invention.
发送单元303,用于将切片单元302得到的语音切片发送给接收终端。The sending unit 303 is configured to send the voice slice obtained by the slicing unit 302 to the receiving terminal.
本发明实施例中,切片单元302每得到一个语音切片,即时将该语音切片发送至发送单元303,由发送单元303即时将该语音切片发送至接收终端。此外,发送单元303用于将语音切片发送给接收终端的方式具体可以为:In the embodiment of the present invention, whenever the slice unit 302 obtains a voice slice, it immediately sends the voice slice to the sending unit 303, and the sending unit 303 immediately sends the voice slice to the receiving terminal. In addition, the manner in which the sending unit 303 sends the voice slice to the receiving terminal may specifically be:
发送单元303,用于将语音切片发送给服务器,以便服务器将语音切片转发给接收终端;A sending unit 303, configured to send the voice slice to the server, so that the server forwards the voice slice to the receiving terminal;
可选的,图3所示的移动终端还可以包括:Optionally, the mobile terminal shown in Figure 3 may also include:
第一判断单元304,用于在发送单元303将语音切片发送给接收终端之后,判断是否接收到服务器发送的响应信息,该响应信息用于指示服务器已接收到语音切片;The first judging unit 304 is configured to judge whether the response information sent by the server is received after the sending unit 303 sends the voice slice to the receiving terminal, and the response information is used to indicate that the server has received the voice slice;
上述的发送单元303,还用于在第一判断单元304判断出未接收到响应信息之后,重新发送语音切片。The above-mentioned sending unit 303 is further configured to resend the voice slice after the first judging unit 304 judges that no response information has been received.
实施上述的实施方式,图3所示的移动终端可以通过第一判断单元304判断服务器是否接收到发送单元303发送的语音切片,并且在判断出服务器未收到语音切片时,重新发送该语音切片,从而可以降低发送终端与服务器的数据连接存在异常时,语音切片传输丢失的概率,提高语音即时通信的稳定性。Implementing the above-mentioned embodiments, the mobile terminal shown in FIG. 3 can judge whether the server has received the voice slice sent by the sending unit 303 through the first judging unit 304, and resend the voice slice when it is judged that the server has not received the voice slice , so that when the data connection between the sending terminal and the server is abnormal, the probability of voice slice transmission loss can be reduced, and the stability of voice instant communication can be improved.
进一步可选的,图3所示的移动终端还可以包括:Further optionally, the mobile terminal shown in FIG. 3 may also include:
第二判断单元305,用于在第一判断单元304判断出未接收到响应信息之后,判断该语音切片重复发送的次数是否超过指定阈值;The second judging unit 305 is configured to judge whether the number of times the voice slice is repeatedly sent exceeds a specified threshold after the first judging unit 304 judges that no response information has been received;
第一存储单元306,用于在第二判断单元305判断出该语音切片重复发送的次数超过指定阈值之后,存储语音切片;The first storage unit 306 is configured to store the voice slice after the second judging unit 305 determines that the number of times the voice slice is repeatedly sent exceeds a specified threshold;
相应地,上述的发送单元303用于在第一判断单元304判断出未接收到响应信息之后重新发送语音切片的方式具体为:Correspondingly, the above-mentioned method for the sending unit 303 to resend the voice slice after the first judging unit 304 judges that no response information is received is as follows:
发送单元303,用于在第一判断单元304判断出未接收到响应信息并且第二判断单元305判断出该语音切片重复发送的次数未超过指定阈值之后,重新发送该语音切片。The sending unit 303 is configured to resend the voice slice after the first judging unit 304 judges that no response information is received and the second judging unit 305 judges that the number of times the voice slice is repeatedly sent does not exceed a specified threshold.
实施上述的实施方式,图3所示的移动终端可以在某一语音切片重复发送的次数超出指定阈值时,暂存该语音切片,从而可以在数据连接恢复正常时重新发送该语音切片,或者切换至其他通信方式发送该语音切片,进一步减少语音切片的传输丢失,提高语音即时通信的稳定性。Implementing the above-mentioned embodiments, the mobile terminal shown in FIG. 3 can temporarily store the voice slice when the number of repeated transmissions of a certain voice slice exceeds a specified threshold, so that the voice slice can be resent when the data connection returns to normal, or the voice slice can be switched. The voice slice is sent to other communication methods to further reduce the transmission loss of the voice slice and improve the stability of voice instant communication.
本发明实施例中,图3所示的移动终端可以作为发送终端录制外部语音和发送语音切片。因此,实施图3所示的移动终端,可以在录制外部语音的同时对录制得到的语音数据进行切片发送,从而充分利用语音录制的时间进行数据传输,减少语音数据的传输延迟,提高语音数据的传输速率。进一步地,实施图3所示的移动终端还可以在服务器未及时接收到发送的语音切片时重新发送语音切片,从而可以降低由于数据连接异常而导致的语音切片传输丢失的概率,提高语音即时通信的稳定性。此外,实施图3所示的移动终端,还可以在某一语音切片重复发送的次数超过指定阈值时,暂时存储该语音切片,从而可以进一步减少语音切片的传输丢失,提高语音即时通信的稳定性。In the embodiment of the present invention, the mobile terminal shown in FIG. 3 can be used as a sending terminal to record external voice and send voice slices. Therefore, implementing the mobile terminal shown in Figure 3 can slice and send the recorded voice data while recording the external voice, thereby making full use of the voice recording time for data transmission, reducing the transmission delay of voice data, and improving the efficiency of voice data. Transmission rate. Further, the implementation of the mobile terminal shown in Figure 3 can also resend the voice slice when the server does not receive the voice slice sent in time, thereby reducing the probability of voice slice transmission loss due to abnormal data connections and improving voice instant communication stability. In addition, the implementation of the mobile terminal shown in Figure 3 can also temporarily store a voice slice when the number of repeated transmissions of a certain voice slice exceeds a specified threshold, thereby further reducing the transmission loss of voice slices and improving the stability of instant voice communication .
实施例四Embodiment Four
请参阅图4,图4是本发明实施例公开的另一种移动终端的结构示意图。如图4所示,该移动终端可以包括:Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention. As shown in Figure 4, the mobile terminal may include:
接收单元401,用于接收发送终端发送的语音切片;该语音切片为发送终端在在录制外部语音时在指定时长内录制得到的语音数据,该语音切片携带有语音序列号;The receiving unit 401 is configured to receive the voice slice sent by the sending terminal; the voice slice is voice data recorded by the sending terminal within a specified time period when recording external voice, and the voice slice carries a voice serial number;
检测单元402,用于检测接收单元401接收到的语音切片所携带的语音序列号是否指示该语音切片为目标语音消息的结束语音切片;可选的,检测单元402具体可以用于检测接收到的语音切片所携带的语音序列号中是否含有预先约定的结束标记,如果是,那么可以认为该语音切片为目标语音消息的结束语音切片;The detection unit 402 is configured to detect whether the voice sequence number carried by the voice slice received by the receiving unit 401 indicates that the voice slice is the end voice slice of the target voice message; optionally, the detection unit 402 may specifically be used to detect the received voice slice Whether the voice sequence number carried by the voice slice contains a pre-agreed end mark, if so, the voice slice can be considered as the end voice slice of the target voice message;
组装单元403,用于在检测单元402检测到接收到的语音切片为目标语音消息的结束语音切片之后,根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息。The assembling unit 403 is configured to assemble all the received voice slices according to the voice sequence numbers carried by all the received voice slices after the detection unit 402 detects that the received voice slices are the end voice slices of the target voice message to get the target voice message.
可选的,图4所示的移动终端还可以包括:Optionally, the mobile terminal shown in Figure 4 may also include:
识别单元404,用于在检测单元402检测到接收到的语音切片为目标语音消息的结束语音切片之后,以及在组装单元403根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息之前,识别结束语音切片所携带的发送总量,该送总量用于指示发送终端发送的所有切片的数量;The identification unit 404 is configured to, after the detection unit 402 detects that the received voice slice is the end voice slice of the target voice message, and in the assembling unit 403 according to the voice sequence numbers carried by all received voice slices, perform Before all voice slices are assembled to obtain the target voice message, the total amount of transmission carried by the voice slice is identified, and the total amount of transmission is used to indicate the number of all slices sent by the sending terminal;
第三判断单元405,用于判断接收单元401接收到的所有语音切片的数量是否与识别单元识别404出的发送总量相对应;本发明实施例中,接收单元401可以统计其接收到的语音切片的数量,以供第三判断单元405进行判断;进一步地,第三判断单元405判断接收到的所有语音切片的数量与发送总量相对应的条件可以包括:接收到的所有语音切片的数量等于发送总量;或者,接收到的所有语音切片的数量大于等于发送总量。The third judging unit 405 is used to judge whether the quantity of all speech slices received by the receiving unit 401 corresponds to the total amount of transmissions recognized by the recognition unit 404; in the embodiment of the present invention, the receiving unit 401 can count the speech received by it The number of slices, for the third judging unit 405 to judge; further, the third judging unit 405 judges that the condition that the number of all voice slices received corresponds to the total amount sent may include: the number of all voice slices received Equal to the total amount sent; or, the number of all voice slices received is greater than or equal to the total amount sent.
上述的组装单元403,具体用于在第三判断单元405判断出接收到的所有语音切片的数量与发送总量相对应时,根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息。The above-mentioned assembling unit 403 is specifically configured to, when the third judging unit 405 judges that the number of all received voice slices corresponds to the total amount of transmission, according to the voice sequence numbers carried by all received voice slices, to receive All the speech slices are assembled to obtain the target speech message.
进一步可选的,图4所示的移动终端还可以包括:Further optionally, the mobile terminal shown in FIG. 4 may also include:
第二存储单元406,用于在检测单元402检测到接收到的语音切片不为目标语音消息的结束语音切片时,存储当前接收到的语音切片;The second storage unit 406 is used to store the currently received voice slice when the detection unit 402 detects that the received voice slice is not the end voice slice of the target voice message;
相应地,组装单元403在对语音切片进行组装时,从第二存储单元406中获取语音切片。Correspondingly, when assembling the speech slices, the assembling unit 403 acquires the speech slices from the second storage unit 406 .
本发明实施例中,图4所示的移动终端可以作为接收终端接收语音切片,并将接收到的语音切片进行组装以得到目标语音消息。可见,实施图4所示的移动终端,可以在发送终端录制外部语音的同时接收语音切片,无需等到外部语音录制完成之后再开始接收语音数据,从而可以减少语音数据的传输延迟,提高语音即时信息的传输速率。进一步地,实施图4所示的移动终端,可以先判断接收到的语音切片的数量是否与语音切片的发送总量相对应,并且在判断出相对应时再对语音切片进行组装,从而可以提高组装得到的目标语音消息的完整性,提高语音即时通信的准确度。In the embodiment of the present invention, the mobile terminal shown in FIG. 4 may serve as a receiving terminal to receive voice slices, and assemble the received voice slices to obtain a target voice message. It can be seen that the implementation of the mobile terminal shown in Figure 4 can receive voice slices while the sending terminal is recording external voice, without waiting until the external voice recording is completed before starting to receive voice data, thereby reducing the transmission delay of voice data and improving voice instant messaging. transmission rate. Further, implementing the mobile terminal shown in FIG. 4, it is possible to first judge whether the number of received voice slices corresponds to the total amount of voice slices sent, and then assemble the voice slices when it is judged to be corresponding, so as to improve The integrity of the target voice message obtained by assembling improves the accuracy of voice instant communication.
实施例六Embodiment six
请参阅图5,图5是本发明实施例公开的一种语音即时通信系统的结构示意图。如图5所示,该语音即时通信系统可以包括:Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a voice instant messaging system disclosed in an embodiment of the present invention. As shown in Figure 5, this voice instant communication system can include:
发送终端501和接收终端502。其中:A sending terminal 501 and a receiving terminal 502. in:
发送终端501,用于录制外部语音,并且在外部语音的录制时长达到指定时长时,将指定时长内录制得到的语音数据作为一语音切片;以及将得到的语音切片发送给接收终端502;该语音切片携带有语音序列号;The sending terminal 501 is used to record the external voice, and when the recording duration of the external voice reaches a specified duration, the voice data recorded within the specified duration is used as a voice slice; and the obtained voice slice is sent to the receiving terminal 502; the voice Slices carry voice sequence numbers;
接收终端502,用于接收发送终端501发送的语音切片;该语音切片为发送终端501在录制外部语音时在指定时长内录制得到的语音数据,该语音切片携带有语音序列号;以及,检测接收到的语音切片所携带的语音序列号是否指示该语音切片为目标语音消息的结束语音切片,并且在检测到该接收到的语音切片所携带的语音序列号指示该语音切片为目标语音消息的结束语音切片之后,根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息。The receiving terminal 502 is configured to receive the voice slice sent by the sending terminal 501; the voice slice is the voice data recorded by the sending terminal 501 within a specified period of time when recording external voice, and the voice slice carries a voice sequence number; and, detecting and receiving Whether the voice sequence number carried by the received voice slice indicates that the voice slice is the end voice slice of the target voice message, and when it is detected that the voice sequence number carried by the received voice slice indicates that the voice slice is the end of the target voice message After the voice slices, all the received voice slices are assembled according to the voice sequence numbers carried by all the received voice slices to obtain the target voice message.
本发明实施例中,接收终端502组装得到目标语音消息之后,可以将目标语音消息输出至用户。In the embodiment of the present invention, after the receiving terminal 502 assembles the target voice message, it may output the target voice message to the user.
可选的,图5所示的语音即时通信系统还可以包括:Optionally, the voice instant messaging system shown in Figure 5 can also include:
服务器503,用于接收发送终端501发送的语音切片,并且在接收到语音切片之后,向发送终端501发送响应信息;以及,将接收到的语音切片转发给接收终端502;The server 503 is configured to receive the voice slice sent by the sending terminal 501, and after receiving the voice slice, send response information to the sending terminal 501; and forward the received voice slice to the receiving terminal 502;
相应的,上述的发送终端501用于将得到的语音切片发送给接收终端502的方式具体可以为:Correspondingly, the above-mentioned manner for the sending terminal 501 to send the obtained voice slice to the receiving terminal 502 may specifically be as follows:
发送终端501,用于将得到的语音切片发送给服务器503,以便服务器503将语音切片转发给接收终端502。The sending terminal 501 is configured to send the obtained voice slice to the server 503, so that the server 503 forwards the voice slice to the receiving terminal 502.
上述的接收终端502用于接收发送终端501发送的语音切片的方式具体可以为:The manner in which the above-mentioned receiving terminal 502 is used to receive the voice slice sent by the sending terminal 501 may specifically be:
接收终端502,用于接收服务器503转发的语音切片,该语音切片为发送终端501发送给服务器503的语音切片。The receiving terminal 502 is configured to receive the voice slice forwarded by the server 503 , where the voice slice is the voice slice sent by the sending terminal 501 to the server 503 .
请一并参阅图5和图6,图6是本发明实施例公开的一种语音即时通信系统的工作流程示意图。图6所示的工作流程基于图5所示的语音即时通信系统。如图6所示:Please refer to FIG. 5 and FIG. 6 together. FIG. 6 is a schematic workflow diagram of a voice instant messaging system disclosed in an embodiment of the present invention. The workflow shown in FIG. 6 is based on the voice instant messaging system shown in FIG. 5 . As shown in Figure 6:
发送终端501录制外部语音,并且外部语音的录制时长达到指定时长时,将指定时长内录制得到的语音数据作为一语音切片(如图6所示的语音切片1、语音切片2和语音切片3),该语音切片携带有语音序列号;Sending terminal 501 records the external voice, and when the recording duration of the external voice reaches the specified duration, the voice data recorded in the specified duration is used as a voice slice (voice slice 1, voice slice 2 and voice slice 3 as shown in Figure 6) , the voice slice carries the voice sequence number;
本发明实施例中,指定时长可以为预先设定的任意一个时长数值。以指定时长为1秒为例,从发送终端501开始录制外部语音的时刻为计时起点,第1秒录制得到的语音数据作为语音切片1,第2秒录制得到的语音数据作为语音切片2,假设该外部语音的总时长为3秒,那么第3秒录制得到的语音数据可以作为语音切片3,并且语音切片3为目标语音消息的结束语音切片。此外,发送终端501还可以在结束语音切片(即语音切片3)中加入用于指示发送总量的标记。如图6所示的工作流程中,发送终端501的发送总量可以为3,用于指示发送终端501一共发送了3个语音切片。In the embodiment of the present invention, the specified duration may be any preset duration value. Taking the specified duration as 1 second as an example, the time when the sending terminal 501 starts recording the external voice is the timing starting point, the voice data recorded in the first second is taken as voice slice 1, and the voice data recorded in the second second is taken as voice slice 2, assuming The total duration of the external voice is 3 seconds, then the voice data recorded in the third second can be used as the voice slice 3, and the voice slice 3 is the ending voice slice of the target voice message. In addition, the sending terminal 501 may also add a mark for indicating the total amount to be sent in the end voice slice (namely, voice slice 3). In the workflow shown in FIG. 6 , the total amount of sending by the sending terminal 501 may be 3, which is used to indicate that the sending terminal 501 has sent 3 voice slices in total.
发送终端501将得到的语音切片发送给服务器503。The sending terminal 501 sends the obtained voice slice to the server 503 .
服务器503接收发送终端501发送的语音切片并向发送终端501发送响应信息,以及将语音切片转发给接收终端502。The server 503 receives the voice slice sent by the sending terminal 501 , sends response information to the sending terminal 501 , and forwards the voice slice to the receiving terminal 502 .
本发明实施例中,服务器503发送的响应信息可以和接收到的语音切片一一对应,每接收到一个语音切片,服务器503向发送终端501发送一次响应信息,因此发送终端501可以在发送语音切片之后,通过接收响应信息判断服务器503是否接收到该语音切片,并且发送终端501可以在未接收到响应信息时,判断该语音切片重复发送的次数是否超过指定阈值,如果未超过指定阈值,发送终端501可以重新发送该语音切片;如果已超过指定阈值,发送终端501可以存储该语音切片,以便于通过其他通信方式发送该语音切片或者等待发送终端501与服务器503之间的通信连接恢复正常之后再重新发送该语音切片。In the embodiment of the present invention, the response information sent by the server 503 can be in one-to-one correspondence with the received voice slices, and each time a voice slice is received, the server 503 sends a response message to the sending terminal 501, so the sending terminal 501 can send the voice slice Afterwards, by receiving the response information, it is judged whether the server 503 has received the voice slice, and when the response information is not received, the sending terminal 501 can judge whether the number of repeated transmissions of the voice slice exceeds the specified threshold, and if not, the sending terminal 501 501 can resend the voice slice; if the specified threshold has been exceeded, the sending terminal 501 can store the voice slice so as to send the voice slice through other communication methods or wait for the communication connection between the sending terminal 501 and the server 503 to return to normal. Resend the voice slice.
接收终端502接收服务器503转发的语音切片,并检测接收到的语音切片所携带的语音序列号是否指示该语音切片为目标语音消息的结束语音切片,如果是,接收终端502根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息。The receiving terminal 502 receives the voice slice forwarded by the server 503, and detects whether the voice sequence number carried by the received voice slice indicates that the voice slice is the end voice slice of the target voice message. The audio sequence numbers carried by the slices are used to assemble all the received audio slices to obtain the target audio message.
本发明实施例中,接收终端502对于接收到的每一个语音切片,均检测其所携带的语音序列号是否指示该语音切片为目标语音消息的结束语音切片。此外,作为一种可选的实施方式,接收终端502在检测出接收到的语音切片为结束语音切片之后,以及在根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息之前,接收终端502还可以进一步识别结束语音切片所携带的发送总量,并判断接收到的所有语音切片的数量是否与发送总量相对应,如果相对应,接收终端502再执行根据接收到的所有语音切片所携带的语音序列号,对接收到的所有语音切片进行组装以获得目标语音消息的操作。In the embodiment of the present invention, the receiving terminal 502 detects whether the voice sequence number carried by each received voice slice indicates that the voice slice is the end voice slice of the target voice message. In addition, as an optional implementation manner, after the receiving terminal 502 detects that the received voice slice is an end voice slice, and according to the voice sequence numbers carried by all the received voice slices, Before the slices are assembled to obtain the target voice message, the receiving terminal 502 can further identify the total amount of transmission carried by the end voice slice, and judge whether the number of all voice slices received corresponds to the total amount of transmission, and if so, receive The terminal 502 then performs an operation of assembling all the received voice slices according to the voice sequence numbers carried by all the received voice slices to obtain the target voice message.
如图6所示,接收终端502接收语音切片1,并且检测出语音切片1所携带的语音序列号指示语音切片1不为目标语音消息的结束语音切片,接收终端502可以存储语音切片1,将其接收状态标记为“未收完”状态,继续接收语音切片。当接收终端502接收到语音切片3,并且检测出语音切片3所携带的语音序列号指示语音切片3为目标语音消息的结束语音切片时,接收终端502可以识别语音切片3所携带的发送总量(图6所示的工作流程中,语音切片3所携带的发送总量可以为3),如果接收终端502一共接收到3个语音切片(即语音切片1、语音切片2和语音切片3),那么可以认为接收终端502接收到的所有语音切片的数量和发送总量相对应,接收终端502根据语音切片所携带的语音序列号对语音切片1、语音切片2和语音切片3进行组装,以得到目标语音消息。As shown in Figure 6, the receiving terminal 502 receives the voice slice 1, and detects that the voice sequence number carried by the voice slice 1 indicates that the voice slice 1 is not the end voice slice of the target voice message, the receiving terminal 502 can store the voice slice 1, and Its receiving status is marked as "unfinished" and continues to receive voice slices. When the receiving terminal 502 receives the voice slice 3 and detects that the voice sequence number carried by the voice slice 3 indicates that the voice slice 3 is the end voice slice of the target voice message, the receiving terminal 502 can identify the total transmission amount carried by the voice slice 3 (In the workflow shown in Figure 6, the total amount of transmission carried by voice slice 3 can be 3), if receiving terminal 502 receives 3 voice slices (i.e. voice slice 1, voice slice 2 and voice slice 3) altogether, Then it can be considered that the number of all voice slices received by the receiving terminal 502 corresponds to the total amount of transmission, and the receiving terminal 502 assembles voice slice 1, voice slice 2, and voice slice 3 according to the voice sequence numbers carried by the voice slices to obtain Target voice message.
可见,在图5所示的语音即时通信系统中,发送终端可以在录制外部语音的同时将录制时长达到指定时长的语音数据进行分片发送,相应地,接收终端可以在外部语音的录制过程中接收到发送终端发送的语音切片,从而可以充分利用语音数据的录制时间,能够减少语音数据的传输延迟,提高语音即时通信的传输效率。进一步地,在图5所示的语音即时通信系统中,发送终端可以在未接收到服务器发送的响应信息时重发语音切片,以及在语音切片重复发送的次数超过指定阈值时存储语音切片,可以降低语音切片传输丢失的概率,提高语音即时数据传输的稳定性。更进一步地,在图5所示的语音即时通信系统中,接收终端可以在组装之前对接收到的所有语音切片的数量进行校验,从而可以提高组装得到的目标语音消息的完整性,提高语音即时通信的准确度。It can be seen that in the voice instant messaging system shown in Figure 5, the sending terminal can record the external voice and at the same time send the voice data whose recording time reaches the specified duration in pieces. Correspondingly, the receiving terminal can record the external voice. By receiving the voice slice sent by the sending terminal, the recording time of the voice data can be fully utilized, the transmission delay of the voice data can be reduced, and the transmission efficiency of the voice instant communication can be improved. Further, in the voice instant messaging system shown in FIG. 5 , the sending terminal can resend the voice slice when the response information sent by the server is not received, and store the voice slice when the number of repeated transmissions of the voice slice exceeds a specified threshold. Reduce the probability of voice slice transmission loss and improve the stability of voice real-time data transmission. Furthermore, in the voice instant messaging system shown in Figure 5, the receiving terminal can check the number of all received voice slices before assembling, so that the integrity of the assembled target voice message can be improved, and the voice quality can be improved. The accuracy of instant messaging.
本发明实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行图1或图2所示的任一种语音即时通信方法。The embodiment of the present invention discloses a computer-readable storage medium, which stores a computer program, wherein the computer program enables the computer to execute any voice instant messaging method shown in FIG. 1 or FIG. 2 .
本发明实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可操作来使计算机执行图1或图2所示的任一种语音即时通信方法。The embodiment of the present invention discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause the computer to execute any one of the programs shown in Figure 1 or Figure 2 A voice instant communication method.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be understood that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本发明的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not necessarily mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not be used in the implementation of the present invention. The implementation of the examples constitutes no limitation.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者语音即时通信系统也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may be voice instant messaging systems or not physical units, which can be located in one place or distributed to multiple networks on the unit. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明的各个实施例上述方法的部分或全部步骤。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a memory , including several requests to make a computer device (which may be a personal computer, server, or network device, etc., specifically, a processor in the computer device) execute some or all of the steps of the above-mentioned methods in various embodiments of the present invention.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本发明实施例公开的一种语音即时通信方法、系统及移动终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。Above, a voice instant communication method, system and mobile terminal disclosed in the embodiments of the present invention have been introduced in detail. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for helping Understand the method of the present invention and its core idea. At the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the present invention.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810705700.9A CN108880993A (en) | 2018-07-02 | 2018-07-02 | Voice instant messaging method, system and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810705700.9A CN108880993A (en) | 2018-07-02 | 2018-07-02 | Voice instant messaging method, system and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108880993A true CN108880993A (en) | 2018-11-23 |
Family
ID=64297703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810705700.9A Pending CN108880993A (en) | 2018-07-02 | 2018-07-02 | Voice instant messaging method, system and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108880993A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113342A (en) * | 2019-05-10 | 2019-08-09 | 甄十信息科技(上海)有限公司 | Voice communication method and equipment under 2G network |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103220423A (en) * | 2013-04-10 | 2013-07-24 | 威盛电子股份有限公司 | Voice answering method and mobile terminal device |
EP2648364A2 (en) * | 2012-03-07 | 2013-10-09 | Accenture Global Services Limited | Communication collaboration |
CN103841002A (en) * | 2012-11-22 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Method and terminal for voice transmission, voice server and voice transmission system |
CN104616652A (en) * | 2015-01-13 | 2015-05-13 | 小米科技有限责任公司 | Voice transmission method and device |
CN107274882A (en) * | 2017-08-08 | 2017-10-20 | 腾讯科技(深圳)有限公司 | Data transmission method and device |
-
2018
- 2018-07-02 CN CN201810705700.9A patent/CN108880993A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2648364A2 (en) * | 2012-03-07 | 2013-10-09 | Accenture Global Services Limited | Communication collaboration |
CN103841002A (en) * | 2012-11-22 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Method and terminal for voice transmission, voice server and voice transmission system |
CN103220423A (en) * | 2013-04-10 | 2013-07-24 | 威盛电子股份有限公司 | Voice answering method and mobile terminal device |
CN104616652A (en) * | 2015-01-13 | 2015-05-13 | 小米科技有限责任公司 | Voice transmission method and device |
CN107274882A (en) * | 2017-08-08 | 2017-10-20 | 腾讯科技(深圳)有限公司 | Data transmission method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113342A (en) * | 2019-05-10 | 2019-08-09 | 甄十信息科技(上海)有限公司 | Voice communication method and equipment under 2G network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10530716B2 (en) | Voice chat mode self-adapting method and apparatus | |
WO2017032070A1 (en) | Voice recognition method, apparatus, and computer storage medium | |
CN103841268A (en) | Information processing method and information processing device | |
CN112767936B (en) | Voice dialogue method and device, storage medium and electronic equipment | |
CN111857609B (en) | Method and device for uploading cloud printing log and computer storage medium | |
CN110650164B (en) | File uploading method and device, terminal and computer storage medium | |
CN110401872A (en) | Event reminder method, device and storage medium based on smart home operating system | |
CN105654973A (en) | Audio file processing method and system | |
WO2014067443A1 (en) | Audio interaction method, device and system | |
CN110532294A (en) | Ticket merging method, device, equipment and computer readable storage medium | |
CN113709214A (en) | Message processing method and device, electronic equipment and storage medium | |
CN110136712A (en) | Realize the method and device of intelligent sound AI function | |
CN113672748A (en) | Multimedia information playing method and device | |
CN113890822B (en) | Log processing method, log processing device, storage medium and electronic equipment | |
CN105848114B (en) | Method for processing multimedia message and mobile terminal | |
CN108880993A (en) | Voice instant messaging method, system and mobile terminal | |
US10412778B2 (en) | Data transmission method and apparatus for data service | |
CN106453663B (en) | Improved storage expansion method and device based on cloud service | |
CN110138851A (en) | The making friends method of intelligent wearable device | |
CN111831954B (en) | Content data updating method, device, computer equipment and storage medium | |
CN105554712A (en) | Short message processing method and user terminal | |
WO2021012741A1 (en) | Abnormal front-end operation reminder method based on experience library and related device | |
CN104507059B (en) | A kind of multimedia message transmitting administrative method and multimedia message send managing device | |
KR20150103855A (en) | Method and system of providing voice service using interoperation between application and server | |
CN117675906A (en) | Data processing method and device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |