[go: up one dir, main page]

CN103970477A - Voice message control method and device - Google Patents

Voice message control method and device Download PDF

Info

Publication number
CN103970477A
CN103970477A CN201410180870.1A CN201410180870A CN103970477A CN 103970477 A CN103970477 A CN 103970477A CN 201410180870 A CN201410180870 A CN 201410180870A CN 103970477 A CN103970477 A CN 103970477A
Authority
CN
China
Prior art keywords
voice message
bubble
playing
playback
length
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
Application number
CN201410180870.1A
Other languages
Chinese (zh)
Inventor
杨冬蕴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410180870.1A priority Critical patent/CN103970477A/en
Publication of CN103970477A publication Critical patent/CN103970477A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例提供了一种控制语音消息的方法和设备,该方法包括:在触摸屏上显示语音消息的气泡;获取在语音消息的气泡上输入的手势,语音消息的气泡的长度与语音消息的时长正相关;根据输入的手势控制所述语音消息,其中,控制所述语音消息包括暂停播放或选时播放语音消息。能够灵活的调节语音消息的播放,提升用户体验。

Embodiments of the present invention provide a method and device for controlling a voice message. The method includes: displaying a voice message bubble on a touch screen; The duration is positively correlated; the voice message is controlled according to the input gesture, wherein controlling the voice message includes pausing playing or playing the voice message at a selected time. The playback of voice messages can be flexibly adjusted to improve user experience.

Description

控制语音消息的方法和设备Method and device for controlling voice messages

技术领域technical field

本发明涉及通信领域,特别涉及一种控制语音消息的方法和设备。The invention relates to the communication field, in particular to a method and device for controlling voice messages.

背景技术Background technique

为满足客户需求,社交软件和即时通信软件种类繁多,功能趋于多样化。无论是社交的闲聊软件,还是企业员工的工作软件,在移动客户端上运行时普遍带有通过语音发送消息的功能。对于目前的语音消息软件而言,当用户收到一条语音消息时,首先用手指触碰该语音消息进行收听,再点击一次该语音消息则停止播放该语音消息。此时若再次点击该语音消息,则该语音消息会从头开始播放。In order to meet the needs of customers, there are various types of social software and instant messaging software, and their functions tend to be diversified. Whether it is a social chat software or a work software for enterprise employees, it generally has the function of sending messages by voice when running on a mobile client. For current voice message software, when a user receives a voice message, he first touches the voice message with his finger to listen to it, and then clicks the voice message once to stop playing the voice message. At this time, if the voice message is clicked again, the voice message will be played from the beginning.

因此,在现有技术中,控制语音消息的功能单一,不能够灵活的调节语音消息的播放,影响了用户体验。Therefore, in the prior art, the function of controlling the voice message is single, and the playing of the voice message cannot be flexibly adjusted, which affects the user experience.

发明内容Contents of the invention

本发明实施例提供了一种控制语音消息的方法和设备,能够灵活的调节语音消息的播放,提升用户体验。Embodiments of the present invention provide a method and device for controlling voice messages, which can flexibly adjust the playback of voice messages and improve user experience.

第一方面,提供了一种控制语音消息的方法,包括:在触摸屏上显示语音消息的气泡;获取在语音消息的气泡上输入的手势,语音消息的气泡的长度与语音消息的时长正相关;根据输入的手势控制语音消息,其中,控制语音消息包括暂停播放或选时播放语音消息。In a first aspect, a method for controlling a voice message is provided, including: displaying a voice message bubble on a touch screen; acquiring a gesture input on the voice message bubble, and the length of the voice message bubble is positively correlated with the duration of the voice message; The voice message is controlled according to the input gesture, wherein the control of the voice message includes pausing playing or playing the voice message at a selected time.

结合第一方面,在第一种可能的实现方式中,该方法还包括:在播放语音消息时,生成语音消息的播放气泡,其中,播放气泡位于语音消息的气泡上,其中,获取在语音消息的气泡上的输入的手势包括:获取在语音消息的播放气泡上的点击,其中,播放气泡的长度随语音消息的播放进度的增加而增加,播放气泡的长度小于或者等于语音消息的气泡的长度,其中,根据输入的手势控制语音消息,包括:在语音消息处于播放状态时,根据对语音消息的播放气泡的点击暂停播放语音消息。With reference to the first aspect, in a first possible implementation manner, the method further includes: when playing the voice message, generating a playback bubble of the voice message, where the playback bubble is located on the bubble of the voice message, and acquiring The input gesture on the bubble includes: obtaining a click on the playback bubble of the voice message, wherein the length of the playback bubble increases with the increase of the playback progress of the voice message, and the length of the playback bubble is less than or equal to the length of the bubble of the voice message , wherein, controlling the voice message according to the input gesture includes: when the voice message is in a playing state, pausing the voice message to be played according to clicking on a playback bubble of the voice message.

结合第一种可能的实现方式,在第二种可能的实现方式中,该方法还包括在语音消息处于暂停播放状态时,根据对语音消息的播放气泡的点击从暂停播放位置继续播放语音消息。With reference to the first possible implementation manner, in a second possible implementation manner, the method further includes, when the voice message is in a paused playback state, continuing to play the voice message from the paused playback position according to clicking on the playback bubble of the voice message.

结合第一方面,在第三种可能的实现方式中,该方法还包括:在播放语音消息时,生成语音消息的播放气泡,其中,播放气泡位于语音消息的气泡上,其中,获取在语音消息的气泡上的输入的手势,包括:获取推拉语音消息的播放气泡的手势,播放气泡的长度随语音消息的播放进度的增加而增加,播放气泡的长度小于或者等于语音消息的气泡的长度,其中,根据输入的手势控制语音消息,包括:根据推拉语音消息的播放气泡的手势,调节播放气泡的长度;根据调节后播放气泡的长度,选时播放语音消息。With reference to the first aspect, in a third possible implementation manner, the method further includes: when playing the voice message, generating a playback bubble of the voice message, wherein the playback bubble is located on the bubble of the voice message, wherein acquiring the The input gestures on the bubbles include: gestures to obtain the playback bubble of the push-pull voice message, the length of the playback bubble increases with the playback progress of the voice message, and the length of the playback bubble is less than or equal to the length of the voice message bubble, where , controlling the voice message according to the input gesture, including: adjusting the length of the playback bubble according to the gesture of pushing and pulling the playback bubble of the voice message; and playing the voice message at a selected time according to the adjusted length of the playback bubble.

结合第一方面或第一和第三种可能的实现方式中的任一种可能的实现方式,在第四种可能的实现方式中,该方法还包括:确定外界存在的噪声大于预设的阈值,暂停语音消息的播放。In combination with the first aspect or any one of the first and third possible implementation manners, in a fourth possible implementation manner, the method further includes: determining that the noise existing outside is greater than a preset threshold to pause the playback of the voice message.

结合第四种可能的实现方式,在第五种可能的实现方式中,该方法还包括:确定外界存在的噪声小于预设的阈值,继续语音消息的播放。With reference to the fourth possible implementation manner, in a fifth possible implementation manner, the method further includes: determining that the noise existing outside is smaller than a preset threshold, and continuing to play the voice message.

结合第一方面或第一至第五种可能的实现方式中的任一种可能的实现方式,在第六种可能的实现方式中,语音消息的时长最大值为60s、120s、180s或240s。With reference to the first aspect or any one of the first to fifth possible implementation manners, in a sixth possible implementation manner, the maximum duration of the voice message is 60s, 120s, 180s or 240s.

结合第一方面或第一至第六种可能的实现方式中的任一种可能的实现方式,在第七种可能的实现方式中,语音消息的播放气泡的上方或下方显示有对应当前播放进度的时间。In combination with the first aspect or any one of the first to sixth possible implementations, in the seventh possible implementation, a display corresponding to the current playback progress is displayed above or below the playback bubble of the voice message time.

结合第一方面或第一至第七种可能的实现方式中的任一种可能的实现方式,在第八种可能的实现方式中,语音消息包括即时通讯语音消息或语音信箱消息。With reference to the first aspect or any one of the first to seventh possible implementation manners, in an eighth possible implementation manner, the voice message includes an instant messaging voice message or a voicemail message.

第二方面,提供了一种控制语音消息的设备,其特征在于,包括:触摸屏,用于显示语音消息的气泡;获取单元,用于获取在语音消息的气泡上输入的手势,语音消息的气泡的长度与语音消息的时长正相关;控制单元,用于根据输入的手势控制语音消息,其中,控制语音消息包括暂停播放或选时播放语音消息。In the second aspect, there is provided a device for controlling voice messages, which is characterized in that it includes: a touch screen, used to display the bubbles of the voice message; an acquisition unit, used to acquire gestures input on the bubbles of the voice message, the bubbles of the voice message The length of is positively correlated with the duration of the voice message; the control unit is used to control the voice message according to the input gesture, wherein controlling the voice message includes pausing playing or playing the voice message at a selected time.

结合第二方面,在第一种可能的实现方式中,该设备还包括:生成单元,用于在播放语音消息时,生成语音消息的播放气泡,其中,播放气泡位于语音消息的气泡上,其中,获取单元具体用于获取在语音消息的播放气泡上的点击,其中,播放气泡的长度随语音消息的播放进度的增加而增加,播放气泡的长度小于或者等于语音消息的气泡的长度,其中,控制单元具体用于在语音消息处于播放状态时,根据对语音消息的播放气泡的点击暂停播放语音消息。With reference to the second aspect, in a first possible implementation manner, the device further includes: a generating unit configured to generate a playback bubble of the voice message when the voice message is played, wherein the playback bubble is located on the bubble of the voice message, wherein , the acquisition unit is specifically used to acquire a click on the playback bubble of the voice message, wherein the length of the playback bubble increases with the increase of the playback progress of the voice message, and the length of the playback bubble is less than or equal to the length of the bubble of the voice message, wherein, The control unit is specifically configured to, when the voice message is in a playing state, pause playing the voice message according to clicking on the playback bubble of the voice message.

结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,控制单元还具体用于在语音消息处于暂停播放状态时,根据对语音消息的播放气泡的点击从暂停播放位置继续播放语音消息。With reference to the first possible implementation of the second aspect, in the second possible implementation, the control unit is further specifically configured to, when the voice message is in the paused playback state, click on the playback bubble of the voice message from the paused playback The location continues to play the voice message.

结合第二方面,在第三种可能的实现方式中,该设备还包括生成单元,生成单元,用于在播放语音消息时,生成语音消息的播放气泡,其中,播放气泡位于语音消息的气泡上,其中,获取单元具体用于获取推拉语音消息的播放气泡的手势,播放气泡的长度随语音消息的播放进度的增加而增加,播放气泡的长度小于或者等于语音消息的气泡的长度,其中,控制单元具体用于根据推拉语音消息的播放气泡的手势,调节播放气泡的长度;根据调节后播放气泡的长度,选时播放语音消息。With reference to the second aspect, in a third possible implementation manner, the device further includes a generating unit configured to generate a playback bubble of the voice message when the voice message is played, wherein the playback bubble is located on the bubble of the voice message , wherein the acquiring unit is specifically used to acquire the gesture of pushing and pulling the playing bubble of the voice message, the length of the playing bubble increases with the progress of playing the voice message, and the length of the playing bubble is less than or equal to the length of the bubble of the voice message, wherein the control The unit is specifically used to adjust the length of the playback bubble according to the gesture of pushing and pulling the playback bubble of the voice message; and to play the voice message at a selected time according to the adjusted length of the playback bubble.

结合第二方面或第二方面的第一和第三种可能的实现方式中的任一种可能的实现方式,在第四种可能的实现方式中,该设备还包括:确定单元,用于确定外界存在的噪声大于预设的阈值,暂停语音消息的播放。With reference to the second aspect or any one of the first and third possible implementation manners of the second aspect, in a fourth possible implementation manner, the device further includes: a determining unit, configured to determine If the noise existing in the outside world is greater than the preset threshold, the playback of the voice message is suspended.

结合第二方面的第四种可能的实现方式,在第五种可能的实现方式中,确定单元还用于确定外界存在的噪声小于预设的阈值,继续语音消息的播放。With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner, the determining unit is further configured to determine that the noise existing outside is less than a preset threshold, and continue playing the voice message.

结合第二方面或第二方面的第一至第五种可能的实现方式中的任一种可能的实现方式,在第六种可能的实现方式中,语音消息的时长最大值为60s、120s、180s或240s。In combination with the second aspect or any one of the first to fifth possible implementations of the second aspect, in the sixth possible implementation, the maximum duration of the voice message is 60s, 120s, 180s or 240s.

结合第二方面或第二方面的第一至第六种可能的实现方式中的任一种可能的实现方式,在第七种可能的实现方式中,语音消息的播放气泡的上方或下方显示有对应当前播放进度的时间。With reference to the second aspect or any one of the first to sixth possible implementations of the second aspect, in a seventh possible implementation, above or below the playing bubble of the voice message is displayed a The time corresponding to the current playback progress.

结合第二方面或第二方面的第一至第七种可能的实现方式中的任一种可能的实现方式,在第八种可能的实现方式中,语音消息包括即时通讯语音消息或语音信箱消息。With reference to the second aspect or any one of the first to seventh possible implementations of the second aspect, in an eighth possible implementation, the voice message includes an instant messaging voice message or a voicemail message .

基于上述技术方案,本发明实施例可以获取在语音消息的气泡上输入的手势,并根据输入的手势控制语音消息,由于控制语音消息包括暂停播放或选时播放语音消息,从而能够灵活的调节语音消息的播放,提升用户体验。Based on the above technical solution, the embodiment of the present invention can acquire gestures input on the bubbles of the voice message, and control the voice message according to the input gesture. Since controlling the voice message includes pausing playback or playing the voice message at a selected time, the voice can be flexibly adjusted Message playback improves user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required in the embodiments of the present invention. Obviously, the accompanying drawings described below 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 flowchart of a method for controlling voice messages according to an embodiment of the present invention.

图2是根据本发明另一实施例的控制语音消息的方法示意性流程图。Fig. 2 is a schematic flowchart of a method for controlling voice messages according to another embodiment of the present invention.

图3是根据本发明一个实施例的语音消息气泡示意性框图。Fig. 3 is a schematic block diagram of a voice message bubble according to an embodiment of the present invention.

图4是根据本发明另一实施例的即时通讯语音消息示意性框图。Fig. 4 is a schematic block diagram of an instant messaging voice message according to another embodiment of the present invention.

图5是根据本发明再一实施例的即时通讯语音消息示意性框图。Fig. 5 is a schematic block diagram of an instant messaging voice message according to yet another embodiment of the present invention.

图6是根据本发明一个实施例的控制语音消息的设备示意性框图。Fig. 6 is a schematic block diagram of a device for controlling voice messages according to an embodiment of the present invention.

图7是根据本发明另一实施例的控制语音消息的设备示意性框图。Fig. 7 is a schematic block diagram of a device for controlling voice messages according to another embodiment of the present invention.

图8是根据本发明在一实施例的控制语音消息的设备示意性框图。Fig. 8 is a schematic block diagram of a device for controlling voice messages according to an embodiment of the present invention.

图9是根据本发明在一实施例的控制语音消息的设备示意性框图。Fig. 9 is a schematic block diagram of a device for controlling voice messages according to 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 drawings in the embodiments of the present invention. Obviously, the described embodiments are part 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 shall fall within the protection scope of the present invention.

图1是根据本发明一个实施例的即时通讯语音消息控制的方法示意性流程图。如图1所示,该方法包括:Fig. 1 is a schematic flow chart of a method for instant messaging voice message control according to an embodiment of the present invention. As shown in Figure 1, the method includes:

110,在触摸屏上显示语音消息的气泡。110. Display the voice message bubble on the touch screen.

换句话说,在用户设备的触摸屏上显示语音消息气泡。In other words, a voice message bubble is displayed on the touch screen of the user device.

120,获取在语音消息的气泡上输入的手势,语音消息的气泡的长度与语音消息的时长正相关。120. Acquire a gesture input on the bubble of the voice message, where the length of the bubble of the voice message is positively correlated with the duration of the voice message.

换句话说,采集手指或电容笔等在用户设备触摸屏上输入的运动轨迹,该运动轨迹对应输入操作。In other words, the movement track input by the finger or the capacitive pen on the touch screen of the user equipment is collected, and the movement track corresponds to the input operation.

130,根据输入的手势控制语音消息,其中,控制语音消息包括暂停播放或选时播放语音消息。130. Control the voice message according to the input gesture, where controlling the voice message includes pausing playing or playing the voice message at a selected time.

换句话说,不同的运动轨迹对应不同的语音消息控制。根据输入的运动轨迹来实现对语音消息的控制。In other words, different motion trajectories correspond to different voice message controls. Control the voice message according to the input motion trajectory.

应注意,本发明实施例中的语音消息的气泡的长度可以与语音消息的长度正相关,换句话说,当语音消息的长度较大时相应的语音消息的气泡会较长,当语音消息的长度较小时相应的语音消息的气泡会较短,例如,语音消息的长度可以与语音消息的时长成正比。语音消息的总时长可以显示在语音消息气泡的附近,例如,语音消息的总时长可以显示在语音消息的气泡的一端,如在语音消息的气泡的左边或右边,也可以显示在该语音消息的气泡上方或下方,本发明实施例并不对此做限定。It should be noted that the length of the bubbles of the voice message in the embodiment of the present invention may be positively correlated with the length of the voice message. In other words, when the length of the voice message is larger, the bubble of the corresponding voice message will be longer. When the length is smaller, the bubbles of the corresponding voice message will be shorter, for example, the length of the voice message may be proportional to the duration of the voice message. The total duration of the voice message can be displayed near the voice message bubble. For example, the total duration of the voice message can be displayed at one end of the voice message bubble, such as on the left or right of the voice message bubble, or can be displayed at the end of the voice message. Above or below the bubble, this embodiment of the present invention does not limit it.

应理解,本发明实施例中的语音消息可以为用户发出的语音消息,也可以为用户接收的其他用户发送的语音消息。It should be understood that the voice message in this embodiment of the present invention may be a voice message sent by a user, or may be a voice message received by the user and sent by another user.

现有语音消息软件普遍存在一个共同的问题:只有“播放”“停止”的功能,无法完成快进、倒退、暂停等操作。当用户收到一条语音消息时,首先用手指触碰该语音消息进行收听,再点击一次该语音消息则停止播放该语音消息。此时若再次点击该语音消息,则该语音消息会从头开始播放。控制语音消息的功能单一,造成不能够灵活的调节语音消息的播放,影响用户体验。而本发明实施例可以获取在语音消息的气泡上输入的手势,并根据输入的手势控制语音消息,由于控制语音消息包括暂停播放或选时播放语音消息,从而能够灵活的调节语音消息的播放,提升用户体验。Existing voice message software generally has a common problem: only the functions of "play" and "stop", cannot complete operations such as fast forward, rewind, and pause. When the user receives a voice message, he first touches the voice message with his finger to listen, and then clicks the voice message once to stop playing the voice message. At this time, if the voice message is clicked again, the voice message will be played from the beginning. The function of controlling the voice message is single, resulting in the inability to flexibly adjust the playback of the voice message, which affects user experience. However, the embodiment of the present invention can acquire gestures input on the voice message bubbles, and control voice messages according to the input gestures. Since controlling voice messages includes pausing playback or playing voice messages at selected times, the playback of voice messages can be flexibly adjusted. Improve user experience.

应理解,本发明实施例中的语音消息可以为即时通讯语音消息,例如可以为微信语音消息、米聊语音消息、企业内部聊天软件的语音消息、易信语音消息或QQ语音消息,还可为即时通讯软件收藏或存储的语音消息,还可以为语音信箱消息,本发明实施例中的语音信箱消息为至少一个语音消息构成的短讯消息,如可以为企业内部聊天软件的语音信箱消息,本发明实施例并不对此做限定。It should be understood that the voice message in the embodiment of the present invention can be an instant messaging voice message, for example, it can be a WeChat voice message, a rice chat voice message, a voice message of an enterprise internal chat software, a Yixin voice message or a QQ voice message, and it can also be an instant messaging voice message. The voice message collected or stored by the instant messaging software can also be a voice mailbox message, and the voice mailbox message in the embodiment of the present invention is a short message message composed of at least one voice message, such as a voice mailbox message that can be an enterprise internal chat software. The embodiment of the invention does not limit this.

还应理解,在本发明实施例中,用户设备(UE,User Equipment)为具有触摸屏的终端,包括但不限于移动台(MS,Mobile Station)、移动终端(Mobile Terminal)、移动电话(Mobile Telephone)、手机(handset)及便携设备(portable equipment)等,例如,用户设备可以是移动电话(或称为“蜂窝”电话)、平板电脑(Pad)、具有无线通信功能的计算机等,用户设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置。It should also be understood that in the embodiment of the present invention, the user equipment (UE, User Equipment) is a terminal with a touch screen, including but not limited to a mobile station (MS, Mobile Station), a mobile terminal (Mobile Terminal), a mobile phone (Mobile Telephone ), mobile phones (handset) and portable equipment (portable equipment), etc. It can be a portable, pocket, hand-held, built-in computer, or vehicle-mounted mobile device.

可选地,作为另一实施例,本发明实施例方法还包括:在播放语音消息时,生成语音消息的播放气泡。其中,播放气泡位于语音消息的气泡上,其中,获取在所述语音消息的气泡上的输入的手势包括:获取在语音消息的播放气泡的点击或获取推拉语音消息的播放气泡的手势。Optionally, as another embodiment, the method in this embodiment of the present invention further includes: when playing the voice message, generating a playback bubble of the voice message. Wherein, the playback bubble is located on the bubble of the voice message, wherein acquiring an input gesture on the bubble of the voice message includes: acquiring a click on the playback bubble of the voice message or acquiring a gesture of pushing and pulling the playback bubble of the voice message.

可选地,作为另一实施例,在130中,可以确定输入的手势与预设置的基准手势相匹配,根据基准手势对应的指令控制语音消息。换句话说,可以确定输入的手势轨迹与预设置的基准轨迹相匹配,根据基准轨迹对应的指令控制语音消息。Optionally, as another embodiment, in step 130, it may be determined that the input gesture matches a preset reference gesture, and the voice message is controlled according to an instruction corresponding to the reference gesture. In other words, it can be determined that the input gesture trajectory matches the preset reference trajectory, and the voice message is controlled according to the instruction corresponding to the reference trajectory.

根据本发明实施例,播放气泡的长度随语音消息的播放进度的增加而增加,播放气泡的长度小于或者等于语音消息的气泡的长度。According to the embodiment of the present invention, the length of the playing bubble increases as the playing progress of the voice message increases, and the length of the playing bubble is less than or equal to the length of the bubble of the voice message.

可选地,作为另一实施例,语音消息的播放气泡的上方或下方显示有对应当前播放进度的时间。Optionally, as another embodiment, the time corresponding to the current playback progress is displayed above or below the playback bubble of the voice message.

换句话说,语音消息的气泡有一个总的时长,显示在语音气泡的周围,例如在语音气泡的右方或左方。在语音消息播放后语音消息有一个播放气泡,该播放气泡随着播放时长的增加越来越大直到播放结束和语音消息的气泡重合,同时播放气泡的周围可以显示当前播放进度的时间,例如语音消息的播放气泡长度的上方或下方可以显示有对应当前播放进度的时间。应注意,为了区分开语音消息气泡和语音消息播放气泡,播放气泡和语音消息的气泡的颜色可以不同,例如,语音消息的气泡颜色较浅,播放气泡的颜色较深。In other words, the speech bubble has a total duration and is displayed around the speech bubble, for example, to the right or left of the speech bubble. After the voice message is played, the voice message has a playback bubble, which grows bigger and bigger as the playback time increases until the playback ends and the bubble of the voice message coincides. At the same time, the time of the current playback progress can be displayed around the playback bubble, such as voice The time corresponding to the current playing progress may be displayed above or below the length of the playing bubble of the message. It should be noted that in order to distinguish the voice message bubble from the voice message playback bubble, the color of the playback bubble and the voice message bubble may be different, for example, the voice message bubble is lighter in color, and the playback bubble is darker in color.

应理解,一种情况,用户设备接收到语音消息后不需手势即可以播放产生的播放气泡;另一种情况,也可以用户设备接收到语音消息后对该语音消息的气泡的点击开始播放该语音消息产生的播放气泡。It should be understood that, in one case, the user equipment can play the generated playback bubble without gestures after receiving the voice message; in another case, the user equipment can also click on the bubble of the voice message to start playing the voice message Playback bubbles for voice messages.

具体地,对语音消息的播放气泡的点击与暂停播放或开始播放相对应,推拉语音消息的播放气泡与选时播放相对应,换句话说推拉语音消息的播放气泡能够实现选择后面某一时刻开始播放该语音消息或前面的某一时刻开始播放,即实现快进播放或快退播放。Specifically, clicking on the playback bubble of the voice message corresponds to pausing or starting playback, and pushing and pulling the playback bubble of the voice message corresponds to playing at a selected time. Play the voice message or start playing at a certain moment in front, that is, realize fast-forward playback or fast-rewind playback.

可选地,作为另一实施例,当获取在所述语音消息的气泡上的输入的手势包括:获取在语音消息的播放气泡上的点击时,在130中,在语音消息处于播放状态时,根据点击语音消息的播放气泡暂停播放语音消息;在语音消息处于暂停播放状态时,根据点击语音消息的播放气泡从暂停播放位置继续播放语音消息。Optionally, as another embodiment, when acquiring the input gesture on the bubble of the voice message includes: acquiring a click on the playing bubble of the voice message, in step 130, when the voice message is in the playing state, According to clicking the playback bubble of the voice message, the playback of the voice message is suspended; when the voice message is in the paused playback state, according to the click of the playback bubble of the voice message, the voice message is continued to be played from the paused playback position.

具体地,在当前语音消息为未播放状态时,点击当前语音消息的气泡执行开始播放当前语音消息;在当前语音消息处于播放状态时,点击当前语音消息执行暂停当前语音消息的播放;在当前语音消息处于暂停状态时,点击当前语音消息执行继续播放当前语音消息,换句话说从暂停的时刻开始播放当前语音消息。Specifically, when the current voice message is not playing, click the bubble of the current voice message to start playing the current voice message; when the current voice message is in the playing state, click the current voice message to pause the playback of the current voice message; When the message is in the paused state, click on the current voice message to continue playing the current voice message, in other words, start playing the current voice message from the paused moment.

进一步地,在当前语音消息为未播放状态时,点击当前语音消息的气泡执行开始播放当前语音消息;在当前语音消息处于播放状态时,点击当前语音消息播放气泡执行暂停当前语音消息的播放;在当前语音消息处于暂停状态时,点击当前语音消息播放气泡执行继续播放当前语音消息,换句话说从暂停的时刻开始播放当前语音消息。Further, when the current voice message is in the unplayed state, click on the bubble of the current voice message to start playing the current voice message; when the current voice message is in the playing state, click on the current voice message to play the bubble to execute and pause the playback of the current voice message; When the current voice message is in the paused state, click the current voice message playback bubble to continue playing the current voice message, in other words, start playing the current voice message from the paused moment.

可选地,作为另一实施例,当获取在所述语音消息的气泡上的输入的手势包括:获取推拉语音消息的播放气泡的手势时,在130中,根据推拉语音消息的播放气泡的手势,调节播放气泡的长度;根据调节后播放气泡的长度,选时播放语音消息。Optionally, as another embodiment, when acquiring the input gesture on the bubble of the voice message includes: acquiring the gesture of pushing and pulling the bubble of the voice message, in 130, according to the gesture of pushing and pulling the bubble of the voice message , to adjust the length of the playback bubble; according to the adjusted length of the playback bubble, the voice message will be played at the selected time.

具体地,本发明实施例可以根据推拉播放气泡的末端边缘来实现调节播放气泡的长度,根据播放气泡的长度,可以根据在播放气泡的上方或下方显示的前播放进度的时间数来控制语音消息从哪一个时刻开始播放。即选时播放语音消息,换句话说推拉语音消息的播放气泡能够实现选择后面某一时刻开始播放该语音消息或前面的某一时刻开始播放,即实现快进播放或快退播放。例如,推拉播放气泡的末端使播放气泡的长度增加,可以实现快进播放语音消息,再例如,推拉播放气泡的末端使播放气泡的长度缩小,可以实现快退播放语音消息。另外,可以根据在播放气泡的上方或下方显示的前播放进度的时间数来控制语音消息从哪一个时刻开始播放。Specifically, the embodiment of the present invention can adjust the length of the playback bubble by pushing and pulling the end edge of the playback bubble. According to the length of the playback bubble, the voice message can be controlled according to the time of the previous playback progress displayed above or below the playback bubble. From which moment to start playing. That is, playing the voice message when selected, in other words, pushing and pulling the playback bubble of the voice message can realize playing the voice message at a certain time later or starting playing at a certain time in front, that is, realizing fast forward playback or fast rewind playback. For example, pushing and pulling the end of the playback bubble increases the length of the playback bubble, which can realize fast-forward playback of voice messages, and for another example, pushing and pulling the end of the playback bubble makes the length of the playback bubble smaller, which can realize rewind playback of voice messages. In addition, the time at which the voice message starts to be played can be controlled according to the time of the previous playback progress displayed above or below the playback bubble.

可选地,作为另一实施例,本发明实施例方法还包括,确定外界存在的噪声大于预设的阈值,暂停当前语音消息的播放。Optionally, as another embodiment, the method in this embodiment of the present invention further includes determining that the noise existing outside is greater than a preset threshold, and suspending playback of the current voice message.

进一步地,作为另一实施例,本发明实施例方法还包括:确定外界存在的噪声小于预设的阈值时,继续当前语音消息的播放。Furthermore, as another embodiment, the method in the embodiment of the present invention further includes: when it is determined that the noise existing outside is smaller than a preset threshold, continuing to play the current voice message.

具体地,本发明实施例,在播放当前语音消息时,可以通过用户设备的麦克风捕捉周围存在的噪声,例如为周围环境的对话声。当噪声大于预设的阈值时,停止当前语音消息的播放,当麦克风捕捉周围存在的噪声小于预设的阈值时,继续当前语音消息的播放。Specifically, in this embodiment of the present invention, when the current voice message is played, the microphone of the user equipment may be used to capture the surrounding noise, for example, the dialogue sound of the surrounding environment. When the noise is greater than the preset threshold, the playback of the current voice message is stopped, and when the noise captured by the microphone is smaller than the preset threshold, the playback of the current voice message is continued.

可选地,作为另一实施例,语音消息的长度最大值为60s、120s、180s或240s。Optionally, as another embodiment, the maximum length of the voice message is 60s, 120s, 180s or 240s.

应注意,语音消息的时长最大值可以不限制,较佳地可以取60s-600s中的任意值,例如还可以为90s、150s、300s、或480s或600s等,本发明实施例并不对此做限定。It should be noted that there is no limit to the maximum duration of the voice message. Preferably, it can take any value in 60s-600s, for example, it can also be 90s, 150s, 300s, or 480s or 600s, etc. This embodiment of the present invention does not do this limited.

现有技术无法完成快进、倒退、暂停等操作。当用户收到一条语音消息时,首先用手指触碰进行收听,再点击一次则停止播放。此时若再次点击,本条语音消息会从头开始播放。现有软件因为缺乏这些操作,只能通过控制语音的长度来防止大家发送过长的语音(除了易信是120秒外,微信、米聊等大部分的发送极限都是60秒),这就成为了产品可用性中推动因素的阻碍因素。用户平时的使用中,若不是十分紧急非要打电话不可,都会选择语音叙述,1分钟或2分钟的叙述经常不够,此时用户只能另起一个新的对话气泡,延续上一个已经到达时间极限自动发送的语音消息来录制,这样会造成多余操作并且打断用户思路。而本发明实施例由于可以进行快进、倒退、暂停的操作,语音消息时间极限不再受到这一可用性阻碍因素的影响,因此语音时间极限可以进行适当扩充,提升用户体验。Operations such as fast forward, rewind, and pause cannot be completed in the prior art. When the user receives a voice message, he first touches it with his finger to listen to it, and then clicks it again to stop playing. If you click again at this time, this voice message will start playing from the beginning. Because the existing software lacks these operations, it can only prevent everyone from sending too long voices by controlling the length of the voice (except for Yixin, which is 120 seconds, and most of WeChat, Michat, etc., have a sending limit of 60 seconds). Becoming a blocking factor to a driving factor in product usability. In daily use, if the user has to make a phone call if it is not very urgent, he will choose voice narration. The narration of 1 minute or 2 minutes is often not enough. At this time, the user can only create a new dialogue bubble to continue the previous arrival time. Limit the automatic sending of voice messages to record, which will cause redundant operations and interrupt the user's thinking. However, since the embodiment of the present invention can perform fast-forward, rewind, and pause operations, the voice message time limit is no longer affected by this usability hindrance factor, so the voice time limit can be appropriately expanded to improve user experience.

图2是根据本发明另一实施例的控制语音消息的方法示意性流程图。图2的实施例是图1的方法的例子。如图2所示的语音消息的控制方法包括:Fig. 2 is a schematic flowchart of a method for controlling voice messages according to another embodiment of the present invention. The embodiment of FIG. 2 is an example of the method of FIG. 1 . The control method of voice message as shown in Figure 2 comprises:

201,确定语音消息。201. Determine the voice message.

具体地,该语音消息可以为用户发出的语音消息,也可以为用户接收到的语音消息。Specifically, the voice message may be a voice message sent by the user, or may be a voice message received by the user.

202,开始播放。202, start playing.

具体地,语音消息为用户接收到语音消息后,该语音消息可以自动播放,也可以通过用户点击语音消息的气泡播放语音消息;或者语音消息为用户发出的语音消息,该语音消息可以在发出后自动播放,也可以通过用户点击语音消息的气泡播放语音消息。Specifically, after the voice message is received by the user, the voice message can be played automatically, or the voice message can be played by the user clicking the bubble of the voice message; or the voice message is a voice message sent by the user, and the voice message can be Autoplay, or the voice message can be played by the user clicking on the bubble of the voice message.

203,判断是否有输入的手势。如果没有输入的手势,则该语音消息持续播放直到播放完成,即执行步骤210;如果有手势输入,则执行步骤204。203. Determine whether there is an input gesture. If there is no input gesture, the voice message will continue to be played until the playback is completed, that is, step 210 is performed; if there is a gesture input, then step 204 is performed.

具体地,如果没有输入的手势,即在语音消息播放后用户没有对该语音消息控制,则语音消息会一直播放,直到播放完成。如果有输入的手势,即用户对该语音消息进行了控制,则执行步骤204。Specifically, if there is no input gesture, that is, the user does not control the voice message after the voice message is played, the voice message will be played until the playback is completed. If there is an input gesture, that is, the user controls the voice message, step 204 is executed.

204,判断该输入的手势是否是点击播放气泡或推拉播放气泡。如果是点击播放气泡则执行步骤205,如果是推拉播放气泡则执行步骤207。如果该输入的手势不是点击语音消息,也不是推拉语音消息,即该输入的手势与基准手势不匹配,则执行步骤210。204. Determine whether the input gesture is to click on the playback bubble or to push and pull the playback bubble. If the bubble is clicked to play, then step 205 is performed, and if the bubble is pushed and pulled, then step 207 is performed. If the input gesture is neither clicking on the voice message nor pushing and pulling the voice message, that is, the input gesture does not match the reference gesture, step 210 is performed.

205,确定输入的手势为点击播放气泡。205. Determine that the input gesture is click to play the bubble.

具体地,确定输入的手势为点击播放气泡则暂停播放该语音消息。Specifically, if it is determined that the input gesture is clicking the play bubble, then the voice message is paused.

206,再次点击播放气泡。206. Click again to play the bubble.

具体地,再次点击该语音消息的播放气泡时,会在暂停播放的位置继续播放该语音消息。Specifically, when the playback bubble of the voice message is clicked again, the voice message will continue to be played at the paused position.

207,确定输入的手势为推拉播放气泡。207. Determine that the input gesture is pushing and pulling the play bubble.

具体地,确定输入的手势为推拉播放气泡,用于确定选时播放该语音消息。Specifically, it is determined that the input gesture is pushing and pulling the play bubble, which is used to determine the time to play the voice message.

208,确定推拉播放气泡为增加播放气泡的长度。208. Determine that pushing and pulling the playback bubble is to increase the length of the playback bubble.

具体地,当推拉播放气泡为增加播放气泡的长度时为选择后面某一时刻开始播放语音消息,即快进播放语音消息。Specifically, when pushing and pulling the playback bubble is to increase the length of the playback bubble, it is to select a later time to start playing the voice message, that is, to play the voice message in fast forward.

209,确定推拉播放气泡为缩小播放气泡的长度。209. Determine that pushing and pulling the playback bubble is to reduce the length of the playback bubble.

具体地,当推拉播放气泡为缩小播放气泡的长度时为选择前面某一时刻开始播放语音消息,即快退播放语音消息。Specifically, when pushing and pulling the playback bubble is to reduce the length of the playback bubble, it is to select a certain moment in the past to start playing the voice message, that is, to play the voice message in reverse.

210,播放完成。210. Playing is complete.

应理解,图2仅仅是图1的一个具体例子的流程,根据本发明实施例,可以对语音消息进行各种控制的组合,换句话说在实际控制中可以对语音消息进行暂停播放、选时播放(快进播放或快退播放)的各种组合,例如,也可以在205(暂停播放)后推拉播放气泡实现选时暂停,也即选择再次播放的时间,当再次点击语音消息后可以在推拉后的位置继续播放语音消息。再例如,也可以在208(快进播放)后点击播放气泡实现暂停播放,当再次点击播放气泡在暂停时间点继续播放,本发明实施例并不对此做限定。It should be understood that FIG. 2 is only a flow chart of a specific example in FIG. 1. According to the embodiment of the present invention, various combinations of controls can be performed on voice messages. In other words, in actual control, voice messages can be paused, played, and selected Various combinations of playback (fast-forward playback or fast-backward playback), for example, you can also push and pull the playback bubble after 205 (pause playback) to realize time-selection and pause, that is, select the time to play again, and you can click on the voice message again. The position after pushing and pulling continues to play the voice message. For another example, it is also possible to click the play bubble after 208 (fast-forward playback) to pause the playback. When the play bubble is clicked again, the play continues at the pause time point, which is not limited in this embodiment of the present invention.

下面结合图3具体例子,更加详细地描述本发明实施例。应注意,图2的例子仅仅是为了帮助本领域技术人员理解本发明实施例,而非要将本发明实施例限于所例示的具体数值或具体场景。本领域技术人员根据所给出的图2例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本发明实施例的范围内。The following describes the embodiment of the present invention in more detail with reference to the specific example in FIG. 3 . It should be noted that the example in FIG. 2 is only intended to help those skilled in the art understand the embodiment of the present invention, and is not intended to limit the embodiment of the present invention to the illustrated specific values or specific scenarios. Those skilled in the art can obviously make various equivalent modifications or changes based on the example shown in FIG. 2 , and such modifications or changes also fall within the scope of the embodiments of the present invention.

图3是根据本发明一个实施例的即时通讯语音消息示意性框图。图3为图1的具体的例子,如图3所示的语音消息的时长301显示在该语音消息气泡200的右端,如图3所示为40s。如图4所示当点击该语音消息300时,该语音消息开始播放,同时会出现一个播放气泡302,该播放气泡302会随着播放时长的增加而增大,并在该播放气泡的上方显示有当前进度304,当点击播放气泡302时,该语音消息会停止播放,如图4所示,当该消息播放到20s时,点击播放气泡302,该语音消息会停止播放,并在该播放气泡上显示有暂停图标303,当再次点击播放气泡时,继续播放该语音消息,并从304处(20s处)继续播放该语音消息。Fig. 3 is a schematic block diagram of an instant messaging voice message according to an embodiment of the present invention. FIG. 3 is a specific example of FIG. 1 . The duration 301 of the voice message shown in FIG. 3 is displayed at the right end of the voice message bubble 200 , which is 40s as shown in FIG. 3 . As shown in Figure 4, when the voice message 300 is clicked, the voice message starts to play, and a playback bubble 302 will appear at the same time. There is a current progress 304, when clicking the play bubble 302, the voice message will stop playing, as shown in Figure 4, when the message is played to 20s, click the play bubble 302, the voice message will stop playing, and the voice message will stop playing in the play bubble Pause icon 303 is displayed on it, and when the play bubble is clicked again, the voice message will continue to be played, and the voice message will continue to be played from 304 (20s).

本发明实施例还可以通过推拉语音消息的播放气泡长度。来控制开始播放的时间点,例如如图4所示,从304推拉到305处,也就是从语音消息的20s处推拉到30s处实现语音消息的快进。如果在304处该语音消息处于播放状态,当推拉播放气泡至305处时,该语音消息会从305处继续播放或者该语音消息也可以暂停于305处,当再次点击该语音消息从305处继续播放;还可以从305推拉到304处,也就是可以从语音消息的30s处推拉到20s处实现语音消息的快退。此种情况对语音消息的控制与前面类似,不再赘述。本发明实施例还可以选定一个播放语音消息的时间,例如可以通过推拉语音气泡300的右端边缘至305处,如图4所示可以通过推拉语音气泡的右端边缘40s处至30s处,实现选时(30s处)播放语音消息,此种情况可以暂停于305处,当再次点击播放气泡开始从305处播放语音消息,也可以当推拉语音气泡300的右端边缘至305处后从305开始播放语音消息。本发明实施例并不对此做限定。In the embodiment of the present invention, the playing bubble length of the voice message can also be pushed and pulled. To control the time point to start playing, for example, as shown in Figure 4, push and pull from 304 to 305, that is, push and pull from 20s of the voice message to 30s to realize fast forwarding of the voice message. If the voice message is in the playing state at 304, when the play bubble is pushed and pulled to 305, the voice message will continue to play from 305 or the voice message can also be suspended at 305, and when the voice message is clicked again, continue from 305 Play; it can also be pushed and pulled from 305 to 304, that is, the fast rewinding of the voice message can be realized from the 30s of the voice message to the 20s of it. In this case, the control of the voice message is similar to the above, and will not be repeated here. In the embodiment of the present invention, a time for playing a voice message can also be selected, for example, by pushing and pulling the right edge of the speech bubble 300 to 305, as shown in FIG. (at 30s) to play the voice message. In this case, it can be paused at 305. When the play bubble is clicked again, the voice message will be played from 305. It can also be played from 305 after pushing and pulling the right edge of the voice bubble 300 to 305. information. This embodiment of the present invention does not limit it.

应理解,图4中的播放气泡302和语音消息气泡300的颜色可以不同。如语音消息的气泡颜色较浅,播放气泡的颜色较深。图4仅仅是示意性的,并未标出。本发明实施例并不对此做限定。It should be understood that the colors of the playback bubble 302 and the voice message bubble 300 in FIG. 4 may be different. For example, the color of the voice message bubble is lighter, and the color of the playback bubble is darker. Fig. 4 is only schematic and not labeled. This embodiment of the present invention does not limit it.

应注意,本发明实施例中的播放气泡也可以为显示播放进度的进度条,如图5所示的语音消息气泡500,语音消息时长501显示在语音消息的右端,例如为40s,语音消息的播放气泡502为条状显示在语音消息500内,播放气泡的当前进度503可以显示在语音消息的上方,播放气泡的当前进度505也可以显示在播放气泡的周围位于语音消息500内,本发明实施例并不对此做限定。当点击播放消息502后,可以在播放气泡的周围显示暂停图标504,应注意本发明实施例中的暂停图标也可以显示在播放进度条的上方,本发明实施例并不对此做限定,当再次点击播放气泡继续播放语音消息。It should be noted that the playback bubble in the embodiment of the present invention can also be a progress bar showing the playback progress, such as the voice message bubble 500 shown in FIG. The play bubble 502 is displayed in the voice message 500 as a strip, the current progress 503 of the play bubble can be displayed above the voice message, and the current progress 505 of the play bubble can also be displayed around the play bubble in the voice message 500. The example does not limit this. When the play message 502 is clicked, a pause icon 504 can be displayed around the play bubble. It should be noted that the pause icon in the embodiment of the present invention can also be displayed above the playback progress bar, which is not limited in the embodiment of the present invention. Tap the play bubble to continue playing the voice message.

应注意,已播放的语音消息或者说播放气泡的进度和语音消息气泡和待播放的语音消息颜色可以不同,也可以相同,本发明实施例并不对此做限定。例如,如图5所示,播放气泡502可以为较深颜色,待播放的语音消息506可以为较浅颜色。It should be noted that the progress of the played voice message or playing bubble and the color of the voice message bubble and the voice message to be played may be different or the same, which is not limited in this embodiment of the present invention. For example, as shown in FIG. 5 , the playback bubble 502 may be in a darker color, and the voice message 506 to be played may be in a lighter color.

应注意,图4和图5的例子是为了帮助本领域技术人员更好地理解本发明实施例,而非要限制本发明实施例的范围。本领域技术人员根据所给出的图4和图5的例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本发明实施例的范围内。It should be noted that the examples in FIG. 4 and FIG. 5 are intended to help those skilled in the art better understand the embodiments of the present invention, rather than limiting the scope of the embodiments of the present invention. Those skilled in the art can obviously make various equivalent modifications or changes based on the examples shown in FIG. 4 and FIG. 5 , and such modifications or changes also fall within the scope of the embodiments of the present invention.

应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the above processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

上文中结合图1和图5详细描述了本发明实施例的控制语音消息的方法。下面结合图6和图7详细描述本发明实施例的控制语音消息的设备。The method for controlling a voice message according to the embodiment of the present invention is described in detail above with reference to FIG. 1 and FIG. 5 . The device for controlling voice messages according to the embodiment of the present invention will be described in detail below with reference to FIG. 6 and FIG. 7 .

图6是根据本发明一个实施例的控制语音消息的设备示意性框图。如图6所示的控制语音消息的设备600包括:触摸屏610,获取单元620和控制单元630。Fig. 6 is a schematic block diagram of a device for controlling voice messages according to an embodiment of the present invention. The device 600 for controlling voice messages shown in FIG. 6 includes: a touch screen 610 , an acquisition unit 620 and a control unit 630 .

具体地,触摸屏610用于显示所述语音消息的气泡,获取单元620用于获取在语音消息的气泡上输入的手势,语音消息的气泡的长度与语音消息的时长正相关。控制单元630用于根据输入的手势控制语音消息,其中,控制语音消息包括暂停播放或选时播放语音消息。Specifically, the touch screen 610 is used to display the bubbles of the voice message, and the acquisition unit 620 is used to acquire gestures input on the bubbles of the voice message, and the length of the bubbles of the voice message is positively correlated with the duration of the voice message. The control unit 630 is configured to control the voice message according to the input gesture, wherein controlling the voice message includes pausing playing or playing the voice message at a selected time.

因此,本发明实施例本发明实施例可以获取在语音消息的气泡上输入的手势,并根据输入的手势控制语音消息,由于控制语音消息包括暂停播放或选时播放语音消息,从而能够灵活的调节语音消息的播放,提升用户体验。可选地,作为另一实施例,该控制语音消息的设备还可以包括生成单元,具体地,如图7所示的控制语音消息的设备700包括:触摸屏710,获取单元720,控制单元730和生成单元740。具体地,触摸屏710与触摸屏610的功能对应,获取单元720与获取单元620的功能对应,控制单元730与控制单元630的功能对应,为避免重复,不再赘述,生成单元740用于在播放语音消息时,生成语音消息的播放气泡,其中,播放气泡位于语音消息的气泡上,播放气泡的长度随语音消息的播放进度的增加而增加,播放气泡的长度小于或者等于语音消息的气泡的长度,Therefore, in the embodiment of the present invention, the embodiment of the present invention can acquire gestures input on the bubbles of the voice message, and control the voice message according to the input gesture. Since the control of the voice message includes pausing playback or playing the voice message at a selected time, it can be flexibly adjusted. The playback of voice messages improves user experience. Optionally, as another embodiment, the device for controlling voice messages may further include a generating unit. Specifically, the device for controlling voice messages 700 shown in FIG. 7 includes: a touch screen 710, an acquisition unit 720, a control unit 730 and Generate unit 740 . Specifically, the touch screen 710 corresponds to the function of the touch screen 610, the acquisition unit 720 corresponds to the function of the acquisition unit 620, and the control unit 730 corresponds to the function of the control unit 630. When the message is generated, the playback bubble of the voice message is generated, wherein the playback bubble is located on the bubble of the voice message, the length of the playback bubble increases with the increase of the playback progress of the voice message, and the length of the playback bubble is less than or equal to the length of the bubble of the voice message,

当获取单元720获取的输入的手势包括:在语音消息的播放气泡上的点击时,控制单元730具体用于在语音消息处于播放状态时,根据点击语音消息的播放气泡暂停播放语音消息;或者控制单元730具体用于在语音消息处于暂停播放状态时,根据点击语音消息的播放气泡从暂停播放位置继续播放语音消息。When the input gesture acquired by the acquisition unit 720 includes: when clicking on the playback bubble of the voice message, the control unit 730 is specifically configured to pause the playback of the voice message according to the click on the playback bubble of the voice message when the voice message is in the playing state; or control The unit 730 is specifically configured to continue playing the voice message from the pause position according to clicking on the playback bubble of the voice message when the voice message is in the paused playback state.

另外,当获取单元720获取的输入的手势包括:推拉语音消息的播放气泡的手势时,控制单元730具体用于根据推拉语音消息的播放气泡的手势,调节播放气泡的长度,根据调节后播放气泡的长度,选时播放语音消息。In addition, when the input gesture acquired by the acquisition unit 720 includes: a gesture of pushing and pulling the playback bubble of the voice message, the control unit 730 is specifically configured to adjust the length of the playback bubble according to the gesture of pushing and pulling the playback bubble of the voice message, and adjust the length of the playback bubble according to the adjusted playback bubble. length, the voice message will be played when selected.

可选地,作为另一实施例,该控制语音消息的设备还包括确定单元,具体地,如图8所示的控制语音消息的设备800包括:触摸屏810,获取单元820,控制单元830,生成单元840和确定单元850。具体地,触摸屏810与触摸屏710的功能对应,获取单元820与获取单元720的功能对应,控制单元830与控制单元730的功能对应,生成单元840与生成单元740的功能对应,为避免重复,不再赘述,确定单元850用于确定外界存在的噪声大于预设的阈值,暂停语音消息的播放。确定单元850还用于确定外界存在的噪声小于预设的阈值,继续语音消息的播放。Optionally, as another embodiment, the device for controlling voice messages further includes a determining unit. Specifically, the device 800 for controlling voice messages as shown in FIG. Unit 840 and determination unit 850. Specifically, the touch screen 810 corresponds to the function of the touch screen 710, the acquisition unit 820 corresponds to the function of the acquisition unit 720, the control unit 830 corresponds to the function of the control unit 730, and the generation unit 840 corresponds to the function of the generation unit 740. To avoid repetition, no To repeat it again, the determining unit 850 is configured to determine that the noise existing outside is greater than a preset threshold, and suspend playing of the voice message. The determination unit 850 is further configured to determine that the noise in the outside world is smaller than the preset threshold, and continue to play the voice message.

可选地,作为另一实施例,语音消息的时长最大值为60s、120s、180s或240s。Optionally, as another embodiment, the maximum duration of the voice message is 60s, 120s, 180s or 240s.

可选地,作为另一实施例,语音消息的播放气泡的上方或下方显示有对应当前播放进度的时间。Optionally, as another embodiment, the time corresponding to the current playback progress is displayed above or below the playback bubble of the voice message.

可选地,作为另一实施例,语音消息包括即时通讯语音消息或语音信箱消息。Optionally, as another embodiment, the voice message includes an instant messaging voice message or a voice mailbox message.

应注意,图6-图8所示的控制语音消息的设备能够实现图1-图5的方法实施例中由控制语音消息的设备完成的各个过程。控制语音消息的设备的其他功能和操作可以参考图1和图5的方法实施例中涉及控制语音消息的设备的过程。为避免重复,此处不再详述。It should be noted that the device for controlling voice messages shown in FIGS. 6-8 can implement various processes completed by the device for controlling voice messages in the method embodiments in FIGS. 1-5 . For other functions and operations of the device for controlling voice messages, reference may be made to the process involving the device for controlling voice messages in the method embodiments in FIG. 1 and FIG. 5 . In order to avoid repetition, it will not be described in detail here.

图9是根据本发明另一实施例的控制语音消息的设备示意性框图。如图9所示的控制语音消息的设备900包括处理器910、存储器920、总线系统930和触摸屏940。处理器910、存储器920和触摸屏940通过总线系统930相连。Fig. 9 is a schematic block diagram of a device for controlling voice messages according to another embodiment of the present invention. The device 900 for controlling voice messages as shown in FIG. 9 includes a processor 910 , a memory 920 , a bus system 930 and a touch screen 940 . The processor 910 , memory 920 and touch screen 940 are connected through a bus system 930 .

具体地,处理器910用于通过总线系统930调用存储在存储器920中的代码,通过触摸屏940获取在语音消息的气泡上的输入的手势,语音消息的气泡的长度与语音消息的时长正相关;根据输入的手势控制语音消息,其中,控制语音消息包括暂停播放或选时播放语音消息。Specifically, the processor 910 is configured to call the code stored in the memory 920 through the bus system 930, and obtain the input gesture on the bubble of the voice message through the touch screen 940, and the length of the bubble of the voice message is positively correlated with the duration of the voice message; The voice message is controlled according to the input gesture, wherein the control of the voice message includes pausing playing or playing the voice message at a selected time.

因此,本发明实施例可以通过本发明实施例可以获取在语音消息的气泡上输入的手势,并根据输入的手势控制语音消息,由于控制语音消息包括暂停播放或选时播放语音消息,从而能够灵活的调节语音消息的播放,提升用户体验。Therefore, the embodiment of the present invention can obtain the gesture input on the bubble of the voice message through the embodiment of the present invention, and control the voice message according to the input gesture. Since controlling the voice message includes pausing playback or playing the voice message at a selected time, it can Adjust the playback of voice messages to improve user experience.

上述本发明实施例揭示的方法可以应用于处理器910中,或者由处理器910实现。处理器910可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器910中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器910可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read-Only Memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器920,处理器910读取存储器920中的信息,结合其硬件完成上述方法的步骤,该总线系统930除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统930。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 910 or implemented by the processor 910 . The processor 910 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 910 or instructions in the form of software. The aforementioned processor 910 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. in the storage medium. The storage medium is located in the memory 920, and the processor 910 reads the information in the memory 920, and completes the steps of the above method in combination with its hardware. The bus system 930 may also include a power bus, a control bus, and a status signal bus in addition to the data bus. wait. However, for clarity of illustration, the various buses are labeled as bus system 930 in the figure.

可选地,作为另一实施例,处理器910还用于在播放语音消息时,生成语音消息的播放气泡,其中,播放气泡位于语音消息的气泡上,播放气泡的长度随语音消息的播放进度的增加而增加,播放气泡的长度小于或者等于语音消息的气泡的长度,Optionally, as another embodiment, the processor 910 is further configured to generate a playback bubble of the voice message when the voice message is played, wherein the playback bubble is located on the bubble of the voice message, and the length of the playback bubble varies with the playback progress of the voice message. increases, the length of the playback bubble is less than or equal to the length of the voice message bubble,

当获取单元获取的输入的手势包括:在语音消息的播放气泡上的点击时,处理器910具体用于在语音消息处于播放状态时,根据点击语音消息的播放气泡暂停播放语音消息;或者处理器910具体用于在语音消息处于暂停播放状态时,根据点击语音消息的播放气泡从暂停播放位置继续播放语音消息。When the input gesture acquired by the acquisition unit includes: a click on the playback bubble of the voice message, the processor 910 is specifically configured to pause the playback of the voice message according to the click on the playback bubble of the voice message when the voice message is in the playing state; or the processor 910 is specifically configured to continue playing the voice message from the paused playback position according to clicking on the playback bubble of the voice message when the voice message is in the paused playback state.

另外,当获取单元获取的输入的手势包括:推拉语音消息的播放气泡的手势时,处理器910具体用于根据推拉语音消息的播放气泡的手势,调节播放气泡的长度,根据调节后播放气泡的长度,选时播放语音消息。In addition, when the input gesture acquired by the acquiring unit includes: a gesture of pushing and pulling the playing bubble of the voice message, the processor 910 is specifically configured to adjust the length of the playing bubble according to the gesture of pushing and pulling the playing bubble of the voice message, and adjust the length of the playing bubble according to the adjusted Length, select the time to play the voice message.

可选地,作为另一实施例,处理器910还用于确定外界存在的噪声大于预设的阈值,暂停语音消息的播放。Optionally, as another embodiment, the processor 910 is further configured to determine that the noise existing outside is greater than a preset threshold, and suspend playing of the voice message.

进一步地,处理器910还用于确定外界存在的噪声小于预设的阈值,继续语音消息的播放。Further, the processor 910 is further configured to determine that the noise existing outside is smaller than a preset threshold, and continue playing the voice message.

可选地,作为另一实施例,语音消息的时长最大值为60s、120s、180s或240s。Optionally, as another embodiment, the maximum duration of the voice message is 60s, 120s, 180s or 240s.

可选地,作为另一实施例,语音消息的播放气泡的上方或下方显示有对应当前播放进度的时间。Optionally, as another embodiment, the time corresponding to the current playback progress is displayed above or below the playback bubble of the voice message.

可选地,作为另一实施例,语音消息包括即时通讯语音消息或语音信箱消息。Optionally, as another embodiment, the voice message includes an instant messaging voice message or a voice mailbox message.

应注意,图9所示的控制语音消息的设备能够实现图1-图5的方法实施例中由控制语音消息的设备完成的各个过程。控制语音消息的设备900的其他功能和操作可以参考图1和图5的方法实施例中涉及控制语音消息的设备的过程。为避免重复,此处不再详述。It should be noted that the device for controlling voice messages shown in FIG. 9 can implement various processes completed by the device for controlling voice messages in the method embodiments in FIGS. 1-5 . For other functions and operations of the device 900 for controlling voice messages, reference may be made to the process involving the device for controlling voice messages in the method embodiments in FIG. 1 and FIG. 5 . In order to avoid repetition, it will not be described in detail here.

应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this article is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and/or B may mean: A exists alone, and A and B exist at the same time , there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.

应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, rather than by the embodiment of the present invention. The implementation process constitutes any limitation.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. 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.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (18)

1.一种控制语音消息的方法,其特征在于,包括:1. A method for controlling voice messages, comprising: 在触摸屏上显示所述语音消息的气泡;displaying a bubble of the voice message on the touch screen; 获取在所述语音消息的气泡上输入的手势,所述语音消息的气泡的长度与所述语音消息的时长正相关;Acquiring gestures input on the bubbles of the voice message, where the length of the bubbles of the voice message is positively correlated with the duration of the voice message; 根据输入的所述手势控制所述语音消息,其中,所述控制所述语音消息包括暂停播放或选时播放所述语音消息。Controlling the voice message according to the input gesture, wherein the controlling the voice message includes pausing playing or playing the voice message at a selected time. 2.根据权利要求1所述的方法,其特征在于,还包括:2. The method according to claim 1, further comprising: 在播放所述语音消息时,生成所述语音消息的播放气泡,其中,所述播放气泡位于所述语音消息的气泡上,When the voice message is played, a playback bubble of the voice message is generated, wherein the playback bubble is located on the bubble of the voice message, 其中,所述获取在所述语音消息的气泡上的输入的手势包括:Wherein, the gesture for obtaining the input on the bubble of the voice message includes: 获取在所述语音消息的播放气泡上的点击,其中,所述播放气泡的长度随所述语音消息的播放进度的增加而增加,所述播放气泡的长度小于或者等于所述语音消息的气泡的长度,Acquiring a click on the playing bubble of the voice message, wherein the length of the playing bubble increases as the playing progress of the voice message increases, and the length of the playing bubble is less than or equal to that of the bubble of the voice message length, 其中,所述根据输入的所述手势控制所述语音消息,包括:Wherein, the controlling the voice message according to the gesture input includes: 在所述语音消息处于播放状态时,根据在所述语音消息的播放气泡上的点击暂停播放所述语音消息。When the voice message is in the playing state, the voice message is paused to be played according to a click on the playing bubble of the voice message. 3.根据权利要求2所述的方法,其特征在于,还包括:3. The method according to claim 2, further comprising: 在所述语音消息处于暂停播放状态时,根据在所述语音消息的播放气泡上的点击从暂停播放位置继续播放所述语音消息。When the voice message is in the pause playing state, continue playing the voice message from the pause playing position according to the click on the playing bubble of the voice message. 4.根据权利要求1所述的方法,其特征在于,还包括:4. The method according to claim 1, further comprising: 在播放所述语音消息时,生成所述语音消息的播放气泡,其中,所述播放气泡位于所述语音消息的气泡上,When the voice message is played, a playback bubble of the voice message is generated, wherein the playback bubble is located on the bubble of the voice message, 其中,所述获取在所述语音消息的气泡上的输入的手势,包括:Wherein, the gesture of acquiring the input on the bubble of the voice message includes: 获取推拉所述语音消息的播放气泡的手势,所述播放气泡的长度随所述语音消息的播放进度的增加而增加,所述播放气泡的长度小于或者等于所述语音消息的气泡的长度,acquiring a gesture of pushing and pulling the playing bubble of the voice message, the length of the playing bubble increases as the playing progress of the voice message increases, and the length of the playing bubble is less than or equal to the length of the bubble of the voice message, 其中,所述根据输入的所述手势控制所述语音消息,包括:Wherein, the controlling the voice message according to the gesture input includes: 根据所述推拉所述语音消息的播放气泡的手势,调节所述播放气泡的长度;adjusting the length of the playing bubble according to the gesture of pushing and pulling the playing bubble of the voice message; 根据调节后所述播放气泡的长度,选时播放所述语音消息。According to the adjusted length of the playing bubble, the voice message is played at a selected time. 5.根据权利要求1至4中任一项所述的方法,其特征在于,还包括:5. The method according to any one of claims 1 to 4, further comprising: 确定外界存在的噪声大于预设的阈值,暂停所述语音消息的播放。It is determined that the noise in the outside world is greater than the preset threshold, and the playback of the voice message is suspended. 6.根据权利要求5所述的方法,其特征在于,还包括:6. The method according to claim 5, further comprising: 确定外界存在的噪声小于预设的阈值,继续所述语音消息的播放。It is determined that the noise existing in the outside world is smaller than the preset threshold, and the playing of the voice message is continued. 7.根据权利要求1至6中任一项所述的方法,其特征在于,所述语音消息的时长最大值为60s、120s、180s或240s。7. The method according to any one of claims 1 to 6, wherein the maximum duration of the voice message is 60s, 120s, 180s or 240s. 8.根据权利要求1至7中任一项所述的方法,其特征在于,8. The method according to any one of claims 1 to 7, characterized in that, 所述语音消息的播放气泡的上方或下方显示有对应当前播放进度的时间。The time corresponding to the current playing progress is displayed above or below the playing bubble of the voice message. 9.根据权利要求1至8中任一项所述的方法,其特征在于,所述语音消息包括即时通讯语音消息或语音信箱消息。9. The method according to any one of claims 1 to 8, wherein the voice message comprises an instant messaging voice message or a voice mailbox message. 10.一种控制语音消息的设备,其特征在于,包括:10. A device for controlling voice messages, comprising: 触摸屏,用于显示所述语音消息的气泡;a touch screen for displaying a bubble of the voice message; 获取单元,用于通过触摸屏获取在所述语音消息的气泡上输入的手势,所述语音消息的气泡的长度与所述语音消息的时长正相关;An acquisition unit, configured to acquire gestures input on the bubbles of the voice message through the touch screen, where the length of the bubbles of the voice message is positively correlated with the duration of the voice message; 控制单元,用于根据输入的所述手势控制所述语音消息,其中,所述控制所述语音消息包括暂停播放或选时播放所述语音消息。A control unit, configured to control the voice message according to the input gesture, wherein the controlling the voice message includes pausing playing or playing the voice message at a selected time. 11.根据权利要求10所述的设备,其特征在于,还包括:11. The device of claim 10, further comprising: 生成单元,用于在播放所述语音消息时,生成所述语音消息的播放气泡,其中,所述播放气泡位于所述语音消息的气泡上,其中,所述获取单元具体用于获取在所述语音消息的播放气泡上的点击,其中,所述播放气泡的长度随所述语音消息的播放进度的增加而增加,所述播放气泡的长度小于或者等于所述语音消息的气泡的长度,The generating unit is configured to generate a playback bubble of the voice message when the voice message is played, wherein the playback bubble is located on the bubble of the voice message, wherein the acquiring unit is specifically configured to acquire the bubble in the voice message Clicking on the playback bubble of the voice message, wherein the length of the playback bubble increases with the increase of the playback progress of the voice message, and the length of the playback bubble is less than or equal to the length of the bubble of the voice message, 其中,所述控制单元具体用于Wherein, the control unit is specifically used for 在所述语音消息处于播放状态时,根据所述对所述语音消息的播放气泡的点击暂停播放所述语音消息。When the voice message is in the playing state, the voice message is paused according to the click on the play bubble of the voice message. 12.根据权利要求11所述的设备,其特征在于,所述控制单元还用于12. The device according to claim 11, wherein the control unit is further configured to 在所述语音消息处于暂停播放状态时,根据所述对所述语音消息的播放气泡的点击从暂停播放位置继续播放所述语音消息。When the voice message is in the paused playback state, continue to play the voice message from the paused playback position according to the click on the playback bubble of the voice message. 13.根据权利要求10所述的设备,其特征在于,还包括:13. The device of claim 10, further comprising: 生成单元,用于在播放所述语音消息时,生成所述语音消息的播放气泡,其中,所述播放气泡位于所述语音消息的气泡上,A generating unit, configured to generate a playback bubble of the voice message when the voice message is played, wherein the playback bubble is located on the bubble of the voice message, 其中,所述获取单元具体用于获取推拉所述语音消息的播放气泡的手势,所述播放气泡的长度随所述语音消息的播放进度的增加而增加,所述播放气泡的长度小于或者等于所述语音消息的气泡的长度,Wherein, the acquiring unit is specifically configured to acquire a gesture of pushing and pulling the playing bubble of the voice message, the length of the playing bubble increases as the playing progress of the voice message increases, and the length of the playing bubble is less than or equal to the the length of the speech bubble for the voice message, 其中,所述控制单元具体用于Wherein, the control unit is specifically used for 根据所述推拉所述语音消息的播放气泡的手势,调节所述播放气泡的长度;adjusting the length of the playing bubble according to the gesture of pushing and pulling the playing bubble of the voice message; 根据调节后所述播放气泡的长度,选时播放所述语音消息。According to the adjusted length of the playing bubble, the voice message is played at a selected time. 14.根据权利要求10至13中任一项所述的设备,其特征在于,还包括:14. The apparatus according to any one of claims 10 to 13, further comprising: 确定单元,用于确定外界存在的噪声大于预设的阈值,暂停所述语音消息的播放。The determining unit is configured to determine that the noise existing outside is greater than a preset threshold, and suspend playing the voice message. 15.根据权利要求14所述的设备,其特征在于,所述确定单元还用于确定外界存在的噪声小于预设的阈值,继续所述语音消息的播放。15. The device according to claim 14, wherein the determining unit is further configured to determine that the noise existing outside is less than a preset threshold, and continue playing the voice message. 16.根据权利要求10至15中任一项所述的设备,其特征在于,所述语音消息的时长最大值为60s、120s、180s或240s。16. The device according to any one of claims 10-15, wherein the maximum duration of the voice message is 60s, 120s, 180s or 240s. 17.根据权利要求10至16中任一项所述的设备,其特征在于,17. Apparatus according to any one of claims 10 to 16, wherein 所述语音消息的播放气泡的上方或下方显示有对应当前播放进度的时间。The time corresponding to the current playing progress is displayed above or below the playing bubble of the voice message. 18.根据权利要求10至17中任一项所述的设备,其特征在于,所述语音消息包括即时通讯语音消息或语音信箱消息。18. The device according to any one of claims 10-17, wherein the voice message comprises an instant messaging voice message or a voicemail message.
CN201410180870.1A 2014-04-30 2014-04-30 Voice message control method and device Pending CN103970477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410180870.1A CN103970477A (en) 2014-04-30 2014-04-30 Voice message control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410180870.1A CN103970477A (en) 2014-04-30 2014-04-30 Voice message control method and device

Publications (1)

Publication Number Publication Date
CN103970477A true CN103970477A (en) 2014-08-06

Family

ID=51240037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410180870.1A Pending CN103970477A (en) 2014-04-30 2014-04-30 Voice message control method and device

Country Status (1)

Country Link
CN (1) CN103970477A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618562A (en) * 2014-12-30 2015-05-13 小米科技有限责任公司 Call recording information displaying method and device and mobile terminal
CN105049637A (en) * 2015-08-25 2015-11-11 努比亚技术有限公司 Device and method for controlling instant communication
CN105657482A (en) * 2016-03-28 2016-06-08 广州华多网络科技有限公司 Voice barrage realization method and device
CN106328173A (en) * 2016-08-29 2017-01-11 天脉聚源(北京)传媒科技有限公司 Method and device for controlling play of recording data
CN106412305A (en) * 2016-10-08 2017-02-15 努比亚技术有限公司 Mobile terminal and method of controlling voice information playing thereby
CN106791077A (en) * 2016-12-16 2017-05-31 北京小米移动软件有限公司 The treating method and apparatus of multimedia message in MSN
CN106940618A (en) * 2017-03-31 2017-07-11 珠海市魅族科技有限公司 The player method and device of a kind of voice messaging
CN107888757A (en) * 2017-09-25 2018-04-06 努比亚技术有限公司 A kind of voice message processing method, terminal and computer-readable recording medium
WO2018218568A1 (en) * 2017-05-31 2018-12-06 深圳市永恒丰科技有限公司 Short voice message playback control method
CN109067973A (en) * 2018-06-27 2018-12-21 维沃移动通信有限公司 A kind of voice messaging playback method and mobile terminal
CN110336912A (en) * 2019-04-25 2019-10-15 上海传英信息技术有限公司 Voice broadcast method, device, equipment and storage medium
CN112712825A (en) * 2020-12-30 2021-04-27 维沃移动通信有限公司 Audio processing method and device and electronic equipment
CN113543678A (en) * 2019-02-27 2021-10-22 宝洁公司 Voice assistant in electric toothbrush
CN113778370A (en) * 2021-09-13 2021-12-10 周鹏程 A voice message playing method, device, electronic device and storage medium
WO2024045628A1 (en) * 2022-09-02 2024-03-07 腾讯科技(深圳)有限公司 Voice message-based interaction method and apparatus, computer device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1836431A (en) * 2003-04-22 2006-09-20 斯皮沃克斯有限公司 A method of providing voicemails to a wireless information device
CN101578849A (en) * 2007-01-07 2009-11-11 苹果公司 Voicemail systems and methods
US20090327422A1 (en) * 2008-02-08 2009-12-31 Rebelvox Llc Communication application for conducting conversations including multiple media types in either a real-time mode or a time-shifted mode
US20100125791A1 (en) * 2008-11-14 2010-05-20 Rebelvox, Llc User interface for a telecommunication and multimedia management system and method
CN102780687A (en) * 2011-05-09 2012-11-14 语音聊有限公司 System and method for real-time transmission of multimedia messages
CN102811182A (en) * 2012-08-10 2012-12-05 上海量明科技发展有限公司 Method, client and system for playing audio message in instant messaging
CN103399702A (en) * 2013-07-05 2013-11-20 广东欧珀移动通信有限公司 An operation method and mobile terminal for sending or playing voice information
CN103475574A (en) * 2013-09-30 2013-12-25 广州网易计算机系统有限公司 Method and device used for sending messages

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1836431A (en) * 2003-04-22 2006-09-20 斯皮沃克斯有限公司 A method of providing voicemails to a wireless information device
CN101578849A (en) * 2007-01-07 2009-11-11 苹果公司 Voicemail systems and methods
US20090327422A1 (en) * 2008-02-08 2009-12-31 Rebelvox Llc Communication application for conducting conversations including multiple media types in either a real-time mode or a time-shifted mode
US20100125791A1 (en) * 2008-11-14 2010-05-20 Rebelvox, Llc User interface for a telecommunication and multimedia management system and method
CN102780687A (en) * 2011-05-09 2012-11-14 语音聊有限公司 System and method for real-time transmission of multimedia messages
CN102811182A (en) * 2012-08-10 2012-12-05 上海量明科技发展有限公司 Method, client and system for playing audio message in instant messaging
CN103399702A (en) * 2013-07-05 2013-11-20 广东欧珀移动通信有限公司 An operation method and mobile terminal for sending or playing voice information
CN103475574A (en) * 2013-09-30 2013-12-25 广州网易计算机系统有限公司 Method and device used for sending messages

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618562A (en) * 2014-12-30 2015-05-13 小米科技有限责任公司 Call recording information displaying method and device and mobile terminal
CN105049637A (en) * 2015-08-25 2015-11-11 努比亚技术有限公司 Device and method for controlling instant communication
CN105657482B (en) * 2016-03-28 2018-11-06 广州华多网络科技有限公司 A kind of implementation method and device of voice barrage
CN105657482A (en) * 2016-03-28 2016-06-08 广州华多网络科技有限公司 Voice barrage realization method and device
CN106328173A (en) * 2016-08-29 2017-01-11 天脉聚源(北京)传媒科技有限公司 Method and device for controlling play of recording data
CN106412305A (en) * 2016-10-08 2017-02-15 努比亚技术有限公司 Mobile terminal and method of controlling voice information playing thereby
CN106412305B (en) * 2016-10-08 2019-08-30 努比亚技术有限公司 A kind of method that mobile terminal and its control voice messaging play
CN106791077B (en) * 2016-12-16 2020-06-02 北京小米移动软件有限公司 Method and device for processing multimedia messages in instant messaging software
CN106791077A (en) * 2016-12-16 2017-05-31 北京小米移动软件有限公司 The treating method and apparatus of multimedia message in MSN
CN106940618A (en) * 2017-03-31 2017-07-11 珠海市魅族科技有限公司 The player method and device of a kind of voice messaging
WO2018218568A1 (en) * 2017-05-31 2018-12-06 深圳市永恒丰科技有限公司 Short voice message playback control method
CN107888757A (en) * 2017-09-25 2018-04-06 努比亚技术有限公司 A kind of voice message processing method, terminal and computer-readable recording medium
CN109067973A (en) * 2018-06-27 2018-12-21 维沃移动通信有限公司 A kind of voice messaging playback method and mobile terminal
CN113543678A (en) * 2019-02-27 2021-10-22 宝洁公司 Voice assistant in electric toothbrush
CN110336912A (en) * 2019-04-25 2019-10-15 上海传英信息技术有限公司 Voice broadcast method, device, equipment and storage medium
CN110336912B (en) * 2019-04-25 2024-02-27 上海传英信息技术有限公司 Voice broadcasting method, device, equipment and storage medium
CN112712825A (en) * 2020-12-30 2021-04-27 维沃移动通信有限公司 Audio processing method and device and electronic equipment
CN113778370A (en) * 2021-09-13 2021-12-10 周鹏程 A voice message playing method, device, electronic device and storage medium
WO2024045628A1 (en) * 2022-09-02 2024-03-07 腾讯科技(深圳)有限公司 Voice message-based interaction method and apparatus, computer device, and storage medium

Similar Documents

Publication Publication Date Title
CN103970477A (en) Voice message control method and device
CN106462241B (en) Dismissing notifications in response to presented notifications
CN110164437B (en) Voice recognition method and terminal for instant messaging
US20210352059A1 (en) Message Display Method, Apparatus, and Device
US9444927B2 (en) Methods for voice management, and related devices
CN110417641A (en) A kind of method and apparatus sending conversation message
CN106105174B (en) Automatic camera selection
CN109245997B (en) Voice message playback method and device
CN103368829B (en) Chat message processing method and the system of JICQ
CN107888965A (en) Image present methods of exhibiting and device, terminal, system, storage medium
CN106105172A (en) Highlight the video messaging do not checked
KR102857196B1 (en) Video call method and device
CN104461238A (en) Application icon processing method and terminal
CN110943908A (en) Voice message sending method, electronic device and medium
CN112134788A (en) Event processing method and device, storage medium, mobile terminal and computer
CN104505108A (en) Information positioning method and terminal
WO2021128537A1 (en) Entry information processing method, terminal device, and computer-readable storage medium
CN103124313A (en) Method and device for viewing short message
CN106601251A (en) Generating method and system of communication text
CN105446695B (en) A kind of sweep-out method and device of notification message
CN107959751A (en) Audio frequency playing method and device
CN106940618A (en) The player method and device of a kind of voice messaging
CN106921802B (en) Audio data playing method and device
US20240411506A1 (en) Devices, Methods, and User Interfaces for Controlling Operation of Wearable Audio Output Devices
CN111930281B (en) Reminding message creating method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140806

RJ01 Rejection of invention patent application after publication