CN109245997B - Voice message playing method and device - Google Patents

Voice message playing method and device Download PDF

Info

Publication number
CN109245997B
CN109245997B CN201811122138.3A CN201811122138A CN109245997B CN 109245997 B CN109245997 B CN 109245997B CN 201811122138 A CN201811122138 A CN 201811122138A CN 109245997 B CN109245997 B CN 109245997B
Authority
CN
China
Prior art keywords
voice message
signal
playing
voice
message
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.)
Active
Application number
CN201811122138.3A
Other languages
Chinese (zh)
Other versions
CN109245997A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811122138.3A priority Critical patent/CN109245997B/en
Publication of CN109245997A publication Critical patent/CN109245997A/en
Application granted granted Critical
Publication of CN109245997B publication Critical patent/CN109245997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a voice message playing method and device, and belongs to the technical field of computers. The method comprises the following steps: in the process of playing the voice message in the instant messaging application, in response to a received first trigger signal, pausing the playing of the voice message and setting a breakpoint for the voice message; receiving a second trigger signal; in response to the second trigger signal, starting to play the voice message from the breakpoint. The embodiment of the disclosure avoids the problem of low information acquisition efficiency caused by playing the played voice message again when the voice message is played from the beginning, and improves the information acquisition efficiency.

Description

Voice message playing method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for playing a voice message.
Background
Currently, more and more users communicate using instant messaging applications. When the user is inconvenient to type, a voice message can be sent through the instant messaging application. The instant messaging application can be Michat, QQ, WeChat, microblog and the like.
When the instant messaging application is interrupted in the process of playing a voice message, the instant messaging application needs to play the voice message from the beginning.
Disclosure of Invention
In order to solve the problems in the related art, the present disclosure provides a voice message playing method and device.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for playing a voice message, the method including:
in the process of playing the voice message in the instant messaging application, in response to a received first trigger signal, pausing the playing of the voice message and setting a breakpoint for the voice message;
receiving a second trigger signal;
in response to the second trigger signal, starting to play the voice message from the breakpoint.
According to a second aspect of the embodiments of the present disclosure, there is provided a voice message playing apparatus, the apparatus including:
the setting module is configured to respond to a received first trigger signal in the process of playing the voice message in the instant messaging application, pause the playing of the voice message and set a breakpoint for the voice message;
a first receiving module configured to receive a second trigger signal;
a playing module configured to play the voice message from the breakpoint set by the setting module in response to the second trigger signal received by the first receiving module.
According to a third aspect of the embodiments of the present disclosure, there is provided a voice message playing apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
in the process of playing the voice message in the instant messaging application, in response to a received first trigger signal, pausing the playing of the voice message and setting a breakpoint for the voice message;
receiving a second trigger signal;
in response to the second trigger signal, starting to play the voice message from the breakpoint.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the voice message playing method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the process of playing the voice message in the instant messaging application, if the playing of the voice message is suspended due to the reception of the first trigger signal, a breakpoint can be set for the voice message, and when the second trigger signal is received, the voice message is played from the breakpoint, so that the problem of low information acquisition efficiency caused by the fact that the played voice message is played again when the voice message is played from the beginning is solved, and the information acquisition efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a voice message playing method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a voice message playing method according to another exemplary embodiment.
Fig. 3 is a flowchart illustrating a voice message playing method according to another exemplary embodiment.
Fig. 4 is a flowchart illustrating a voice message playing method according to another exemplary embodiment.
Fig. 5 is a block diagram illustrating a voice message playback device in accordance with an exemplary embodiment.
Fig. 6 is a block diagram illustrating a voice message playback device in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for voice message playback in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present application is applied to a scenario in which an instant messaging application plays a voice message, where the voice message may be a voice message received by the instant messaging application or a voice message sent by the instant messaging application, and the embodiment is not limited in this embodiment.
After the user clicks the voice message, the instant messaging application plays the voice message, and if the playing of the voice message is suspended, the playing of the voice message needs to be processed. Two application scenarios for pausing the play of a voice message are described below.
In the first application scenario, if a message of another application is received during the playing process of a voice message, the instant messaging application needs to jump to the other application, so as to pause the playing of the voice message. The other application may be a high-timeliness application such as a voice call application and a video call application, or may also be a low-timeliness application such as a short message, a mail, a push message, and the like, and the embodiment is not limited thereto. It should be noted that, when receiving the message of other application, the instant messaging application can automatically jump to other application; in this implementation, the terminal displays a prompt box for receiving messages of other applications, and if the user triggers a viewing operation on the prompt box, the terminal manually jumps to other applications from the instant messaging application.
In the second application scenario, if the user needs to process other transactions during the playing of the voice message, the playing of the voice message needs to be suspended. It should be noted that the playing progress of the voice message can be controlled by the user. That is, the user may trigger the pause operation when the play of the voice message needs to be paused, and trigger the play operation when the play of the voice message needs to be continued.
Fig. 1 is a flowchart illustrating a voice message playing method according to an exemplary embodiment, the voice message playing method being applied to a terminal, as shown in fig. 1, and the voice message playing method includes the following steps.
In step 101, in the process of playing a voice message in an instant messaging application, in response to a received first trigger signal, playing the voice message is paused, and a breakpoint is set for the voice message.
In step 102, a second trigger signal is received.
In step 103, in response to the second trigger signal, a voice message is played starting from the breakpoint.
In summary, in the process of playing the voice message in the instant messaging application, if the playing of the voice message is suspended due to the reception of the first trigger signal, a breakpoint can be set for the voice message, and when the second trigger signal is received, the voice message is played from the breakpoint, so that the problem of low information acquisition efficiency caused by playing the played voice message again when the voice message is played from the beginning is solved, and the information acquisition efficiency is improved.
Fig. 2 is a flowchart illustrating a voice message playing method according to another exemplary embodiment, where the voice message playing method is applied to a terminal, as shown in fig. 2, the voice message playing method is applied to a first application scenario, and at this time, the voice message playing method may include the following steps.
In step 201, when a first jump signal for instructing a jump from the instant messaging application to another application is received during the playing of a voice message in the instant messaging application, the first jump signal is used as a first trigger signal.
In this embodiment, the instant messaging application may decode the binary data stream after receiving the binary data stream to obtain the voice message, and then play the voice message.
There are two ways for the instant messaging application to play the voice message. In a first implementation, the instant messaging application starts playing the voice message when it receives a play operation that acts on the voice message. In a second implementation, when the instant messaging application has played a voice message and there is a voice message that has not been played, the instant messaging application automatically starts playing the next voice message.
If a message of another application is received in the playing process of the voice message, the instant messaging application needs to jump to the other application, so that the voice message is paused to be played. If the instant messaging application automatically jumps to other applications, the terminal can generate a first jump signal when receiving messages of other applications and sends the first jump signal to the instant messaging application, and the instant messaging application takes the first jump signal as a first trigger signal. For example, if an incoming call is received during the playing of the voice message, the terminal may generate the first trigger signal when the incoming call is received.
If the instant messaging application is manually jumped to other applications, the terminal displays a prompt box for receiving messages of the other applications, when a user triggers a viewing operation on the prompt box, the terminal generates a first jump signal according to the viewing operation and sends the first jump signal to the instant messaging application, and the instant messaging application takes the first jump signal as a first trigger signal. For example, when a short message is received in the playing process of a voice message, the user can click the viewing control to trigger the viewing operation, and the terminal generates a first trigger signal.
Optionally, the terminal may classify each other application installed in the terminal into an automatic skip class and a manual skip class in advance, and when receiving a message of another application under the automatic skip class in a process of playing a voice message, automatically skip from the instant messaging application to the other application; and when receiving the message of other applications under the manual skip class in the process of playing the voice message, manually skipping from the instant messaging application to other applications.
In step 202, in response to the received first trigger signal, the playing of the voice message is paused, and a breakpoint is set for the voice message.
The instant messaging application can pause playing the voice message when receiving the first trigger signal, record the playing time point of the voice message during the pause, and use the playing time point as the breakpoint of the voice message.
In step 203, a second jump signal for instructing a jump from the other application to the instant messaging application is received, and the second jump signal is used as a second trigger signal.
If the instant messaging application is automatically jumped from other applications, the terminal can generate a second jump signal when the message of the other applications is processed, and the second jump signal is sent to the instant messaging application, and the instant messaging application takes the second jump signal as a second trigger signal. For example, when an incoming call is received during the playing of the voice message, the terminal may generate the second trigger signal when the incoming call is hung up.
And if the user manually jumps to the instant messaging application from other applications, the terminal generates a second jump signal when receiving a jump operation triggered by the user and sends the second jump signal to the instant messaging application, and the instant messaging application takes the second jump signal as a second trigger signal. Wherein the second trigger signal is used for indicating to continue playing the voice message. For example, when a short message is received in the playing process of the voice message, the user can click the return control to trigger the skip operation when replying the short message, and the terminal generates a second trigger signal.
In step 204, in response to the second trigger signal, a voice message is played starting from the breakpoint.
And when receiving the second trigger signal, the instant messaging application reads the recorded playing time point, adjusts the playing progress of the voice message to the playing time point, and starts to play the voice message from the playing time point.
Optionally, a setting option for starting breakpoint playing is set in the setting option of the instant messaging application, and when the user starts the setting option, the method provided by this embodiment is executed; when the user closes the setting option, the voice message is played from the beginning after the play of the voice message is suspended.
In summary, in the process of playing the voice message in the instant messaging application, if the playing of the voice message is suspended due to the reception of the first trigger signal, a breakpoint can be set for the voice message, and when the second trigger signal is received, the voice message is played from the breakpoint, so that the problem of low information acquisition efficiency caused by playing the played voice message again when the voice message is played from the beginning is solved, and the information acquisition efficiency is improved.
Fig. 3 is a flowchart illustrating a voice message playing method according to another exemplary embodiment, where the voice message playing method is applied to a terminal, as shown in fig. 3, the voice message playing method is applied to a second application scenario, where the voice message playing method may include the following steps.
In step 301, when a pause operation signal applied to a voice message is received during playing the voice message in the instant messaging application, the pause operation signal is used as a first trigger signal.
The implementation manner of receiving and playing the voice message is described in step 201, and is not described herein again.
If the user needs to process other affairs in the playing process of the voice message, the playing of the voice message needs to be paused. In this embodiment, when the user needs to pause the playing of the voice message, the user may execute a pause operation on the voice message, and the instant messaging application receives a pause operation signal and uses the pause operation signal as the first trigger signal.
The present embodiment does not limit the operation manner of the pause operation, such as a single-click operation, a double-click operation, and the like.
In one possible implementation scenario, the instant messaging application receives the first trigger signal when the user clicks on a voice message.
In step 302, in response to the received first trigger signal, the playing of the voice message is paused, and a breakpoint is set for the voice message.
The instant messaging application can pause playing the voice message when receiving the first trigger signal, record the playing time point of the voice message during the pause, and use the playing time point as the breakpoint of the voice message.
In step 303, a play operation signal applied to the voice message is received, and the play operation signal is used as a second trigger signal.
The playback of the voice message may continue when the user has finished processing other transactions. In this embodiment, when the user needs to continue playing the voice message, the user may perform a playing operation on the voice message, and the instant messaging application receives the playing operation signal and uses the playing operation signal as the first trigger signal.
The present embodiment does not limit the operation manner of the play operation, such as a single-click operation, a double-click operation, and the like.
In one possible implementation scenario, the instant messaging application receives the second trigger signal when the user clicks on the voice message.
It should be noted that, when the voice message is continuously played, the user can select whether to play the voice message from the breakpoint or from the beginning. In implementation, the two playing modes can be distinguished through different operation modes, and the operation mode is not limited in this embodiment. For example, a one-click operation indicates that a voice message is played from a breakpoint, and a two-click operation indicates that a voice message is played from the beginning.
In step 304, in response to the second trigger signal, a voice message is played starting from the breakpoint.
And when receiving the second trigger signal, the instant messaging application reads the recorded playing time point, adjusts the playing progress of the voice message to the playing time point, and starts to play the voice message from the playing time point.
Optionally, a setting option for starting breakpoint playing is set in the setting option of the instant messaging application, and when the user starts the setting option, the method provided by this embodiment is executed; when the user closes the setting option, the voice message is played from the beginning after the play of the voice message is suspended.
In summary, in the process of playing the voice message in the instant messaging application, if the playing of the voice message is suspended due to the reception of the first trigger signal, a breakpoint can be set for the voice message, and when the second trigger signal is received, the voice message is played from the breakpoint, so that the problem of low information acquisition efficiency caused by playing the played voice message again when the voice message is played from the beginning is solved, and the information acquisition efficiency is improved.
Referring to fig. 4, the following steps may be further performed on the basis of the embodiments shown in fig. 2 or fig. 3.
In step 401, a collection operation signal for a voice message is received.
When the instant messaging application includes a favorites function, the instant messaging application may also favorite voice messages. Subsequently, the user may view the collected voice messages, or the user may forward the collected voice messages to other users. The collected voice message may be a complete voice message, or a voice fragment message intercepted from the voice message, which is not limited in this embodiment.
In this embodiment, when the user needs to collect the voice message, the collection operation may be performed on the voice message, and the instant messaging application receives the collection operation signal.
In a possible implementation manner, the user may perform a long-press operation on the voice message, and at this time, the instant messaging application pops up an operation list of the voice message around the voice message, where the operation list includes at least one operation item, where the operation item may be deletion, collection, forwarding, and the like, and this embodiment is not limited. When the user clicks the collected operation item, the instant communication application receives a collection operation signal.
In step 402, the voice message is collected according to the collection operation signal, so as to obtain a collected voice message.
Wherein the collected voice message comprises a complete voice message and/or at least one voice fragment message intercepted from the complete voice message. In the embodiment of the invention, the instant messaging application can intercept at least one voice fragment message from the voice message and collect the at least one voice fragment message so as to avoid resource waste caused by collecting useless voice fragment messages in the whole voice message.
Aiming at the condition that the collected voice message comprises at least one voice fragment message intercepted from the voice message, the method also comprises the following steps of intercepting the voice fragment message:
in step 4021, displaying a play progress bar of the voice message according to the collection operation signal.
Wherein, the length of the playing progress bar of the voice message is related to the playing duration of the voice message. When the playing time is longer, the length of the playing progress bar is longer; when the playing time is short, the length of the playing progress bar is short, and at the moment, in the voice messages with different playing time lengths, the playing time lengths represented by the playing progress bar with the unit length are the same. Or the length of the playing progress bar of the voice message is irrelevant to the playing time length of the voice message. That is, the length of the playing progress bar is the same no matter the playing time length is long or short, and at this time, the playing time lengths represented by the playing progress bars of unit length are different in the voice messages of different playing time lengths.
The instant messaging application may display the play progress bar on the voice message, and may also display the play progress bar in a pop-up window or other manners, which is not limited in this embodiment.
In step 4022, at least one group of intercepting signals acting on the playing progress bar is received, where the group of intercepting signals includes a start intercepting signal and a stop intercepting signal, and the playing time of the stop intercepting signal is greater than the playing time of the start intercepting signal.
When the fingers of the user continuously touch the playing progress bar twice, the instant messaging application acquires the playing time corresponding to the two touch signals respectively, determines the touch signal with the early playing time as an interception starting signal, determines the touch signal with the late playing time as an interception stopping signal, and refers to the interception starting signal and the interception stopping signal as a group of interception signals. The instant messaging application can determine the playing time according to the length of the playing progress bar, the touch position of the touch signal and the playing duration of the voice message.
Optionally, when the sliding operation from the touch position is received, the instant messaging application may update the touch position by using the position at the end time of the sliding operation, so as to adjust the touch position through the sliding operation.
In step 4023, for each set of the cut signals, a voice section located between the start cut signal and the stop cut signal in the cut signals is determined as one voice section message.
The instant messaging application may directly collect the at least one voice fragment message into a collection list. Because the display forms of the voice segment messages are the same, if a user needs to find one voice segment message from a plurality of voice segment messages, the voice segment messages need to be played one by one, and the voice segment message to be found is determined according to the heard content.
In order to identify the content of the voice fragment message, in this embodiment, the collecting the voice message according to the collection operation signal to obtain a collected voice message includes: performing character recognition on the voice message to be collected to obtain a keyword of the voice message to be collected; and correspondingly collecting the voice message to be collected and the keywords to obtain the collected voice message.
Further, for each voice message to be collected, the instant messaging application may convert the voice message to be collected into a sentence, extract a keyword from the sentence, and collect the voice message to be collected and the keyword into a collection list correspondingly. Here, the voice message to be collected is a collection object before the collection operation is performed, and similarly, the voice message to be collected may include a complete voice message or at least one voice fragment message intercepted from the voice message. For a complete voice message, the keyword may be extracted from the complete voice message when extracting the keyword, for an intercepted voice segment message, the keyword may be extracted from the voice segment message when extracting the keyword, or may be extracted from the complete voice message to which the voice segment message belongs, and the specific embodiment is not limited herein.
The instant messaging application can take at least one word with the largest occurrence frequency as a keyword; or, the instant messaging application may input the converted sentence into a preset training model, and output of the training model is used as a keyword, the training model is obtained by training a large number of training samples, and each training sample includes the sentence and the keyword manually extracted from the sentence; or, the instant messaging application may calculate the sentence by using a preset algorithm to obtain the keyword.
In step 403, a favorite list display signal is received in a chat interface of the instant messaging application.
The chat interface of the instant messaging application can comprise an entry of a favorite list, and when a user clicks the entry, the instant messaging application receives a favorite list display signal.
In step 404, the voice messages collected in the favorite list are displayed according to the favorite list display signal.
The instant messaging application can collect the whole voice message and the voice fragment message, and the displayed collection list can comprise the whole voice message and the voice fragment message according to the specific collection condition.
It should be noted that the collected voice message may further include a keyword collected corresponding to the voice message, and the collection list displayed at this time may include each collection item, where each collection item includes a voice message and a keyword corresponding to the voice message.
In step 405, a selection signal is received that acts on at least one of the favorite voice messages.
When a user clicks on a voice message, the instant messaging application receives a selection signal for the voice message. And/or, when the user clicks on a voice segment message, the instant messaging application receives a selection signal for the voice segment message.
In step 406, the at least one favorite voice message is transmitted in the chat interface in accordance with the selection signal.
When the selected content is a voice message, the instant messaging application may send the selected at least one voice message in the chat interface; when the selected content is a voice clip message, the instant messaging application can send the selected at least one voice clip message in the chat interface; when the selected content includes a voice message and a voice clip message, the instant messaging application may send the selected at least one voice message and at least one voice clip message in the chat interface.
Optionally, when the user selects at least two items of content, the instant messaging application may forward each collected voice message item by item, or may merge the at least two collected voice messages to obtain a voice set, and forward the voice set.
Because the user can set the breakpoint according to the own requirement, one voice message is intercepted into the voice fragment message suitable for the own requirement, and the user can process the voice message in a segmented manner, so that more users can not dislike the voice message with longer playing time, and the user experience is optimized.
Fig. 5 is a block diagram illustrating a voice message playing apparatus applied to a terminal according to an exemplary embodiment, and as shown in fig. 5, the voice message playing apparatus includes: a setting module 501, a first receiving module 502 and a playing module 503.
The setting module 501 is configured to, in the process of playing the voice message in the instant messaging application, in response to the received first trigger signal, pause playing the voice message and set a breakpoint for the voice message;
the first receiving module 502 configured to receive a second trigger signal;
the playing module 503 is configured to play the voice message from the breakpoint set by the setting module 501 in response to the second trigger signal received by the first receiving module 502.
In summary, in the process of playing the voice message in the instant messaging application, if the playing of the voice message is suspended due to the reception of the first trigger signal, the breakpoint can be set for the voice message, and when the second trigger signal is received, the voice message is played from the breakpoint, so that the problem of low information acquisition efficiency caused by playing the played voice message again when the voice message is played from the beginning is avoided, and the information acquisition efficiency is improved.
Fig. 6 is a block diagram illustrating a voice message playing apparatus applied to a terminal according to an exemplary embodiment, and as shown in fig. 6, the voice message playing apparatus includes: a setting module 601, a first receiving module 602, and a playing module 603.
The setting module 601 is configured to, in the process of playing the voice message in the instant messaging application, in response to the received first trigger signal, pause playing the voice message and set a breakpoint for the voice message;
the first receiving module 602 configured to receive a second trigger signal;
the playing module 603 is configured to play the voice message from the breakpoint set by the setting module 601 in response to the second trigger signal received by the first receiving module 602.
In one embodiment of the present disclosure, the apparatus further comprises: a second receiving module 604;
the second receiving module 604 is configured to receive a first jump signal for instructing a jump from the instant messaging application to another application, and use the first jump signal as a first trigger signal;
the first receiving module 602 is further configured to: and receiving a second jump signal for indicating jump from other applications to the instant messaging application, and using the second jump signal as a second trigger signal.
In one embodiment of the present disclosure, the apparatus further comprises: a third receiving module 605;
the third receiving module 605 is configured to receive a pause operation signal acting on the voice message, and use the pause operation signal as the first trigger signal;
the first receiving module 602 is further configured to: and receiving a playing operation signal acting on the voice message, and taking the playing operation signal as a second trigger signal.
In one embodiment of the present disclosure, the apparatus further comprises: a fourth receiving module 606 and a collection module 607;
the fourth receiving module 606 configured to receive a favorite operation signal acting on the voice message;
the collection module 607 configured to collect the voice message according to the collection operation signal received by the fourth receiving module 606, so as to obtain a collected voice message; the favorite voice message includes the voice message, and/or at least one voice fragment message intercepted from the voice message.
In one embodiment of the present disclosure, the apparatus further comprises: a fifth receiving module 608, a display module 609, a sixth receiving module 610 and a sending module 611;
the fifth receiving module 608 is configured to receive a favorite list display signal in a chat interface of the instant messaging application;
the display module 609 is configured to display the voice messages collected in the favorite list according to the favorite list display signal received by the fifth receiving module 608;
the sixth receiving module 610 configured to receive a selection signal for at least one of the collected voice messages;
the sending module 611 is configured to send at least one favorite voice message in the chat interface according to the selection signal received by the sixth receiving module 610.
In one embodiment of the present disclosure, the collection module 607 is further configured to: performing character recognition on the voice message to be collected to obtain a keyword of the voice message to be collected; and correspondingly collecting the voice message to be collected and the keywords to obtain the collected voice message.
In one embodiment of the present disclosure, the collection module 607 is further configured to: displaying a playing progress bar of the voice message according to the collection operation signal; receiving at least one group of intercepting signals acting on the playing progress bar, wherein the group of intercepting signals comprises a starting intercepting signal and a stopping intercepting signal, and the playing time of the stopping intercepting signal is greater than that of the starting intercepting signal; for each set of the intercepted signals, a voice section located between the start intercepted signal and the stop intercepted signal in the intercepted signals is determined as a voice section message.
In summary, in the process of playing the voice message in the instant messaging application, if the playing of the voice message is suspended due to the reception of the first trigger signal, the breakpoint can be set for the voice message, and when the second trigger signal is received, the voice message is played from the breakpoint, so that the problem of low information acquisition efficiency caused by playing the played voice message again when the voice message is played from the beginning is avoided, and the information acquisition efficiency is improved.
Because the user can set the breakpoint according to the own requirement, one voice message is intercepted into the voice fragment message suitable for the own requirement, and the user can process the voice message in a segmented manner, so that more users can not dislike the voice message with longer playing time, and the user experience is optimized.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure provides a voice message playing apparatus, which can implement the voice message playing method provided by the present disclosure, and the voice message playing apparatus includes: a processor, a memory for storing processor-executable instructions;
wherein the processor is configured to:
in the process of playing the voice message in the instant messaging application, in response to the received first trigger signal, pausing the playing of the voice message and setting a breakpoint for the voice message;
receiving a second trigger signal;
in response to the second trigger signal, a voice message is played starting from the breakpoint.
Fig. 7 is a block diagram illustrating an apparatus 700 for voice message playback in accordance with an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of apparatus 700, sensor assembly 714 may also detect a change in position of apparatus 700 or a component of apparatus 700, the presence or absence of user contact with apparatus 700, orientation or acceleration/deceleration of apparatus 700, and a change in temperature of apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the above voice message playing method.
An exemplary embodiment of the present disclosure provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by the processor to implement the voice message playing method as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for playing a voice message, the method comprising:
in the process of playing a voice message in an instant messaging application, receiving a first jump signal for instructing the instant messaging application to jump to other applications, and taking the first jump signal as a first trigger signal, wherein the first jump signal is generated when a terminal receives an application message of the other applications, or the first jump signal is generated when the terminal receives a viewing operation of a prompt box corresponding to the application message; in response to the received first trigger signal, pausing the playing of the voice message and setting a breakpoint for the voice message;
receiving a second jump signal for indicating jump from the other application to the instant messaging application, and using the second jump signal as a second trigger signal;
in response to the second trigger signal, starting to play the voice message from the breakpoint.
2. The method of claim 1, further comprising:
receiving a collection operation signal acting on the voice message;
collecting the voice message according to the collection operation signal to obtain a collected voice message; the favorite voice message comprises the voice message and/or at least one voice fragment message intercepted from the voice message.
3. The method of claim 2, further comprising:
receiving a favorite list display signal in a chat interface of the instant messaging application;
displaying the voice messages collected in the favorite list according to the favorite list display signal;
receiving a selection signal acting on at least one of the collected voice messages;
and sending the at least one collected voice message in the chat interface according to the selection signal.
4. The method of claim 2, wherein the collecting the voice message according to the collection operation signal to obtain a collected voice message comprises:
performing character recognition on the voice message to be collected to obtain a keyword of the voice message to be collected;
and correspondingly collecting the voice message to be collected and the keywords to obtain the collected voice message.
5. The method of claim 2, wherein intercepting at least one voice fragment message from the voice message comprises:
displaying a playing progress bar of the voice message according to the collection operation signal;
receiving at least one group of intercepting signals acting on the playing progress bar, wherein the group of intercepting signals comprise an intercepting starting signal and an intercepting stopping signal, and the playing time of the intercepting stopping signal is greater than that of the intercepting starting signal;
for each set of the truncated signals, a voice section between the start of truncation signal and the stop of truncation signal in the truncated signal is determined as a voice section message.
6. A voice message playing apparatus, the apparatus comprising:
the second receiving module is configured to receive a first jump signal for instructing a jump from an instant messaging application to another application in a process of playing a voice message in the instant messaging application, and use the first jump signal as a first trigger signal, wherein the first jump signal is generated when a terminal receives an application message of the other application, or the first jump signal is generated when the terminal receives a viewing operation of a prompt box corresponding to the application message;
the setting module is configured to respond to the received first trigger signal, pause the playing of the voice message and set a breakpoint for the voice message;
a first receiving module configured to receive a second jump signal for instructing a jump from the other application to the instant messaging application, the second jump signal being used as a second trigger signal;
a playing module configured to play the voice message from the breakpoint set by the setting module in response to the second trigger signal received by the first receiving module.
7. The apparatus of claim 6, further comprising:
a fourth receiving module configured to receive a favorite operation signal acting on the voice message;
the collection module is configured to collect the voice message according to the collection operation signal received by the fourth receiving module to obtain a collected voice message; the favorite voice message comprises the voice message and/or at least one voice fragment message intercepted from the voice message.
8. The apparatus of claim 7, further comprising:
a fifth receiving module configured to receive a favorite list display signal in a chat interface of the instant messaging application;
a display module configured to display the voice messages collected in the favorite list according to the favorite list display signal received by the fifth receiving module;
a sixth receiving module configured to receive a selection signal acting on at least one of the collected voice messages;
a sending module configured to send the at least one favorite voice message in the chat interface according to the selection signal received by the sixth receiving module.
9. The apparatus of claim 7, wherein the stowage module is further configured to:
performing character recognition on the voice message to be collected to obtain a keyword of the voice message to be collected;
and correspondingly collecting the voice message to be collected and the keywords to obtain the collected voice message.
10. The apparatus of claim 7, wherein the stowage module is further configured to:
displaying a playing progress bar of the voice message according to the collection operation signal;
receiving at least one group of intercepting signals acting on the playing progress bar, wherein the group of intercepting signals comprise an intercepting starting signal and an intercepting stopping signal, and the playing time of the intercepting stopping signal is greater than that of the intercepting starting signal;
for each set of the truncated signals, a voice section between the start of truncation signal and the stop of truncation signal in the truncated signal is determined as a voice section message.
CN201811122138.3A 2018-09-26 2018-09-26 Voice message playing method and device Active CN109245997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811122138.3A CN109245997B (en) 2018-09-26 2018-09-26 Voice message playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811122138.3A CN109245997B (en) 2018-09-26 2018-09-26 Voice message playing method and device

Publications (2)

Publication Number Publication Date
CN109245997A CN109245997A (en) 2019-01-18
CN109245997B true CN109245997B (en) 2021-08-06

Family

ID=65056151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811122138.3A Active CN109245997B (en) 2018-09-26 2018-09-26 Voice message playing method and device

Country Status (1)

Country Link
CN (1) CN109245997B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198378A (en) * 2019-05-23 2019-09-03 努比亚技术有限公司 It is a kind of using the method and device of data buffer storage, mobile terminal and storage medium
CN110312040B (en) * 2019-07-02 2021-02-19 网易(杭州)网络有限公司 Information processing method, device and system
CN110971505B (en) * 2019-10-22 2021-10-15 珠海格力电器股份有限公司 Communication information processing method, device, terminal and computer readable medium
CN111026358B (en) * 2019-12-24 2023-05-02 北京明略软件系统有限公司 Voice message playing method, playing device and readable storage medium
CN111163224B (en) * 2019-12-27 2021-07-30 维沃移动通信有限公司 Voice message playing method and electronic equipment
CN111399796B (en) * 2020-03-06 2022-08-05 北京达佳互联信息技术有限公司 Voice message aggregation method and device, electronic equipment and storage medium
CN114363280B (en) * 2022-03-18 2022-06-17 深圳市欧乐智能实业有限公司 Mobile phone chat auxiliary system based on multi-section voice summary type transmission

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150088848A1 (en) * 2013-09-20 2015-03-26 Megan H. Halt Electronic system and method for facilitating sound media and electronic commerce by selectively utilizing one or more song clips
CN105554575B (en) * 2015-12-11 2019-12-03 北京元心科技有限公司 Method and device for processing media playing function in multiple systems
CN107241424A (en) * 2017-06-23 2017-10-10 芜湖恒天易开软件科技股份有限公司 Language play back system and speech playing method
CN107888757A (en) * 2017-09-25 2018-04-06 努比亚技术有限公司 A kind of voice message processing method, terminal and computer-readable recording medium
CN107622137A (en) * 2017-10-23 2018-01-23 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus for searching speech message
CN107835531A (en) * 2017-10-24 2018-03-23 青岛海尔智能技术研发有限公司 Control method and device for multimedia

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Enhancement of a secured instant messager and message broadcasting with voice;John Niyi Iyanda;《Journal of marketing and consumer research》;20140531;全文 *
基于WebRTC的即时通信视频系统的设计与实现;李宇轩;《中国硕士学位论文全文网》;20171231;全文 *

Also Published As

Publication number Publication date
CN109245997A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN109245997B (en) Voice message playing method and device
US10099146B2 (en) Method, terminal device, and storage medium for playing game in chatting interface
US9786326B2 (en) Method and device of playing multimedia and medium
CN105843615B (en) Notification message processing method and device
CN109683714B (en) Multimedia resource management method, device and storage medium
CN106911961B (en) Multimedia data playing method and device
CN105845124B (en) Audio processing method and device
US11379180B2 (en) Method and device for playing voice, electronic device, and storage medium
CN107566892B (en) Video file processing method and device and computer readable storage medium
WO2017088247A1 (en) Input processing method, device and apparatus
CN109413478B (en) Video editing method and device, electronic equipment and storage medium
US20210266633A1 (en) Real-time voice information interactive method and apparatus, electronic device and storage medium
US11176192B2 (en) Method and apparatus for recalling image file, control method and apparatus for recalling image file, and mobile terminal
CN110740373B (en) Method and related device for buffering audio/video file
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN108984098B (en) Information display control method and device based on social software
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN109960444B (en) Method, device and equipment for presenting shortcut of application program
CN114554271B (en) Information pushing and displaying method and device, electronic equipment and storage medium
CN110809184A (en) Video processing method, device and storage medium
CN110769282A (en) Short video generation method, terminal and server
CN111049732B (en) Push message display method and device, electronic equipment and medium
CN109976549B (en) Data processing method, device and machine readable medium
CN112769681B (en) Session display method and device, electronic equipment and storage medium
CN112650420B (en) Voice processing method, device and 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
GR01 Patent grant
GR01 Patent grant