CN108320744B - Voice processing method and device, electronic equipment and computer readable storage medium - Google Patents

Voice processing method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN108320744B
CN108320744B CN201810125069.5A CN201810125069A CN108320744B CN 108320744 B CN108320744 B CN 108320744B CN 201810125069 A CN201810125069 A CN 201810125069A CN 108320744 B CN108320744 B CN 108320744B
Authority
CN
China
Prior art keywords
application program
voice
acquiring
electric quantity
interaction mode
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
CN201810125069.5A
Other languages
Chinese (zh)
Other versions
CN108320744A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810125069.5A priority Critical patent/CN108320744B/en
Publication of CN108320744A publication Critical patent/CN108320744A/en
Application granted granted Critical
Publication of CN108320744B publication Critical patent/CN108320744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • 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
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/74Details of telephonic subscriber devices with voice recognition means

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computational Linguistics (AREA)
  • Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a voice processing method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: acquiring electric quantity data of the electronic equipment under the condition that the voice interaction mode of the electronic equipment is started; acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, wherein the application program set comprises one or more application programs; acquiring a voice instruction, and acquiring a target application program for executing the voice instruction from the application program set; and controlling the target application program to perform corresponding operation according to the voice instruction. The voice processing method and device, the electronic equipment and the computer readable storage medium can improve the operation efficiency of the intelligent terminal.

Description

Voice processing method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a speech processing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
The user can operate the electronic device by inputting an operation instruction, which may be a physical key instruction, a gesture operation instruction, a voice operation instruction, and the like. The voice operation has the advantages of simple operation, high input efficiency and the like. However, due to the problems of complicated voice environment and difficulty in accurately acquiring voice when using the electronic device, it is often difficult to accurately locate the user's requirement during the operation of the electronic device by voice, resulting in low operation efficiency of the electronic device.
Disclosure of Invention
The embodiment of the application provides a voice processing method and device, electronic equipment and a computer readable storage medium, which can improve the operation efficiency of an intelligent terminal.
A method of speech processing comprising:
acquiring electric quantity data of the electronic equipment under the condition that the voice interaction mode of the electronic equipment is started;
acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, wherein the application program set comprises one or more application programs;
acquiring a voice instruction, and acquiring a target application program for executing the voice instruction from the application program set;
and controlling the target application program to perform corresponding operation according to the voice instruction.
A speech processing apparatus comprising:
the electric quantity acquisition module is used for acquiring electric quantity data of the electronic equipment under the condition that the voice interaction mode of the electronic equipment is started;
the application acquisition module is used for acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, and the application program set comprises one or more application programs;
the instruction acquisition module is used for acquiring a voice instruction and acquiring a target application program for executing the voice instruction from the application program set;
and the application operation module is used for controlling the target application program to perform corresponding operation according to the voice instruction.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring electric quantity data of the electronic equipment under the condition that the voice interaction mode of the electronic equipment is started;
acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, wherein the application program set comprises one or more application programs;
acquiring a voice instruction, and acquiring a target application program for executing the voice instruction from the application program set;
and controlling the target application program to perform corresponding operation according to the voice instruction.
A computer-readable storage medium having stored thereon a computer program, the computer program being executed by a processor for:
acquiring electric quantity data of the electronic equipment under the condition that the voice interaction mode of the electronic equipment is started;
acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, wherein the application program set comprises one or more application programs;
acquiring a voice instruction, and acquiring a target application program for executing the voice instruction from the application program set;
and controlling the target application program to perform corresponding operation according to the voice instruction.
According to the voice processing method and device, the electronic equipment and the computer readable storage medium, the electronic equipment can be switched in modes, and can acquire the electric quantity data of the electronic equipment under the condition that the voice interaction mode is started, and acquire the application program set corresponding to the voice interaction mode according to the electric quantity data. And then, acquiring a target application program for executing the voice instruction from the application program set according to the acquired voice instruction, and then controlling the target application program to perform corresponding operation according to the voice instruction. Therefore, when interactive control is needed through voice, a user can switch the electronic equipment to a voice interactive mode, and then control the application program through inputting a voice command, so that the operation efficiency of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating an exemplary implementation of a speech processing method;
FIG. 2 is a diagram of an application environment of a speech processing method in another embodiment;
FIG. 3 is a flow diagram of a method of speech processing in one embodiment;
FIG. 4 is a flow chart of a speech processing method in another embodiment;
FIG. 5 is a flow chart of a speech processing method in yet another embodiment;
FIG. 6 is a flow chart of a speech processing method in yet another embodiment;
FIG. 7 is a flow chart of a speech processing method in yet another embodiment;
FIG. 8 is a block diagram of a speech processing apparatus of an embodiment;
fig. 9 is a block diagram showing a configuration of a speech processing apparatus according to another embodiment;
fig. 10 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
FIG. 1 is a diagram illustrating an exemplary embodiment of a speech processing method. As shown in fig. 1, the application environment includes a terminal 102 and a server 104. The terminal 102 may obtain an installation package of the application program from the server 104, and then install the application program according to the installation package. The terminal 102 can switch modes, and when the terminal 102 starts the voice interaction mode, an application program set corresponding to the voice interaction mode can be acquired according to the electric quantity data. Then, when receiving the voice instruction, the terminal 102 acquires a target application program for executing the voice instruction from the application program set; and controlling the target application program to perform corresponding operation according to the voice instruction. The terminal 102 may initiate an application request to the server 104 during a corresponding operation according to the voice instruction, and complete the operation according to the initiated application request. The terminal 102 is an electronic device located at the outermost periphery of the computer network and mainly used for inputting user information and outputting a processing result, and may be, for example, a personal computer, a mobile terminal, a personal digital assistant, a wearable electronic device, and the like. Server 104 is a device for responding to service requests while providing computing services. It is understood that the server 104 may be a server cluster, i.e., the server 104 may include one or more computers. It is understood that in other embodiments provided in the present application, the application environment of the speech processing method may only include the terminal 102.
Fig. 2 is a schematic diagram of an application environment of a speech processing method in another embodiment. As shown in fig. 2, the application environment includes a user 202 and a terminal 204. The user 202 can switch the mode of the terminal 204, and can also input voice information through the terminal 204, and after the terminal 204 collects the voice information, the voice information is analyzed to generate a voice instruction. When the terminal 204 starts the voice interaction mode, an application program set corresponding to the voice interaction mode is obtained. Then, a voice instruction is generated according to the voice information input by the user 202, and a target application program for executing the voice instruction is acquired from the application program set. And finally, controlling the target application program to perform corresponding operation according to the voice instruction.
FIG. 3 is a flow diagram of a method for speech processing in one embodiment. The speech processing method in this embodiment is described by taking the example of running on the terminal in fig. 1 or fig. 2. As shown in fig. 3, the speech processing method includes steps 302 to 308. Wherein:
step 302, acquiring the electric quantity data of the electronic device under the condition that the voice interaction mode of the electronic device is started.
When the user uses the electronic device, the user can input an operation instruction to realize the operation of the electronic device. Specifically, the operation instruction may be a touch operation, a pressing operation of a physical key, a voice control operation, a shaking operation of the mobile terminal, or other triggering operations. And after detecting the operation instruction, the electronic equipment performs corresponding operation according to the operation instruction. For example, after detecting that the user presses the volume adjustment key, the electronic device increases or decreases the current volume value according to the number of times the volume adjustment key is pressed. Because the voice environment of the electronic equipment is complex in the using process, the voice input is generally controlled through a switch, and the electronic equipment is controlled through the voice only when needed.
The voice interaction mode refers to a mode in which a user can control the electronic device by making a voice. For example, in the voice interaction mode, the user may speak "query weather" to the electronic device, and after receiving the voice information, the electronic device may open a weather APP (Application) according to the voice information, query weather through the weather APP, and feed back a query result to the user. It can be understood that, in the voice interaction mode, the electronic device is not limited to be controlled by voice, and the electronic device can be controlled by touch operation, pressing operation of physical keys, shaking operation and the like.
The application program refers to software written for a certain application purpose in the electronic device, and the electronic device can realize the required service for the user through the application program. For example, a user may play games through a game-like application, may watch videos through a video-like application, may play music through a music-like application, and so on. The application program can be divided into a foreground application program and a background application program according to the running state. The foreground application program refers to an application program running in the foreground of the electronic device, and the foreground application program can be displayed on the foreground and can interact with a user. Background applications refer to applications that run in the background of an electronic device, and background applications generally cannot be displayed in the foreground and implement an interactive process with a user. Generally, an application operation of an application program is collectively performed by one or more processes (processes), which are one-time running activities of the program in a computer on a certain data set and are basic units for resource allocation and scheduling of a system.
The electric quantity data is data representing electric quantity use condition of the electronic equipment, and the electric quantity use condition of the electronic equipment can be acquired according to the electric quantity data. For example, whether the electronic device is in a charging state may be detected according to the power amount data, a current remaining power amount of the electronic device may be calculated according to the power amount data, or a total power amount used by the electronic device for a period of time may be counted according to the power amount data.
And 304, acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, wherein the application program set comprises one or more application programs.
An application collection refers to a collection of applications, including one or more applications. In the voice interaction mode, the applications contained in the set of applications may be controlled by voice. The corresponding relation between the voice interaction mode and the application program set is established in advance, and when the voice interaction mode is started, the application program corresponding to the voice interaction mode can be obtained. The electronic device can store an application list corresponding to the voice interaction mode, wherein the application list comprises one or more application identifications, and each application identification is used for uniquely identifying one application program. And acquiring an application program set corresponding to the voice interaction mode according to the application list.
The electric quantity data can reflect the electric quantity use condition of the electronic equipment, and the application program set is obtained according to the electric quantity data, namely the application program set can be obtained according to the electric quantity use condition of the electronic equipment. For example, in the case of low power consumption, the application set may be composed according to applications with low power consumption, so that applications with low power consumption may only be controlled by voice, but applications with high power consumption may not be controlled, so as to reduce power consumption of the electronic device.
Step 306, obtaining the voice instruction, and obtaining a target application program for executing the voice instruction from the application program set.
In one embodiment, the voice instruction refers to an instruction obtained by voice conversion and capable of operating an application program. Specifically, a voice collecting device may be installed in the electronic device, and voice information input by the user may be collected by the voice collecting device and converted into an electrical signal. The electronic device may then perform speech digital coding recognition and semantic understanding on the converted electrical signal to generate the voice instructions. The voice command comprises contents such as a target application identifier and operation information, wherein the target application identifier is a unique identifier of a target application program, the target application program is an application program for executing the voice command, and the operation information is information for instructing the target application program to perform corresponding operation.
After receiving the voice instruction, the electronic device compares the target application identifier in the voice instruction with the application identifiers in the application list one by one, and if it is detected that an application identifier matched with the target application identifier exists in the application list, it indicates that a target application program for executing the voice instruction exists in the application program set, that is, the target application program for executing the voice instruction can be obtained from the application program set, and the voice instruction is processed through the target application program. If the application identifier matched with the target application identifier does not exist in the application list, it indicates that the target application program for executing the voice instruction does not exist in the application program set.
And 308, controlling the target application program to perform corresponding operation according to the voice instruction.
The voice instruction contains operation information, and the target application program can execute corresponding operation according to the operation information in the voice instruction. For example, a user may say "play a song," and after receiving voice information input by the user, the electronic device may analyze the voice information to obtain an operation that needs to be performed to play the song, and an application program that can play the song is a music APP. And then the electronic equipment generates a voice instruction and controls the target application program to perform corresponding operation according to the voice instruction.
In the voice processing method provided by the embodiment, the electronic device may perform mode switching, and when the voice interaction mode is started, the electronic device may obtain the electric quantity data of the electronic device, and obtain the application program set corresponding to the voice interaction mode according to the electric quantity data. And then, acquiring a target application program for executing the voice instruction from the application program set according to the acquired voice instruction, and then controlling the target application program to perform corresponding operation according to the voice instruction. Therefore, when interactive control is needed through voice, a user can switch the electronic equipment to a voice interactive mode, and then control the application program through inputting a voice command, so that the operation efficiency of the electronic equipment is improved.
FIG. 4 is a flow diagram of a method of speech processing in another embodiment. The speech processing method in this embodiment is described by taking the example of running on the terminal in fig. 1 or fig. 2. As shown in fig. 4, the speech processing method includes steps 402 to 416. Wherein:
step 402, receiving a mode opening instruction, and opening a voice interaction mode of the electronic device according to the mode opening instruction.
In one embodiment, the electronic device may be in the voice interaction mode by default, or may be switched to the voice interaction mode according to the mode opening instruction after receiving the mode opening instruction. Receiving the mode opening instruction may specifically include: collecting mode starting voice information input by a user, and generating a mode starting instruction according to the mode starting voice information; acquiring a mode opening gesture signal input by a user, and generating a mode opening instruction according to the mode opening gesture signal; acquiring a face image of a user, and generating a mode opening instruction according to the face image; acquiring a face image of a user, identifying expression characteristics according to the face image, and generating a mode opening instruction according to the expression characteristics; and receiving a mode opening instruction input by a user through a mode opening interface. The mode opening interface is an interface which can input a mode opening instruction in the electronic equipment. For example, the mode opening interface may be a menu setting interface of a mobile phone, or may be an interaction interface of an application program specially used for opening a voice interaction mode, which is not limited in this embodiment.
Specifically, when the electronic device starts the voice interaction mode, the electronic device can collect voice information and operate the electronic device according to the voice information. For example, a user can enable the electronic device to realize operations such as music playing, smart home control, listening to books and news, weather inquiry, volume adjustment, alarm clock setting and the like by inputting voice information.
Step 404, acquiring the electric quantity data of the electronic device when the electronic device starts the voice interaction mode.
Step 406, acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, where the application program set includes one or more application programs.
When the electronic equipment starts the voice interaction mode, an application program set corresponding to the voice interaction mode can be obtained according to the electric quantity data, and the application programs in the application program set are allowed to be controlled by a user through voice. The corresponding relation among the electric quantity data, the mode identification and the application list is established in advance, and the electronic equipment can record the current mode of the electronic equipment through the mode identification. And when the electronic equipment is in a voice interaction mode, acquiring the electric quantity data. And then acquiring a corresponding application list according to the electric quantity data and the mode identification, and acquiring an application program set according to the application list. It is understood that the application set may include all the applications installed in the electronic device, or may include a part of the applications installed in the electronic device, and is not limited in this embodiment.
Step 408, receiving the voice information input by the user, and performing voiceprint recognition on the voice information.
In one embodiment, the voice information refers to voice data input by a user, and the electronic device may collect the voice information through a voice collecting device such as a microphone. Voiceprint Recognition (VPR) refers to a process of recognizing a speaker through voice information, and a user who inputs voice information can be recognized according to the Voiceprint Recognition. Common voiceprint recognition algorithms include a PLDA (Probabilistic Linear Discriminant Analysis) algorithm, a GMM-UBM (Gaussian mixture Model-Universal Background Model) algorithm, and the like, but are not limited in this embodiment.
It is understood that the voice information input by the user may further include a device identifier, and after the voice information is received by the electronic device, the keyword of the voice information may be extracted. And if the extracted keyword contains the equipment identifier corresponding to the electronic equipment, performing voiceprint recognition on the voice information. For example, the device identifier may be "a" and when the electronic device acquires the voice information and the extracted keyword of the voice information includes "a" then the voice information is considered as the information for controlling the electronic device, and the voice information is subjected to voiceprint recognition.
And step 410, when the user is determined to have the voice operation authority according to the voiceprint recognition result, generating a voice instruction according to the voice information, wherein the voice operation authority refers to the authority which allows the user to operate the application program through voice.
The voice operation authority refers to an authority allowing a user to operate an application program through voice. Specifically, after the electronic device collects the voice information, it may perform voiceprint recognition on the voice information, and may obtain a user identifier of the user who inputs the voice information according to a result of the voiceprint recognition. The electronic equipment can pre-establish a corresponding relation between the user identification and the authority identification, the user identification can uniquely mark one user, and the authority identification is used for marking whether the user is allowed to operate the application program through voice. And acquiring the corresponding authority identification according to the user identification, and determining whether the user has the voice operation authority or not according to the authority identification. And if the user has the voice operation authority, analyzing the voice information and generating a voice instruction according to the voice information.
In step 412, a target application for executing the voice instruction is obtained from the set of applications.
After the electronic device collects the voice information, the electronic device performs processing such as voice recognition and semantic understanding on the voice information to recognize operations required by the user through the voice information. And then acquiring the target application program, and completing corresponding operation through the target application program. For example, if the user says "set alarm clock to 7: 00", after the electronic device parses the voice message, the alarm clock can be set to 7:00 by calling the alarm clock APP.
And 414, acquiring at least one application program to be operated from the application program set, and generating the application program set to be operated according to the acquired application program to be operated, wherein the application program to be operated is an application program which allows a user who inputs voice information to operate through voice.
In one embodiment, if the user has the voice operation authority, the user can be further classified, and the application programs operable by different users are different. For example, the owner of the mobile phone has the maximum authority to operate all the applications in the application set. The immediate relatives of the owner have larger authority and can operate most of application programs. Other relatives and friends of the owner have less authority to operate a small portion of the application. Therefore, the authority management is carried out, and the safety of the electronic equipment can be ensured.
And step 416, if the target application program is the application program of the application program set to be operated, controlling the target application program to perform corresponding operation according to the voice instruction.
Specifically, after the target application program is acquired, at least one application program to be operated may be acquired from the application program set, and then the application program set to be operated may be generated according to the application program to be operated. The application program to be operated is an application program which allows a user who inputs voice information to operate through voice. For example, if the user who inputs the voice information is identified as the owner, the application to be operated may be all the applications in the application set. If the user who inputs the voice information is identified as not the owner, the application program to be operated can be part of the application programs in the application program set.
And comparing the target application program with the application programs in the application program set to be operated, and if the target application program acquired according to the voice instruction is the application program in the application program set to be operated, which indicates that the user has the authority of performing voice operation on the target application program, controlling the target application program to perform corresponding operation according to the voice instruction. Otherwise, it is stated that the user does not have the authority to perform the voice operation on the target application program, the user may be prohibited from operating the target application program, and the user is prompted to have no operation authority on the interface of the electronic device.
In an embodiment, the method for acquiring the application program set may specifically include:
step 502, detecting whether the electronic device is in a charging state according to the electric quantity data.
In the embodiment provided by the application, in order to avoid the situation that the power consumption of the electronic device is too high, different application program sets can be acquired according to the power consumption situation of the electronic device. There are various ways to detect the power condition of the electronic device, for example, the power condition may be determined according to whether the electronic device is currently in a charging state or according to the current remaining power of the electronic device. When the electronic device is in a charging state or the current remaining power is higher than a certain value, the electronic device is indicated to have enough power. Specifically, when the electronic device has enough electric quantity, more application programs can be controlled through voice; when the electric quantity of the electronic equipment is insufficient, the application program with low electric consumption can be controlled only through voice.
Specifically, when the electronic device starts charging, the battery manager transmits the charging details of the battery by broadcasting. When the charging state of the electronic device changes, the battery manager also transmits the charging details of the battery device by broadcasting. When the electronic equipment needs to be detected whether in the charging state, the broadcast receiver can be directly called to detect. For example, in the Android system, a broadcast may be transmitted through a battery manager, and whether the electronic device is in a charging state may be determined by calling a register receiver.
Step 504, if yes, a first application program set corresponding to the voice interaction mode is obtained.
Step 506, if not, acquiring a second application program set corresponding to the voice interaction mode.
Specifically, whether the electronic equipment is in a charging state or not is detected according to the electric quantity data, and an application program set of the voice interaction mode is obtained according to a detection result. If the electronic equipment is in a charging state and the electric quantity of the electronic equipment is considered to be sufficient, a first application program set corresponding to the voice interaction mode can be acquired; if the electronic device is not in the charging state, the electric quantity of the electronic device is considered to be insufficient, and then a second application program set corresponding to the voice interaction mode can be obtained.
The relationship between the first application program set and the second application program set may be: the first set of applications is a subset of the second set of applications, or the second set of applications is a subset of the first set of applications, or the first set of applications is equal to the second set of applications, which is not limited in this embodiment. The first set of applications and the second set of applications may each be comprised of applications of different application types. For example, the first set of applications may be a set of applications consisting of game-class, video-class, instant messaging-class applications, and the second set of applications may be a set of references consisting of tool-class, social-class applications. The first set of applications and the second set of applications may each be comprised of applications of different application priorities. For example, the applications of the electronic device may be divided into five application priorities, a first set of applications may be a set of applications consisting of level 1-3 applications, and a second set of applications may be a set of applications consisting of level 4-5 applications.
The electronic equipment can calculate the power consumption of each application program, and the longer the running time of the general application program is, the higher the resource occupancy rate is, and the higher the power consumption is. For example, in the Android system, there is a Service dedicated to counting the amount of electricity in the frame layer: BatteryStatsSerive. The BatteryStatsSerive service can be created in an ActivityManagerService, the ActivityManagerService can store each module data in the electronic equipment into a system directory Batterystits file, and then the electric quantity data is analyzed through a data analyzer BatteryStatsImpl, so that the statistics of the electric power consumption is realized.
In one embodiment, the second set of applications is a subset of the first set of applications, and the electronic device may count the historical power consumption amounts of the applications in the first set of applications and generate the second set of applications according to the applications in the first set of applications whose historical power consumption amounts are lower than the power consumption threshold. Specifically, the historical power consumption amount refers to the power consumption amount of the application program during the historical operation process, and can be expressed in the form of percentage, so that the historical power consumption amounts of all the application programs in the electronic equipment are added up to be equal to 100%. It can be understood that, when the electronic device counts the power consumption of each application program, the historical power consumption of each application program is associated with the application identifier, and the historical power consumption corresponding to the application program can be obtained according to the application identifier.
In an embodiment provided by the present application, the method for acquiring an application set may further include:
step 602, determining the current remaining power of the electronic device according to the power data.
The electronic equipment can also judge whether the electric quantity is sufficient or not according to the current residual electric quantity of the electronic equipment. Generally, when the current remaining power is greater than a certain value, the power of the electronic device is considered to be sufficient; if the current remaining power is less than a certain value, the power of the electronic device is considered to be insufficient. And then acquiring the application program set according to the current residual capacity of the electronic equipment. It is understood that the electronic device may directly obtain the current remaining power after the voice interaction mode is turned on, and then obtain the application program set according to the current remaining power. Or after the voice interaction mode is started, detecting whether the electronic equipment is in a charging state, and if not, acquiring the application program set according to the current residual electric quantity of the electronic equipment.
Step 604, when the current remaining power is greater than or equal to the power threshold, obtaining a third application set corresponding to the voice interaction mode.
Step 606, when the current remaining power is smaller than the power threshold, a fourth application program set corresponding to the voice interaction mode is obtained.
In one embodiment, the current remaining power of the electronic device is obtained, and the application program set of the voice interaction mode is obtained according to the current remaining power. When the current remaining electric quantity is greater than or equal to the electric quantity threshold value, a third application program set corresponding to the voice interaction mode can be obtained; and when the current residual electric quantity is smaller than the electric quantity threshold value, a fourth application program set corresponding to the voice interaction mode can be acquired. Generally, the third set of applications is preset by the electronic device, and the fourth set of applications may be preset or dynamically generated according to the current remaining power.
The relationship between the third set of applications and the fourth set of applications may be: the third set of applications is a subset of the fourth set of applications, or the fourth set of applications is a subset of the third set of applications, or the third set of applications is equal to the fourth set of applications, which is not limited in this embodiment. The third set of applications and the fourth set of applications may each be comprised of applications of different application types. For example, the third set of applications may be a set of applications consisting of game class, video class, instant messaging class applications, and the fourth set of applications may be a set of references consisting of tool class, social class applications. The third set of applications and the fourth set of applications may each be comprised of applications of different application priorities. For example, the applications of the electronic device may be divided into five application priorities, a third set of applications may be a set of applications consisting of level 1-3 applications, and a fourth set of applications may be a set of applications consisting of level 4-5 applications.
Specifically, the electronic device may preset a corresponding relationship of a power consumption threshold of the current remaining power amount, and when the current remaining power amount of the electronic device is smaller than the power consumption threshold, the corresponding power consumption threshold may be obtained according to the current remaining power amount, and then the fourth application set is generated according to the application program in the third application set, in which the historical power consumption amount is lower than the power consumption threshold. Generally, the lower the current remaining power, the lower the corresponding power consumption threshold.
It can be understood that after the electronic device starts the voice interaction mode, the user may manually exit the voice interaction mode, or may set the voice interaction duration, and control the electronic device to automatically exit the voice interaction mode through the voice interaction duration. Namely, when the duration of the electronic equipment entering the voice interaction mode exceeds the duration of the voice interaction, the electronic equipment exits the voice interaction mode. When the electronic equipment automatically exits the voice interaction mode through the voice interaction duration, the corresponding relation between the voice interaction duration and the electric quantity threshold can be established. Step 604 may be preceded by: acquiring voice interaction duration, wherein the voice interaction duration is duration allowing the electronic equipment to be in a voice interaction mode; and acquiring a corresponding electric quantity threshold according to the voice interaction duration. Generally, the longer the voice interaction duration, the larger the corresponding power threshold.
In one embodiment, the electronic device may pre-establish a corresponding relationship between the user identifier and the application identifier, and then obtain the application program to be operated according to the user identifier. The method for acquiring the application program to be operated may include:
step 702, obtaining a target user identifier corresponding to the user who inputs the voice information according to the voiceprint recognition result, and obtaining a target application identifier corresponding to the target user identifier.
The electronic device can store a voice database of the user and establish a user identification for each piece of voice information in the voice database. After the electronic equipment collects the voice information of the user, voiceprint recognition is carried out on the input voice information, the voiceprint recognition result of the input voice information is matched with the voiceprint recognition result of each piece of voice information in the voice database, and the user identification corresponding to the matched voice information in the voice database is obtained and serves as the target user identification. The corresponding relationship between the user identifier and the application identifier may be pre-established, and then the target application identifier corresponding to the target user identifier may be obtained according to the corresponding relationship.
In one embodiment, the application program to be operated may be obtained according to the application level of the application program in the application program set. Specifically, the application level indicates the importance degree of the application program, the application program in the application program set may be divided into at least two application levels in advance, and then the correspondence between the user identifier and the application level is established. After the target user identifier is obtained, the corresponding target application level may be obtained according to the target user identifier, and then the application identifier corresponding to the target application level is obtained as the target application identifier.
In the embodiment provided by the application, the application program to be operated can be acquired according to the application type of the application program in the application program set. Specifically, the application programs in the application program set may be divided into at least two application types in advance, and then the correspondence between the user identifier and the application type may be established. After the target user identifier is obtained, the corresponding target application type may be obtained according to the target user identifier, and then the application identifier corresponding to the target application type is obtained as the target application identifier. For example, when the user who inputs voice information is a child, the user may be prohibited from controlling the game-like application by voice.
Step 704, obtaining the application program corresponding to the target application identifier from the application program set as the application program to be operated.
In the voice processing method provided by the embodiment, the electronic device may perform mode switching, and when the voice interaction mode is started, the electronic device may obtain the electric quantity data of the electronic device, and obtain the application program set corresponding to the voice interaction mode according to the electric quantity data. And then after determining that the user has the voice operation authority according to the acquired voice information, acquiring a target application program for executing the voice instruction from the application program set, and controlling the target application program to perform corresponding operation according to the voice instruction. Therefore, when interactive control is needed through voice, a user can switch the electronic equipment to a voice interactive mode, and then control the application program through inputting a voice command, so that the operation efficiency of the electronic equipment is improved. And the operation authority of the user is identified according to the voice information of the user, and the operation safety of the electronic equipment is improved.
It should be understood that, although the steps in the flowcharts of fig. 2 to 6 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
Fig. 8 is a block diagram of a speech processing apparatus according to an embodiment. As shown in fig. 8, the speech processing apparatus 800 includes an electric quantity obtaining module 802, an application obtaining module 804, an instruction obtaining module 806, and an application operating module 808. Wherein:
the power obtaining module 802 is configured to obtain power data of the electronic device when the electronic device starts a voice interaction mode.
An application obtaining module 804, configured to obtain an application program set corresponding to the voice interaction mode according to the electric quantity data, where the application program set includes one or more application programs.
And the instruction obtaining module 806 is configured to obtain a voice instruction, and obtain a target application program for executing the voice instruction from the application program set.
And the application operation module 808 is configured to control the target application program to perform corresponding operation according to the voice instruction.
In the voice processing apparatus provided by the above embodiment, the electronic device may perform mode switching, and when the voice interaction mode is started, the electronic device may obtain the electric quantity data of the electronic device, and obtain the application program set corresponding to the voice interaction mode according to the electric quantity data. And then, acquiring a target application program for executing the voice instruction from the application program set according to the acquired voice instruction, and then controlling the target application program to perform corresponding operation according to the voice instruction. Therefore, when interactive control is needed through voice, a user can switch the electronic equipment to a voice interactive mode, and then control the application program through inputting a voice command, so that the operation efficiency of the electronic equipment is improved.
Fig. 9 is a block diagram of a speech processing apparatus according to another embodiment. As shown in fig. 9, the speech processing apparatus 900 includes a mode opening module 902, an electric quantity obtaining module 904, an application obtaining module 906, an instruction obtaining module 908, and an application operating module 910. Wherein:
the mode starting module 902 is configured to receive a mode starting instruction and start a voice interaction mode of the electronic device according to the mode starting instruction.
The power obtaining module 904 is configured to obtain power data of the electronic device when the electronic device starts a voice interaction mode.
An application obtaining module 906, configured to obtain an application program set corresponding to the voice interaction mode according to the electric quantity data, where the application program set includes one or more application programs.
The instruction obtaining module 908 is configured to obtain a voice instruction, and obtain a target application program for executing the voice instruction from the set of application programs.
An application operation module 910, configured to control the target application to perform a corresponding operation according to the voice instruction.
In the voice processing apparatus provided by the above embodiment, the electronic device may perform mode switching, and when the voice interaction mode is started, the electronic device may obtain the electric quantity data of the electronic device, and obtain the application program set corresponding to the voice interaction mode according to the electric quantity data. And then, acquiring a target application program for executing the voice instruction from the application program set according to the acquired voice instruction, and then controlling the target application program to perform corresponding operation according to the voice instruction. Therefore, when interactive control is needed through voice, a user can switch the electronic equipment to a voice interactive mode, and then control the application program through inputting a voice command, so that the operation efficiency of the electronic equipment is improved.
In one embodiment, the application obtaining module 906 is further configured to detect whether the electronic device is in a charging state according to the electric quantity data; if so, acquiring a first application program set corresponding to the voice interaction mode; and if not, acquiring a second application program set corresponding to the voice interaction mode.
In one embodiment, the application obtaining module 906 is further configured to determine a current remaining power of the electronic device according to the power data; when the current residual electric quantity is larger than or equal to an electric quantity threshold value, acquiring a third application program set corresponding to the voice interaction mode; and when the current residual electric quantity is smaller than an electric quantity threshold value, acquiring a fourth application program set corresponding to the voice interaction mode.
In one embodiment, the instruction obtaining module 908 is further configured to receive voice information input by a user, and perform voiceprint recognition on the voice information; and when the user is determined to have the voice operation authority according to the voiceprint recognition result, generating a voice instruction according to the voice information, wherein the voice operation authority refers to the authority which allows the user to operate the application program through voice.
In an embodiment, the application operation module 910 is further configured to obtain at least one to-be-operated application program from the application program set, and generate the to-be-operated application program set according to the obtained to-be-operated application program, where the to-be-operated application program is an application program that allows a user who inputs the voice information to perform an operation through voice; and if the target application program is the application program of the application program set to be operated, controlling the target application program to perform corresponding operation according to the voice instruction.
In one embodiment, the application operation module 910 is further configured to establish a correspondence between the user identifier and the application identifier in advance; acquiring a target user identification corresponding to a user who inputs the voice information according to the voiceprint recognition result, and acquiring a target application identification corresponding to the target user identification; and acquiring the application program corresponding to the target application identifier from the application program set as the application program to be operated.
The division of the modules in the voice processing apparatus is only for illustration, and in other embodiments, the voice processing apparatus may be divided into different modules as needed to complete all or part of the functions of the voice processing apparatus.
The implementation of each module in the speech processing apparatus provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the speech processing methods provided by the above-described embodiments.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the speech processing method provided by the above embodiments.
The embodiment of the application also provides the electronic equipment. As shown in fig. 10, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the electronic device as the mobile phone as an example:
fig. 10 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 10, the cellular phone includes: radio Frequency (RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuit 1060, wireless fidelity (WiFi) module 1070, processor 1080, and power source 1090. Those skilled in the art will appreciate that the handset configuration shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1010 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the received downlink information to the processor 1080; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 1020 can be used for storing software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 1020 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 input unit 1030 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1000. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, which may also be referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 1031 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 1031 may include two parts, 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 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1030 may include other input devices 1032 in addition to the touch panel 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 1040 may be used to display information input by a user or information provided to the user and various menus of the cellular phone. The display unit 1040 may include a display panel 1041. In one embodiment, the Display panel 1041 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 1031 can overlay the display panel 1041, and when the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch operation is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Although in fig. 10, the touch panel 1031 and the display panel 1041 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1000 may also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1041 and/or the backlight when the mobile phone moves to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 1060, speaker 1061, and microphone 1062 may provide an audio interface between a user and a cell phone. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the electrical signal is converted into a sound signal by the speaker 1061 and output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, and the audio data is processed by the audio data output processor 1080 and then transmitted to another mobile phone through the RF circuit 1010, or the audio data is output to the memory 1020 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1070, which provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 1070, it is to be understood that it does not belong to the essential constitution of the handset 1000 and may be omitted as needed.
The processor 1080 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the mobile phone. In one embodiment, processor 1080 may include one or more processing units. In one embodiment, processor 1080 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080.
The handset 1000 also includes a power supply 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1080 via a power management system that may be configured to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1000 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, the processor 1080 included in the electronic device implements the steps of the voice processing method provided by the above-mentioned embodiment when executing the computer program stored in the memory.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of speech processing, comprising:
acquiring electric quantity data of the electronic equipment under the condition that the voice interaction mode of the electronic equipment is started;
acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, wherein the application program set comprises one or more application programs;
acquiring a voice instruction, and acquiring a target application program for executing the voice instruction from the application program set;
and controlling the target application program to perform corresponding operation according to the voice instruction.
2. The method of claim 1, wherein before the obtaining of the power data of the electronic device when the voice interaction mode is turned on, the method further comprises:
and receiving a mode starting instruction, and starting a voice interaction mode of the electronic equipment according to the mode starting instruction.
3. The method according to claim 1, wherein the obtaining of the set of applications corresponding to the voice interaction mode according to the electric quantity data includes:
detecting whether the electronic equipment is in a charging state or not according to the electric quantity data;
if so, acquiring a first application program set corresponding to the voice interaction mode;
and if not, acquiring a second application program set corresponding to the voice interaction mode.
4. The method according to claim 1, wherein the obtaining of the set of applications corresponding to the voice interaction mode according to the electric quantity data includes:
determining the current residual electric quantity of the electronic equipment according to the electric quantity data;
when the current residual electric quantity is larger than or equal to an electric quantity threshold value, acquiring a third application program set corresponding to the voice interaction mode;
and when the current residual electric quantity is smaller than an electric quantity threshold value, acquiring a fourth application program set corresponding to the voice interaction mode.
5. The method of any one of claims 1 to 4, wherein the obtaining the voice instruction comprises:
receiving voice information input by a user, and carrying out voiceprint recognition on the voice information;
and when the user is determined to have the voice operation authority according to the voiceprint recognition result, generating a voice instruction according to the voice information, wherein the voice operation authority refers to the authority which allows the user to operate the application program through voice.
6. The method according to claim 5, wherein the controlling the target application to perform corresponding operations according to the voice instruction comprises:
acquiring at least one application program to be operated from the application program set corresponding to the voice interaction mode, and generating an application program set to be operated according to the acquired application program to be operated, wherein the application program to be operated is an application program which allows a user who inputs the voice information to operate through voice;
and if the target application program is the application program of the application program set to be operated, controlling the target application program to perform corresponding operation according to the voice instruction.
7. The method according to claim 6, wherein the obtaining at least one application to be operated from the set of applications corresponding to the voice interaction mode comprises:
acquiring a target user identification of a user inputting the voice information according to the voiceprint recognition result, and acquiring a target application identification corresponding to the target user identification;
and acquiring the application program corresponding to the target application identifier from the application program set corresponding to the voice interaction mode to serve as the application program to be operated.
8. A speech processing apparatus, comprising:
the electric quantity acquisition module is used for acquiring electric quantity data of the electronic equipment under the condition that the voice interaction mode of the electronic equipment is started;
the application acquisition module is used for acquiring an application program set corresponding to the voice interaction mode according to the electric quantity data, and the application program set comprises one or more application programs;
the instruction acquisition module is used for acquiring a voice instruction and acquiring a target application program for executing the voice instruction from the application program set;
and the application operation module is used for controlling the target application program to perform corresponding operation according to the voice instruction.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
10. 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 method according to any one of claims 1 to 7.
CN201810125069.5A 2018-02-07 2018-02-07 Voice processing method and device, electronic equipment and computer readable storage medium Active CN108320744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810125069.5A CN108320744B (en) 2018-02-07 2018-02-07 Voice processing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810125069.5A CN108320744B (en) 2018-02-07 2018-02-07 Voice processing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108320744A CN108320744A (en) 2018-07-24
CN108320744B true CN108320744B (en) 2020-06-23

Family

ID=62903158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810125069.5A Active CN108320744B (en) 2018-02-07 2018-02-07 Voice processing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108320744B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110875940B (en) * 2018-08-31 2021-08-10 比亚迪股份有限公司 Application program calling method, device and equipment based on virtual robot
CN109324840A (en) * 2018-09-29 2019-02-12 五八有限公司 A kind of operation processing method, device, equipment and storage medium
CN109326291A (en) * 2018-12-24 2019-02-12 深圳创维-Rgb电子有限公司 Television mode control method, TV and storage medium
CN110213138A (en) * 2019-04-23 2019-09-06 深圳康佳电子科技有限公司 Intelligent terminal user authentication method, intelligent terminal and storage medium
CN111026355A (en) * 2019-12-09 2020-04-17 珠海市魅族科技有限公司 Information interaction method and device, computer equipment and computer readable storage medium
CN111192578B (en) * 2019-12-28 2023-04-07 惠州Tcl移动通信有限公司 Application control method and device, storage medium and electronic equipment
CN111292742A (en) * 2020-01-14 2020-06-16 京东数字科技控股有限公司 Data processing method and device, electronic equipment and computer storage medium
CN112102823A (en) * 2020-07-21 2020-12-18 深圳市创维软件有限公司 Voice interaction method of intelligent terminal, intelligent terminal and storage medium
CN112742024B (en) * 2020-08-20 2023-02-10 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium
CN111986670A (en) * 2020-08-25 2020-11-24 Oppo广东移动通信有限公司 Voice control method, device, electronic equipment and computer readable storage medium
CN113127826B (en) * 2021-04-27 2023-05-23 富途网络科技(深圳)有限公司 Verification method and related device
CN113362833A (en) * 2021-05-25 2021-09-07 广州朗国电子科技有限公司 Method and device for controlling intelligent display terminal through voice and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929390A (en) * 2012-10-16 2013-02-13 广东欧珀移动通信有限公司 Method and device for starting application program in stand-by state
CN104461597A (en) * 2013-09-24 2015-03-25 腾讯科技(深圳)有限公司 Starting control method and device for application program
CN104615358A (en) * 2015-02-06 2015-05-13 掌赢信息科技(上海)有限公司 Application program starting method and electronic device
CN106910499A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 The control method and device of application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146437A (en) * 2016-02-17 2017-08-24 本田技研工業株式会社 Voice input processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929390A (en) * 2012-10-16 2013-02-13 广东欧珀移动通信有限公司 Method and device for starting application program in stand-by state
CN104461597A (en) * 2013-09-24 2015-03-25 腾讯科技(深圳)有限公司 Starting control method and device for application program
CN104615358A (en) * 2015-02-06 2015-05-13 掌赢信息科技(上海)有限公司 Application program starting method and electronic device
CN106910499A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 The control method and device of application program

Also Published As

Publication number Publication date
CN108320744A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
CN108320744B (en) Voice processing method and device, electronic equipment and computer readable storage medium
CN108462697B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN107679559B (en) Image processing method, image processing device, computer-readable storage medium and mobile terminal
CN106778175B (en) Interface locking method and device and terminal equipment
EP3299999B1 (en) Method and device for updating sequence of fingerprint templates for matching
WO2017008569A1 (en) Message updating method, apparatus, and terminal
CN109284144B (en) Fast application processing method and mobile terminal
CN106445596B (en) Method and device for managing setting items
CN108541013B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN106371326B (en) Storage method and device for equipment working scene
CN107566909B (en) Barrage-based video content searching method and user terminal
CN112805988B (en) Call control method and device, computer readable storage medium and electronic equipment
CN115278139A (en) Video processing method and device, electronic equipment and storage medium
CN112689872B (en) Audio detection method, computer-readable storage medium and electronic device
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN108668016B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108540649B (en) Content display method and mobile terminal
CN103905837A (en) Image processing method and device and terminal
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN108170360B (en) Control method of gesture function and mobile terminal
CN108513005B (en) Contact person information processing method and device, electronic equipment and storage medium
CN110781390A (en) Information recommendation method and mobile terminal
CN110785987B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107148011B (en) Method, device and system for executing target service
CN109388487B (en) Application program processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant