CN109918040A - Phonetic order distribution method and device, electronic equipment and computer-readable medium - Google Patents

Phonetic order distribution method and device, electronic equipment and computer-readable medium Download PDF

Info

Publication number
CN109918040A
CN109918040A CN201910198764.9A CN201910198764A CN109918040A CN 109918040 A CN109918040 A CN 109918040A CN 201910198764 A CN201910198764 A CN 201910198764A CN 109918040 A CN109918040 A CN 109918040A
Authority
CN
China
Prior art keywords
application program
phonetic order
service type
service
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910198764.9A
Other languages
Chinese (zh)
Other versions
CN109918040B (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.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910198764.9A priority Critical patent/CN109918040B/en
Publication of CN109918040A publication Critical patent/CN109918040A/en
Application granted granted Critical
Publication of CN109918040B publication Critical patent/CN109918040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present application discloses phonetic order distribution method, device, electronic equipment and computer-readable medium.One specific embodiment of this method includes: to determine that the indicated voice service executed of phonetic order operates corresponding destination service classification in response to receiving phonetic order;According to destination service classification and the pre-registered service type attribute of candidate application program, the application program for executing phonetic order is determined from candidate application program;Phonetic order is issued to the application program for executing phonetic order.The embodiment realizes more flexible phonetic order distribution.

Description

Phonetic order distribution method and device, electronic equipment and computer-readable medium
Technical field
The invention relates to field of computer technology, and in particular to voice technology field more particularly to phonetic order Distribution method and device, electronic equipment and computer-readable medium.
Background technique
With popularizing for speech recognition technology applications in various fields, pass through the control that intelligent vehicle-carried voice assistant realizes vehicle It makes more and more common.Intelligent vehicle-carried assistant realizes its function by intelligent electronic device, can install on the intelligent electronic device There are various voice service class applications, such as multimedia application, navigation application, ticket booking application etc..
After user issues phonetic order, vehicle-mounted voice assistant needs the user instruction that will identify that be distributed to corresponding application Program.Current instruction distribution technology is vehicle-mounted voice assistant according to fixed tables of data, between instruction name and application program Do simple mapping.Vehicle-mounted voice assistant is read by the tables of data and instructs corresponding application name, and instruction is issued this Application program.
Summary of the invention
The embodiment of the present application proposes phonetic order distribution method, device, electronic equipment and computer-readable medium.
In a first aspect, embodiment of the disclosure provides a kind of phonetic order distribution method, comprising: in response to receiving language Sound instruction determines that the indicated voice service executed of phonetic order operates corresponding destination service classification;According to destination service class The other and candidate pre-registered service type attribute of application program is determined to execute phonetic order from candidate application program Application program;Phonetic order is issued to the application program for executing phonetic order.
In some embodiments, above-mentioned according to destination service classification and the candidate pre-registered service type of application program Attribute determines the application program for executing phonetic order, comprising: determine from candidate application program from candidate application program The target candidate application program that pre-registered service type attribute and destination service classification match;In response to the mesh determined The quantity for marking candidate application program is greater than 1, refers to currently execution voice is determined as in the target candidate application program of front stage operation The application program of order.
In some embodiments, above-mentioned according to destination service classification and the candidate pre-registered service type of application program Attribute determines the application program for executing phonetic order from candidate application program, further includes: waits in response to the target determined It selects the quantity of application program greater than 1 and each target candidate application program is currently all in running background, determine registration service classification category Property time gap current time nearest target candidate application program, as the application program for executing phonetic order.
In some embodiments, the above method further include: in response to detecting the service type attribute of registrer application The first solicited message, the service type attribute logging of the application program of the first solicited message will be issued to service type registration table In.
In some embodiments, the above method further include: the service type attribute of application program is nullified in response to detecting The second solicited message, the service type attribute of application program for issuing the second solicited message is deleted from service type registration table It removes.
Second aspect, embodiment of the disclosure provide a kind of phonetic order diostribution device, comprising: the first determination unit, It is configured to respond to receive phonetic order, determines that the indicated voice service executed of phonetic order operates corresponding target clothes Business classification;Second determination unit is configured according to destination service classification and the pre-registered service type of candidate application program Attribute determines the application program for executing phonetic order from candidate application program;Dispatching Unit, being configured will be under phonetic order It is sent to the application program for executing phonetic order.
In some embodiments, above-mentioned second determination unit is configured to according to destination service classification and candidate The pre-registered service type attribute of application program is determined to execute phonetic order as follows from candidate application program Application program: determine pre-registered service type attribute from candidate application program and destination service classification match Target candidate application program;It is greater than 1 in response to the quantity for the target candidate application program determined, it will be currently in front stage operation Target candidate application program is determined as executing the application program of phonetic order.
In some embodiments, above-mentioned second determination unit is additionally configured to as follows from candidate application program It determines the application program of execution phonetic order: being greater than 1 and each mesh in response to the quantity for the target candidate application program determined Candidate application program is marked currently all in running background, determines the time gap current time of registration service category attribute nearest mesh Candidate application program is marked, as the application program for executing phonetic order.
In some embodiments, above-mentioned apparatus further include: registering unit is configured to respond to detect registration using journey First solicited message of the service type attribute of sequence will issue the service type attribute logging of the application program of the first solicited message Into service type registration table.
In some embodiments, above-mentioned apparatus further include: nullify unit, be configured to respond to detect cancellation using journey Second solicited message of the service type attribute of sequence will issue the service type attribute of the application program of the second solicited message from clothes It is deleted in business Category Accreditations table.
The third aspect, embodiment of the disclosure provide a kind of electronic equipment, comprising: one or more processors;Storage Device, for storing one or more programs, when one or more programs are executed by one or more processors so that one or Multiple processors realize the phonetic order distribution method provided such as first aspect.
Fourth aspect, embodiment of the disclosure provide a kind of computer-readable medium, are stored thereon with computer program, Wherein, the phonetic order distribution method that first aspect provides is realized when program is executed by processor.
The phonetic order distribution method and device of above-described embodiment of the disclosure, electronic equipment and computer-readable medium, By determining that the indicated voice service executed of phonetic order operates corresponding destination service class in response to receiving phonetic order Not, then according to destination service classification and the pre-registered service type attribute of candidate application program, from candidate application program In determine to execute the application program of phonetic order, then phonetic order is issued to the application program for executing phonetic order, it is real More flexible phonetic order distribution is showed, has supported more application program access voice services, more answered so as to call Voice service is provided with program.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the embodiment of the present application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the phonetic order distribution method of the application;
Fig. 3 is the flow chart according to another embodiment of the phonetic order distribution method of the application;
Fig. 4 is the flow chart according to another embodiment of the phonetic order distribution method of the application;
Fig. 5 is the structural schematic diagram of one embodiment of the phonetic order diostribution device of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the phonetic order distribution method of the application or the exemplary system of phonetic order diostribution device System framework.
As shown in Figure 1, may include interactive voice equipment 101,102, network 103 and server in system architecture 100 104.Network 103 between interactive voice equipment 101,102 and server 104 to provide the medium of communication link.Network can To include various connection types, such as wired, wireless communication link or fiber optic cables etc..
Interactive voice equipment 101,102 can be the electronic equipment with voice service function.Interactive voice equipment 101, 102 can be equipped with the sensors such as the microphone for capturing audio signal, be also provided with the loudspeaking for output audio signal The output devices such as device.Interactive voice equipment 101,102 can be for example vehicle intelligent terminal, intelligent sound box, smart television, intelligent hand Machine, tablet computer, etc..
The various application programs for supporting interactive voice can be installed, such as navigation is answered in interactive voice equipment 101,102 With music application etc..User 110 can issue phonetic order, interactive voice equipment to interactive voice equipment 101,102 101,102 phonetic order can be distributed to corresponding application program, application program can carry out the phonetic order got The processing such as parsing, and corresponding operation is executed according to parsing result.
Server 104, which can be, provides the server of background service for interactive voice equipment 101,102, for example, can be for Application program in interactive voice equipment 101,102 provides the server of voice service.Server 104 can receive interactive voice The voice signal that equipment 101,102 is sent, is decoded voice signal, identifies the intention of user, looked into according to recognition result It looks for data and feeds back to interactive voice equipment 101,102.Interactive voice equipment 101,102 can receive server 104 and find Data and output.
It should be noted that server 104 can be hardware, it is also possible to software.It, can when server 104 is hardware To be implemented as the distributed server cluster that multiple servers form, individual server also may be implemented into.When server 104 is When software, multiple softwares or software module may be implemented into (such as providing multiple softwares of Distributed Services or software mould Block), single software or software module also may be implemented into.It is not specifically limited herein.
It should be noted that phonetic order distribution method provided by embodiment of the disclosure can be by interactive voice equipment 101, it 102 executes, correspondingly, phonetic order diostribution device can be set in interactive voice equipment 101,102.In some scenes In, phonetic order distribution method can also be executed by server 104, correspondingly, phonetic order diostribution device also can be set in In interactive voice equipment 101,102.
It should be understood that the number of interactive voice equipment, network and server in Fig. 1 is only schematical.According to reality It now needs, can have any number of interactive voice equipment, network and server.
With continued reference to Fig. 2, it illustrates the processes according to one embodiment of the phonetic order distribution method of the application 200.The phonetic order distribution method, comprising the following steps:
Step 201, in response to receiving phonetic order, determine that the indicated voice service operation executed of phonetic order corresponds to Destination service classification.
In the present embodiment, (such as interactive voice shown in FIG. 1 is set the executing subject of above-mentioned phonetic order distribution method It is standby) phonetic order that can monitor user can be to execution indicated by phonetic order in the phonetic order for receiving user The service type of voice service operation is identified.
Specifically, phonetic order can be converted to corresponding text instruction, extracted after being segmented to text instruction Wherein keyword relevant to the voice service of indicated execution operation out, determines phonetic order pair according to the classification of keyword The destination service classification answered.
In practice, user can issue the phonetic order that instruction executes specific operation, such as user issues and " plays sound The phonetic order of pleasure ", phonetic order instruction execute specific music operation;User issues " World Park is gone in navigation ", Phonetic order instruction goes to the navigation operation of specific destination.It can be according to the solution to the corresponding text instruction of phonetic order It analyses and determines the indicated voice service operation executed of phonetic order.
An at least service type can be preset, each service type corresponds to different voice service operations.For example, Voice service can be operated to corresponding service type and be divided into following five classifications: navigation type, music class, software control class, Hardware controls class, general operation class.Wherein, software control class may be, for example, to open or close the corresponding class of operation of device screen Not, hardware controls class can be, for example, open skylight the corresponding classification of operation, general operation class can for example, " cancellation ", " determination ", " next " etc. are suitable for the corresponding classification of operation of various application programs or hardware.
Above-mentioned executing subject can classify its available voice service operation according to above-mentioned service type, determine Available voice service operates corresponding service type.For example, by service corresponding with the operation that geographical location is searched of navigating Classification is determined as navigation type, and music searching and the corresponding service type of play operation are determined as music class, etc..To voice Instruction is identified after obtaining text instruction, can be according to the behaviour for the voice operating for characterizing execution indicated by it in text instruction The keyword (such as " broadcasting ", " navigation ", " exiting " etc.) that makes a check mark finds the corresponding service type of operation as destination service Classification.
Step 202, according to destination service classification and the pre-registered service type attribute of candidate application program, from candidate The application program of execution phonetic order is determined in application program.
Above-mentioned executing subject can install multiple application programs.Each application program that above-mentioned executing subject is installed can be made For candidate application program, according to the pre-registered service type category of each candidate's application program in the service type registration table prestored Property, determine at least one candidate application program as the application program for executing the phonetic order received.
Herein, the service type registration table prestored may include the mounted application program of above-mentioned executing subject and it can Corresponding relationship between the service type attribute of the voice service operation of execution.The developer of application program can configure it and can hold Capable voice service operation, alternatively, the developer of application program, which can configure executable voice service, operates corresponding service Category attribute.When application program is mounted, above-mentioned executing subject can read configuration information, so that obtaining application program can hold Capable voice service operation or executable voice service operate corresponding service type attribute.It is obtained in above-mentioned executing subject It, can also be according between voice service operation and service type attribute in the scene of the executable voice service operation of application program Default corresponding relationship (such as navigation operates corresponding navigation type), determines the service type attribute of application program, and in local clothes The service type attribute of the application program is registered in business Category Accreditations table.
It should be noted that in embodiment of the disclosure, each pre-registered service type attribute of application program can be with Include at least one service type.Some application programs have a plurality of types of voice service abilities, such as some voice assistants Application program can have the multi abilities such as navigation, inquiry, music, then can be with corresponding multiple service classes registered in advance Not.
In the present embodiment, pre-registered service type attribute can be selected to refer to voice from each candidate application program Enable that the indicated voice service executed operates that corresponding destination service classification is consistent or similar candidate application program is as executing The application program of phonetic order.
Step 203, phonetic order is issued to the application program for executing phonetic order.
After determining the application program for executing phonetic order, phonetic order can be issued to the application program, specifically The application program can will be called to execute phonetic order.The application program for executing phonetic order can carry out the phonetic order Parsing obtains the voice service operation that instruction executes, and executes voice service operation.Such as it is determined by parsing phonetic order The beginning and end of navigation, and route is cooked up, generate navigation data.
The process 200 of the phonetic order distribution method of above-described embodiment, by determining language in response to receiving phonetic order The indicated voice service executed of sound instruction operates corresponding destination service classification, then according to destination service classification and candidate The pre-registered service type attribute of application program determines the application program for executing phonetic order from candidate application program, Then phonetic order is issued to the application program for executing phonetic order, realize more flexible phonetic order distribution.This method More application programs are supported to access voice service by carrying out instruction distribution based on service type, it is more so as to call Application program voice service is provided.
With continued reference to Fig. 3, it illustrates the processes according to another embodiment of the phonetic order distribution method of the application Figure.As shown in figure 3, the process 300 of phonetic order distribution method, may include:
Step 301, in response to detecting the first solicited message of the service type attribute of registrer application, will be issued The service type attribute logging of the application program of one solicited message is into service type registration table.
In the present embodiment, it can detecte the application program being mounted in the executing subject of voice distribution method to initiate Service type attribute logging request, in the first solicited message of service type attribute for detecting registrer application, will The service type attribute logging of the application program of the first solicited message is issued into service type registration table.Wherein, service type Attribute can be the attribute that characterization supports the service type provided, and the service type attribute of application program registration may include at least One service type.For example, the service type attribute of map class application program registration may include navigation type and general operation class.
Above-mentioned executing subject can construct and storage service Category Accreditations table.Service type registration table include application program with Mapping relations between corresponding service type attribute.The developer of application program can support the instruction type of processing by configuring And/or the voice service action type executed is supported to realize the configuration of application program service category attribute.In application program quilt When installation, the first solicited message to above-mentioned executing subject registration service category attribute can be actively initiated.Alternatively, above-mentioned execution The first request that the user of main body can create the service type attribute of registrer application by service type registration interface is believed Breath.
In practice, user can choose mounted application program and carry out service type attribute logging, the application program After getting the operational order of user, its service type attribute can be reported in the instruction distribution module of executing subject. Alternatively, its service type attribute can be reported to automatically and execute master by the application program when user selects installation application program In the instruction distribution module of body.The instruction distribution module of above-mentioned executing subject can be by service type attribute that application program reports It is registered in service type registration table.
Usual phonetic order can only be distributed to a small number of application programs, and the application program newly installed can not receive voice and refer to It enables;When multiple application programs all have the ability for responding the same user instruction, above-mentioned distribution technology can only be by phonetic order It is distributed to the application program of default, other applications can not carry out voice response.And in the present embodiment, due to service type Registration table can the first solicited message based on the service type attribute of registrer application and to the service type of application program Attribute is registered, so that each application program all has the ability for receiving phonetic order, and carries out voice response.It is installed newly After application program, new application program can also access voice service.
Step 302, in response to receiving phonetic order, determine that the indicated voice service operation executed of phonetic order corresponds to Destination service classification.
User can issue phonetic order, such as the user in Driving Scene to the executing subject of phonetic order distribution method Request navigation can be issued to vehicle intelligent equipment or play the phonetic order of music.Above-mentioned executing subject can monitor user's Phonetic order, in the phonetic order for receiving user, to the service class of the voice service operation of execution indicated by phonetic order It is not identified.
Specifically, phonetic order can be converted to corresponding text instruction, extracted after being segmented to text instruction Wherein keyword relevant to the voice service of indicated execution operation out, determines phonetic order pair according to the classification of keyword The destination service classification answered.
Step 303, according to destination service classification and the pre-registered service type attribute of candidate application program, from candidate The application program of execution phonetic order is determined in application program.
Can be using each application program that above-mentioned executing subject is installed as candidate application program, or it will be according to above-mentioned service The application program for the registered service type attribute that Category Accreditations table determines is as candidate application program, according to candidate application program Pre-registered service type attribute determines that at least one service type attribute and destination service classification are consistent candidate using journey Sequence is to execute the application program of phonetic order.
Step 304, phonetic order is issued to the application program for executing phonetic order.
After determining the application program for executing phonetic order, phonetic order can be issued to the application program, specifically The application program can will be called to execute phonetic order.
Above-mentioned steps 302, step 303, step 304 respectively with the step 201, step 202, step 203 of previous embodiment Unanimously, step 302, step 303, the specific implementation of step 304 can also be with reference to aforementioned to step 201, step 202, step Rapid 203 description, details are not described herein again.
Optionally, the process 300 of above-mentioned phonetic order distribution method, can also include the following steps 305:
Step 305, the second solicited message that the service type attribute of application program is nullified in response to detecting will issue the The service type attribute of the application program of two solicited messages is deleted from service type registration table.
In some scenes, the service type attribute of application program can be nullified.For example, user can actively initiate to nullify Operation, or when unloading application program, the second solicited message for nullifying the service type attribute of application program can be initiated.The Two solicited messages may include the mark for initiating the application program of de-registration request, and above-mentioned executing subject can be by the application program Corresponding record is identified to delete from service type registration table.
The Dynamic Maintenance that service type registration table is realized by the service type attribute of registration and unregistration application program, can Realize more flexible phonetic order distribution management.
With continued reference to Fig. 4, it illustrates the processes according to another embodiment of the phonetic order distribution method of the application Figure.As shown in figure 4, the process 400 of phonetic order distribution method, may include:
Step 401, in response to receiving phonetic order, determine that the indicated voice service operation executed of phonetic order corresponds to Destination service classification.
User can issue phonetic order, such as the user in Driving Scene to the executing subject of phonetic order distribution method Request navigation can be issued to vehicle intelligent equipment or play the phonetic order of music.Above-mentioned executing subject can monitor user's Phonetic order, in the phonetic order for receiving user, to the service class of the voice service operation of execution indicated by phonetic order It is not identified.
Specifically, phonetic order can be converted to corresponding text instruction, extracted after being segmented to text instruction Wherein keyword relevant to the voice service of indicated execution operation out, determines phonetic order pair according to the classification of keyword The destination service classification answered.
Herein, voice service, which operates corresponding destination service classification, can be at least one of the following: navigation type, sound Happy class, software control class, hardware controls class, general operation class.
Step 402, pre-registered service type attribute and destination service classification phase are determined from candidate application program Matched target candidate application program.
Multiple application programs can be installed in above-mentioned executing subject, it can be using all mounted application programs as time Application program is selected, it can also will be in the application program of installation, to the application journey of above-mentioned executing subject registration service category attribute Sequence is as candidate application program.Voice, which refers to, to be determined with step 401 to the pre-registered service type attribute of candidate application program It enables the indicated voice service executed operate corresponding destination service classification to be matched.By pre-registered service type attribute With the consistent candidate application program of above-mentioned destination service classification as target candidate application program.
If it is determined that target candidate application program only one, then can directly using the target candidate application program as Execute the application program of phonetic order.
Step 403, it is greater than 1 in response to the quantity for the target candidate application program determined, it will be currently in front stage operation Target candidate application program is determined as executing the application program of phonetic order.
An application program as execution phonetic order can be selected from target candidate application program.In the present embodiment In, if the quantity of target candidate application program is greater than 1, can currently will be determined in the target candidate application program of front stage operation For the application program for executing phonetic order.
It is user's most recently used application program in the application program of front stage operation, if currently in the application journey of front stage operation Sequence is one of above-mentioned target candidate application program, then can determine that this currently refers in the application program of front stage operation to execute voice The application program of order, in order to be instructed by user's application program currently in use come voice responsive, without switching to other Application program.
Step 404, phonetic order is issued to the application program for executing phonetic order.
After the application program for determining to execute phonetic order, phonetic order can be issued to the application program.Tool Body can will call the application program to execute phonetic order.Execute phonetic order application program can to the phonetic order into Row parsing obtains the voice service operation that instruction executes, and executes voice service operation.
Optionally, after step 403, before step 404, the process 400 of the distribution method of phonetic order can also wrap It includes:
Step 405, it is greater than 1 and each target candidate application program in response to the quantity for the target candidate application program determined Currently all in running background, the time gap current time of registration service category attribute nearest target candidate application journey is determined Sequence, as the application program for executing phonetic order.
Above-mentioned executing subject can pre-save the time of each application program registration service category attribute.If in step 403 The quantity for the target candidate application program determined is greater than 1, and each target candidate application program is currently all in running background, can be with It is ranked up according to the time of each application program registration service category attribute, it is nearest (i.e. apart from current time to find out registion time Registion time is the latest) target candidate application program execute the application program of phonetic order the most.
The time of usual registration service category attribute is that the set-up time of application program or user actively initiate registration request Time.Generally, user's more preference uses the application journey of the application program or new registration service type list newly installed Sequence.By selecting registion time apart from current time recently as execution phonetic order in multiple target candidate application programs Application program can determine the application program for more meeting user's use habit and demand to execute phonetic order.
Optionally, in some optional implementations of the present embodiment, the process 400 of above-mentioned phonetic order distribution method The first solicited message that may be responsive to detect the service type attribute of registrer application requests sending first Step of the service type attribute logging of the application program of information into service type registration table;And still optionally further, should Process 400 may be responsive to detect the second solicited message of the service type attribute for nullifying application program, will issue The step of service type attribute of the application program of second solicited message is deleted from service type registration table.Concrete implementation side Formula can refer to the description of previous embodiment step 301 and step 305 respectively, and details are not described herein again.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of phonetic orders point One embodiment of transmitting apparatus, the Installation practice is corresponding with Fig. 2, Fig. 3 and embodiment of the method shown in Fig. 4, device tool Body can be applied in various electronic equipments.
As shown in figure 5, the phonetic order diostribution device 500 of the present embodiment includes: that the first determination unit 501, second determines Unit 502 and transmission unit 503.Wherein, the first determination unit 501 is configured to respond to receive phonetic order, determines The indicated voice service executed of phonetic order operates corresponding destination service classification;Second determination unit 502 is configured basis Destination service classification and the pre-registered service type attribute of candidate application program, determine to execute from candidate application program The application program of phonetic order;Dispatching Unit 503 is configured for phonetic order to be issued to the application program for executing phonetic order.
In some embodiments, above-mentioned second determination unit 502 can be configured to according to destination service classification And the pre-registered service type attribute of candidate application program, it determines to execute from candidate application program as follows The application program of phonetic order: pre-registered service type attribute and destination service classification are determined from candidate application program The target candidate application program to match;It is greater than 1 in response to the quantity for the target candidate application program determined, it will be currently preceding The target candidate application program of platform operation is determined as executing the application program of phonetic order.
In some embodiments, above-mentioned second determination unit 502 can be additionally configured to the second determination unit according to as follows Mode is determined to execute the application program of phonetic order from candidate application program: in response to the target candidate application journey determined The quantity of sequence is greater than 1 and each target candidate application program is currently all in running background, determines the time of registration service category attribute The target candidate application program nearest apart from current time, as the application program for executing phonetic order.
In some embodiments, above-mentioned apparatus 500 can also include: registering unit, be configured to respond to detect note First solicited message of the service type attribute of volume application program, will issue the service type of the application program of the first solicited message Attribute logging is into service type registration table.
In some embodiments, above-mentioned apparatus 500 can also include: cancellation unit, be configured to respond to detect note The second solicited message for selling the service type attribute of application program will issue the service type of the application program of the second solicited message Attribute is deleted from service type registration table.
It should be appreciated that each step in all units recorded in device 500 and the method for reference Fig. 2, Fig. 3 and Fig. 4 description It is rapid corresponding.It is equally applicable to device 500 and unit wherein included above with respect to the operation and feature of method description as a result, Details are not described herein.
The phonetic order diostribution device 500 of the above embodiments of the present application, by determining language in response to receiving phonetic order The indicated voice service executed of sound instruction operates corresponding destination service classification, then according to destination service classification and candidate The pre-registered service type attribute of application program determines the application program for executing phonetic order from candidate application program, Then phonetic order is issued to the application program for executing phonetic order, realize more flexible phonetic order distribution, support more More application program accesses voice service, provides voice service so as to call more application programs.
Below with reference to Fig. 6, it illustrates the electronic equipment that is suitable for being used to realize embodiment of the disclosure, (example is as shown in figure 1 Interactive voice equipment) 600 structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, should not be to the reality of the disclosure The function and use scope for applying example bring any restrictions.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.) 601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608 Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604 Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 607 of dynamic device etc.;Storage device 608 including such as hard disk etc.;And communication device 609.Communication device 609 can To allow electronic equipment 600 wirelessly or non-wirelessly to be communicated with other equipment to exchange data.Although Fig. 6 is shown with various The electronic equipment 600 of device, it should be understood that being not required for implementing or having all devices shown.It can be alternatively Implement or have more or fewer devices.Each box shown in Fig. 6 can represent a device, also can according to need Represent multiple devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608 It is mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the implementation of the disclosure is executed The above-mentioned function of being limited in the method for example.It should be noted that computer-readable medium described in embodiment of the disclosure can To be computer-readable signal media or computer readable storage medium either the two any combination.Computer can Reading storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device Or device, or any above combination.The more specific example of computer readable storage medium can include but is not limited to: tool There are electrical connection, the portable computer diskette, hard disk, random access storage device (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In embodiment of the disclosure, computer Readable storage medium storing program for executing can be any tangible medium for including or store program, which can be commanded execution system, device Either device use or in connection.And in embodiment of the disclosure, computer-readable signal media may include In a base band or as the data-signal that carrier wave a part is propagated, wherein carrying computer-readable program code.It is this The data-signal of propagation can take various forms, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate Combination.Computer-readable signal media can also be any computer-readable medium other than computer readable storage medium, should Computer-readable signal media can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on computer-readable medium can transmit with any suitable medium, Including but not limited to: electric wire, optical cable, RF (radio frequency) etc. or above-mentioned any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.Above-mentioned computer-readable medium carries one or more program, when said one or more When a program is executed by the electronic equipment, so that the electronic equipment: in response to receiving phonetic order, determining phonetic order meaning Show that the voice service of execution operates corresponding destination service classification;It is infused in advance according to destination service classification and candidate application program The service type attribute of volume determines the application program for executing phonetic order from candidate application program;Phonetic order is issued To the application program for executing phonetic order.
The behaviour for executing embodiment of the disclosure can be write with one or more programming languages or combinations thereof The computer program code of work, programming language include object oriented program language-such as Java, Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet Include local area network (LAN) or wide area network (WAN) --- it is connected to subscriber computer, or, it may be connected to outer computer (such as It is connected using ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include the first determination unit, the second determination unit and transmission unit.Wherein, the title of these units is not constituted under certain conditions Restriction to the unit itself, for example, the first determination unit is also described as " in response to receiving phonetic order, determining The indicated voice service executed of phonetic order operates the unit of corresponding destination service classification ".
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

1. a kind of phonetic order distribution method, comprising:
In response to receiving phonetic order, determine that the indicated voice service executed of the phonetic order operates corresponding target clothes Business classification;
According to the destination service classification and the pre-registered service type attribute of candidate application program, from the candidate application Determine to execute the application program of the phonetic order in program;
The phonetic order is issued to the application program for executing the phonetic order.
2. described pre- according to the destination service classification and candidate application program according to the method described in claim 1, wherein The service type attribute first registered determines the application program for executing the phonetic order, packet from the candidate application program It includes:
The mesh that pre-registered service type attribute and the destination service classification match is determined from candidate application program Mark candidate application program;
It is greater than 1 in response to the quantity for the target candidate application program determined, it will be currently in the target candidate of front stage operation Application program is determined as executing the application program of the phonetic order.
3. described pre- according to the destination service classification and candidate application program according to the method described in claim 2, wherein The service type attribute first registered determines the application program for executing the phonetic order, also from the candidate application program Include:
In response to the target candidate application program determined quantity be greater than 1 and each target candidate application program currently all In running background, the time gap current time of registration service category attribute nearest target candidate application program is determined, as Execute the application program of the phonetic order.
4. method according to claim 1-3, wherein the method also includes:
In response to detecting the first solicited message of the service type attribute of registrer application, the first request letter will be issued The service type attribute logging of the application program of breath is into service type registration table.
5. according to the method described in claim 4, wherein the method also includes:
The second solicited message that the service type attribute of application program is nullified in response to detecting will issue the second request letter The service type attribute of the application program of breath is deleted from the service type registration table.
6. a kind of phonetic order diostribution device, comprising:
First determination unit is configured to respond to receive phonetic order, determines the indicated language executed of the phonetic order The corresponding destination service classification of sound service operations;
Second determination unit is configured according to the destination service classification and the pre-registered service type of candidate application program Attribute determines the application program for executing the phonetic order from the candidate application program;
Dispatching Unit is configured for the phonetic order to be issued to the application program for executing the phonetic order.
7. device according to claim 6, wherein second determination unit is configured to according to the target Service type and the pre-registered service type attribute of candidate application program, as follows from the candidate application program In determine to execute the application program of the phonetic order:
The mesh that pre-registered service type attribute and the destination service classification match is determined from candidate application program Mark candidate application program;
It is greater than 1 in response to the quantity for the target candidate application program determined, it will be currently in the target candidate of front stage operation Application program is determined as executing the application program of the phonetic order.
8. device according to claim 7, wherein second determination unit is additionally configured to as follows from institute State the application program for determining to execute the phonetic order in candidate application program:
It is greater than 1 in response to the quantity for the target candidate application program determined and each target candidate application program currently all exists Running background determines the time gap current time of registration service category attribute nearest target candidate application program, as holding The application program of the row phonetic order.
9. according to the described in any item devices of claim 6-8, wherein described device further include:
Registering unit is configured to respond to detect the first solicited message of the service type attribute of registrer application, will The service type attribute logging of the application program of first solicited message is issued into service type registration table.
10. device according to claim 9, wherein described device further include:
Unit is nullified, is configured to respond to detect the second solicited message of the service type attribute for nullifying application program, it will The service type attribute for issuing the application program of second solicited message is deleted from the service type registration table.
11. a kind of electronic equipment, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor Now such as method as claimed in any one of claims 1 to 5.
CN201910198764.9A 2019-03-15 2019-03-15 Voice instruction distribution method and device, electronic equipment and computer readable medium Active CN109918040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910198764.9A CN109918040B (en) 2019-03-15 2019-03-15 Voice instruction distribution method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910198764.9A CN109918040B (en) 2019-03-15 2019-03-15 Voice instruction distribution method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN109918040A true CN109918040A (en) 2019-06-21
CN109918040B CN109918040B (en) 2022-08-16

Family

ID=66965035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910198764.9A Active CN109918040B (en) 2019-03-15 2019-03-15 Voice instruction distribution method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN109918040B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503959A (en) * 2019-09-03 2019-11-26 腾讯科技(深圳)有限公司 Voice recognition data distribution method, device, computer equipment and storage medium
CN110647305A (en) * 2019-09-29 2020-01-03 百度在线网络技术(北京)有限公司 Voice interaction method, device, equipment and medium of application program
CN110853645A (en) * 2019-12-02 2020-02-28 三星电子(中国)研发中心 Method and device for recognizing voice command
CN110908629A (en) * 2019-11-18 2020-03-24 北京小米移动软件有限公司 Electronic equipment operation method and device, electronic equipment and storage medium
CN111273990A (en) * 2020-01-21 2020-06-12 腾讯科技(深圳)有限公司 Information interaction method and device, computer equipment and storage medium
CN111309857A (en) * 2020-01-20 2020-06-19 联想(北京)有限公司 Processing method and processing device
CN112530423A (en) * 2020-11-12 2021-03-19 一汽奔腾轿车有限公司 Semantic multi-channel distribution processing system and method based on natural language understanding
CN112786034A (en) * 2019-11-08 2021-05-11 阿里巴巴集团控股有限公司 Voice interaction method, device, equipment and storage medium
CN113496703A (en) * 2021-07-23 2021-10-12 北京百度网讯科技有限公司 Method, device and program product for controlling program in voice mode
CN113573132A (en) * 2021-07-23 2021-10-29 深圳康佳电子科技有限公司 Multi-application screen splicing method and device based on voice realization and storage medium
CN114227698A (en) * 2022-01-27 2022-03-25 上海擎朗智能科技有限公司 Robot control method, device, equipment and storage medium
CN114697713A (en) * 2020-12-29 2022-07-01 深圳Tcl新技术有限公司 Voice assistant control method and device, storage medium and smart television
CN115303218A (en) * 2022-09-27 2022-11-08 亿咖通(北京)科技有限公司 Voice instruction processing method, device and storage medium
CN114227698B (en) * 2022-01-27 2024-04-26 上海擎朗智能科技有限公司 Control method, device, equipment and storage medium for robot

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104916287A (en) * 2015-06-10 2015-09-16 青岛海信移动通信技术股份有限公司 Voice control method and device and mobile device
US20160098991A1 (en) * 2013-05-02 2016-04-07 Smartisan Digital Co., Ltd. Voice recognition method for mobile terminal and device thereof
CN107277153A (en) * 2017-06-30 2017-10-20 百度在线网络技术(北京)有限公司 Method, device and server for providing voice service
CN107316641A (en) * 2017-06-30 2017-11-03 联想(北京)有限公司 A kind of sound control method and electronic equipment
CN107783705A (en) * 2017-10-20 2018-03-09 珠海市魅族科技有限公司 Show method, apparatus, computer installation and the storage medium of application program
US20190012138A1 (en) * 2017-07-05 2019-01-10 Baidu Online Network Technology (Beijing) Co., Ltd Method and apparatus for providing speech service

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160098991A1 (en) * 2013-05-02 2016-04-07 Smartisan Digital Co., Ltd. Voice recognition method for mobile terminal and device thereof
CN104916287A (en) * 2015-06-10 2015-09-16 青岛海信移动通信技术股份有限公司 Voice control method and device and mobile device
CN107277153A (en) * 2017-06-30 2017-10-20 百度在线网络技术(北京)有限公司 Method, device and server for providing voice service
CN107316641A (en) * 2017-06-30 2017-11-03 联想(北京)有限公司 A kind of sound control method and electronic equipment
US20190012138A1 (en) * 2017-07-05 2019-01-10 Baidu Online Network Technology (Beijing) Co., Ltd Method and apparatus for providing speech service
CN107783705A (en) * 2017-10-20 2018-03-09 珠海市魅族科技有限公司 Show method, apparatus, computer installation and the storage medium of application program

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503959A (en) * 2019-09-03 2019-11-26 腾讯科技(深圳)有限公司 Voice recognition data distribution method, device, computer equipment and storage medium
CN110647305A (en) * 2019-09-29 2020-01-03 百度在线网络技术(北京)有限公司 Voice interaction method, device, equipment and medium of application program
CN110647305B (en) * 2019-09-29 2023-10-31 阿波罗智联(北京)科技有限公司 Voice interaction method, device, equipment and medium of application program
CN112786034B (en) * 2019-11-08 2023-04-07 阿里巴巴集团控股有限公司 Voice interaction method, device, equipment and storage medium
CN112786034A (en) * 2019-11-08 2021-05-11 阿里巴巴集团控股有限公司 Voice interaction method, device, equipment and storage medium
CN110908629A (en) * 2019-11-18 2020-03-24 北京小米移动软件有限公司 Electronic equipment operation method and device, electronic equipment and storage medium
CN110853645A (en) * 2019-12-02 2020-02-28 三星电子(中国)研发中心 Method and device for recognizing voice command
CN111309857A (en) * 2020-01-20 2020-06-19 联想(北京)有限公司 Processing method and processing device
CN111273990A (en) * 2020-01-21 2020-06-12 腾讯科技(深圳)有限公司 Information interaction method and device, computer equipment and storage medium
CN112530423A (en) * 2020-11-12 2021-03-19 一汽奔腾轿车有限公司 Semantic multi-channel distribution processing system and method based on natural language understanding
CN114697713B (en) * 2020-12-29 2024-02-06 深圳Tcl新技术有限公司 Voice assistant control method and device, storage medium and intelligent television
CN114697713A (en) * 2020-12-29 2022-07-01 深圳Tcl新技术有限公司 Voice assistant control method and device, storage medium and smart television
CN113496703A (en) * 2021-07-23 2021-10-12 北京百度网讯科技有限公司 Method, device and program product for controlling program in voice mode
CN113573132B (en) * 2021-07-23 2023-08-11 深圳康佳电子科技有限公司 Multi-application screen spelling method and device based on voice realization and storage medium
CN113573132A (en) * 2021-07-23 2021-10-29 深圳康佳电子科技有限公司 Multi-application screen splicing method and device based on voice realization and storage medium
CN114227698A (en) * 2022-01-27 2022-03-25 上海擎朗智能科技有限公司 Robot control method, device, equipment and storage medium
CN114227698B (en) * 2022-01-27 2024-04-26 上海擎朗智能科技有限公司 Control method, device, equipment and storage medium for robot
CN115303218B (en) * 2022-09-27 2022-12-23 亿咖通(北京)科技有限公司 Voice instruction processing method, device and storage medium
CN115303218A (en) * 2022-09-27 2022-11-08 亿咖通(北京)科技有限公司 Voice instruction processing method, device and storage medium

Also Published As

Publication number Publication date
CN109918040B (en) 2022-08-16

Similar Documents

Publication Publication Date Title
CN109918040A (en) Phonetic order distribution method and device, electronic equipment and computer-readable medium
CN104007891B (en) The method and apparatus of user interface is shown in equipment
CN103869971B (en) For providing the method and user's set of context-aware services using speech recognition
CN108769745A (en) Video broadcasting method and device
CN109564530A (en) The personal supplementary module for having the selectable state machine traversed is provided
CN108540831B (en) Method and apparatus for pushed information
KR101988281B1 (en) Portable Device Operating Method for Cooperating with on automobile and System thereof, Portable Device supporting the same
CN109036397A (en) The method and apparatus of content for rendering
CN109272133A (en) Method and apparatus for reserving vehicle
US11341966B2 (en) Output for improving information delivery corresponding to voice request
US20200090654A1 (en) Medium selection for providing information corresponding to voice request
CN105518645A (en) Load-balanced, persistent connection techniques
CN109558246A (en) A kind of load-balancing method, device, electronic equipment and storage medium
CN109767773A (en) Information output method and device based on interactive voice terminal
CN109753332A (en) Method and apparatus for showing information
CN108933730A (en) Information-pushing method and device
CN109600656A (en) A kind of video list display methods, device, terminal device and storage medium
CN108920238A (en) Operate method, electronic equipment and the computer-readable medium of application
CN106461412A (en) Selection and presentation of geographic content in an automotive environment
CN110160548A (en) For generating the mthods, systems and devices of travel route
JP5942775B2 (en) Facility display data creation device, facility display system, and facility display data creation program
CN110489158A (en) Method, apparatus, medium and the electronic equipment that code hosted platform is optimized
CN105608095B (en) Multimedia playing method and device and mobile terminal
CN110070394A (en) Data processing method, system, medium and calculating equipment
CN109857325A (en) Display interface switching method, 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211009

Address after: 100176 101, floor 1, building 1, yard 7, Ruihe West 2nd Road, economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Apollo Zhilian (Beijing) Technology Co.,Ltd.

Address before: 100085 third floor, baidu building, No. 10, Shangdi 10th Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant