CN104239371A - Instruction information processing method and device - Google Patents
Instruction information processing method and device Download PDFInfo
- Publication number
- CN104239371A CN104239371A CN201310253863.5A CN201310253863A CN104239371A CN 104239371 A CN104239371 A CN 104239371A CN 201310253863 A CN201310253863 A CN 201310253863A CN 104239371 A CN104239371 A CN 104239371A
- Authority
- CN
- China
- Prior art keywords
- command information
- cipher
- mapping
- information
- request
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
An embodiment of the invention discloses an instruction information processing method and device. The method includes: receiving ciphered instruction information; acquiring original instruction information corresponding to the ciphered instruction information according to a cipher-original mapping table in which a mapping relation between the ciphered instruction information and the original instruction information is recorded; executing the original instruction information. The instruction information processing method and device according to the technical scheme has the advantages that the received ciphered instruction information can be converted into the original instruction information to be executed according to the cipher-original mapping table, and instruction conversion and instruction processing are facilitated.
Description
Technical field
The present invention relates to field of information processing, be specifically related to a kind of command information disposal route and device.
Background technology
Command information treating apparatus in the market, generally can only receive which type of command information, just this command information is performed, but what often user wished to send is a brief command information, and this device performs is a complicated instruction, or user wishes to send instruction in interesting mode, and device is made to perform normal instruction.
In sum, how command information is changed and processed and become industry problem in the urgent need to address.
Summary of the invention
In view of this, embodiments provide a kind of command information disposal route and device, for solving the problem that cannot change command information and process that prior art also exists.
First aspect, provides a kind of command information disposal route, comprising:
Receive cipher command information;
By cipher mapping primitives table, obtain the primitive instruction information corresponding with described cipher command information, described cipher mapping primitives table record has the mapping relations of described cipher command information and described primitive instruction information;
Perform described primitive instruction information.
Second aspect, provides a kind of command information treating apparatus, comprising:
First receiving element, for receiving cipher command information;
Acquiring unit, for passing through cipher mapping primitives table, obtain the primitive instruction information corresponding with described cipher command information, described cipher mapping primitives table record has the mapping relations of described cipher command information and described primitive instruction information;
Performance element, for performing described primitive instruction information.
Adopt the technical scheme of a kind of command information disposal route provided by the invention and device, by cipher mapping primitives table, the cipher command information received can be converted to the primitive instruction information needing to perform, facilitate conversion and the process of instruction.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of an embodiment of a kind of command information disposal route of the present invention;
Fig. 2 is the process flow diagram of another embodiment of a kind of command information disposal route of the present invention;
Fig. 3 is that the cipher mapping primitives on voice assistant software schematic diagram and voice assistant software adds interface schematic diagram;
Fig. 4 is that cipher mapping primitives represents intention;
Fig. 5 is the process flow diagram of another embodiment of a kind of command information disposal route of the present invention;
Fig. 6 is the structural representation of an embodiment of a kind of command information treating apparatus of the present invention;
Fig. 7 is the structural representation of another embodiment of a kind of command information treating apparatus of the present invention;
Fig. 8 is the structural representation of another embodiment of a kind of command information treating apparatus of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the process flow diagram of an embodiment of a kind of command information disposal route of the present invention.As shown in Figure 1, the method comprises the following steps:
Step S101, receives cipher command information.
Conveniently system performs the command information received, and command information treating apparatus in the market requires that the command information received is the command information that can directly perform.But the command information that often system performs is a complicated command information, or the command information allowing the user sending command information feel dull.
In the present embodiment, this cipher command information received can be a user-defined brief or interesting command information, and and the command information that really performs of nonsystematic.
Step S102, by cipher mapping primitives table, obtain the primitive instruction information corresponding with described cipher command information, described cipher mapping primitives table record has the mapping relations of described cipher command information and described primitive instruction information.
The mapping relations of command information and the actual primitive instruction information that will perform of being talked secretly by cipher mapping primitives table record, by this cipher mapping primitives table, can obtain the primitive instruction information corresponding with the cipher command information received.This primitive instruction information may be the command information of a conventional or complexity.
Step S103, performs described primitive instruction information.
The primitive instruction information that the cipher command information that execution receives is corresponding.
The conversion of cipher command information and primitive instruction information is carried out by this cipher mapping primitives table, can with a brief cipher command information, what system was performed is but a complicated command information, also can with an interesting cipher command information, what system was performed is but a normal instruction information.
According to a kind of command information disposal route that the embodiment of the present invention provides, by cipher mapping primitives table, the cipher command information received can be converted to the primitive instruction information needing to perform, facilitate conversion and the process of instruction.
Fig. 2 is the process flow diagram of another embodiment of a kind of command information disposal route of the present invention.As shown in Figure 2, the method comprises the following steps:
Step S201, receives mapping request, carries the command information pair that mapping relations are set up at least one group of request in described mapping request, wherein, often organizes command information to comprising a cipher command information and a primitive instruction information.
Step S202, for often organizing command information to setting up mapping relations.
Step S203, according to often organizing mapping relations corresponding to command information, sets up described cipher mapping primitives table.
Step S201 to step S203 is the process setting up cipher mapping primitives table.
Command information treating apparatus in the market receives command information, just this command information is directly performed, such as, speech recognition client software, also known as voice assistant, in order to avoid the deviation on semantic understanding, often set some clause, user can only, according to the clause input voice information of setting, so just facilitate system to understand according to the clause of setting the intention sending the user of this voice messaging, enter corresponding scene, perform the instruction that this voice messaging is corresponding.For the support of all kinds of scene, be all by given limited voice command, restriction scene entrance, like this, adopt existing voice assistant, user can only be operated according to the clause of default, significantly limit degree of freedom and convenience that user uses voice assistant.
According to the custom of oneself or idea custom instruction information, a cipher mapping primitives table can be set up to make user.First, receive the mapping request that user sends, the command information pair that mapping relations are set up in one or more groups request is carried in this mapping request, wherein, command information is often organized to comprising a cipher command information and a primitive instruction information, then, for often organizing command information to setting up mapping relations, finally, according to often organizing mapping relations corresponding to command information, set up cipher mapping primitives table.
For voice assistant software, voice assistant software schematic diagram as shown in the left figure of Fig. 3, the voice dialogue between the user that on this software, Identification display goes out and software, user can click a wherein voice dialogue, after click, the cipher mapping primitives entered as shown in the right figure of Fig. 3 adds interface; Or user also by the menu setting of software, can click " interpolation " button in cipher mapping primitives table as shown in Figure 4, enter cipher mapping primitives and add interface.
Cipher mapping primitives shown in the right figure of such as Fig. 3 adds interface, user clicks microphone and says " open sesame ", after completing speech recognition, in cipher command information one hurdle text importing " open sesame ", primitive instruction one hurdle user input " what you can do ", click " completing ", namely complete the transmission of mapping request.Receive the mapping request that many group users are arranged, for namely the command information of often organizing in mapping request forms cipher mapping primitives table as shown in Figure 4 to setting up mapping relations.
Step S204, receives command information.
Receive command information, this command information can be arbitrary command information, such as, in voice assistant software, user can send voice messaging according to the clause of default, also can send voice messaging according to the idea of oneself, voice messaging recognizer conveniently, be identified as command information, carried out subsequent treatment.
Step S205, inquires about in described cipher mapping primitives table whether there is the cipher command information corresponding with described command information; If so, then S206 is gone to step; Otherwise, go to step S208.
Step S206, obtains the primitive instruction information corresponding with described cipher command information.
Step S207, performs described primitive instruction information.
Step S208, performs described command information.
After receiving command information, first, in cipher mapping primitives table, according to this command information, search and whether there is the cipher command information corresponding with this command information, such as, the command information that system identification goes out and cipher command information are all Word message, then search and whether there is the cipher command information consistent with this Word message; If the cipher command information corresponding with this command information can be found, then think that user has carried out mapping settings to this command information, then obtain the primitive instruction information corresponding with this cipher command information, and perform this primitive instruction information; If do not find the cipher command information corresponding with this command information, then think that user does not carry out mapping settings to this command information, then directly perform this command information.
For voice assistant software, such as, user wants the function understanding this voice messaging identification software, user sends voice messaging " open sesame ", identify that this voice messaging is corresponding literal order information " open sesame ", find in the mapping table according to this literal order information and there is consistent cipher command information " open sesame ", then, finding the primitive instruction information of command information of should talking secretly in the mapping table is " what you can do ", perform this primitive instruction information, the function introduction transferring this software also exports to be checked for user.And if do not find the cipher command information consistent with this literal order information in the mapping table, then according to the clause of default, the intention of system understanding user may be " definition that open sesame ", so, find out the definition that open sesame.If user does not arrange this cipher mapping primitives relation, and want the actual instruction performing " what you can do " of system, user may be needed to send voice messaging " what you can do ", and in the present embodiment, user sends voice messaging " open sesame " relatively can be more interesting.
According to a kind of command information disposal route that the embodiment of the present invention provides, by cipher mapping primitives table, the cipher command information received can be converted to the primitive instruction information needing to perform, facilitate conversion and the process of instruction, simultaneously, user can freely arrange the command information sending to system, and the process that command information is sent can be more succinct and more interesting.
Fig. 5 is the process flow diagram of another embodiment of a kind of command information disposal route of the present invention.As shown in Figure 5, the method comprises the following steps:
Step S301, receives mapping request, carrying the command information pair that mapping relations are set up in identification information and at least one group of request, wherein, often organizing command information to comprising a cipher command information and a primitive instruction information in described mapping request.
Step S302, is sent to server by described mapping request, to make described server for often organizing command information to setting up mapping relations, and according to often organizing mapping relations corresponding to command information, sets up the described cipher mapping primitives table corresponding with described identification information.
Step S303, receives command information.
Step S304, searches described cipher mapping primitives table according to described identification information.
Step S305, inquires about in described cipher mapping primitives table whether there is the cipher command information corresponding with described command information; If so, then S306 is gone to step; Otherwise, go to step S308.
Step S306, obtains the primitive instruction information corresponding with described cipher command information.
Step S307, performs described primitive instruction information.
Step S308, performs described command information.
The difference of the present embodiment and above-described embodiment is, sets up cipher mapping primitives table by server.Particularly, in step S301 and S302, when receiving the mapping request of user, mapping request is sent to server, identification information is carried and the command information pair of mapping relations is set up in one or more groups request in this mapping request, wherein, often organize command information to comprising a cipher command information and a primitive instruction information, this identification information can be the device identification of instruction signal conditioning package, such as, if this command information treating apparatus is mobile phone terminal, then this identification information can be Globally Unique Identifier (the Globally Unique Identifier of mobile phone, GUID), this GUID to be a kind of binary length generated by algorithm be numeric identifier of 128, for unique identification mobile phone terminal.Server for often organizing command information to setting up mapping relations, and according to often organizing the mapping relations of command information to correspondence, sets up the cipher mapping primitives table corresponding with this identification information.Server can store the cipher mapping primitives table of multiple terminal, and each mapping table has the identification information of its terminal of mark.
Set up due to server and store this mapping table, so, when receiving command information, first the mapping table of its correspondence is found in the server according to the identification information of command information treating apparatus, after finding mapping table, the processing procedure of carrying out command information is same as the previously described embodiments, does not repeat them here.
For voice assistant software, this voice assistant software is installed on mobile terminals, user is mutual for freely carrying out voice messaging with server according to oneself custom or idea, need to set up in the server cipher mapping primitives table, this mapping table stores cipher command information and primitive instruction information and its corresponding relation.This server is the background program of voice messaging identification software.
Server receives mapping request, the command information pair that mapping relations are set up in the mark of mobile terminal end and one or more groups request is carried in this mapping request, wherein, often organize command information to comprising a cipher command information and a primitive instruction information, to be this user freely match according to the custom of oneself or idea for this cipher command information and primitive instruction information, server is for often organizing command information to setting up mapping relations, command informations of these many groups to and mapping relations, form cipher mapping primitives table, this mapping table is identified by the mark of mobile terminal, to distinguish the mapping table sending to the user of multiple mobile terminals of server to arrange.
After voice assistant software receipt to the mapping request of user, to cloud server this mapping settings synchronous.Meanwhile, can, at this cipher mapping primitives table of mobile terminal buffer memory, like this, when user wants to check this cipher mapping primitives table, not need all to pull this mapping table from server, because under vulnerable network environment, pull speed uncontrollable at every turn yet.At this mapping table of mobile terminal buffer memory, and set up synchronization mechanism, under can effectively improving vulnerable network environment, the service efficiency of this function.
Because cipher mapping primitives table is identified by the GUID of mobile terminal, so, cipher mapping primitives table corresponding to this mobile terminal can be inquired according to this GUID.
Such as, user wants to open Sina website, user can send brief voice messaging " Sina ", server is according to the speech recognition program of routine, identify that this voice messaging is corresponding command information " Sina ", then, find should the mapping table of GUID according to the GUID of mobile terminal, then, in the mapping table, whether whois lookup exists the cipher command information consistent with this command information, after finding this cipher command information, searching the primitive instruction information of command information of should talking secretly is " opening Sina website ", server is to this Sina's web site contents of Website server request, if do not find the cipher command information consistent with this command information, then server directly performs this command information, understands being intended to " explaining Sina " of user according to the clause of setting.And if according to the clause of server settings, user " must open Sina website " by the complete whole voice messaging that sends.
According to a kind of command information disposal route that the embodiment of the present invention provides, by cipher mapping primitives table, the cipher command information received can be converted to the primitive instruction information needing to perform, facilitate conversion and the process of instruction, simultaneously, by in the server according to the identification information storage of command information treating apparatus to should the cipher mapping primitives table of command information treating apparatus, when making to carry out command information process, the primitive instruction information of this command information treating apparatus exclusive can be found from this mapping table, server performs this primitive instruction information and returns execution result, be conducive to user and freely can carry out the mutual of command information with server, improve the interest of command information processing procedure.
Fig. 6 is the structural representation of an embodiment of a kind of command information treating apparatus of the present invention.As shown in Figure 6, this device 1000 comprises:
First receiving element 101, for receiving cipher command information.
Conveniently system performs the command information received, and command information treating apparatus in the market requires that the command information received is the command information that can directly perform.But the command information that often system performs is a complicated command information, or the command information allowing the user sending command information feel dull.
In the present embodiment, this cipher command information that the first receiving element 101 receives can be a user-defined brief or interesting command information, and and the command information that really performs of nonsystematic.
Acquiring unit 102, for passing through cipher mapping primitives table, obtain the primitive instruction information corresponding with described cipher command information, described cipher mapping primitives table record has the mapping relations of described cipher command information and described primitive instruction information.
The mapping relations of command information and the actual primitive instruction information that will perform of being talked secretly by cipher mapping primitives table record, by this cipher mapping primitives table, acquiring unit 102 can obtain the primitive instruction information corresponding with the cipher command information received.This primitive instruction information may be the command information of a conventional or complexity.
Performance element 103, for performing described primitive instruction information.
Performance element 103 performs primitive instruction information corresponding to the cipher command information that receives.
The conversion of cipher command information and primitive instruction information is carried out by this cipher mapping primitives table, can with a brief cipher command information, what system was performed is but a complicated command information, also can with an interesting cipher command information, what system was performed is but a normal instruction information.
According to a kind of command information treating apparatus that the embodiment of the present invention provides, by cipher mapping primitives table, the cipher command information received can be converted to the primitive instruction information needing to perform, facilitate conversion and the process of instruction.
Fig. 7 is the structural representation of another embodiment of a kind of command information treating apparatus of the present invention.As shown in Figure 7, this device 2000 comprises:
First sets up unit 201, for setting up the cipher mapping primitives table of described cipher command information and described primitive instruction information.
In the present embodiment, first set up unit 201 and comprise: the second receiving element 2011, second is set up unit 2012 and the 3rd and set up unit 2013.
Second receiving element 2011, for receiving mapping request, carries the command information pair that mapping relations are set up at least one group of request in described mapping request, wherein, often organize command information to comprising a cipher command information and a primitive instruction information.
Second sets up unit 2012, for for often organize command information to setting up mapping relations.
3rd sets up unit 2013, for according to often organizing mapping relations corresponding to command information, sets up described cipher mapping primitives table.
Command information treating apparatus in the market receives command information, just this command information is directly performed, such as, speech recognition client software, also known as voice assistant, in order to avoid the deviation on semantic understanding, often set some clause, user can only, according to the clause input voice information of setting, so just facilitate system to understand according to the clause of setting the intention sending the user of this voice messaging, enter corresponding scene, perform the instruction that this voice messaging is corresponding.For the support of all kinds of scene, be all by given limited voice command, restriction scene entrance, like this, adopt existing voice assistant, user can only be operated according to the clause of default, significantly limit degree of freedom and convenience that user uses voice assistant.
According to the custom of oneself or idea custom instruction information, a cipher mapping primitives table can be set up to make user.First, receive the mapping request that user sends, the command information pair that mapping relations are set up in one or more groups request is carried in this mapping request, wherein, command information is often organized to comprising a cipher command information and a primitive instruction information, then, for often organizing command information to setting up mapping relations, finally, according to often organizing mapping relations corresponding to command information, set up cipher mapping primitives table.
For voice assistant software, voice assistant software schematic diagram as shown in the left figure of Fig. 3, the voice dialogue between the user that on this software, Identification display goes out and software, user can click a wherein voice dialogue, after click, the cipher mapping primitives entered as shown in the right figure of Fig. 3 adds interface; Or user also by the menu setting of software, can click " interpolation " button in cipher mapping primitives table as shown in Figure 4, enter cipher mapping primitives and add interface.
Cipher mapping primitives shown in the right figure of such as Fig. 3 adds interface, user clicks microphone and says " open sesame ", after completing speech recognition, in cipher command information one hurdle text importing " open sesame ", primitive instruction one hurdle user input " what you can do ", click " completing ", namely complete the transmission of mapping request.Receive the mapping request that many group users are arranged, for namely the command information of often organizing in mapping request forms cipher mapping primitives table as shown in Figure 4 to setting up mapping relations.
First receiving element 202, for receiving cipher command information.
Acquiring unit 203, for passing through cipher mapping primitives table, obtain the primitive instruction information corresponding with described cipher command information, described cipher mapping primitives table record has the mapping relations of described cipher command information and described primitive instruction information.
Performance element 204, for performing described primitive instruction information.
When receiving command information, this command information can be arbitrary command information, such as, in voice assistant software, user can send voice messaging according to the clause of default, also can send voice messaging according to the idea of oneself, voice messaging recognizer conveniently, be identified as command information, carried out subsequent treatment.After receiving command information, first, in cipher mapping primitives table, according to this command information, search and whether there is the cipher command information corresponding with this command information, such as, the command information that system identification goes out and cipher command information are all Word message, then search and whether there is the cipher command information consistent with this Word message; If the cipher command information corresponding with this command information can be found, then think that user has carried out mapping settings to this command information, then acquiring unit 203 obtains the primitive instruction information corresponding with this cipher command information, and performs this primitive instruction information by performance element 204; If do not find the cipher command information corresponding with this command information, then think that user does not carry out mapping settings to this command information, then directly can perform this command information or not deal with.
For voice assistant software, such as, user wants the function understanding this voice messaging identification software, user sends voice messaging " open sesame ", identify that this voice messaging is corresponding literal order information " open sesame ", find in the mapping table according to this literal order information and there is consistent cipher command information " open sesame ", then, finding the primitive instruction information of command information of should talking secretly in the mapping table is " what you can do ", perform this primitive instruction information, the function introduction transferring this software also exports to be checked for user.And if do not find the cipher command information consistent with this literal order information in the mapping table, then according to the clause of default, the intention of system understanding user may be " definition that open sesame ", so, find out the definition that open sesame.If user does not arrange this cipher mapping primitives relation, and want the actual instruction performing " what you can do " of system, user may be needed to send voice messaging " what you can do ", and in the present embodiment, user sends voice messaging " open sesame " relatively can be more interesting.
According to a kind of command information treating apparatus that the embodiment of the present invention provides, by cipher mapping primitives table, the cipher command information received can be converted to the primitive instruction information needing to perform, facilitate conversion and the process of instruction, simultaneously, user can freely arrange the command information sending to system, and the process that command information is sent can be more succinct and more interesting.
Fig. 8 is the structural representation of another embodiment of a kind of command information treating apparatus of the present invention.As shown in Figure 8, this device 3000 comprises:
First sets up unit 301, for setting up the cipher mapping primitives table of described cipher command information and described primitive instruction information.
In the present embodiment, first set up unit 301 and comprise: the 3rd receiving element 3011 and transmitting element 3012.
3rd receiving element 3011, for receiving mapping request, carrying the command information pair that mapping relations are set up in identification information and at least one group of request, wherein, often organizing command information to comprising a cipher command information and a primitive instruction information in described mapping request.
Transmitting element 3012, for described mapping request is sent to server, to make described server for often organizing command information to setting up mapping relations, and according to often organizing mapping relations corresponding to command information, set up the described cipher mapping primitives table corresponding with described identification information.
First receiving element 302, for receiving cipher command information.
Search unit 303, for searching described cipher mapping primitives table according to described identification information.
Acquiring unit 304, for passing through cipher mapping primitives table, obtain the primitive instruction information corresponding with described cipher command information, described cipher mapping primitives table record has the mapping relations of described cipher command information and described primitive instruction information.
Performance element 305, for performing described primitive instruction information.
The difference of the present embodiment and above-described embodiment is, sets up cipher mapping primitives table by server.Particularly, when 3rd receiving element 3011 receives the mapping request of user, mapping request is sent to server by transmitting element 3012, identification information is carried and the command information pair of mapping relations is set up in one or more groups request in this mapping request, wherein, often organize command information to comprising a cipher command information and a primitive instruction information, this identification information can be the device identification of instruction signal conditioning package, such as, if this command information treating apparatus is mobile phone terminal, then this identification information can be Globally Unique Identifier (the Globally Unique Identifier of mobile phone, GUID), this GUID to be a kind of binary length generated by algorithm be numeric identifier of 128, for unique identification mobile phone terminal.Server for often organizing command information to setting up mapping relations, and according to often organizing the mapping relations of command information to correspondence, sets up the cipher mapping primitives table corresponding with this identification information.Server can store the cipher mapping primitives table of multiple terminal, and each mapping table has the identification information of its terminal of mark.
Set up due to server and store this mapping table, so, when receiving command information, first, search unit 303 finds its correspondence in the server mapping table according to the identification information of command information treating apparatus, after finding mapping table, the processing procedure of carrying out command information is same as the previously described embodiments, does not repeat them here.
For voice assistant software, this voice assistant software is installed on mobile terminals, user is mutual for freely carrying out voice messaging with server according to oneself custom or idea, need to set up in the server cipher mapping primitives table, this mapping table stores cipher command information and primitive instruction information and its corresponding relation.This server is the background program of voice messaging identification software.
Server receives mapping request, the command information pair that mapping relations are set up in the mark of mobile terminal end and one or more groups request is carried in this mapping request, wherein, often organize command information to comprising a cipher command information and a primitive instruction information, to be this user freely match according to the custom of oneself or idea for this cipher command information and primitive instruction information, server is for often organizing command information to setting up mapping relations, command informations of these many groups to and mapping relations, form cipher mapping primitives table, this mapping table is identified by the mark of mobile terminal, to distinguish the mapping table sending to the user of multiple mobile terminals of server to arrange.
After voice assistant software receipt to the mapping request of user, to cloud server this mapping settings synchronous.Meanwhile, can, at this cipher mapping primitives table of mobile terminal buffer memory, like this, when user wants to check this cipher mapping primitives table, not need all to pull this mapping table from server, because under vulnerable network environment, pull speed uncontrollable at every turn yet.At this mapping table of mobile terminal buffer memory, and set up synchronization mechanism, under can effectively improving vulnerable network environment, the service efficiency of this function.
Because cipher mapping primitives table is identified by the GUID of mobile terminal, so, cipher mapping primitives table corresponding to this mobile terminal can be inquired according to this GUID.
Such as, user wants to open Sina website, user can send brief voice messaging " Sina ", server is according to the speech recognition program of routine, identify that this voice messaging is corresponding command information " Sina ", then, find should the mapping table of GUID according to the GUID of mobile terminal, then, in the mapping table, whether whois lookup exists the cipher command information consistent with this command information, after finding this cipher command information, searching the primitive instruction information of command information of should talking secretly is " opening Sina website ", server is to this Sina's web site contents of Website server request, if do not find the cipher command information consistent with this command information, then server directly performs this command information, understands being intended to " explaining Sina " of user according to the clause of setting.And if according to the clause of server settings, user " must open Sina website " by the complete whole voice messaging that sends.
According to a kind of command information treating apparatus that the embodiment of the present invention provides, by cipher mapping primitives table, the cipher command information received can be converted to the primitive instruction information needing to perform, facilitate conversion and the process of instruction, simultaneously, by in the server according to the identification information storage of command information treating apparatus to should the cipher mapping primitives table of command information treating apparatus, when making to carry out command information process, the primitive instruction information of this command information treating apparatus exclusive can be found from this mapping table, server performs this primitive instruction information and returns execution result, be conducive to user and freely can carry out the mutual of command information with server, improve the interest of command information processing procedure.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that each embodiment can add required general hardware platform by software and realize, and can certainly pass through hardware.Based on such understanding, technique scheme can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can store in a computer-readable storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment or embodiment.
Above-described embodiment, does not form the restriction to this technical scheme protection domain.The amendment done within any spirit at above-mentioned embodiment and principle, equivalently to replace and improvement etc., within the protection domain that all should be included in this technical scheme.
Claims (10)
1. a command information disposal route, is characterized in that, comprising:
Receive cipher command information;
By cipher mapping primitives table, obtain the primitive instruction information corresponding with described cipher command information, described cipher mapping primitives table record has the mapping relations of described cipher command information and described primitive instruction information;
Perform described primitive instruction information.
2. the method for claim 1, is characterized in that, before described reception cipher command information, also comprises:
Set up described cipher mapping primitives table.
3. method as claimed in claim 2, is characterized in that, describedly sets up described cipher mapping primitives table, comprising:
Receiving mapping request, in described mapping request, carry the command information pair that mapping relations are set up at least one group of request, wherein, often organizing command information to comprising a cipher command information and a primitive instruction information;
For often organizing command information to setting up mapping relations;
According to often organizing mapping relations corresponding to command information, set up described cipher mapping primitives table.
4. method as claimed in claim 2, is characterized in that, describedly sets up described cipher mapping primitives table, comprising:
Receive mapping request, carrying the command information pair that mapping relations are set up in identification information and at least one group of request in described mapping request, wherein, often organizing command information to comprising a cipher command information and a primitive instruction information;
Described mapping request being sent to server, to make described server for often organizing command information to setting up mapping relations, and according to often organizing mapping relations corresponding to command information, setting up the described cipher mapping primitives table corresponding with described identification information.
5. method as claimed in claim 4, is characterized in that, after described reception cipher command information, and described by cipher mapping primitives table, before obtaining the primitive instruction information corresponding with described cipher command information, also comprise:
Described cipher mapping primitives table is searched according to described identification information.
6. a command information treating apparatus, is characterized in that, comprising:
First receiving element, for receiving cipher command information;
Acquiring unit, for passing through cipher mapping primitives table, obtain the primitive instruction information corresponding with described cipher command information, described cipher mapping primitives table record has the mapping relations of described cipher command information and described primitive instruction information;
Performance element, for performing described primitive instruction information.
7. device as claimed in claim 6, is characterized in that, also comprise:
First sets up unit, for setting up the cipher mapping primitives table of described cipher command information and described primitive instruction information.
8. device as claimed in claim 7, it is characterized in that, described first sets up unit comprises:
Second receiving element, for receiving mapping request, carries the command information pair that mapping relations are set up at least one group of request in described mapping request, wherein, often organize command information to comprising a cipher command information and a primitive instruction information;
Second sets up unit, for for often organize command information to setting up mapping relations;
3rd sets up unit, for according to often organizing mapping relations corresponding to command information, sets up described cipher mapping primitives table.
9. device as claimed in claim 6, it is characterized in that, described first sets up unit comprises:
3rd receiving element, for receiving mapping request, carrying the command information pair that mapping relations are set up in identification information and at least one group of request, wherein, often organizing command information to comprising a cipher command information and a primitive instruction information in described mapping request;
Transmitting element, for described mapping request is sent to server, to make described server for often organizing command information to setting up mapping relations, and according to often organizing mapping relations corresponding to command information, set up the described cipher mapping primitives table corresponding with described identification information.
10. device as claimed in claim 9, is characterized in that, also comprise:
Search unit, for searching described cipher mapping primitives table according to described identification information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310253863.5A CN104239371B (en) | 2013-06-24 | 2013-06-24 | A kind of command information processing method and processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310253863.5A CN104239371B (en) | 2013-06-24 | 2013-06-24 | A kind of command information processing method and processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104239371A true CN104239371A (en) | 2014-12-24 |
CN104239371B CN104239371B (en) | 2019-05-03 |
Family
ID=52227450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310253863.5A Active CN104239371B (en) | 2013-06-24 | 2013-06-24 | A kind of command information processing method and processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104239371B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105404161A (en) * | 2015-11-02 | 2016-03-16 | 百度在线网络技术(北京)有限公司 | Intelligent voice interaction method and device |
CN106411858A (en) * | 2016-09-07 | 2017-02-15 | 南京合荣欣业信息技术有限公司 | Sending method and sending device of anti-counterfeit information |
CN108986814A (en) * | 2018-09-04 | 2018-12-11 | 出门问问信息科技有限公司 | A kind of method and device waking up application service |
CN110196714A (en) * | 2019-06-04 | 2019-09-03 | 上海合桀软件技术有限公司 | A kind of conversion restoring method of original directive, storage equipment and terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008116760A2 (en) * | 2007-03-23 | 2008-10-02 | International Business Machines Corporation | Method and apparatus for processing extensible markup language security messages using delta parsing technology |
CN101901111A (en) * | 2010-07-30 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for realizing automatic operation on mobile terminal |
CN101959005A (en) * | 2010-09-21 | 2011-01-26 | 深圳创维数字技术股份有限公司 | Method and set top box (STB) for implementing shortcut of STB menu |
-
2013
- 2013-06-24 CN CN201310253863.5A patent/CN104239371B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008116760A2 (en) * | 2007-03-23 | 2008-10-02 | International Business Machines Corporation | Method and apparatus for processing extensible markup language security messages using delta parsing technology |
CN101901111A (en) * | 2010-07-30 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for realizing automatic operation on mobile terminal |
CN101959005A (en) * | 2010-09-21 | 2011-01-26 | 深圳创维数字技术股份有限公司 | Method and set top box (STB) for implementing shortcut of STB menu |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105404161A (en) * | 2015-11-02 | 2016-03-16 | 百度在线网络技术(北京)有限公司 | Intelligent voice interaction method and device |
CN106411858A (en) * | 2016-09-07 | 2017-02-15 | 南京合荣欣业信息技术有限公司 | Sending method and sending device of anti-counterfeit information |
CN108986814A (en) * | 2018-09-04 | 2018-12-11 | 出门问问信息科技有限公司 | A kind of method and device waking up application service |
CN110196714A (en) * | 2019-06-04 | 2019-09-03 | 上海合桀软件技术有限公司 | A kind of conversion restoring method of original directive, storage equipment and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104239371B (en) | 2019-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9720982B2 (en) | Method and apparatus for natural language search for variables | |
US11019012B2 (en) | File sending in instant messaging application | |
CN104239371A (en) | Instruction information processing method and device | |
CN111314063A (en) | Big data information management method, system and device based on Internet of things | |
US8706909B1 (en) | Systems and methods for semantic URL handling | |
CN105099874A (en) | Method and device for group establishment | |
JP2020004380A (en) | Wearable device, information processing method, device and system | |
US20160210335A1 (en) | Server and service searching method of the server | |
CN110717012A (en) | Method, device, equipment and storage medium for recommending grammar | |
CN104392366B (en) | The method of data comparison information acquisition, Apparatus and system | |
CN103379022B (en) | A kind of instant communication method based on Internet map search and system | |
CN110110099A (en) | A kind of multimedia document retrieval method and device | |
CN104601811A (en) | Contact information processing method | |
CN103475574A (en) | Method and device used for sending messages | |
CN101848172A (en) | Instant messaging text processing system and method | |
CN114239501A (en) | Contract generation method, apparatus, device and medium | |
US11423109B2 (en) | Information processing method, server and computer program product | |
CN112148848A (en) | Question and answer processing method and device | |
CN104869212A (en) | Information processing method and first electronic device | |
CN109947929A (en) | Session abstraction generating method and device, storage medium and electric terminal | |
CN113094017B (en) | Method, apparatus and computer storage medium for information processing | |
CN116383351A (en) | Voice information processing method, device, electronic equipment, medium and program product | |
CN115470316A (en) | Text processing method and device, electronic equipment and storage medium | |
CN110807089A (en) | Question answering method and device and electronic equipment | |
US20180048749A1 (en) | System providing business directory service for voice activated messaging |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |