CN111163224A - Voice message playing method and electronic equipment - Google Patents

Voice message playing method and electronic equipment Download PDF

Info

Publication number
CN111163224A
CN111163224A CN201911377996.7A CN201911377996A CN111163224A CN 111163224 A CN111163224 A CN 111163224A CN 201911377996 A CN201911377996 A CN 201911377996A CN 111163224 A CN111163224 A CN 111163224A
Authority
CN
China
Prior art keywords
voice
input
electronic device
interface
identifier
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.)
Granted
Application number
CN201911377996.7A
Other languages
Chinese (zh)
Other versions
CN111163224B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911377996.7A priority Critical patent/CN111163224B/en
Publication of CN111163224A publication Critical patent/CN111163224A/en
Priority to PCT/CN2020/139823 priority patent/WO2021129850A1/en
Application granted granted Critical
Publication of CN111163224B publication Critical patent/CN111163224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a voice message playing method and electronic equipment, relates to the technical field of communication, and aims to solve the problems that the existing mode of playing voice messages by the electronic equipment is low in efficiency and not flexible enough. The method comprises the following steps: receiving first input of a user to N voice identifiers in a first interface, wherein each voice identifier indicates a voice message; responding to the first input, displaying a target control on a screen of the electronic equipment, wherein the target control comprises N voice identifications; receiving a second input of the user; and responding to the second input, canceling the display of the first interface, and playing a first voice message indicated by the first voice identifier, wherein the first voice identifier is a voice identifier in N voice identifiers in the target control, and N is a positive integer. The method is applied to the scene that the electronic equipment plays the voice message.

Description

Voice message playing method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a voice message playing method and electronic equipment.
Background
Currently, many applications (e.g., chat-type applications, game-type applications, etc.) in electronic devices have voice chat functionality. In this manner, the electronic device can receive voice messages sent by other electronic devices through the applications.
Generally, when an electronic device receives a voice message sent by another electronic device, a user may trigger the electronic device to display a chat interface corresponding to the voice message, and then click an identifier of the voice message, so that the electronic device may be triggered to play the content of the voice message.
However, during the process of playing the voice message by the electronic device, the electronic device needs to keep displaying the chat interface corresponding to the voice message. If the electronic device exits the chat interface, the electronic device will stop playing the voice message. In this way, when the user wants to continue listening to the voice message, the user may trigger the electronic device to enter the interface again, and then trigger the electronic device to play the voice message again, so that the manner in which the electronic device plays the voice message is inefficient and inflexible.
Disclosure of Invention
The embodiment of the invention provides a voice message playing method and electronic equipment, and aims to solve the problems that the existing electronic equipment has low voice message playing efficiency and is not flexible enough.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for playing a voice message, where the method includes: receiving first input of a user to N voice identifiers in a first interface, wherein each voice identifier indicates a voice message; responding to the first input, and displaying a target control on a screen of the electronic equipment, wherein the target control comprises N voice identifications; and receiving a second input by the user; and responding to the second input, canceling the display of the first interface, and playing a first voice message indicated by the first voice identifier, wherein the first voice identifier is a voice identifier in N voice identifiers in the target control, and N is a positive integer.
In a second aspect, an embodiment of the present invention provides an electronic device, which includes a receiving module, a display module, and a playing module. The receiving module is used for receiving first input of N voice identifiers in a first interface by a user, wherein each voice identifier indicates a voice message; the display module is used for responding to the first input received by the receiving module and displaying a target control on a screen of the electronic equipment, wherein the target control is N voice identifications; the receiving module is also used for receiving a second input of the user; the display module is also used for responding to the second input received by the receiving module and canceling the display of the first interface; and the playing module is used for responding to the second input received by the receiving module and playing the first voice message indicated by the first voice identifier, wherein the first voice identifier is a voice identifier in the N voice identifiers in the target control, and N is a positive integer.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the electronic device implements the steps of the voice message playing method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the voice message playing method in the first aspect.
In the embodiment of the present invention, the electronic device may receive a first input of N voice identifiers (each voice identifier indicates a voice message) in the first interface from a user; and in response to the first input, displaying a target control (including the N voice identifications) on a screen of the electronic device; and receiving a second input of the user, canceling the display of the first interface in response to the second input, and playing the first voice message indicated by the first voice identifier (the voice identifier in the N voice identifiers in the target control), wherein N is a positive integer. According to the scheme, on one hand, under the condition that the electronic equipment cancels the display of the interface where the voice identification is located, the electronic equipment can play the voice message indicated by the voice identification in the target control, so that the electronic equipment does not need to keep displaying the first interface in the process of playing the voice message, and the mode of playing the voice message by the electronic equipment is flexible; on the other hand, because the N voice identifiers are the voice identifiers added to the target control from the first interface by the electronic device triggered by the user, when the electronic device cancels the display of the first interface, the electronic device plays the first voice message indicated by the first voice identifier in the N voice identifiers, which is equivalent to the electronic device playing the voice message indicated by the voice identifier in the first interface, that is, the electronic device can still play the voice message indicated by the voice identifier in the first interface, so that the efficiency of playing the voice message by the electronic device can be improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a voice message playing method according to an embodiment of the present invention;
fig. 3 is one of schematic interfaces of an application of a voice message playing method according to an embodiment of the present invention;
fig. 4 is a second schematic interface diagram of an application of the voice message playing method according to the embodiment of the present invention;
fig. 5 is a third schematic interface diagram of an application of the voice message playing method according to the embodiment of the present invention;
fig. 6 is a fourth schematic interface diagram of an application of the voice message playing method according to the embodiment of the present invention;
fig. 7 is a fifth schematic interface diagram of an application of the voice message playing method according to the embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first speech identifier and the second speech identifier are used to distinguish different speech identifiers, rather than describing a particular order of speech identifiers.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
The embodiment of the invention provides a voice message playing method and electronic equipment, wherein the electronic equipment can receive first input of N voice identifiers (each voice identifier respectively indicates a voice message) in a first interface by a user; and in response to the first input, displaying a target control (including the N voice identifications) on a screen of the electronic device; and receiving a second input of the user, canceling the display of the first interface in response to the second input, and playing the first voice message indicated by the first voice identifier (the voice identifier in the N voice identifiers in the target control), wherein N is a positive integer. According to the scheme, on one hand, under the condition that the electronic equipment cancels the display of the interface where the voice identification is located, the electronic equipment can play the voice message indicated by the voice identification in the target control, so that the electronic equipment does not need to keep displaying the first interface in the process of playing the voice message, and the mode of playing the voice message by the electronic equipment is flexible; on the other hand, because the N voice identifiers are the voice identifiers added to the target control from the first interface by the electronic device triggered by the user, when the electronic device cancels the display of the first interface, the electronic device plays the first voice message indicated by the first voice identifier in the N voice identifiers, which is equivalent to the electronic device playing the voice message indicated by the voice identifier in the first interface, that is, the electronic device can still play the voice message indicated by the voice identifier in the first interface, so that the efficiency of playing the voice message by the electronic device can be improved.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the voice message playing method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the voice message playing method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the voice message playing method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the voice message playing method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the voice message playing method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the voice message playing method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe the voice message playing method provided by the embodiment of the present invention.
In the embodiment of the present invention, in the process that the user listens to the voice message in the electronic device, if the user needs to trigger the electronic device to cancel the interface where the voice identifier of the voice message is displayed, so as to trigger the electronic device to perform other operations (for example, in the process that the user listens to the voice message sent by the other user a through the electronic device, the electronic device receives the information sent by the other user B through the trigger, and the user wants to view the information sent by the other user B through the electronic device), the user may trigger the electronic device to display a control including the voice identifier of the voice message on the screen of the electronic device by inputting the voice identifier (for example, the first input in the embodiment of the present invention) indicating the voice message that the user wants to listen to, so that after the electronic device cancels the interface where the voice identifier of the voice message is displayed, the electronic device can still play these voice messages. Therefore, on one hand, in the process of playing the voice message by the electronic equipment, the electronic equipment does not need to keep an interface where the voice identifier of the voice message is displayed, so that the mode of playing the voice message by the electronic equipment is more flexible; on the other hand, under the condition that the electronic equipment cancels the display of the interface where the voice identifier is located, the electronic equipment can still play the voice message indicated by the voice identifier, so that the efficiency of playing the voice message by the electronic equipment can be improved.
It should be noted that "during the process of listening to the voice message in the electronic device by the user" mentioned in the embodiment of the present invention may include the following two cases: the electronic device is currently playing a voice message, and the user wants to trigger the electronic device to play the voice message.
The following specifically describes, with reference to the drawings, a voice message playing method provided in an embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a voice message playing method, which includes the following steps S201 to S204.
S201, the electronic equipment receives first input of the N voice identifications in the first interface by a user.
Each voice identifier in the N voice identifiers may indicate a voice message, and N is a positive integer.
In this embodiment of the present invention, the voice message indicated by each voice identifier may be a different voice message.
Optionally, in this embodiment of the present invention, for each voice identifier, one voice identifier may be a voice message identifier box, and the message duration of the voice message may be displayed on the voice message identifier box.
Of course, in actual implementation, the voice identifier may also be in any other possible form, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
Optionally, in the embodiment of the present invention, the voice message may be a voice message received by the electronic device and triggered and sent by another user, or may also be a voice message triggered and sent by the electronic device for a user, which may be determined specifically according to an actual use requirement, and the embodiment of the present invention is not limited.
Optionally, in this embodiment of the present invention, an audio file (i.e., a song, etc.) may be indicated for each of the voice identifiers.
It should be noted that, in the examples in the embodiments of the present invention, voice identification indicates a voice message as an example for an exemplary description, and for an implementation manner of a voice identification indicating audio file, the implementation manner is similar to that of a voice identification indicating voice message, and in order to avoid repetition, details are not repeated in the embodiments of the present invention.
S202, the electronic equipment responds to the first input, and the target control is displayed on the screen of the electronic equipment.
The target control may include the N voice identifiers.
In the embodiment of the present invention, in the process of listening to the voice message in the electronic device, if the user wants to trigger the electronic device to cancel displaying the first interface, the user may first trigger the electronic device to display the target control on a screen (hereinafter, referred to as a screen) of the electronic device through the first input of the N voice identifiers. In this way, after the first interface is canceled from being displayed, the electronic device can still play the voice message indicated by the voice identifier in the first control.
Optionally, in a first possible implementation manner in the embodiment of the present invention, after the electronic device receives the first input, the electronic device may add a voice message indicated by each of the N voice identifiers to a target storage space corresponding to the target control, and generate the target control according to content in the target storage space. In this way, the electronic device can display the target control including the N voice identifications on the screen.
Optionally, in a second possible implementation manner in the embodiment of the present invention, after the electronic device receives the first input, the electronic device may add the N voice identifiers to a target storage space corresponding to a target control, and generate the target control according to content in the target storage space. In this way, the electronic device can display the target control including the N voice identifications on the screen.
Optionally, in the embodiment of the present invention, the electronic device may display the target control in a suspended manner on the screen.
It should be noted that, in the embodiment of the present invention, in a case that the electronic device displays the target control in a floating manner on the screen, the target control may remain displayed on the screen of the electronic device until the electronic device does not cancel displaying the target control.
That is, the target control remains displayed on the screen of the electronic device even if the electronic device displays other content.
Optionally, in an embodiment of the present invention, the first input may include a third sub-input and a fourth sub-input, where the third sub-input may be used to trigger the electronic device to select the N voice identifiers, and the fourth sub-input may be used to trigger the electronic device to display the target control on the screen.
Optionally, in the embodiment of the present invention, the user may press one of the N voice identifiers for a long time, and then drag another voice identifier of the N voice identifiers to the voice identifier, so as to trigger the electronic device to select the N voice identifiers. After the electronic device selects the N voice identifiers, the user may drag the N voice identifiers to the edge of the screen, so as to trigger the electronic device to display the target control.
Optionally, in this embodiment of the present invention, a display position of the target control on the screen may be a preset position in the electronic device by a manufacturer of the electronic device, or may be a position where the user drags the N voice identifiers to the edge of the screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, when the user drags one of the N voice identifiers to the voice identifier pressed for a long time, in response to the input, the electronic device may integrate (for example, display in an overlapping manner) the two voice identifiers, for example, display the dragged voice identifier at a layer below the voice identifier pressed for a long time.
For example, as shown in fig. 3 (a), the user may long-press the voice identifier 31 and then drag the voice identifier 32 and the voice identifier 33 onto the voice identifier 31, and in response to the input, the electronic device may display the voice identifier 32 and the voice identifier 33 at a lower layer of the voice identifier 31, for example, the voice identifier 31 shown in fig. 3 (b) is displayed at an uppermost layer. Then, the user may drag the voice recognition 31 to the edge of the screen of the electronic device, and in response to the input, the electronic device may display the target control 34 at the edge of the screen of the electronic device, as shown in (c) of fig. 3.
Optionally, in this embodiment of the present invention, the electronic device may further display a number identifier, where the number identifier may be used to indicate the number of the voice identifiers currently selected by the electronic device.
Optionally, in the embodiment of the present invention, the number identifier may be displayed in the form of a corner mark in the upper right corner or the upper left corner of the voice identifier pressed by the user.
For example, as shown in (b) of fig. 3, the electronic device may display a numeric identifier of "3" on the voice identifier 31 to indicate that the electronic device has currently selected 3 voice identifiers.
S203, the electronic equipment receives a second input of the user.
S204, the electronic equipment responds to the second input, cancels the display of the first interface and plays the first voice message indicated by the first voice identification.
The first voice identification is a voice identification in N voice identifications in the target control.
In the embodiment of the present invention, after the electronic device displays the target control on the screen, the user may trigger the electronic device to cancel displaying the first interface through the second input, and trigger the electronic device to play the first voice message indicated by the first voice identifier in the target control. Therefore, even if the electronic device does not display the first interface (for example, displays other interfaces), the electronic device can still play the voice message, so that the electronic device can play the voice message in a flexible manner.
Optionally, in an embodiment of the present invention, as to the first possible implementation manner (that the electronic device adds the voice message indicated by each of the N voice identifiers to the target storage space), a manner of playing, by the electronic device, the first voice message may be: the electronic equipment acquires the first voice message indicated by the first voice identification from the target storage space according to the first voice identification, so that the first voice message is played.
Optionally, in an embodiment of the present invention, for the first possible implementation manner (that the electronic device adds the N voice identifiers to the target storage space), a manner of playing, by the electronic device, the first voice message may be: and the electronic equipment acquires the first voice message indicated by the first voice identifier from the storage space corresponding to the first interface according to the first voice identifier, so that the first voice message is played.
Optionally, in this embodiment of the present invention, when the first voice message is a different voice message, the second input may be a different input, and an implementation manner of the electronic device responding to the second input may also be different.
The following describes an implementation manner of the electronic device responding to the second input specifically in the two cases of the first voice message (the first case and the second case described below).
The first condition is as follows: the first voice message is a voice message played when the electronic equipment receives the first input.
In the first case, the second input may be an input that a user triggers the electronic device to cancel displaying the first interface.
Alternatively, for the first case, the step S204 may be specifically implemented by the step S204a described below.
S204a, the electronic equipment responds to the second input, cancels the display of the first interface and starts playing the first voice message from the target position.
The target position may be a playing position of the first voice message when the electronic device receives the first input.
It is to be appreciated that for the first instance, after the electronic device receives the first input, the electronic device can stop playing the first voice message in response to the first input.
Optionally, for the first case, the first input may be an input that a user triggers the electronic device to switch from the first interface to the fourth interface.
It is to be understood that, after the electronic device switches to the fourth interface, the electronic device may cancel displaying the first interface.
For example, in the embodiment of the present invention, assuming that the first interface is a chat interface between a user (i.e. an owner user) and a user 1 (i.e. the N voice messages may be voice messages triggered and sent by the user 1), after the electronic device displays the target control on the screen, if the user wants to view the message sent by the user 2 trigger received by the electronic device at the electronic device, the owner user may, via the second input, trigger the electronic device to cancel displaying the first interface 35 as shown in (a) of fig. 4, and triggers the electronic device to display a chat interface 36 (i.e. the fourth interface described above) between the individual user and the user 2 as shown in (b) of figure 4, and after the first electronic device displays the chat interface 36, the electronic device can play a first voice message indicated by the first voice identification in the target control 34. In this way, the user can listen to the voice message triggered and sent by the user 1 through the electronic device while checking the message triggered and sent by the user 2 in the electronic device, so that the efficiency of playing the voice message by the electronic device can be improved.
In the first case, after the electronic device receives the second input, the electronic device may continue to play the first voice message from the target location, so that the electronic device does not need to play the content already played in the first voice message again, thereby shortening the time for the electronic device to play the first voice message, and further improving the efficiency for the electronic device to play the voice message.
Case two: the first voice message is any one of the following voice messages: voice messages which are not played by the electronic equipment and voice messages which are played by the electronic equipment.
In the second case, the second input may include a first sub input and a second sub input.
The first sub-input may be input for a user to trigger the electronic device to cancel displaying the first interface, and the second sub-input may be input for the user to trigger the electronic device to select the first voice identifier in the target control.
Optionally, for the second case, the step S204 may be specifically implemented by the following steps S204b and S204 c.
S204b, the electronic device responds to the first sub-input and cancels the display of the first interface.
S204c, the electronic equipment responds to the second sub-input and plays the first voice message.
It can be understood that, for the second case, the electronic device may first trigger the electronic device to cancel displaying the first interface, and then the user may trigger the electronic device to select the first voice identifier in the target control, so as to trigger the electronic device to play the first voice message indicated by the first voice identifier.
Optionally, in this embodiment of the present invention, an interface (which may be referred to as a second interface) corresponding to the target control may include the N voice identifiers, and then the user may trigger the electronic device to play the first voice message indicated by the first voice identifier through a second sub-input to the first voice identifier in the second interface.
In the second case, after the electronic device cancels the display of the first interface, that is, after the electronic device exits the first interface, the user may further trigger the electronic device to continue playing the first voice message, so that the way in which the electronic device plays the voice message is flexible.
Optionally, in this embodiment of the present invention, N is greater than 1, and in a case that the N voice messages further include a voice message that is not played by the electronic device, after the end of playing the first voice message, the electronic device may continue to play a voice message that is not played by the electronic device in the N voice messages.
Optionally, in the embodiment of the present invention, N is greater than 1, and after the playing of the first voice message is finished, the electronic device may sequentially play the voice messages indicated by the N voice identifiers according to the sequence in which the user triggers and selects the N voice identifiers.
In practical implementation, after the first voice message is played, the electronic device may also play the voice messages in the N voice messages according to any other possible playing rules or sequences. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, before the step S201, the voice message playing method provided in the embodiment of the present invention may further include the following steps S205 to S207.
S205, the electronic equipment displays a first interface.
The first interface may include at least one voice identifier, and the N voice identifiers may be identifiers of the at least one voice identifier.
S206, the electronic equipment receives a third input of the user to a second voice identifier in the at least one voice identifier.
And S207, the electronic equipment responds to the third input and controls the at least one voice identifier to be in an operable state.
It should be noted that, in the embodiment of the present invention, the operable state may be an optional state.
It is understood that, in the case that the at least one voice identifier is in an operable state, the user may trigger the electronic device to select N voice identifiers through a first input of the N voice identifiers.
In this embodiment of the present invention, before the electronic device receives the first input, the electronic device may first display the first interface, and if the user wants to trigger the electronic device to display the target control on the screen, the user may trigger the electronic device to control the at least one voice identifier to be in an operable state by a third input to the first voice identifier of the N voice identifiers. Then, the user can trigger the electronic device to select N voice identifications in the at least one voice identification.
Optionally, in this embodiment of the present invention, the electronic device may control the at least one voice identifier to be in an operable state by displaying the at least one voice identifier in a floating manner.
Optionally, in this embodiment of the present invention, the first interface may be a chat interface between the user and another user. For example, in a chat application in an electronic device, a user interfaces with other users.
Optionally, in this embodiment of the present invention, the second voice identifier may be any one of the at least one voice identifier.
Optionally, in this embodiment of the present invention, the third input may be a long-press input or a repeated-press input of the second voice identifier by the user. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Illustratively, in the case that the electronic device receives a message triggered to be sent by another user in the process that the user listens to a voice message (voice message triggered to be sent by the user 1) indicated by the voice identifier 41 in the interface (i.e., the first interface) shown in (a) in fig. 5, as shown in (b) in fig. 5, the electronic device may display the message prompt identifier 42, so that the electronic device may be indicated to receive a new message. Then, if the user wants to view these new messages, the user may press the voice identifier 41 (i.e., the second voice identifier described above) for a long time as shown in (a) of fig. 6, and in response to this input, the electronic device may control the voice identifiers (i.e., the at least one voice identifier described above) of all the voice messages in the first interface that the user 1 triggers to send to be in an operable state as shown in (b) of fig. 6. In this way, the user can trigger the electronic device to select the N voice identifiers from the voice identifiers in the operable state.
Optionally, in the embodiment of the present invention, after the step S204, the voice message playing method provided in the embodiment of the present invention may further include the following steps S208 to S211.
And S208, the electronic equipment receives a fourth input of the target control by the user.
And S209, the electronic equipment responds to the fourth input and displays a second interface corresponding to the target control.
The second interface may include the N voice identifiers.
S210, the electronic equipment receives a fifth input of the user to a third voice identifier in the N voice identifiers.
S211, the electronic equipment responds to the fifth input and plays the third voice message indicated by the third voice identification.
In this embodiment of the present invention, after the electronic device finishes playing the first voice message, if the user wants to listen to a certain voice message (i.e. the third voice message) of the N voice messages, the user may first trigger the electronic device to display the second interface by a fourth input to the target control. Then, the user can input a fifth input of the third voice message in the second interface to trigger the electronic device to play the third voice message indicated by the third voice message.
Optionally, in this embodiment of the present invention, the fourth input may be any possible input, such as a single-click input, a double-click input, or a long-press input of the user on the target control. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the fifth input may be any possible input, such as a single-click input or a double-click input of the user on the third voice identifier. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, it is assumed that the fourth input is a single-click input of the user to the target control, and the fifth input is a single-click input of the user to the third voice identifier. Then, as shown in fig. 7 (a), when the user clicks the target control 34, in response to the input, the electronic device may display the second interface 51 as shown in fig. 7 (b), and then the user may click the voice identifier 52 (i.e., the above-mentioned third voice identifier) in the second interface 51, and in response to the input, the electronic device may play the voice message (i.e., the above-mentioned third voice message) indicated by the voice identifier 52.
Optionally, in the embodiment of the present invention, the user may trigger the electronic device to cancel displaying the second interface by clicking and inputting other areas of the screen of the electronic device except for the second interface, and keep displaying the target control on the screen.
Optionally, in this embodiment of the present invention, the second interface may further include a closing identifier (for example, a closing identifier "x" 53 in fig. 7). The user can trigger the electronic device to cancel displaying the second interface and cancel displaying the target control by clicking the closing identifier.
In the embodiment of the invention, because the user can trigger the electronic device to continue playing the voice message indicated by the voice identifier through inputting the voice identifier in the second interface, when the user wants to listen to the voice message in the N voice messages again, the user can directly trigger the electronic device to play the voice message indicated by the voice identifier through inputting the voice identifier in the second interface, and does not need to trigger the electronic device to display the first interface again, thereby improving the convenience of playing the voice message by the electronic device.
Optionally, in the embodiment of the present invention, after the step S202, the voice message playing method provided in the embodiment of the present invention may further include the following steps S212 and S213.
It should be noted that the embodiment of the present invention may not limit the execution sequence between S203-S204 and S212-S213, that is, the electronic device may execute S203-S204 first and then execute S212-S213; it is also possible to perform S212-S213 first and then S203-S204. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
S212, the electronic equipment receives sixth input of the K voice identifications in the third interface from the user.
And S213, the electronic equipment responds to the sixth input and adds the K voice identifications to the target control.
The third interface and the first interface may be different interfaces of the same application program in the electronic device, or may be interfaces of different application programs in the electronic device, and K is a positive integer.
In the embodiment of the present invention, after the electronic device displays the target control on the screen, the user may trigger the electronic device to add the K voice identifiers to the target control through the sixth input, so that the electronic device may also play the voice message indicated by the K voice identifiers under the condition that the electronic device does not display the third interface.
In the embodiment of the present invention, for the description related to the sixth input, reference may be specifically made to the detailed description of the first input in the above embodiment, and in order to avoid repetition, the embodiment of the present invention is not described in detail.
In the embodiment of the present invention, since the electronic device may further add the K voice identifiers to the target control, the electronic device may also play the voice messages indicated by the K voice identifiers when the electronic device does not display the third interface, so that the electronic device may play the voice messages indicated by the voice identifiers in different interfaces, thereby enabling the electronic device to play the voice messages in a more flexible manner.
As shown in fig. 8, an embodiment of the present invention provides an electronic device 600, and the electronic device 600 may include a receiving module 601, a display module 602, and a playing module 603. A receiving module 601, configured to receive a first input of N voice identifiers in a first interface from a user, where each voice identifier indicates a voice message; a display module 602, which may be configured to display a target control on a screen of the electronic device in response to the first input received by the receiving module 601, where the target control includes N voice identifiers; the receiving module 601 may be further configured to receive a second input of the user; the display module 602 may be further configured to cancel displaying the first interface in response to the second input received by the receiving module 601; the playing module 603 may be configured to play, in response to the second input received by the receiving module 601, a first voice message indicated by a first voice identifier, where the first voice identifier is a voice identifier of N voice identifiers in the target control, and N is a positive integer.
Optionally, the first voice message is a voice message played when the electronic device receives the first input; the playing module 603 may be specifically configured to start playing the first voice message from a target position, where the target position is a playing position of the first voice message when the electronic device receives the first input.
Optionally, the first voice message is any one of the following voice messages: voice messages which are not played by the electronic equipment and voice messages which are played by the electronic equipment; the second input comprises a first sub-input and a second sub-input; the display module 602 may be specifically configured to cancel displaying the first interface in response to the first sub-input; the playing module 603 may be specifically configured to play the first voice message in response to the second sub-input; and the second sub-input is input for triggering the first voice identification in the selected target control.
Optionally, as shown in fig. 8, the electronic device 600 may further include a control module 604. The display module 602 may be further configured to display the first interface before the receiving module receives a first input of the N voice identifiers in the first interface from the user, where the first interface includes at least one voice identifier, and the N voice identifiers are identifiers of the at least one voice identifier; the receiving module 601 may further be configured to receive a third input from the user to a second voice identifier of the at least one voice identifier displayed by the displaying module 602, and the controlling module 604 is configured to control the at least one voice identifier to be in an operable state in response to the third input received by the receiving module 601.
Optionally, the receiving module 601 may be further configured to receive a fourth input of the target control from the user after the playing module 603 plays the first voice message indicated by the first voice identifier; the display module 602 may be further configured to display a second interface corresponding to the target control in response to the fourth input received by the receiving module 601, where the second interface includes N voice identifiers; the receiving module 601 may be further configured to receive a fifth input of a third voice identifier of the N voice identifiers displayed by the display module 602; the playing module 603 may be further configured to play a third voice message indicated by the third voice identifier in response to the fifth input received by the receiving module 601.
Optionally, as shown in fig. 8, the electronic device 600 may further include an adding module 605. The receiving module 601 may be further configured to receive a sixth input of the K voice identifiers in the third interface from the user after the display module 602 displays the target control on the screen of the electronic device; an adding module 605, configured to add K speech identifiers to the target control in response to the sixth input received by the receiving module 601; the third interface and the first interface are different interfaces of the same application program in the electronic equipment, or are interfaces of different application programs in the electronic equipment, and K is a positive integer.
The electronic device provided by the embodiment of the present invention can implement each process executed by the electronic device in the above-mentioned voice message playing method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
On one hand, because the electronic device can play the voice message indicated by the voice identifier in the target control under the condition that the electronic device cancels the display of the interface where the voice identifier is located, the electronic device does not need to keep displaying the first interface in the process of playing the voice message, so that the mode of playing the voice message by the electronic device is flexible; on the other hand, because the N voice identifiers are the voice identifiers added to the target control from the first interface by the electronic device triggered by the user, when the electronic device cancels the display of the first interface, the electronic device plays the first voice message indicated by the first voice identifier in the N voice identifiers, which is equivalent to the electronic device playing the voice message indicated by the voice identifier in the first interface, that is, the electronic device can still play the voice message indicated by the voice identifier in the first interface, so that the efficiency of playing the voice message by the electronic device can be improved.
Fig. 9 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 9, electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to control the user input unit 107 to receive a first input of N voice identifiers in the first interface from a user, where each voice identifier indicates a voice message; and controls the display unit 106 to display a target control on the screen of the electronic device in response to the first input received by the user input unit 107, the target control including N voice identifications; and controls the user input unit 107 to receive a second input by the user; and the control display unit 106 responds to the second input received by the user input unit 107, cancels the display of the first interface, and controls the audio output unit 103 to play the first voice message indicated by the first voice identifier, where the first voice identifier is a voice identifier of N voice identifiers in the target control, and N is a positive integer.
It can be understood that, in the embodiment of the present invention, the receiving module 601 in the structural schematic diagram of the electronic device (for example, fig. 8) may be implemented by the user input unit 107; the display unit 602 in the structural schematic diagram of the electronic device may be implemented by the display unit 106; the playing module 603 in the structural schematic diagram of the electronic device may be implemented by the audio output unit 103; the control module 604 and the adding module 605 in the structural schematic diagram of the electronic device may be implemented by the processor 110.
On one hand, because the electronic device can play the voice message indicated by the voice identifier in the target control under the condition that the electronic device cancels the display of the interface where the voice identifier is located, the electronic device does not need to keep displaying the first interface in the process of playing the voice message, so that the mode of playing the voice message by the electronic device is flexible; on the other hand, because the N voice identifiers are the voice identifiers added to the target control from the first interface by the electronic device triggered by the user, when the electronic device cancels the display of the first interface, the electronic device plays the first voice message indicated by the first voice identifier in the N voice identifiers, which is equivalent to the electronic device playing the voice message indicated by the voice identifier in the first interface, that is, the electronic device can still play the voice message indicated by the voice identifier in the first interface, so that the efficiency of playing the voice message by the electronic device can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include an image capturing device (e.g., a camera) 1040, a Graphics Processing Unit (GPU) 1041, and a microphone 1042. An image capture device 1040 (e.g., a camera) captures image data for a still picture or video. The graphic processor 1041 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 9, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 9, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the foregoing voice message playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor shown in fig. 9, the computer program implements each process of the foregoing voice message playing method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A voice message playing method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving first input of a user to N voice identifiers in a first interface, wherein each voice identifier indicates a voice message, and N is a positive integer;
in response to the first input, displaying a target control on a screen of the electronic device, the target control comprising the N voice identifications;
receiving a second input of the user;
and responding to the second input, canceling the display of the first interface, and playing a first voice message indicated by a first voice identifier, wherein the first voice identifier is a voice identifier in the N voice identifiers in the target control.
2. The method of claim 1, wherein the first voice message is a voice message played by the electronic device when the first input is received;
the playing of the first voice message indicated by the first voice identifier includes:
and starting to play the first voice message from a target position, wherein the target position is the playing position of the first voice message when the electronic equipment receives first input.
3. The method of claim 1, wherein the first voice message is any one of the following voice messages: voice messages which are not played by the electronic equipment and voice messages which are played by the electronic equipment; the second input comprises a first sub-input and a second sub-input;
the responding to the second input, canceling the display of the first interface and playing the first voice message indicated by the first voice identification comprises:
canceling the display of the first interface in response to the first sub-input;
in response to the second sub-input, playing the first voice message;
and the second sub-input is input for triggering the selection of the first voice identification in the target control.
4. The method of claim 1, wherein prior to receiving the first input from the user for the N speech identifiers in the first interface, the method further comprises:
displaying the first interface, wherein the first interface comprises at least one voice identifier, and the N voice identifiers are identifiers in the at least one voice identifier;
receiving a third input of a second voice identifier in the at least one voice identifier from a user;
and controlling the at least one voice identifier to be in an operable state in response to the third input.
5. The method of any of claims 1-4, wherein after playing the first voice message indicated by the first voice identifier, the method further comprises:
receiving a fourth input of the target control by the user;
in response to the fourth input, displaying a second interface corresponding to the target control, the second interface comprising the N voice identifications;
receiving a fifth input of a third voice identifier in the N voice identifiers from the user;
and responding to the fifth input, and playing a third voice message indicated by the third voice identification.
6. The method of any of claims 1-4, wherein after displaying the target control on the screen of the electronic device, the method further comprises:
receiving a sixth input of the user to the K voice identifiers in the third interface;
in response to the sixth input, adding the K voice identifications to the target control;
the third interface and the first interface are different interfaces of the same application program in the electronic equipment, or are interfaces of different application programs in the electronic equipment, and K is a positive integer.
7. An electronic device, characterized in that the electronic device comprises a receiving module, a display module and a playing module;
the receiving module is used for receiving first input of N voice identifiers in a first interface by a user, wherein each voice identifier indicates a voice message, and N is a positive integer;
the display module is used for responding to the first input received by the receiving module and displaying a target control on a screen of the electronic equipment, wherein the target control comprises N voice identifications;
the receiving module is further used for receiving a second input of the user;
the display module is further configured to cancel displaying the first interface in response to the second input received by the receiving module;
the playing module is configured to play, in response to the second input received by the receiving module, a first voice message indicated by a first voice identifier, where the first voice identifier is a voice identifier of the N voice identifiers in the target control.
8. The electronic device of claim 7, wherein the first voice message is a voice message played by the electronic device when the first input is received;
the playing module is specifically configured to start playing the first voice message from a target position, where the target position is a playing position of the first voice message when the electronic device receives the first input.
9. The electronic device of claim 7, wherein the first voice message is any one of: voice messages which are not played by the electronic equipment and voice messages which are played by the electronic equipment; the second input comprises a first sub-input and a second sub-input;
the display module is specifically configured to cancel displaying the first interface in response to the first sub-input;
the playing module is specifically configured to play the first voice message in response to the second sub-input;
and the second sub-input is input for triggering the selection of the first voice identification in the target control.
10. The electronic device of claim 7, further comprising a control module;
the display module is further configured to display the first interface before the receiving module receives the first input of the N voice identifiers in the first interface from the user, where the first interface includes at least one voice identifier, and the N voice identifiers are identifiers of the at least one voice identifier;
the receiving module is further configured to receive a third input of a second voice identifier of the at least one voice identifier displayed by the display module from a user;
the control module is used for responding to the third input received by the receiving module and controlling the at least one voice identifier to be in an operable state.
11. The electronic device according to any one of claims 7 to 10, wherein the receiving module is further configured to receive a fourth input from the user to the target control after the playing module plays the first voice message indicated by the first voice identifier;
the display module is further configured to display a second interface corresponding to the target control in response to the fourth input received by the receiving module, where the second interface includes the N voice identifiers;
the receiving module is further configured to receive a fifth input of a third voice identifier of the N voice identifiers displayed by the display module by the user;
the playing module is further configured to play a third voice message indicated by the third voice identifier in response to the fifth input received by the receiving module.
12. The electronic device of any of claims 7-10, further comprising an add module;
the receiving module is further configured to receive, after the display module displays the target control on the screen of the electronic device, a sixth input of the user to the K voice identifiers in a third interface;
the adding module is used for responding to the sixth input received by the receiving module, and adding the K voice identifications to the target control;
the third interface and the first interface are different interfaces of the same application program in the electronic equipment, or are interfaces of different application programs in the electronic equipment, and K is a positive integer.
13. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the voice message playing method according to any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the voice message playing method according to any one of claims 1 to 6.
CN201911377996.7A 2019-12-27 2019-12-27 Voice message playing method and electronic equipment Active CN111163224B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911377996.7A CN111163224B (en) 2019-12-27 2019-12-27 Voice message playing method and electronic equipment
PCT/CN2020/139823 WO2021129850A1 (en) 2019-12-27 2020-12-28 Voice message playback method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911377996.7A CN111163224B (en) 2019-12-27 2019-12-27 Voice message playing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111163224A true CN111163224A (en) 2020-05-15
CN111163224B CN111163224B (en) 2021-07-30

Family

ID=70558634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911377996.7A Active CN111163224B (en) 2019-12-27 2019-12-27 Voice message playing method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111163224B (en)
WO (1) WO2021129850A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641551A (en) * 2020-05-27 2020-09-08 维沃移动通信有限公司 Voice playing method, voice playing device and electronic equipment
CN112688859A (en) * 2020-12-18 2021-04-20 维沃移动通信有限公司 Voice message sending method and device, electronic equipment and readable storage medium
WO2021129850A1 (en) * 2019-12-27 2021-07-01 维沃移动通信有限公司 Voice message playback method and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489420A (en) * 2022-01-14 2022-05-13 维沃移动通信有限公司 Voice information sending method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155458A (en) * 2015-04-01 2016-11-23 腾讯科技(深圳)有限公司 A kind of Multimedia Message player method and device
US20170242657A1 (en) * 2016-02-22 2017-08-24 Sonos, Inc. Action based on User ID
CN107656672A (en) * 2017-09-29 2018-02-02 珠海市魅族科技有限公司 A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN108415753A (en) * 2018-03-12 2018-08-17 广东欧珀移动通信有限公司 Method for displaying user interface, device and terminal
CN109245997A (en) * 2018-09-26 2019-01-18 北京小米移动软件有限公司 Speech message playback method and device
CN109729301A (en) * 2018-12-12 2019-05-07 维沃移动通信有限公司 A kind of message inspection method and device
CN109995947A (en) * 2019-04-11 2019-07-09 上海连尚网络科技有限公司 For the method for played voice message, electronic equipment and computer-readable medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051516B (en) * 2011-10-17 2016-04-13 腾讯科技(深圳)有限公司 A kind of message prompt method of instant communication client and device
KR101966708B1 (en) * 2011-10-28 2019-08-14 삼성전자 주식회사 Controlling Method for Background contents and Portable Device supporting the same
CN103412716A (en) * 2013-07-22 2013-11-27 昆山富泰科电脑有限公司 Method for previewing and treating unread prompt messages of application program
CN106909268A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and device that APP suspended windows are set on equipment desktop
CN111163224B (en) * 2019-12-27 2021-07-30 维沃移动通信有限公司 Voice message playing method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155458A (en) * 2015-04-01 2016-11-23 腾讯科技(深圳)有限公司 A kind of Multimedia Message player method and device
US20170242657A1 (en) * 2016-02-22 2017-08-24 Sonos, Inc. Action based on User ID
CN107656672A (en) * 2017-09-29 2018-02-02 珠海市魅族科技有限公司 A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN108415753A (en) * 2018-03-12 2018-08-17 广东欧珀移动通信有限公司 Method for displaying user interface, device and terminal
CN109245997A (en) * 2018-09-26 2019-01-18 北京小米移动软件有限公司 Speech message playback method and device
CN109729301A (en) * 2018-12-12 2019-05-07 维沃移动通信有限公司 A kind of message inspection method and device
CN109995947A (en) * 2019-04-11 2019-07-09 上海连尚网络科技有限公司 For the method for played voice message, electronic equipment and computer-readable medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021129850A1 (en) * 2019-12-27 2021-07-01 维沃移动通信有限公司 Voice message playback method and electronic device
CN111163224B (en) * 2019-12-27 2021-07-30 维沃移动通信有限公司 Voice message playing method and electronic equipment
CN111641551A (en) * 2020-05-27 2020-09-08 维沃移动通信有限公司 Voice playing method, voice playing device and electronic equipment
CN112688859A (en) * 2020-12-18 2021-04-20 维沃移动通信有限公司 Voice message sending method and device, electronic equipment and readable storage medium
CN112688859B (en) * 2020-12-18 2022-09-02 维沃移动通信有限公司 Voice message sending method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2021129850A1 (en) 2021-07-01
CN111163224B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN110752980B (en) Message sending method and electronic equipment
CN110995923A (en) Screen projection control method and electronic equipment
CN110062105B (en) Interface display method and terminal equipment
CN111163224B (en) Voice message playing method and electronic equipment
CN110874147B (en) Display method and electronic equipment
CN109828705B (en) Icon display method and terminal equipment
CN109871164B (en) Message sending method and terminal equipment
CN110058836B (en) Audio signal output method and terminal equipment
CN111142723B (en) Icon moving method and electronic equipment
CN110752981B (en) Information control method and electronic equipment
CN111142991A (en) Application function page display method and electronic equipment
CN110928461A (en) Icon moving method and electronic equipment
CN108681427B (en) Access right control method and terminal equipment
CN110308834B (en) Setting method of application icon display mode and terminal
CN109976611B (en) Terminal device control method and terminal device
CN109408072B (en) Application program deleting method and terminal equipment
CN111030917B (en) Message display method and electronic equipment
CN110244884B (en) Desktop icon management method and terminal equipment
CN111190517B (en) Split screen display method and electronic equipment
CN110597437A (en) Screen capturing method and terminal equipment
CN110898424A (en) Display control method and electronic equipment
CN110703972B (en) File control method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN111562959A (en) Icon management method and electronic equipment

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