CN108320744A - Method of speech processing and device, electronic equipment, computer readable storage medium - Google Patents
Method of speech processing and device, electronic equipment, computer readable storage medium Download PDFInfo
- Publication number
- CN108320744A CN108320744A CN201810125069.5A CN201810125069A CN108320744A CN 108320744 A CN108320744 A CN 108320744A CN 201810125069 A CN201810125069 A CN 201810125069A CN 108320744 A CN108320744 A CN 108320744A
- Authority
- CN
- China
- Prior art keywords
- application
- pool
- applications
- electronic equipment
- voice
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000012545 processing Methods 0.000 title claims abstract description 49
- 230000005611 electricity Effects 0.000 claims abstract description 106
- 230000003993 interaction Effects 0.000 claims abstract description 78
- 230000015654 memory Effects 0.000 claims description 26
- 230000002452 interceptive effect Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 11
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000006854 communication Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L17/00—Speaker identification or verification techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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/72433—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/74—Details of telephonic subscriber devices with voice recognition means
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Environmental & Geological Engineering (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
A kind of method of speech processing of the application offer and device, electronic equipment, computer readable storage medium.The method includes:In the case where electronic equipment opens speech interaction mode, the electricity data of electronic equipment is obtained;The corresponding pool of applications of the speech interaction mode is obtained according to the electricity data, the pool of applications includes one or more application program;Phonetic order is obtained, and obtains the destination application for executing the phonetic order from the pool of applications;It controls the destination application and corresponding operation is carried out according to the phonetic order.Above-mentioned method of speech processing and device, electronic equipment, computer readable storage medium, can improve the operating efficiency of intelligent terminal.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of method of speech processing and device, electronic equipment, meter
Calculation machine readable storage medium storing program for executing.
Background technology
User can operate electronic equipment by inputting operation instruction, which can refer to for physical button
Enable, gesture operation instruction, voice operating instruction etc..Voice operating has many advantages, such as that easy to operate, input efficiency is high.However, by
The problems such as voice environment when using electronic equipment is complicated and voice is difficult to accurately acquire, therefore passing through voice operating electricity
During sub- equipment, it is generally difficult to accurately position the demand of user, causes the operating efficiency of electronic equipment very low.
Invention content
A kind of method of speech processing of the embodiment of the present application offer and device, electronic equipment, computer readable storage medium, can
To improve the operating efficiency of intelligent terminal.
A kind of method of speech processing, including:
In the case where electronic equipment opens speech interaction mode, the electricity data of the electronic equipment is obtained;
The corresponding pool of applications of the speech interaction mode, the application program collection are obtained according to the electricity data
Conjunction includes one or more application program;
Phonetic order is obtained, and obtains the intended application for executing the phonetic order from the pool of applications
Program;
It controls the destination application and corresponding operation is carried out according to the phonetic order.
A kind of voice processing apparatus, including:
Electricity acquisition module, in the case where electronic equipment opens speech interaction mode, obtaining the electronic equipment
Electricity data;
Using acquisition module, for obtaining the corresponding application program collection of the speech interaction mode according to the electricity data
It closes, the pool of applications includes one or more application program;
Instruction acquisition module, for obtaining phonetic order, and acquisition is described for executing from the pool of applications
The destination application of phonetic order;
Application operating module carries out corresponding operation for controlling the destination application according to the phonetic order.
A kind of electronic equipment, including memory and processor store computer program, the calculating in the memory
When machine program is executed by the processor so that the processor executes following steps:
In the case where electronic equipment opens speech interaction mode, the electricity data of the electronic equipment is obtained;
The corresponding pool of applications of the speech interaction mode, the application program collection are obtained according to the electricity data
Conjunction includes one or more application program;
Phonetic order is obtained, and obtains the intended application for executing the phonetic order from the pool of applications
Program;
It controls the destination application and corresponding operation is carried out according to the phonetic order.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
Row following steps:
In the case where electronic equipment opens speech interaction mode, the electricity data of the electronic equipment is obtained;
The corresponding pool of applications of the speech interaction mode, the application program collection are obtained according to the electricity data
Conjunction includes one or more application program;
Phonetic order is obtained, and obtains the intended application for executing the phonetic order from the pool of applications
Program;
It controls the destination application and corresponding operation is carried out according to the phonetic order.
Above-mentioned method of speech processing and device, electronic equipment, computer readable storage medium, electronic equipment can carry out mould
Formula switches, and in the case where electronic equipment opens speech interaction mode, can obtain the electricity data of electronic equipment, and according to electricity
Measure the corresponding pool of applications of data acquisition speech interaction mode.Then according to the phonetic order of acquisition from pool of applications
Middle destination application of the acquisition for executing the phonetic order, then control targe application program carried out pair according to phonetic order
The operation answered.In this way when needing to interact control by voice, electronic equipment can be switched to voice friendship by user
Under mutual pattern, then application program is controlled by inputting phonetic order, improves the operating efficiency of electronic equipment.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the application environment schematic diagram of method of speech processing in one embodiment;
Fig. 2 is the application environment schematic diagram of method of speech processing in another embodiment;
Fig. 3 is the flow chart of method of speech processing in one embodiment;
Fig. 4 is the flow chart of method of speech processing in another embodiment;
Fig. 5 is the flow chart of method of speech processing in another embodiment;
Fig. 6 is the flow chart of method of speech processing in another embodiment;
Fig. 7 is the flow chart of method of speech processing in another embodiment;
Fig. 8 is the structure diagram of the voice processing apparatus of one embodiment;
Fig. 9 is the structure diagram of the voice processing apparatus of another embodiment;
Figure 10 is the block diagram with the part-structure of the relevant mobile phone of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe herein various elements,
But these elements should not be limited by these terms.These terms are only used to distinguish first element and another element.Citing comes
It says, in the case where not departing from scope of the present application, the first client can be known as the second client, and similarly, can incite somebody to action
Second client is known as the first client.First client and the second client both client, but it is not same visitor
Family end.
Fig. 1 is the application environment schematic diagram of method of speech processing in one embodiment.As shown in Figure 1, the application environment packet
Include terminal 102 and server 104.Wherein, the installation kit of application program can be obtained in terminal 102 from server 104, then
Application program is installed according to the installation kit.The switching that pattern can be carried out in terminal 102, when terminal 102 opens interactive voice mould
When formula, the corresponding pool of applications of speech interaction mode can be obtained according to electricity data.Then terminal 102 is receiving voice
When instruction, the destination application for executing the phonetic order is obtained from pool of applications;And control targe application journey
Sequence carries out corresponding operation according to phonetic order.Terminal 102, can be with during carrying out corresponding operation according to phonetic order
Application request is initiated to server 104, and completes to operate according to the application request of initiation.Wherein, terminal 102 is in calculating
Machine network outermost is mainly used for inputting user information and exports the electronic equipment of handling result, such as can be personal electricity
Brain, mobile terminal, personal digital assistant, wearable electronic etc..Server 104 is for responding service request, carrying simultaneously
Equipment for calculating service.It is understood that server 104 can be a server cluster, i.e. server 104 can wrap
Containing one or multiple stage computers.It is understood that in other embodiment provided by the present application, which answers
Can include only terminal 102 with environment.
Fig. 2 is the application environment schematic diagram of method of speech processing in another embodiment.As shown in Fig. 2, the application environment
Including user 202 and terminal 204.User 202 can switch over the pattern of terminal 204, can also be inputted by terminal 204
Voice messaging, terminal 204 parse voice messaging after collecting voice messaging, generate phonetic order.When terminal 204
When opening speech interaction mode, the corresponding pool of applications of speech interaction mode is obtained.Then the language inputted according to user 202
Message breath generates phonetic order, and the destination application for executing phonetic order is obtained from pool of applications.Finally
Control targe application program carries out corresponding operation according to phonetic order.
Fig. 3 is the flow chart of method of speech processing in one embodiment.Method of speech processing in the present embodiment, with operation
It is described in terminal in Fig. 1 or Fig. 2.As shown in figure 3, the method for speech processing includes step 302 to step
308.Wherein:
Step 302, in the case where electronic equipment opens speech interaction mode, the electricity data of electronic equipment is obtained.
User, can be by inputting operation instruction the behaviour to realize to electronic equipment during using electronic equipment
Make.Specifically, which can be touch control operation, the pressing operation of physical button, voice-controlled operations or whole to movement
The trigger actions such as the shaking operation at end.Electronic equipment is grasped after detecting operational order according to operational order accordingly
Make.For example, electronic equipment detect user press volume adjustment key after, increased according to the number of the volume adjustment key of pressing or
Reduce current volume value.Since voice environment is complicated in use for electronic equipment, can generally be controlled by switching
The input of voice just can realize the control to electronic equipment by voice when needed.
Speech interaction mode refers to the pattern that user can control electronic equipment by sending out voice.For example,
Under speech interaction mode, user can say " inquiry weather " against electronic equipment, after electronic equipment receives the voice messaging, just
Weather APP (Application, application program) can be opened according to the voice messaging, weather is inquired by weather APP,
And query result is fed back into user.It is understood that under speech interaction mode, it is not limited in through voice to electronics
Equipment is controlled, can also simultaneously by touch control operation, physical button pressing operation, shake operation etc. to electronic equipment into
Row control.
Wherein, application program refers to the software write for certain application purpose in electronic equipment, and electronic equipment can be with
The Demand and service to user is realized by application program.It plays for example, user can be played by game class application program, it can also
Video is seen by video class application program, can also play music etc. by music class application program.Application program can basis
The state of operation is divided into foreground application and background application.Foreground application refers to the front stage operation in electronic equipment
Application program, foreground application can with foreground show and with user realize interact.Background application refer to
The application program of the running background of electronic equipment, background application cannot generally show on foreground and be realized with user and be interacted
Journey.Usually, the application operating of application program is completed jointly by one or more processes (process), and process is meter
Program in calculation machine is that system carries out the substantially single of Resource Distribution and Schedule about the primary operation activity on certain data acquisition system
Position.
Electricity data is the data for the electricity service condition for indicating electronic equipment, and can obtain electronics according to electricity data sets
Standby electricity service condition.For example, can detect whether electronic equipment is in charged state according to electricity data, it can also root
According to electricity data to calculate the current remaining capacity of electronic equipment, or electronic equipment can be counted at one section according to electricity data
Used total electricity in time.
Step 304, the corresponding pool of applications of speech interaction mode, the pool of applications are obtained according to electricity data
It include one or more application program.
Pool of applications refers to the set of application program, wherein including one or more application program.In interactive voice
Under pattern, the application program for including in pool of applications can be controlled by voice.Pre-establish speech interaction mode
With the correspondence of pool of applications, when electronic equipment open speech interaction mode when, so that it may to obtain speech interaction mode
Corresponding application program.Can include in the list of application with storaged voice interactive mode corresponding list of application in electronic equipment
One or more application identifies, each application identities is for uniquely indicating an application program.It can according to the list of application
To obtain the corresponding pool of applications of speech interaction mode.
Electricity data can reflect the electricity service condition of electronic equipment, and pool of applications is obtained according to electricity data,
Also pool of applications can be obtained according to the electricity service condition of electronic equipment.For example, it is lower in electricity,
Pool of applications can be formed according to the lower application program of power consumption so that can only be lower by voice control power consumption
Application program, and the high application program of power consumption cannot be controlled, to reduce the power consumption of electronic equipment.
Step 306, phonetic order is obtained, and obtains the intended application for executing phonetic order from pool of applications
Program.
In one embodiment, phonetic order refers to the instruction that can operate application program being converted to according to voice.
Specifically, voice collecting device can be installed in electronic equipment, language input by user can be acquired by the voice collecting device
Message ceases, and voice messaging input by user is converted to electric signal.Then the electric signal of conversion can be carried out language by electronic equipment
Sound digital coding identifies and semantic understanding, generates phonetic order.Include intended application mark, operation information etc. in the phonetic order
Content, intended application mark refer to the unique mark of destination application, and destination application refers to executing the phonetic order
Application program, operation information refer to the information for being used to indicate destination application and carrying out corresponding operating.
Electronic equipment after receiving phonetic order, can will the intended application in phonetic order mark with list of application in
Application identities are compared one by one, and the application identities to match are identified with intended application if detecting and existing in list of application,
Illustrate the destination application for having for executing the phonetic order in pool of applications, you can with from pool of applications
The destination application for executing phonetic order is obtained, and the phonetic order is handled by destination application.If
There is no the application identities to match are identified with intended application in list of application, then illustrate that there is no be used in pool of applications
Execute the destination application of the phonetic order.
Step 308, control targe application program carries out corresponding operation according to phonetic order.
Include operation information in phonetic order, destination application can be executed according to the operation information in phonetic order
Corresponding operation.For example, user is it may be said that " play song ", after electronic equipment receives voice messaging input by user, so that it may
To be parsed to obtain the operation for needing to carry out to be to play song to voice messaging, the application program that can play song is music
APP.Then electronic equipment generates phonetic order, and control targe application program carries out corresponding operation according to phonetic order.
The method of speech processing that above-described embodiment provides, electronic equipment can carry out pattern switching, be opened in electronic equipment
In the case of speech interaction mode, the electricity data of electronic equipment can be obtained, and interactive voice mould is obtained according to electricity data
The corresponding pool of applications of formula.Then it is obtained from pool of applications for executing the voice according to the phonetic order of acquisition
The destination application of instruction, then control targe application program is according to the corresponding operation of phonetic order progress.It is needing in this way
When interacting control by voice, electronic equipment can be switched under speech interaction mode by user, then by defeated
Enter phonetic order to control application program, improves the operating efficiency of electronic equipment.
Fig. 4 is the flow chart of method of speech processing in another embodiment.Method of speech processing in the present embodiment, with fortune
It is described in the capable terminal in Fig. 1 or Fig. 2.As shown in figure 4, the method for speech processing includes step 402 to step
416.Wherein:
Step 402, reception pattern open command opens the speech interaction mode of electronic equipment according to pattern open command.
In one embodiment, electronic equipment can be defaulted as being in speech interaction mode, can also be to receive
To after pattern open command, speech interaction mode is switched to according to pattern open command.Reception pattern open command specifically may be used
To include:It acquires pattern input by user and opens voice messaging, opening voice messaging according to the pattern generates pattern open command;
It acquires pattern input by user and opens hand signal, opening hand signal according to the pattern generates pattern open command;Acquisition is used
The facial image at family, according to the Face image synthesis pattern open command;The facial image of user is acquired, and according to the face figure
As identification expressive features, pattern open command is generated according to expressive features;Receive the mould that user opens interface input by pattern
Formula open command.Wherein, pattern open interface refer to can be with the interface of input pattern open command in electronic equipment.For example, mould
It can be mobile phone menu setting interface that formula, which opens interface, can also be dedicated for opening the application program of speech interaction mode
Interactive interface, in the present embodiment without limiting.
Specifically, when electronic equipment opens speech interaction mode, electronic equipment can acquire voice messaging, and according to language
Message breath operates electronic equipment.For example, user can make electronic equipment realize that music is broadcast by input voice information
It puts, Intelligent housing, news of listening to storytelling, weather lookup, volume adjustment, the operations such as alarm clock is set.
Step 404, in the case where electronic equipment opens speech interaction mode, the electricity data of electronic equipment is obtained.
Step 406, the corresponding pool of applications of speech interaction mode, the pool of applications are obtained according to electricity data
It include one or more application program.
When electronic equipment opens speech interaction mode, it can obtain that speech interaction mode is corresponding answers according to electricity data
With collection of programs, the application program in the pool of applications is allowed to user and is controlled by voice.Pre-establish electricity
The correspondence of data, pattern identification and list of application, electronic equipment can be presently in electronic equipment by pattern identification
Pattern recorded.When electronic equipment is in speech interaction mode, then electricity data is obtained.Then according to electricity data and
Pattern identification obtains corresponding list of application, and pool of applications is obtained according to the list of application.It is understood that the application
Collection of programs can include all application programs installed in electronic equipment, can also include the portion installed in electronic equipment
Divide application program, does not limit in the present embodiment.
Step 408, voice messaging input by user is received, and Application on Voiceprint Recognition is carried out to voice messaging.
In one embodiment, voice messaging refers to voice data input by user, and electronic equipment can pass through microphone
Equal voice collectings device is acquired voice messaging.Application on Voiceprint Recognition (Voiceprint Recognition, VPR) refers to passing through
Voice messaging recognizes the process of speaker, and the user of input voice information can be distinguished according to Application on Voiceprint Recognition.Common vocal print is known
Other algorithm includes that PLDA (Probabilistic Linear Discriminant Analysis, probability linear discriminant analysis) is calculated
(Gaussian mixture model-Universal Background Model, gauss hybrid models-are logical by method, GMM-UBM
With background model) algorithm etc., it does not limit in the present embodiment.
It is understood that can also include device identification in voice messaging input by user, when electronic equipment receives
After voice messaging, the keyword of the voice messaging can be extracted.If corresponding comprising the electronic equipment in the keyword of extraction
Device identification then carries out Application on Voiceprint Recognition to voice messaging again.For example, device identification can be " miaow ", when electronic equipment acquires
To after voice messaging, if in the keyword of the voice messaging of extraction including " miaow ", then it is assumed that voice messaging electronics in order to control
The voice messaging is then carried out Application on Voiceprint Recognition by the information of equipment.
Step 410, it when determining that user has voice operating permission according to Application on Voiceprint Recognition result, is then generated according to voice messaging
Phonetic order, voice operating permission refer to the permission for allowing user to be operated to application program by voice.
Voice operating permission refers to the permission for allowing user to be operated to application program by voice.Specifically, electronics
Equipment can carry out Application on Voiceprint Recognition to voice messaging, can be obtained according to Application on Voiceprint Recognition result after collecting voice messaging
Input the user identifier of the user of the voice messaging.Electronic equipment can pre-establish user identifier and the corresponding of capability identification is closed
System, user identifier can uniquely indicate a user, and whether capability identification allows user by voice to applying journey for indicating
Sequence is operated.Corresponding capability identification can be obtained according to user identifier, whether which can be determined according to capability identification
With voice operating permission.If the user has voice operating permission, voice messaging is parsed, is given birth to according to voice messaging
At phonetic order.
Step 412, the destination application for executing phonetic order is obtained from pool of applications.
Electronic equipment can carry out speech recognition and semantic understanding etc. after collecting voice messaging to voice messaging
Reason, to identify that user needs the operation carried out by voice messaging.Then destination application is obtained, and passes through intended application journey
Sequence is completed to operate accordingly.For example, user says " is set as 7 by alarm clock:00 ", then electronic equipment parsing voice messaging it
Afterwards, so that it may by calling alarm clock APP, alarm clock is set as 7:00.
Step 414, at least one application program to be operated is obtained from pool of applications, and according to the to be operated of acquisition
Application program generates pool of applications to be operated, and application program to be operated is that the user of input voice information is allowed to pass through voice
The application program operated.
In one embodiment, if user has voice operating permission, further user can also be classified, no
It is different with the operable application program of user.For example, the owner of mobile phone has highest authority, can operate in pool of applications
All application programs.The lineal relative of owner has larger permission, can operate most application program.Owner its
His relatives and friends have smaller permission, can operate the application program of sub-fraction.Rights management, Ke Yibao are carried out in this way
Demonstrate,prove the safety of electronic equipment.
Step 416, if destination application is the application program of pool of applications to be operated, control targe application journey
Sequence carries out corresponding operation according to phonetic order.
Specifically, after getting destination application, it can be obtained from pool of applications and at least one wait grasping
Make application program, pool of applications to be operated is then generated according to application program to be operated.Wherein, application program to be operated is
The application program for allowing the user of input voice information to be operated by voice.For example, identification inputs the use of the voice messaging
Family is owner, then application program to be operated can be with for application program whole in pool of applications.If identification input should
The non-owner of user of voice messaging, then application program to be operated can be with for the certain applications program in pool of applications.
Destination application is compared with the application program in pool of applications to be operated, if according to phonetic order
The destination application of acquisition is the application program in pool of applications to be operated, illustrates that the user has to intended application journey
Sequence carries out the permission of voice operating, then can carry out corresponding operation according to phonetic order with control targe application program.Otherwise, it says
The bright user does not carry out the destination application permission of voice operating, then user can be forbidden to destination application
Operation, and prompt user there is no operating right on the interface of electronic equipment.
In one embodiment, the method for obtaining pool of applications can specifically include:
Step 502, detect whether electronic equipment is in charged state according to electricity data.
It, then can be according to electronic equipment to avoid the power consumption of electronic equipment excessively high in embodiment provided by the present application
Charge condition obtain different pool of applications.The charge condition of electronic equipment is detected there are many mode, for example, can be with
Currently whether judged in charged state according to electronic equipment, can also according to the current residual electricity of electronic equipment come
Judged.When electronic equipment is in charged state or current residual electricity is higher than some value, illustrate that electronic equipment has enough
Electricity.Specifically, when electronic equipment there are enough electricity, the more application program of voice control can be passed through;When electronics is set
When standby not enough power supply, the lower application program of voice control power consumption can only be passed through.
Specifically, for electronic equipment when charging beginning, battery manager can pass through the charging details of broadcast transmission battery.When
When the charged state of electronic equipment changes, battery manager equally can be detailed by broadcasting charging to send battery apparatus
Feelings.When needing whether to detect electronic equipment in charged state, directly invokes radio receiver and can be carried out detecting.Example
Such as, in android system, broadcast can be sent by BatteryManager (battery manager), passes through calling
RegisterReceiver (radio receiver) is it may determine that whether electronic equipment is in charged state.
Step 504, if so, obtaining corresponding first pool of applications of speech interaction mode.
Step 506, if it is not, then obtaining corresponding second pool of applications of speech interaction mode.
Specifically, it detects whether electronic equipment is in charged state according to electricity data, obtains voice according to testing result
The pool of applications of interactive mode.If electronic equipment is in charged state, it is believed that the electricity of electronic equipment is sufficient, then can obtain
Take corresponding first pool of applications of speech interaction mode;If electronic equipment is not in charged state, it is believed that electronic equipment
Not enough power supply can then obtain corresponding second pool of applications of speech interaction mode.
Wherein, the relationship of the first pool of applications and the second pool of applications can be:First pool of applications
It is answered for the subset of the second pool of applications or subset that the second pool of applications is the first pool of applications or first
It is equal with the second pool of applications with collection of programs, it does not limit specifically in the present embodiment.First pool of applications and
What two pool of applications can be made of the application program of different application type respectively.For example, the first pool of applications can
With the pool of applications being made of game class, video class, instant messaging class application program, the second pool of applications can be with
The reference set being made of tool-class, social class application program.First pool of applications and the second pool of applications can
With what is be made of respectively the application program of different application priority.For example, can the application program of electronic equipment be divided into five
Using priority, the pool of applications that the first pool of applications can be made of 1-3 level applications, second applies journey
The pool of applications that ordered sets can be made of 4-5 level applications.
Application program will produce power consumption in the process of running in electronic equipment, and electronic equipment can be by the consumption of each application program
Electricity is counted, and the run time for being normally applied program is longer, and resources occupation rate is higher, and power consumption is higher.For example,
In android system, there are one the Service (service) dedicated for statistics electricity in framework (frame) layer:
BatteryStatsSerive.The BatteryStatsSerive services can be created in ActivityManagerService
It builds, ActivityManagerService can be stored in system directory to the modules data in electronic equipment
In batterystats.bin files, electricity data is then analyzed by data-analyzing machine BatteryStatsImpl, to
Realize the statistics to power consumption.
In one embodiment, the second pool of applications is the subset of the first pool of applications, and electronic equipment can be with
The history power consumption of application program in first pool of applications is counted, and is gone through according in the first pool of applications
History power consumption generates the second pool of applications less than the application program of power consumption threshold value.Specifically, history power consumption refers to application
The electricity that program is consumed during history run can be indicated by the form of percentage, then in electronic equipment
The history power consumption of all application programs sums to 100%.It is understood that electronic equipment is counting each using journey
When the power consumption of sequence, the history power consumption of each application program and application identities can be established correspondence, according to application identities
The corresponding history power consumption of application program can be obtained.
In embodiment provided by the present application, the method for obtaining pool of applications can also include specifically:
Step 602, the current residual electricity of electronic equipment is determined according to electricity data.
Electronic equipment can also judge whether electricity is sufficient by the current residual electricity of electronic equipment.In general,
When current residual electricity is more than some value, it is believed that the electricity of electronic equipment is sufficient;Current residual electricity is less than some value, it is believed that
The not enough power supply of electronic equipment.Then pool of applications is obtained according to the current residual electricity of electronic equipment.It is appreciated that
, electronic equipment can directly acquire current residual electricity after opening speech interaction mode, then according to current surplus
Remaining electricity obtains pool of applications.Can also be after opening speech interaction mode, whether detection electronic equipment is in
Charged state, if it is not, then obtaining pool of applications according to the current residual electricity of electronic equipment.
Step 604, when the current residual electricity is greater than or equal to power threshold, speech interaction mode corresponding the is obtained
Three pool of applications.
Step 606, when the current residual electricity is less than power threshold, corresponding 4th application of speech interaction mode is obtained
Collection of programs.
In one embodiment, the current residual electricity for obtaining electronic equipment obtains voice according to current residual electricity and hands over
The pool of applications of mutual pattern.When current residual electricity is greater than or equal to power threshold, speech interaction mode pair can be obtained
The third pool of applications answered;When current residual electricity is less than power threshold, speech interaction mode corresponding the can be obtained
Four pool of applications.Usually, third pool of applications is that electronic equipment is pre-set, the 4th pool of applications
It can pre-set, can also be according to current residual electricity dynamic generation.
Third pool of applications and the relationship of the 4th pool of applications can be:Third pool of applications is the 4th
The subset of pool of applications or subset or third application program that the 4th pool of applications is third pool of applications
Set is equal with the 4th pool of applications, does not limit specifically in the present embodiment.Third pool of applications and the 4th application
What collection of programs can be made of the application program of different application type respectively.For example, third pool of applications can be by
The pool of applications of game class, video class, instant messaging class application program composition, the 4th pool of applications can be by work
Have class, the reference set of social class application program composition.Third pool of applications and the 4th pool of applications can be distinguished
It is made of the application program of different application priority.For example, it is excellent the application program of electronic equipment to be divided into five applications
First grade, the pool of applications that third pool of applications can be made of 1-3 level applications, the 4th pool of applications
The pool of applications that can be made of 4-5 level applications.
Specifically, electronic equipment can pre-set the correspondence of the power consumption threshold value of current residual electricity, when electronics is set
When standby current residual electricity is less than power threshold, corresponding power consumption threshold value can be obtained according to current residual electricity, then root
Application program according to history power consumption in third pool of applications less than power consumption threshold value generates the 4th pool of applications.Generally
Ground current residual electricity is lower, and corresponding power consumption threshold value is lower.
It is understood that electronic equipment is after opening speech interaction mode, user can exit interactive voice manually
Interactive voice duration can also be arranged in pattern, and speech interaction mode is automatically exited from by interactive voice duration control electronics.
I.e. when the duration that electronic equipment enters speech interaction mode is more than interactive voice duration, electronic equipment exits interactive voice mould
Formula.When electronic equipment automatically exits from speech interaction mode by interactive voice duration, interactive voice duration and electricity can be established
The correspondence of threshold value.Can include before step 604 then:Obtain interactive voice duration, a length of permission of when interactive voice
Electronic equipment is in the duration of speech interaction mode;Corresponding power threshold is obtained according to interactive voice duration.Usually, voice
Interaction duration is longer, and corresponding power threshold is bigger.
In one embodiment, electronic equipment can pre-establish the correspondence of user identifier and application identities, then
Application program to be operated is obtained according to user identifier.The method for then obtaining application program to be operated may include:
Step 702, the target user corresponding to the user of input voice information is obtained according to Application on Voiceprint Recognition result to identify, and
It obtains target user and identifies corresponding intended application mark.
Electronic equipment can store the speech database of user, and each voice messaging in speech database is established
One user identifier.Electronic equipment carries out Application on Voiceprint Recognition after collecting the voice messaging of user, by the voice messaging of input,
And by the Application on Voiceprint Recognition result of each voice messaging in the Application on Voiceprint Recognition result of the voice messaging of input and speech database
It is matched, and obtains the user identifier corresponding to the voice messaging matched in speech database, identified as target user.
The correspondence that user identifier and application identities can be pre-established obtains target user further according to the correspondence and identifies correspondence
Intended application mark.
In one embodiment, it can be obtained to be operated according to the application level of the application program in pool of applications
Application program.Specifically, application level indicates the significance level of application program, can be in advance by the application in pool of applications
Procedure division is at least two application levels, and then establishes the correspondence of user identifier and application level.Get target
After user identifier, it can be identified according to target user and obtain corresponding intended application grade, then obtain intended application grade
Corresponding application identities are identified as intended application.
In embodiment provided by the present application, can also according to the application type of the application program in pool of applications,
Obtain application program to be operated.Specifically, can the application program in pool of applications at least two be divided into advance to answer
With type, and then establish the correspondence of user identifier and application type.It, can basis after getting target user's mark
Target user, which identifies, obtains corresponding intended application type, then obtains the corresponding application identities of intended application type as target
Application identities.For example, when the user of input voice information is children, the user can be forbidden to be answered by voice control game class
Use program.
Step 704, intended application is obtained from pool of applications and identify corresponding application program, as application to be operated
Program.
The method of speech processing that above-described embodiment provides, electronic equipment can carry out pattern switching, be opened in electronic equipment
In the case of speech interaction mode, the electricity data of electronic equipment can be obtained, speech interaction mode is obtained according to electricity data
Corresponding pool of applications.Then after determining that user has voice operating permission according to the voice messaging of acquisition, then from application
The destination application for executing the phonetic order is obtained in collection of programs, and control targe application program is according to phonetic order
Carry out corresponding operation.In this way when needing to interact control by voice, electronic equipment can be switched to by user
Under speech interaction mode, then application program is controlled by inputting phonetic order, improves the operation effect of electronic equipment
Rate.And the operating right of user is identified according to the voice messaging of user, improve the safety of electronic device.
It should be understood that although each step in the flow chart of Fig. 2 to Fig. 6 is shown successively according to the instruction of arrow,
But these steps are not the inevitable sequence indicated according to arrow to be executed successively.Unless expressly state otherwise herein, these
There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, in Fig. 2 to Fig. 6
At least part step may include that either these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily
Be carry out successively, but can with other steps either the sub-step of other steps or at least part in stage in turn or
Alternately execute.
Fig. 8 is the structure diagram of the voice processing apparatus of one embodiment.As shown in figure 8, the voice processing apparatus 800 wraps
Include electricity acquisition module 802, using acquisition module 804, instruction acquisition module 806 and application operating module 808.Wherein:
Electricity acquisition module 802, in the case where electronic equipment opens speech interaction mode, obtaining the electronics and setting
Standby electricity data.
Using acquisition module 804, for being obtained according to the electricity data, the speech interaction mode is corresponding to apply journey
Ordered sets, the pool of applications include one or more application program.
Instruction acquisition module 806 for obtaining phonetic order, and is obtained from the pool of applications for executing
State the destination application of phonetic order.
Application operating module 808 carries out corresponding behaviour for controlling the destination application according to the phonetic order
Make.
The voice processing apparatus that above-described embodiment provides, electronic equipment can carry out pattern switching, be opened in electronic equipment
In the case of speech interaction mode, the electricity data of electronic equipment can be obtained, and interactive voice mould is obtained according to electricity data
The corresponding pool of applications of formula.Then it is obtained from pool of applications for executing the voice according to the phonetic order of acquisition
The destination application of instruction, then control targe application program is according to the corresponding operation of phonetic order progress.It is needing in this way
When interacting control by voice, electronic equipment can be switched under speech interaction mode by user, then by defeated
Enter phonetic order to control application program, improves the operating efficiency of electronic equipment.
Fig. 9 is the structure diagram of the voice processing apparatus of another embodiment.As shown in figure 9, the voice processing apparatus 900
Including pattern opening module 902, electricity acquisition module 904, using acquisition module 906, instruction acquisition module 908 and application operating
Module 910.Wherein:
Pattern opening module 902 is used for reception pattern open command, and electronic equipment is opened according to the pattern open command
Speech interaction mode.
Electricity acquisition module 904, in the case where electronic equipment opens speech interaction mode, obtaining the electronics and setting
Standby electricity data.
Using acquisition module 906, for being obtained according to the electricity data, the speech interaction mode is corresponding to apply journey
Ordered sets, the pool of applications include one or more application program.
Instruction acquisition module 908 for obtaining phonetic order, and is obtained from the pool of applications for executing
State the destination application of phonetic order.
Application operating module 910 carries out corresponding behaviour for controlling the destination application according to the phonetic order
Make.
The voice processing apparatus that above-described embodiment provides, electronic equipment can carry out pattern switching, be opened in electronic equipment
In the case of speech interaction mode, the electricity data of electronic equipment can be obtained, and interactive voice mould is obtained according to electricity data
The corresponding pool of applications of formula.Then it is obtained from pool of applications for executing the voice according to the phonetic order of acquisition
The destination application of instruction, then control targe application program is according to the corresponding operation of phonetic order progress.It is needing in this way
When interacting control by voice, electronic equipment can be switched under speech interaction mode by user, then by defeated
Enter phonetic order to control application program, improves the operating efficiency of electronic equipment.
In one embodiment, it is additionally operable to detect the electronic equipment according to the electricity data using acquisition module 906
Whether charged state is in;If so, obtaining corresponding first pool of applications of the speech interaction mode;If it is not, then obtaining
Take corresponding second pool of applications of the speech interaction mode.
In one embodiment, it is additionally operable to determine the electronic equipment according to the electricity data using acquisition module 906
Current residual electricity;When the current residual electricity is greater than or equal to power threshold, the speech interaction mode pair is obtained
The third pool of applications answered;When the current residual electricity is less than power threshold, the speech interaction mode pair is obtained
The 4th pool of applications answered.
In one embodiment, instruction acquisition module 908 is additionally operable to receive voice messaging input by user, and to institute's predicate
Message breath carries out Application on Voiceprint Recognition;When according to Application on Voiceprint Recognition result determine the user have voice operating permission, then according to described in
Voice messaging generates phonetic order, and the voice operating permission refers to that user is allowed to be operated to application program by voice
Permission.
In one embodiment, application operating module 910 is additionally operable to obtain from the pool of applications at least one
Application program to be operated, and pool of applications to be operated is generated according to the application program to be operated of acquisition, it is described to be operated to answer
It is the application program for allowing the user for inputting the voice messaging to be operated by voice with program;If the intended application journey
Sequence be the pool of applications to be operated application program, then control the destination application according to the phonetic order into
The corresponding operation of row.
In one embodiment, application operating module 910 is additionally operable to pre-establish user identifier corresponding with application identities
Relationship;Target user's mark corresponding to the user for inputting the voice messaging is obtained according to the Application on Voiceprint Recognition result, and is obtained
The target user is taken to identify corresponding intended application mark;The intended application mark is obtained from the pool of applications
Corresponding application program, as application program to be operated.
The division of modules is only used for for example, in other embodiments in above-mentioned voice processing apparatus, can be by language
Sound processor is divided into different modules as required, to complete all or part of function of above-mentioned voice processing apparatus.
Realizing for modules in the voice processing apparatus provided in the embodiment of the present application can be the shape of computer program
Formula.The computer program can be run in terminal or server.The program module that the computer program is constituted is storable in terminal
Or on the memory of server.When the computer program is executed by processor, method described in the embodiment of the present application is realized
Step.
The embodiment of the present application also provides a kind of computer readable storage mediums.One or more is executable comprising computer
The non-volatile computer readable storage medium storing program for executing of instruction, when the computer executable instructions are executed by one or more processors
When so that the processor executes the step of method of speech processing of above-described embodiment offer.
A kind of computer program product including instruction, when run on a computer so that computer executes above-mentioned
The step of method of speech processing that embodiment provides.
The embodiment of the present application also provides a kind of electronic equipment.As shown in Figure 10, for convenience of description, it illustrates only and this
Apply for that the relevant part of embodiment, particular technique details are not disclosed, please refers to the embodiment of the present application method part.The electronics is set
Include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS for that can be
The arbitrary terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using electronic equipment as mobile phone
For:
Figure 10 is the block diagram with the part-structure of the relevant mobile phone of electronic equipment provided by the embodiments of the present application.Reference chart
10, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display unit
1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processor
The components such as 1080 and power supply 1090.It will be understood by those skilled in the art that handset structure shown in Fig. 10 does not constitute opponent
The restriction of machine may include either combining certain components or different components arrangement than illustrating more or fewer components.
Wherein, RF circuits 1010 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station
After downlink information receives, handled to processor 1080;The data of uplink can also be sent to base station.In general, RF circuits include
But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier,
LNA), duplexer etc..In addition, RF circuits 1010 can also be communicated with network and other equipment by radio communication.It is above-mentioned wireless
Communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of
Mobile communication, GSM), general packet radio service (General Packet Radio Service,
GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code
Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email,
Short message service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation
1020 software program and module, to execute various function application and the data processing of mobile phone.Memory 1020 can be led
To include program storage area and data storage area, wherein program storage area can storage program area, needed at least one function
Application program (such as the application program of sound-playing function, application program of image player function etc.) etc.;It data storage area can
Storage uses created data (such as audio data, address list etc.) etc. according to mobile phone.In addition, memory 1020 can wrap
High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories
Part or other volatile solid-state parts.
Input unit 1030 can be used for receiving the number or character information of input, and generates and set with the user of mobile phone 1000
It sets and the related key signals of function control inputs.Specifically, input unit 1030 may include touch panel 1031 and other
Input equipment 1032.Touch panel 1031, alternatively referred to as touch screen collect user on it or neighbouring touch operation (are compared
Such as user is using finger, stylus any suitable object or attachment on touch panel 1031 or near touch panel 1031
Operation), and corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 1031 can
Including both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and examine
The signal that touch operation is brought is surveyed, touch controller is transmitted a signal to;Touch controller is received from touch detecting apparatus to be touched
Information is touched, and is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and added
To execute.Furthermore, it is possible to realize touch panel using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
1031.In addition to touch panel 1031, input unit 1030 can also include other input equipments 1032.Specifically, other are inputted
Equipment 1032 can include but is not limited to one in physical keyboard, function key (such as volume control button, switch key etc.) etc.
Kind is a variety of.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each
Kind menu.Display unit 1040 may include display panel 1041.In one embodiment, liquid crystal display may be used
(Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode,
) etc. OLED forms configure display panel 1041.In one embodiment, touch panel 1031 can cover display panel 1041,
When touch panel 1031 detects on it or after neighbouring touch operation, processor 1080 is sent to determine touch event
Type is followed by subsequent processing device 1080 and provides corresponding visual output on display panel 1041 according to the type of touch event.Although
In Fig. 10, touch panel 1031 and display panel 1041 are to realize the input and input of mobile phone as two independent components
Function, but in some embodiments it is possible to touch panel 1031 and display panel 1041 are integrated and are realized the input of mobile phone
And output function.
Mobile phone 1000 may also include at least one sensor 1050, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1041, and proximity sensor can close display when mobile phone is moved in one's ear
Panel 1041 and/or backlight.Motion sensor may include acceleration transducer, can detect all directions by acceleration transducer
The size of upper acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as horizontal
Vertical screen switches), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer,
Other sensors such as hygrometer, thermometer, infrared sensor etc..
Voicefrequency circuit 1060, loud speaker 1061 and microphone 1062 can provide the audio interface between user and mobile phone.Sound
The transformed electric signal of the audio data received can be transferred to loud speaker 1061 by frequency circuit 1060, by 1061 turns of loud speaker
It is changed to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit
Audio data is converted to after 1060 receptions, then by after the processing of audio data output processor 1080, can be sent out through RF circuits 1010
Another mobile phone is given, or audio data is exported to memory 1020 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 10 is shown
WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone 1000, it can save as needed
Slightly.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone,
By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020
Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment,
Processor 1080 may include one or more processing units.In one embodiment, processor 1080 can integrate application processor
And modem processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulatedemodulate
Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 1080.
Mobile phone 1000 further includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system and processor 1080 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.
In one embodiment, mobile phone 1000 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 1080 included by the electronic equipment executes the calculating of storage on a memory
The step of method of speech processing that above-described embodiment provides is realized when machine program.
Used in this application may include to any reference of memory, storage, database or other media is non-volatile
And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled
Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory
(RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM
(SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM
(ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight
Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
Cannot the limitation to the application the scope of the claims therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the guarantor of the application
Protect range.Therefore, the protection domain of the application patent should be determined by the appended claims.
Claims (10)
1. a kind of method of speech processing, which is characterized in that including:
In the case where electronic equipment opens speech interaction mode, the electricity data of the electronic equipment is obtained;
The corresponding pool of applications of the speech interaction mode is obtained according to the electricity data, in the pool of applications
Including one or more application program;
Phonetic order is obtained, and obtains the intended application journey for executing the phonetic order from the pool of applications
Sequence;
It controls the destination application and corresponding operation is carried out according to the phonetic order.
2. according to the method described in claim 1, it is characterized in that, described the case where electronic equipment opens speech interaction mode
Under, before the electricity data for obtaining the electronic equipment, the method further includes:
Reception pattern open command opens the speech interaction mode of electronic equipment according to the pattern open command.
3. according to the method described in claim 1, it is characterized in that, described obtain the interactive voice according to the electricity data
The corresponding pool of applications of pattern, including:
Detect whether the electronic equipment is in charged state according to the electricity data;
If so, obtaining corresponding first pool of applications of the speech interaction mode;
If it is not, then obtaining corresponding second pool of applications of the speech interaction mode.
4. according to the method described in claim 1, it is characterized in that, described obtain the interactive voice according to the electricity data
The corresponding pool of applications of pattern, including:
The current residual electricity of the electronic equipment is determined according to the electricity data;
When the current residual electricity is greater than or equal to power threshold, the corresponding third application of the speech interaction mode is obtained
Collection of programs;
When the current residual electricity is less than power threshold, the corresponding 4th application program collection of the speech interaction mode is obtained
It closes.
5. method according to claim 1 to 4, which is characterized in that the acquisition phonetic order, including:
Voice messaging input by user is received, and Application on Voiceprint Recognition is carried out to the voice messaging;
When determining that the user has voice operating permission according to Application on Voiceprint Recognition result, then voice is generated according to the voice messaging
Instruction, the voice operating permission refer to the permission for allowing user to be operated to application program by voice.
6. according to the method described in claim 5, it is characterized in that, the control destination application is according to the voice
Instruction carries out corresponding operation, including:
At least one application program to be operated is obtained from the pool of applications, and according to the application program to be operated of acquisition
Pool of applications to be operated is generated, the application program to be operated is that the user for inputting the voice messaging is allowed to pass through voice
The application program operated;
If the destination application is the application program of the pool of applications to be operated, the intended application journey is controlled
Sequence carries out corresponding operation according to the phonetic order.
7. according to the method described in claim 6, it is characterized in that, it is described obtained from the pool of applications it is at least one
Application program to be operated, including:
According to the Application on Voiceprint Recognition as a result, obtaining the target user's mark for the user for inputting the voice messaging, and described in acquisition
Target user identifies corresponding intended application mark;
The intended application is obtained from the pool of applications and identifies corresponding application program, as the application to be operated
Program.
8. a kind of voice processing apparatus, which is characterized in that including:
Electricity acquisition module, in the case where electronic equipment opens speech interaction mode, obtaining the electricity of the electronic equipment
Measure data;
Using acquisition module, for obtaining the corresponding pool of applications of the speech interaction mode according to the electricity data,
The pool of applications includes one or more application program;
Instruction acquisition module for obtaining phonetic order, and is obtained from the pool of applications for executing the voice
The destination application of instruction;
Application operating module carries out corresponding operation for controlling the destination application according to the phonetic order.
9. a kind of electronic equipment, including memory and processor, computer program, the computer are stored in the memory
When program is executed by the processor so that the processor executes the step of the method as described in any one of claim 1 to 7
Suddenly.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method as described in any one of claim 1 to 7 is realized when being executed by processor.
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 true CN108320744A (en) | 2018-07-24 |
CN108320744B 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) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN110875940A (en) * | 2018-08-31 | 2020-03-10 | 比亚迪股份有限公司 | Application program calling method, device and equipment based on virtual robot |
CN111026355A (en) * | 2019-12-09 | 2020-04-17 | 珠海市魅族科技有限公司 | Information interaction method and device, computer equipment and computer readable storage medium |
CN111078019A (en) * | 2020-01-03 | 2020-04-28 | 北京边缘创新技术有限公司 | Method for opening application program through wireless signal, accessory device and vehicle-mounted device |
CN111192578A (en) * | 2019-12-28 | 2020-05-22 | 惠州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 |
CN111986670A (en) * | 2020-08-25 | 2020-11-24 | Oppo广东移动通信有限公司 | Voice control method, device, electronic equipment and computer readable storage medium |
CN112102823A (en) * | 2020-07-21 | 2020-12-18 | 深圳市创维软件有限公司 | Voice interaction method of intelligent terminal, intelligent terminal and storage medium |
CN112742024A (en) * | 2020-08-20 | 2021-05-04 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, equipment and storage medium |
CN113127826A (en) * | 2021-04-27 | 2021-07-16 | 富途网络科技(深圳)有限公司 | 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 (5)
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 |
US20170236510A1 (en) * | 2016-02-17 | 2017-08-17 | Honda Motor Co., Ltd. | Voice processing device |
-
2018
- 2018-02-07 CN CN201810125069.5A patent/CN108320744B/en active Active
Patent Citations (5)
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 |
US20170236510A1 (en) * | 2016-02-17 | 2017-08-17 | Honda Motor Co., Ltd. | Voice processing device |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110875940A (en) * | 2018-08-31 | 2020-03-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 |
CN111192578A (en) * | 2019-12-28 | 2020-05-22 | 惠州Tcl移动通信有限公司 | Application control method and device, storage medium and electronic equipment |
CN111192578B (en) * | 2019-12-28 | 2023-04-07 | 惠州Tcl移动通信有限公司 | Application control method and device, storage medium and electronic equipment |
CN111078019A (en) * | 2020-01-03 | 2020-04-28 | 北京边缘创新技术有限公司 | Method for opening application program through wireless signal, accessory device and vehicle-mounted device |
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 |
CN112742024A (en) * | 2020-08-20 | 2021-05-04 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, equipment 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 |
CN113127826A (en) * | 2021-04-27 | 2021-07-16 | 富途网络科技(深圳)有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN108320744B (en) | 2020-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108320744A (en) | Method of speech processing and device, electronic equipment, computer readable storage medium | |
CN112397062B (en) | Voice interaction method, device, terminal and storage medium | |
CN107809542B (en) | Application program control method and device, storage medium and electronic equipment | |
CN104978868B (en) | arrival reminding method and device | |
CN107483973A (en) | In the method and apparatus of direct broadcasting room execution activity | |
CN106375774B (en) | Method, device and system for controlling display content of live broadcast room | |
CN111050370A (en) | Network switching method and device, storage medium and electronic equipment | |
CN104581221A (en) | Video live broadcasting method and device | |
CN108462697A (en) | Data processing method and device, electronic equipment, computer readable storage medium | |
CN108712566A (en) | A kind of voice assistant awakening method and mobile terminal | |
CN105100197B (en) | The method and device of application is installed | |
CN109451140A (en) | Social message method for pushing, device, computer storage medium and terminal | |
CN108234282A (en) | A kind of feedback information processing method and car-mounted terminal based on social tool | |
CN106973168A (en) | Speech playing method, device and computer equipment | |
CN108471632A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN109992965A (en) | Process handling method and device, electronic equipment, computer readable storage medium | |
CN103744574A (en) | Method and device for turning off alarm clock of mobile terminal and mobile terminal | |
CN109669662A (en) | A kind of pronunciation inputting method, device, storage medium and mobile terminal | |
CN110032321A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN105049591A (en) | Method and device for processing incoming call | |
CN106576123A (en) | A method, an apparatus and an electronic device for controlling an electronic device | |
CN107426439A (en) | Screen starts method, device and mobile terminal | |
CN107715449A (en) | A kind of account login method and relevant device | |
CN111405043B (en) | Information processing method and device and electronic equipment | |
CN108549681A (en) | Data processing method and device, electronic equipment, 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 |
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |