CN108108094A - A kind of information processing method, terminal and computer-readable medium - Google Patents
A kind of information processing method, terminal and computer-readable medium Download PDFInfo
- Publication number
- CN108108094A CN108108094A CN201711326690.XA CN201711326690A CN108108094A CN 108108094 A CN108108094 A CN 108108094A CN 201711326690 A CN201711326690 A CN 201711326690A CN 108108094 A CN108108094 A CN 108108094A
- Authority
- CN
- China
- Prior art keywords
- information
- instruction
- operated
- terminal
- target
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/237—Lexical tools
- G06F40/242—Dictionaries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
Abstract
The embodiment of the invention discloses a kind of information processing method, terminal and computer-readable medium, wherein method includes:Information to be operated is obtained, the information to be operated includes at least target operation object and object run;According to the instruction extracting rule to prestore, instruction extraction is carried out to the information to be operated, so as to obtain corresponding target control instruction;According to the instruction that the target control instructs, the corresponding object run of the information to be operated is performed for the target operation object.Using the embodiment of the present invention, the accuracy rate that instruction identifies can be promoted.
Description
Technical field
The present invention relates to a kind of information technology field more particularly to information processing method, terminal and computer-readable mediums.
Background technology
With the development of terminal technology, support user directly by voice to terminal (such as smart mobile phone, smart home at present
Equipment) carry out instruction control.But due to being influenced by factors such as use environment, user pronunciation and syntactic structures so that terminal goes out
The problem of existing speech recognition errors or None- identified.To solve the above problems, the prior art proposes following two phonetic order controls
Scheme processed.
The first scheme, system custom command and system screen printing simultaneously identify operable area in picture, operable
Region includes the interface controls such as icon, button, text label, then generates corresponding command set storehouse;System acquisition voice, passes through
Online or offline mode is identified voice as word, and system matches word and command set storehouse identify voice control command,
The corresponding control action of system simulation control command or notice application are operated, and realize speech control target.However it is putting into practice
Middle discovery, it is ineffective there are error due to picture recognition, cause command set storehouse inaccurate, equally exist error.It secondly, can
The data recognized in operating area are all not order datas, most of for non-controlling order data, therefore command set storehouse
Recognition efficiency is relatively low, accuracy is poor.In addition, the order in word and command set storehouse is directly carried out simple match by system,
The preferable order of matching is few, and matching efficiency is relatively low.
The voice data that terminal receives is transmitted server by second scheme;It will be in voice data and server
Training sample matched, determine suitable identification speech text;The identification speech text content returned according to server is ordered
Make the corresponding operation of mobile terminal execution.However in practice, it has been found that since user pronunciation mode is different, directly by voice data
With training sample data match and easily generate matching error, reduce the accuracy of speech recognition.
The content of the invention
The embodiment of the present invention provides a kind of information processing method, to be operated by using the instruction extracting rule extraction to prestore
The corresponding control instruction of information, and the control instruction is performed, the accuracy rate of instruction identification can be promoted.
In a first aspect, an embodiment of the present invention provides a kind of information processing method, this method includes:
Information to be operated is obtained, the information to be operated includes at least target operation object and object run;
According to the instruction extracting rule to prestore, instruction extraction is carried out to the information to be operated, so as to obtain corresponding mesh
Mark control instruction;
According to the instruction that the target control instructs, perform the information to be operated for the target operation object and correspond to
Object run.
In some possible embodiments, described instruction extracting rule includes at least:Multiple operation informations and multiple controls
Incidence relation between instruction, wherein, each operation information corresponds to one control instruction of association, and each control instruction corresponds to association
At least one operation information, the multiple operation information include at least the information to be operated, and the multiple control instruction is at least
It is instructed including the target control.
In some possible embodiments, described instruction extracting rule includes at least:The preset format of control instruction, it is described
Preset format includes any one of following or multinomial combination:Operation object, object run and operating parameter.
In some possible embodiments, the method further includes:
Obtaining the corresponding key message of each operation information, the key message in the multiple operation information includes
Any one of below or multinomial combination:The operation object, the object run and the operating parameter;
Each corresponding key message of operation information is stored into dictionary database.
In some possible embodiments, the operation information includes any one of following or multinomial combination:Voice
Information and text message.
In some possible embodiments, the acquisition information to be operated includes:
Obtain initial information to be operated;
The initial information is pre-processed, so as to obtain the information to be operated input by user;Wherein, it is described pre-
It handles as user side or end side customized operation processing in advance.
In some possible embodiments, the pretreatment includes any one of following operation processing or multinomial group
It closes:Text conversion, cutting word processing, part-of-speech tagging, trunk word extraction, vocabulary delete, vocabulary disable, grammatical corrections, Speech conversion,
Vocabulary is converted.
Second aspect, an embodiment of the present invention provides a kind of terminal, which includes performing above-mentioned first aspect
The unit of method.
The third aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is for storage branch
The computer program that terminal performs the above method is held, the computer program includes program instruction, and the processor is configured to use
In calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer storage media
Computer program is stored with, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor
State the method that processor performs above-mentioned first aspect.
The embodiment of the present invention can by obtaining information to be operated, the information to be operated include at least target operation object with
And object run, then according to the instruction extracting rule that prestores, instruction extraction is carried out to the information to be operated, so as to obtain pair
The target control instruction answered, the instruction finally instructed according to the target control, for described in target operation object execution
The corresponding object run of information to be operated;The problems such as so can solving to instruct recognition accuracy relatively low in the prior art, so as to
Improve the accuracy rate of instruction identification.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of schematic flow diagram of information processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of network frame schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow diagram for information processing method that another embodiment of the present invention provides;
Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides;
Fig. 6 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch
Sensing surface) it can support the various application programs with user interface directly perceived and transparent for a user.
It is that the embodiment of the present invention provides a kind of schematic flow diagram of information processing method, side as shown in Figure 1 referring to Fig. 1
Method may include step is implemented as follows:
Step S102:Terminal obtains information to be operated, and the information to be operated includes at least target operation object and mesh
Mark operation.
The information to be operated is command information to be operated input by user, which, which is used to indicate, grasps target
Make object and carry out object run.The input form present invention of the information to be operated does not limit, and can be text message, voice
Information, pictorial information etc..
Step S104:According to the instruction extracting rule to prestore, instruction extraction is carried out to the information to be operated, so as to obtain
Corresponding target control instruction.
In the application, described instruction extracting rule is the self-defined setting of user side or end side, and the application will below
It is described in detail.
Step S106:According to the instruction that the target control instructs, wait to grasp for described in target operation object execution
Make the corresponding object run of information.
Some specific embodiments of the present invention and alternative embodiment is described below.
Before step S104, terminal also needs to be pre-created/establish instruction extracting rule.Specifically, terminal can obtain it is multiple
Operation information (such as spoken language text command information) generates correspondingly control instruction, and it is more to preserve this according to the plurality of operation information
The incidence relation or mapping relations of a operation information and multiple control instructions.It that is to say that the terminal can create and preserve multiple behaviour
Make the incidence relation between information, multiple control instructions and operation information and control instruction.Wherein, a control instruction can correspond to
One or more operation informations, an operation information can correspond to a control instruction.
By taking the operation information is spoken language text command information as an example, if some operation information is " 26 degree of air-conditioning tune ", then
Correspondingly control instruction should be " air-conditioner temperature sets 26 degree ".For another example another operation information is " air-conditioning is set to 26 degree ",
Corresponding control instruction is also equally " air-conditioner temperature sets 26 degree ".
In an alternative embodiment, the terminal can also be extracted it and correspond to the default of control instruction according to multiple operation informations
Form.The preset format instructs self-defined setting in order to control in advance for user side or end side, such as the control instruction
Preset format is made of any one of following parameter or multinomial combination:Operation object, object run and operation
Parameter etc..For example, the preset format of the control instruction is:Device identification (title, time, place, orientation)+operation object
+ operational motion+operating parameter, such as the entitled air-conditioning of equipment, operation object be temperature, operational motion is setting, operating parameter 26
Degree, then its control instruction is specially:Air-conditioner temperature sets 26 degree.
In an alternative embodiment, the terminal can be by the multiple operation information (the concretely vocabulary in operation information)
Added in dictionary database.I.e. described terminal can obtain each corresponding pass of operation information in the multiple operation information
Key information, then by these key message (vocabulary for forming operation information) storages into dictionary database.The crucial letter
Breath can be the important vocabulary that forms the operation information, specifically such as, device identification (such as implementor name) in the operation information,
Operational motion, operating parameter etc. vocabulary.Correspondingly, the terminal is using the instruction extracting rule created, by dictionary number
It is extended to according to the vocabulary in storehouse in the equipment of every field, so as to obtain associating between more operation informations and control instruction
Relation, to improve instruction extracting rule.
In practical applications, multiple customized vocabulary can be previously stored in the dictionary database, in dictionary
Vocabulary etc., preferably to help generation of participle and new control instruction in subsequently pretreatment etc..
In an alternative embodiment, the terminal can also pre-process the operation information in the dictionary database, from
And the key message needed for described instruction extracting rule is obtained, the letter as described in meeting corresponding to the preset rules of control instruction
Breath, may include at least one of the following:Operation object, operating time, operating position, object run and operating parameter etc.
Deng for details, reference can be made to the related elaboration of the preset rules of aforesaid control order, which is not described herein again.
The pretreatment is the operation processing of user side or end side self-defined setting in advance, which is included but not
It is limited to any one of following operation processing or multinomial combination:Text conversion, participle (or cutting word) processing remove stop words (such as
Vocabulary is deleted, vocabulary disables), part-of-speech tagging, the extraction of trunk word, grammatical corrections, Speech conversion, vocabulary convert (such as synonym
Replacement, antonym replacement etc.) etc..On the specific implementation process of the pretreatment, the application is not detailed.
In an alternative embodiment, the terminal can also timing/periodically in the dictionary database vocabulary carry out
It regularly updates, the more controls of incidence relation or collection between the more operation informations of acquisition/collection and control instruction refer to
Make information.Specifically, as user can add new term in the dictionary database, also add in multiple operation informations and wrap
The vocabulary contained, such as implementor name, operational motion, operating parameter, operating time, operating position/place, orientation and synonym or anti-
The vocabulary such as adopted word.Optionally, the terminal can also periodically be given birth to according to the dictionary database and instruction extracting rule
Into/the corresponding control instruction of update etc., the application does not limit.
Lower mask body introduction this application involves some specific embodiments.
In step S102, terminal can obtain information to be operated input by user, and the information to be operated includes but not limited to
The combination of any one of following information or diversified forms:Textual information, voice messaging, pictorial information etc..It is described to be operated
Information includes at least target operation object to be operated and object run.Optionally, the information to be operated may also include all
Such as operating time, operating position, operating parameter information, the application do not limit.
Correspondingly, terminal described in step S104 can carry out the information to be operated according to the instruction extracting rule to prestore
Instruction extraction and matching treatment, so as to obtain corresponding target control instruction.Finally, terminal described in step S106 can be according to institute
The instruction of target control instruction is stated, the object run is performed for the target operation object.
Wherein, described instruction extracting rule may include the incidence relation for having between multiple operation informations and multiple control instructions
(i.e. mapping relations) may also comprise the preset format of control instruction.Specifically, when described instruction extracting rule includes multiple behaviour
When making the incidence relation between information and multiple control instructions, each operation information can each correspond to one control instruction of association,
Each control instruction can correspond to the one or more operation informations of association.For example, control instruction is mapped as multiple operation informations, such as
By control instruction " air-conditioning opening " be mapped as multiple operation informations " open air-conditioning, air-conditioning opened, air-conditioning is opened ... ".Then
Correspondingly in step S104, the terminal can match the information to be operated and the multiple operation information, if
With success, then corresponding target control instruction is returned.
Correspondingly, when described instruction extracting rule includes the preset format of control instruction, then described in step S104 eventually
It end can be according to the preset format of the control instruction, as device identification, operating time, operation place, operative orientation, operation are dynamic
The fields such as work, operating parameter carry out the information to be operated the extraction of correspondingly target control instruction, so as to obtain correspondingly
The target control instruction.
In an alternative embodiment, the terminal in step S102 can obtain initial information to be operated input by user, described
Input form the application of initial information does not limit, and can be voice messaging, text message etc..Further, the end
End can pre-process the initial information, so as to obtain the information to be operated input by user.On the pretreatment
Reference can be made to the related introduction in previous embodiment, which is not described herein again.
In an alternative embodiment, when the initial information be voice messaging when, the terminal can to the initial information into
It composes a piece of writing this conversion process, so as to obtain the initial information of textual form.Further, can to the initial information of the textual form into
Other pretreatment operations of row, such as segment, remove stop words, part-of-speech tagging, so as to obtain the pretreated letter to be operated
Breath.And then according to extracting rule is instructed, the corresponding target control instruction of the information to be operated is exported, and according to the target
Control instruction carries out correspondingly object run to relevant device, and air-conditioner temperature such as is arranged to 26 degree.Fig. 2 is for details, reference can be made to show
Go out, this application involves a kind of information processing specific frame handle schematic diagram.
By implementing the embodiment of the present invention, multiple operation informations can be obtained by way of acquisition, artificial brush choosing, and it is raw
Into correspondingly multiple control instructions, the accuracy that control instruction generates is improved.Further, instruction extracting rule can be expanded
To other equipment, more control instructions are generated, ensure that the expansion and extensibility of instruction.It correspondingly, will be pretreated
Information to be operated is inputted carries out instruction extraction and matching into instruction extracting rule, can retain text key message, improve mesh
The matched accuracy rate of mark control instruction, the interference for avoiding invalid information.Optionally, dictionary database is additionally added, is promoted at participle
The accuracy of reason.
Fig. 3 is referred to, is another information processing method provided in an embodiment of the present invention.Method as described in Figure 3 can wrap
It includes and step is implemented as follows:
Step S202, terminal obtains initial information to be operated;
Step S204, initial information described in described terminal-pair is pre-processed, so as to obtain information to be operated;Wherein, institute
It is user side or end side customized operation processing in advance to state pretreatment.
Step S206, described terminal carries out instruction extraction according to the instruction extracting rule to prestore to the information to be operated,
So as to obtain corresponding target control instruction;
In an alternative embodiment, described instruction extracting rule includes at least:Multiple operation informations and multiple control instructions it
Between incidence relation, the multiple operation information includes at least the information to be operated, and the multiple control instruction includes at least
The target control instruction.
In an alternative embodiment, described instruction extracting rule includes at least:The preset format of control instruction, the default lattice
Formula includes any one of following or multinomial combination:Operation object, object run and operating parameter.
In an alternative embodiment, the method further includes:Obtain in the multiple operation information each operation information each
Corresponding key message, the key message include any one of following or multinomial combination:The operation object, the mesh
Mark operation and the operating parameter;Each corresponding key message of operation information is stored to dictionary database
In.
Step S208, the instruction instructed according to the target control is waited to grasp for described in target operation object execution
Make the corresponding object run of information.
The content not described not shown in the embodiment of the present invention or can be referring specifically to the related description in previous embodiment, this
In repeat no more.
The embodiment of the present invention can by obtaining information to be operated, the information to be operated include at least target operation object with
And object run, then according to the instruction extracting rule that prestores, instruction extraction is carried out to the information to be operated, so as to obtain pair
The target control instruction answered, the instruction finally instructed according to the target control, for described in target operation object execution
The corresponding object run of information to be operated;The problems such as so can solving to instruct recognition accuracy relatively low in the prior art, so as to
Improve the accuracy rate of instruction identification.
The embodiment of the present invention also provides a kind of terminal, which is used to perform the unit of foregoing any one of them method.
Specifically, it is a kind of schematic block diagram of terminal provided in an embodiment of the present invention referring to Fig. 4.The terminal 400 of the present embodiment includes:
Acquiring unit 402, extraction unit 404 and processing unit 406;Wherein,
For the acquiring unit 402 for obtaining information to be operated, the information to be operated includes at least target operation object
And object run;
The extraction unit 404 is used for according to the instruction extracting rule to prestore, and instruction is carried out to the information to be operated and is carried
It takes, so as to obtain corresponding target control instruction;
The processing unit 406 is used for the instruction instructed according to the target control, is held for the target operation object
The corresponding object run of the row information to be operated.
The embodiment of the present invention can by obtaining information to be operated, the information to be operated include at least target operation object with
And object run, then according to the instruction extracting rule that prestores, instruction extraction is carried out to the information to be operated, so as to obtain pair
The target control instruction answered, the instruction finally instructed according to the target control, for described in target operation object execution
The corresponding object run of information to be operated;The problems such as so can solving to instruct recognition accuracy relatively low in the prior art, so as to
Improve the accuracy rate of instruction identification.
It is the structure diagram of another terminal provided in an embodiment of the present invention please also refer to Fig. 5.The terminal may include
The acquiring unit 402, the extraction unit 404 and the processing unit 406 in embodiment described in Fig. 4;Wherein, may be used also
Including storage unit 408;
In some possible embodiments, described instruction extracting rule includes at least:Multiple operation informations and multiple controls
Incidence relation between instruction, the multiple operation information include at least the information to be operated, and the multiple control instruction is extremely
Include the target control less to instruct.
In some possible embodiments, described instruction extracting rule includes at least:The preset format of control instruction, it is described
Preset format includes any one of following or multinomial combination:Operation object, object run and operating parameter.
In some possible embodiments,
The acquiring unit 402 is additionally operable to obtain the corresponding key of each operation information in the multiple operation information
Information, the key message include any one of following or multinomial combination:The operation object, the object run and
The operating parameter;
The storage unit 408 is additionally operable to store each corresponding key message of operation information to dictionary number
According in storehouse.
In some possible embodiments, the operation information includes any one of following or multinomial combination:Voice
Information, text message and pictorial information.
In some possible embodiments,
The acquiring unit 402 is used to obtain initial information to be operated;
The processing unit 406 is additionally operable to pre-process the initial information, so as to obtain the information to be operated;
Wherein, the pretreatment is user side or end side customized operation processing in advance.
In some possible embodiments, the pretreatment includes any one of following operation processing or multinomial group
It closes:Text conversion, cutting word processing, part-of-speech tagging, trunk word extraction, vocabulary delete, vocabulary disable, grammatical corrections, Speech conversion,
Vocabulary is converted.
The content not described not shown in the embodiment of the present invention or can be referring specifically to the related description in previous embodiment, this
In repeat no more.
The embodiment of the present invention can by obtaining information to be operated, the information to be operated include at least target operation object with
And object run, then according to the instruction extracting rule that prestores, instruction extraction is carried out to the information to be operated, so as to obtain pair
The target control instruction answered, the instruction finally instructed according to the target control, for described in target operation object execution
The corresponding object run of information to be operated;The problems such as so can solving to instruct recognition accuracy relatively low in the prior art, so as to
Improve the accuracy rate of instruction identification.
It is a kind of schematic block diagram for terminal that another embodiment of the present invention provides referring to Fig. 6.The present embodiment as depicted
In terminal can include:One or more processors 801;One or more input equipments 802, one or more output equipments
803 and memory 804.Above-mentioned processor 801, input equipment 802, output equipment 803 and memory 804 are connected by bus 805
It connects.Memory 802 is for storing computer program, and the computer program includes program instruction, and processor 801 is deposited for performing
The program instruction that reservoir 802 stores.Wherein, processor 801 is arranged to that described program instruction is called to perform following operation:
Information to be operated is obtained, the information to be operated includes at least target operation object and object run;
According to the instruction extracting rule to prestore, instruction extraction is carried out to the information to be operated, so as to obtain corresponding mesh
Mark control instruction;
According to the instruction that the target control instructs, perform the information to be operated for the target operation object and correspond to
Object run.
In some possible embodiments, described instruction extracting rule includes at least:Multiple operation informations and multiple controls
Incidence relation between instruction, wherein, each control instruction, which corresponds to, associates at least one operation information, the multiple operation letter
Breath includes at least the information to be operated, and the multiple control instruction is instructed including at least the target control.
In some possible embodiments, described instruction extracting rule includes at least:The preset format of control instruction, it is described
Preset format includes any one of following or multinomial combination:Operation object, object run and operating parameter.
In some possible embodiments, the processor 801 is additionally operable to perform:
Obtaining the corresponding key message of each operation information, the key message in the multiple operation information includes
Any one of below or multinomial combination:The operation object, the object run and the operating parameter;
Each corresponding key message of operation information is stored into dictionary database.
In some possible embodiments, the operation information includes any one of following or multinomial combination:Voice
Information, text message and pictorial information.
In some possible embodiments, the acquisition information to be operated includes:
Obtain initial information to be operated;
The initial information is pre-processed, so as to obtain the information to be operated;Wherein, the pretreatment is user
Side or end side customized operation processing in advance.
In some possible embodiments, the pretreatment includes any one of following operation processing or multinomial group
It closes:Text conversion, cutting word processing, part-of-speech tagging, trunk word extraction, vocabulary delete, vocabulary disable, grammatical corrections, Speech conversion,
Vocabulary is converted.
It should be appreciated that in embodiments of the present invention, alleged processor 801 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 802 can include Trackpad, fingerprint and adopt sensor (for gathering the finger print information of user and fingerprint
Directional information), microphone etc., output equipment 803 can include display (LCD etc.), loud speaker etc..
The memory 804 can include read-only memory and random access memory, and to processor 801 provide instruction and
Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited
Store up the information of device type.
In the specific implementation, processor 801, input equipment 802, the output equipment 803 described in the embodiment of the present invention can
The realization method described in the method embodiment provided in an embodiment of the present invention is performed, also can perform institute of the embodiment of the present invention
The realization method of the terminal of description, details are not described herein.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes program instruction, and described program instruction is realized when being executed by processor
All or part of embodiments or implementation steps in embodiment of the method as described above.
The computer readable storage medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or memory of terminal.The computer readable storage medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer readable storage medium is described for storing
Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of division of logic function can have other dividing mode in actual implementation, such as multiple units or component can be tied
It closes or is desirably integrated into another system or some features can be ignored or does not perform.In addition, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated
The form that hardware had both may be employed in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, terminal or the network equipment etc.) performs the whole of each embodiment the method for the present invention
Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Claims (10)
1. a kind of information processing method, which is characterized in that the described method includes:
Information to be operated is obtained, the information to be operated includes at least target operation object and object run;
According to the instruction extracting rule to prestore, instruction extraction is carried out to the information to be operated, corresponding target control is obtained and refers to
Order;
According to the instruction that the target control instructs, the corresponding mesh of the information to be operated is performed for the target operation object
Mark operation.
2. according to the method described in claim 1, it is characterized in that, described instruction extracting rule includes at least:Multiple operation letters
Incidence relation between breath and multiple control instructions, wherein, each control instruction, which corresponds to, associates at least one operation information, institute
Multiple operation informations are stated including at least the information to be operated, the multiple control instruction refers to including at least the target control
Order.
3. according to the method described in claim 2, it is characterized in that, described instruction extracting rule includes at least:Control instruction
Preset format, the preset format include any one of following or multinomial combination:Operation object, object run and operation
Parameter.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
The corresponding key message of each operation information in the multiple operation information is obtained, the key message includes following
Any one of or multinomial combination:The operation object, the object run and the operating parameter;
Each corresponding key message of operation information is stored into dictionary database.
5. according to the method described in claim 4, it is characterized in that, the operation information is including any one of following or multinomial
Combination:Voice messaging, text message and pictorial information.
6. according to the method described in claim 1, it is characterized in that, the acquisition information to be operated includes:
Obtain initial information to be operated;
The initial information is pre-processed, obtains the information to be operated;Wherein, the pretreatment is user side or terminal
Side customized operation processing in advance.
7. according to the method any one of claim 1-6, which is characterized in that the pretreatment includes following operation processing
Any one of or multinomial combination:Text conversion, cutting word processing, part-of-speech tagging, the extraction of trunk word, vocabulary deletion, vocabulary stop
With, grammatical corrections, Speech conversion, vocabulary convert.
A kind of 8. terminal, which is characterized in that the list including being used to perform the method as described in claim 1-7 any claims
Member.
9. a kind of terminal, which is characterized in that the processor, defeated including processor, input equipment, output equipment and memory
Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer
Program includes program instruction, and the processor is arranged to call described program instruction, perform such as any one of claim 1-7
The method.
10. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor perform such as right when being executed by a processor
It is required that 1-7 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711326690.XA CN108108094A (en) | 2017-12-12 | 2017-12-12 | A kind of information processing method, terminal and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711326690.XA CN108108094A (en) | 2017-12-12 | 2017-12-12 | A kind of information processing method, terminal and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108108094A true CN108108094A (en) | 2018-06-01 |
Family
ID=62215761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711326690.XA Pending CN108108094A (en) | 2017-12-12 | 2017-12-12 | A kind of information processing method, terminal and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108108094A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109324838A (en) * | 2018-08-31 | 2019-02-12 | 深圳市元征科技股份有限公司 | Execution method, executive device and the terminal of SCM program |
CN109693459A (en) * | 2018-12-25 | 2019-04-30 | 深圳和而泰数据资源与云技术有限公司 | Information processing method and device |
CN110060674A (en) * | 2019-03-15 | 2019-07-26 | 重庆小雨点小额贷款有限公司 | Form management method, apparatus, terminal and storage medium |
CN110223679A (en) * | 2019-06-14 | 2019-09-10 | 南京机电职业技术学院 | A kind of voice recognition input devices |
CN110276073A (en) * | 2019-06-14 | 2019-09-24 | 南京机电职业技术学院 | A kind of interactive mode Oral English Practice bearing calibration |
CN110677393A (en) * | 2019-09-12 | 2020-01-10 | 视联动力信息技术股份有限公司 | Signaling association method and device, electronic equipment and storage medium |
WO2020164336A1 (en) * | 2019-02-13 | 2020-08-20 | 阿里巴巴集团控股有限公司 | Method and device for extracting main word by means of reinforcement learning |
CN111798842A (en) * | 2019-04-03 | 2020-10-20 | 现代自动车株式会社 | Dialogue system and dialogue processing method |
CN111986670A (en) * | 2020-08-25 | 2020-11-24 | Oppo广东移动通信有限公司 | Voice control method, device, electronic equipment and computer readable storage medium |
CN112819061A (en) * | 2021-01-27 | 2021-05-18 | 北京小米移动软件有限公司 | Password information identification method, device, equipment and storage medium |
CN113172620A (en) * | 2021-03-29 | 2021-07-27 | 北京京东乾石科技有限公司 | Robot control method, device, electronic equipment and computer readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268195A (en) * | 2014-09-19 | 2015-01-07 | 三星电子(中国)研发中心 | Method and device for processing local resources in terminal |
CN105487668A (en) * | 2015-12-09 | 2016-04-13 | 腾讯科技(深圳)有限公司 | Display method and apparatus for terminal device |
CN106250474A (en) * | 2016-07-29 | 2016-12-21 | Tcl集团股份有限公司 | A kind of voice-operated processing method and system |
US20170301348A1 (en) * | 2016-04-19 | 2017-10-19 | International Business Machines Corporation | Smart launching mobile applications with preferred user interface (ui) languages |
-
2017
- 2017-12-12 CN CN201711326690.XA patent/CN108108094A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268195A (en) * | 2014-09-19 | 2015-01-07 | 三星电子(中国)研发中心 | Method and device for processing local resources in terminal |
CN105487668A (en) * | 2015-12-09 | 2016-04-13 | 腾讯科技(深圳)有限公司 | Display method and apparatus for terminal device |
US20170301348A1 (en) * | 2016-04-19 | 2017-10-19 | International Business Machines Corporation | Smart launching mobile applications with preferred user interface (ui) languages |
CN106250474A (en) * | 2016-07-29 | 2016-12-21 | Tcl集团股份有限公司 | A kind of voice-operated processing method and system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109324838A (en) * | 2018-08-31 | 2019-02-12 | 深圳市元征科技股份有限公司 | Execution method, executive device and the terminal of SCM program |
CN109693459B (en) * | 2018-12-25 | 2021-01-19 | 深圳和而泰数据资源与云技术有限公司 | Information processing method and device |
CN109693459A (en) * | 2018-12-25 | 2019-04-30 | 深圳和而泰数据资源与云技术有限公司 | Information processing method and device |
WO2020164336A1 (en) * | 2019-02-13 | 2020-08-20 | 阿里巴巴集团控股有限公司 | Method and device for extracting main word by means of reinforcement learning |
CN110060674A (en) * | 2019-03-15 | 2019-07-26 | 重庆小雨点小额贷款有限公司 | Form management method, apparatus, terminal and storage medium |
CN110060674B (en) * | 2019-03-15 | 2022-02-01 | 重庆小雨点小额贷款有限公司 | Table management method, device, terminal and storage medium |
CN111798842B (en) * | 2019-04-03 | 2024-03-26 | 现代自动车株式会社 | Dialogue system and dialogue processing method |
US11783806B2 (en) | 2019-04-03 | 2023-10-10 | Hyundai Motor Company | Dialogue system and dialogue processing method |
CN111798842A (en) * | 2019-04-03 | 2020-10-20 | 现代自动车株式会社 | Dialogue system and dialogue processing method |
CN110276073A (en) * | 2019-06-14 | 2019-09-24 | 南京机电职业技术学院 | A kind of interactive mode Oral English Practice bearing calibration |
CN110223679A (en) * | 2019-06-14 | 2019-09-10 | 南京机电职业技术学院 | A kind of voice recognition input devices |
CN110677393B (en) * | 2019-09-12 | 2022-03-29 | 视联动力信息技术股份有限公司 | Signaling association method and device, electronic equipment and storage medium |
CN110677393A (en) * | 2019-09-12 | 2020-01-10 | 视联动力信息技术股份有限公司 | Signaling association method and device, electronic equipment and storage medium |
CN111986670A (en) * | 2020-08-25 | 2020-11-24 | Oppo广东移动通信有限公司 | Voice control method, device, electronic equipment and computer readable storage medium |
CN112819061A (en) * | 2021-01-27 | 2021-05-18 | 北京小米移动软件有限公司 | Password information identification method, device, equipment and storage medium |
CN113172620A (en) * | 2021-03-29 | 2021-07-27 | 北京京东乾石科技有限公司 | Robot control method, device, electronic equipment and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108108094A (en) | A kind of information processing method, terminal and computer-readable medium | |
CN108227565A (en) | A kind of information processing method, terminal and computer-readable medium | |
US20200104357A1 (en) | Neural typographical error modeling via generative adversarial networks | |
CN103077715B (en) | Merge voice recognition result | |
CN110459222A (en) | Sound control method, phonetic controller and terminal device | |
CN107610698A (en) | A kind of method for realizing Voice command, robot and computer-readable recording medium | |
CN112182252B (en) | Intelligent medication question-answering method and device based on medicine knowledge graph | |
WO1999063425A1 (en) | Method and apparatus for information processing, and medium for provision of information | |
JP2006023860A (en) | Information browser, information browsing program, information browsing program recording medium, and information browsing system | |
CN108227564A (en) | A kind of information processing method, terminal and computer-readable medium | |
CN103632668B (en) | A kind of method and apparatus for training English speech model based on Chinese voice information | |
CN106373570A (en) | Voice control method and terminal | |
CN107436691A (en) | A kind of input method carries out method, client, server and the device of error correction | |
CN106952655A (en) | A kind of input method and terminal | |
CN104252311B (en) | Inferred mood is used to modify stylus input or response | |
WO2010124512A1 (en) | Human-machine interaction system and related system, device and method thereof | |
CN104252312B (en) | Stylus dictionary is shared | |
WO2023071562A1 (en) | Speech recognition text processing method and apparatus, device, storage medium, and program product | |
CN110462647A (en) | The method of the function of electronic equipment and execution electronic equipment | |
CN107885345A (en) | A kind of method, terminal and computer-readable medium for aiding in amendment word | |
CN109918494A (en) | Context relation based on figure replys generation method, computer and medium | |
CN106886364A (en) | A kind of text handling method and terminal based on speech recognition | |
CN107729306A (en) | A kind of text handling method, terminal and computer-readable medium | |
CN108052212A (en) | A kind of method, terminal and computer-readable medium for inputting word | |
CN107797676A (en) | A kind of input method of the single character and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180601 |
|
RJ01 | Rejection of invention patent application after publication |