The content of the invention
To overcome problem present in correlation technique, the present invention to provide a kind of information processing method and device.
A kind of first aspect according to embodiments of the present invention, there is provided information processing method, is applied to terminal, and methods described includes:
Obtain keyword and pending information that user is input into the information input frame of default application program;
The target processing mode that acquisition is mutually bound with keyword;
Call the destination application being associated with keyword;
In destination application the pending information is processed according to the target processing mode.
Wherein, the acquisition processing mode corresponding with keyword, including:
Obtain the first corresponding relation between the keyword and processing mode being locally stored;
The processing mode corresponding with the keyword is searched in first corresponding relation and as target processing mode.
Wherein, it is described to call the destination application being associated with keyword, including:
Obtain the second corresponding relation between the keyword and application program identification being locally stored;
The application program identification corresponding with the keyword is searched in second corresponding relation;
The corresponding application program of the application program identification is defined as the destination application;
Start the destination application.
Wherein, it is described that the corresponding application program of the application program identification is defined as the destination application, including:
Judge that the application program identification found in second corresponding relation is one or more;
When an application program identification is found in second corresponding relation, by the application program identification it is corresponding should
It is defined as the destination application with program;
When multiple application program identifications are found in second corresponding relation, from the multiple application programs for finding
An application program identification is obtained in mark, the corresponding application program of the application program identification of the acquisition is defined as the mesh
Mark application program.
Wherein, one application program identification of acquisition from the multiple application program identifications for finding, including:
An application program identification is randomly choosed from the multiple application program identifications for finding, and by the random selection
The corresponding application program of an application program identification be defined as the destination application;
Or,
The multiple application program identifications for finding are showed into user;The user is received in the multiple application program mark
The application program identification selected in knowledge;The corresponding application program of application program identification that the user selects is defined as institute
State destination application;
Or,
In distinguishing corresponding application program from the multiple application program identifications for finding, selection is called in historical process
The most application program of number of times and as destination application.
A kind of second aspect according to embodiments of the present invention, there is provided information processor, is applied to terminal, and described device includes:
First acquisition module, for obtaining keyword that user is input into the information input frame of default application program and pending
Information;
Second acquisition module, for obtaining the target processing mode mutually bound with keyword;
Calling module, for calling the destination application being associated with keyword;
Processing module, for processing the pending information according to the target processing mode in destination application.
Wherein, second acquisition module includes:
First acquisition unit, for obtaining the first corresponding relation between the keyword and processing mode that are locally stored;
First searching unit, for searching the processing mode corresponding with the keyword in first corresponding relation and making
It is target processing mode.
Wherein, the calling module includes:
Second acquisition unit, for obtaining the second corresponding relation between the keyword and application program identification that are locally stored;
Second searching unit, for searching the application program identification corresponding with the keyword in second corresponding relation;
Determining unit, for the corresponding application program of the application program identification to be defined as into the destination application;
Start unit, for starting the destination application.
Wherein, the determining unit includes:
Judgment sub-unit, the application program identification for judging to be found in second corresponding relation is one or more;
First determination subelement, for when an application program identification is found in second corresponding relation, by described in
The corresponding application program of application program identification is defined as the destination application;
Subelement is obtained, for when multiple application program identifications are found in second corresponding relation, from the lookup
To multiple application program identifications in obtain an application program identification;Second determination subelement, for answering the acquisition
It is defined as the destination application with the corresponding application program of program identification.
Wherein, it is described acquisition subelement specifically for:
An application program identification is randomly choosed from the multiple application program identifications for finding, and by the random selection
The corresponding application program of an application program identification be defined as the destination application;
Or,
The multiple application program identifications for finding are showed into user;The user is received in the multiple application program mark
The application program identification selected in knowledge;The corresponding application program of application program identification that the user selects is defined as institute
State destination application;
Or,
In distinguishing corresponding application program from the multiple application program identifications for finding, selection is called in historical process
The most application program of number of times and as destination application.
The technical scheme that embodiments of the invention are provided can include the following benefits:In the present invention, when the interface of terminal
It is shown that during default application program, if user now needs to be processed according to target processing mode in destination application treated
Processing information, user need not manually exit default application program, and without search in the terminal manually and start intended application
Program, only need to be input into the corresponding keyword of target processing mode and pending letter in the information input frame of default application program
Breath, so, when terminal gets user's keyword of input and pending in the information input frame of default application program
The target processing mode mutually bound with keyword will be obtained during information, and calls the intended application journey being associated with keyword
Sequence;Then pending information is processed according to target processing mode in destination application.Compared to prior art, the present invention
Embodiment needs user less the step of operation, and can also be time-consuming, such that it is able to improve at Consumer's Experience and raising
Reason efficiency.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, can not limit
The system present invention.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to accompanying drawing
When, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.In following exemplary embodiment
Described implementation method does not represent all implementation methods consistent with the present invention.Conversely, they are only and such as appended power
The example of the consistent apparatus and method of some aspects described in detail in sharp claim, of the invention.
Fig. 1 is a kind of flow chart of the information processing method according to an exemplary embodiment, as shown in figure 1, the method
In for terminal, comprise the following steps.
In step S101, keyword and pending information that user is input into the information input frame of default application program are obtained;
When the interface of default application program is shown on the screen of terminal, if user now need in destination application by
According to the target processing mode pending information for the treatment of, user can be input into target treatment in the information input frame of default application program
The corresponding keyword of mode and pending information.Wherein, it is that different two should to preset application program from destination application
Use program.
Information input frame can be browser in search box, or for messaging application in for editing information to be sent
Edit box etc..
Wherein, there is intrinsic effect due to presetting the information input frame of application program, i.e. apply journey default for user
The information being input into the information input frame of sequence, terminal would generally be processed the information being input into according to intrinsic processing mode.
The common effect of search box of such as browser is the information to be checked for obtaining user input, and then is searched on the internet to be checked
Inquiry information;And the common effect of edit box of editor's information to be sent is information to be sent and then the transmission for obtaining user input
Information to be sent etc..
Wherein, sometimes user needs what the information that terminal-pair is input into the information input frame of default application program was processed
It is intrinsic that the carrying out of the information that target processing mode may be input into terminal-pair in the information input frame of default application program is processed
Processing mode is inconsistent.
Therefore, when user is input into keyword and pending information in information input frame, in order to enable the terminals to accurately know
It is to need terminal to process pending information according to target processing mode in destination application not go out user, and user can be according to
Preset format is input into keyword and pending information in information input frame.So, when terminal receives user in default application
When in the information input frame of program according to the information of preset format input, will be according to preset format from the information of user input
Extract keyword and pending information, and determine user need terminal in the destination application being associated with keyword by
According to the target processing mode pending information for the treatment of.
For example, preset format can be:" the pending information of keyword separator ", separator can for " -- ", " % " or
" space " etc., the present invention is not limited to this.Certainly, preset format can also be other forms, be not detailed herein.
So, in embodiments of the present invention, when information has been input into information input frame of the user in default application program, eventually
End can search separator in the information of user input, by be located at separator before information as keyword, will be located at divide
Information after symbol is used as pending information.
In step s 102, the target processing mode mutually bound with keyword is obtained;
Wherein, technical staff can in the terminal set the corresponding processing mode of keyword of each in advance, and for any one
Keyword, the keyword that technical staff stores the keyword and the processing mode storage corresponding with the keyword in the terminal
In the first corresponding relation between processing mode.For other each keywords, aforesaid operations are equally performed.
For example, the corresponding processing modes of keyword save are storage, the corresponding processing modes of keyword call are calling, crucial
To send, the corresponding processing modes of keyword delete are to delete to the corresponding processing modes of word send, and keyword search
Corresponding processing mode is search etc..
So, in this step, the first corresponding relation between the keyword and processing mode being locally stored can be obtained;Then
The processing mode corresponding with keyword is searched in the first corresponding relation and as target processing mode.
In step s 103, the destination application being associated with keyword is called;
Wherein, the application program that technical staff can be associated in terminal setting with each keyword in advance, for any one pass
Keyword, the application program identification storage of the application program that technical staff is associated by the keyword and with the keyword is in the terminal
In the second corresponding relation between the keyword of storage and application program identification.It is same to perform for other each keywords
Aforesaid operations.
In embodiments of the present invention, because a keyword is corresponding with a processing mode, and each application program can be supported
One processing mode or multiple processing modes, and multiple different application programs may all support same processing mode, because
This, for any one keyword, the application program being associated with the keyword can be one or more.
For example, the application program installed in terminal includes:Phone directory, QQ, wechat, Ali's mailbox, impression notes and word
Deng.Because QQ, wechat and Ali's mailbox may serve to transmission information, therefore, the application being associated with keyword send
Program can be QQ, wechat and Ali's mailbox.And, phone directory, impression notes and word may serve to storage information,
Therefore, the application program being associated with keyword save can be phone directory, impression notes and word.
So, in this step, the second corresponding relation between the keyword and application program identification being locally stored can be obtained;
Then the application program identification corresponding with keyword is searched in the second corresponding relation;And the application program identification that will be found
Corresponding application program is defined as destination application;Restart destination application.
Wherein, the corresponding application program of application program identification that will be found is defined as destination application, can be by as follows
Flow realization, including:
11), judge that the application program identification found in the second corresponding relation is one or more;
12) it is, when an application program identification is found in the second corresponding relation, an application program identification is corresponding
Application program is defined as destination application;
13), when multiple application program identifications are found in the second corresponding relation, from the multiple application program identifications for finding
One application program identification of middle acquisition, intended application is defined as by the corresponding application program of an application program identification for obtaining
Program.
Wherein, an application program identification is obtained from from the multiple application program identifications for finding, can be by following three kinds
Mode realizes, including:
A kind of mode, when multiple application program identifications are found in the second corresponding relation, can from the multiple for finding should
With randomly choosing an application program identification in program identification, and by the corresponding application of a randomly selected application program identification
Program is defined as destination application.
Another way, for preferably service user, Consumer's Experience is improved, when finding multiple in the second corresponding relation
During application program identification, the multiple application program identifications that will can be found show user.For example set up an application program
Identification list, the multiple application program identifications that will be found are added in the application list, then by the application program mark
List display is known on the display screen of terminal, to realize that the multiple application program identifications that will be found show user.
After user views multiple application program identifications on the display screen of terminal, can be from these application program identifications
One application program identification of selection, and terminal is submitted into the application program identification of selection, terminal receives the application of user's selection
Program identification, and the corresponding application program of application program identification of user's selection is defined as destination application.
Another mode, whenever needing to call, a certain application program treatment user is defeated in the information input frame of default application program
When entering information, terminal will obtain the 3rd corresponding relation between the application program identification and call number being locally stored;
Search whether there is the application program identification of a certain application program in three corresponding relations;When presence should in the 3rd corresponding relation
When using program identification, then increase the call number in the record for including the application program identification;Do not deposited when in the 3rd corresponding relation
In the application program identification, then illustrate that terminal had not called the application program to process user in historical process and answered default
With in the information input frame of program be input into information, call number initial value can be now set, by the application program identification with should
Number of times initial value is as one article of record storage in the 3rd corresponding relation.
Therefore, in this step, when multiple application program identifications are found in the second corresponding relation, for what is found
Any one application program identification in multiple application program identifications, the application program identification that is locally stored and call number it
Between the 3rd corresponding relation in search whether exist the application program identification, when exist the application program identification when, then obtain with
The corresponding call number of the application program identification;When in the absence of the application program identification, then illustrate in historical process eventually
End had not called the application program to process the information that user is input into the information input frame of default application program, now can be with
Determine that the corresponding call number of the application program identification is 0.It is each for other in multiple application program identifications for finding should
With program identification, operation is performed both by.
The corresponding call number of each application program identification in the multiple application program identifications that can be so found, so
Call number highest application program identification is obtained from the multiple application program identifications for finding afterwards, by call number highest
The corresponding application program of application program identification is defined as destination application.
Further, the call number in the record for including call number highest application program identification is increased.
In an alternative embodiment of the invention, if the application program identification of call number highest is multiple, from call number most
An application program identification, and the corresponding application journey of an application program identification that will be selected are selected in application program identification high
Sequence is defined as destination application.
In step S104, pending information is processed according to target processing mode in destination application.
For example, when target processing mode is for storage, by pending information Store in destination application.When target treatment
When mode is for search, pending information is searched for using destination application.When target processing mode is to delete, should in target
With deleting pending information in program.When target processing mode is for calling, using information at destination application Call Agent.
In the embodiment shown in Fig. 1 of the present invention, when terminal interface display be default application program when, if user this
When need to process pending information according to target processing mode in destination application, user without exit default application manually
Program, and without searching in the terminal manually and start destination application, only need to be in the information input of default application program
The corresponding keyword of target processing mode and pending information are input into frame, so, when terminal gets user pre-
If the target mutually bound with keyword will be obtained when the keyword being input into the information input frame of application program and pending information
Processing mode, and call the destination application being associated with keyword;Then in destination application according to target
Reason mode processes pending information.Compared to prior art, the embodiment of the present invention needs user less the step of operation, and
Can be with time-consuming, such that it is able to improving Consumer's Experience and improving treatment effeciency.
Fig. 2 is a kind of block diagram of the information processor according to an exemplary embodiment.Reference picture 2, the device includes:
First acquisition module 11, for obtaining the keyword and wait to locate that user is input into the information input frame of default application program
Reason information;
Second acquisition module 12, for obtaining the target processing mode mutually bound with keyword;
Calling module 13, for calling the destination application being associated with keyword;
Processing module 14, for processing the pending information according to the target processing mode in destination application.
Wherein, second acquisition module 12 includes:
First acquisition unit, for obtaining the first corresponding relation between the keyword and processing mode that are locally stored;
First searching unit, for searching the processing mode corresponding with the keyword in first corresponding relation and making
It is target processing mode.
Wherein, the calling module 13 includes:
Second acquisition unit, for obtaining the second corresponding relation between the keyword and application program identification that are locally stored;
Second searching unit, for searching the application program identification corresponding with the keyword in second corresponding relation;
Determining unit, for the corresponding application program of the application program identification to be defined as into the destination application;
Start unit, for starting the destination application.
Wherein, the determining unit includes:
Judgment sub-unit, the application program identification for judging to be found in second corresponding relation is one or more;
First determination subelement, for when an application program identification is found in second corresponding relation, by described in
The corresponding application program of application program identification is defined as the destination application;
Subelement is obtained, for when multiple application program identifications are found in second corresponding relation, from the lookup
To multiple application program identifications in obtain an application program identification;Second determination subelement, for answering the acquisition
It is defined as the destination application with the corresponding application program of program identification.
Wherein, it is described acquisition subelement specifically for:
An application program identification is randomly choosed from the multiple application program identifications for finding, and by the random selection
The corresponding application program of an application program identification be defined as the destination application;
Or,
The multiple application program identifications for finding are showed into user;The user is received in the multiple application program mark
The application program identification selected in knowledge;The corresponding application program of application program identification that the user selects is defined as institute
State destination application;
Or,
In distinguishing corresponding application program from the multiple application program identifications for finding, selection is called in historical process
The most application program of number of times and as destination application.
This in the embodiment shown in Fig. 2 of the present invention, when terminal interface display be default application program when, if user
Now need to process pending information according to target processing mode in destination application, user without exiting default answering manually
With program, and without search in the terminal manually and start destination application, only need to be defeated in the information of default application program
Enter the input corresponding keyword of target processing mode and pending information in frame, so, exist when terminal gets user
The mesh mutually bound with keyword will be obtained when the keyword being input into the information input frame of default application program and pending information
Mark processing mode, and call the destination application being associated with keyword;Then according to target in destination application
The pending information of processing mode treatment.Compared to prior art, the embodiment of the present invention needs user less the step of operation, and
Can also be time-consuming, such that it is able to improving Consumer's Experience and improving treatment effeciency.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in the reality about the method
Apply and be described in detail in example, explanation will be not set forth in detail herein.
Those skilled in the art will readily occur to other realities of the invention after considering specification and putting into practice invention disclosed herein
Apply scheme.The application is intended to any modification of the invention, purposes or adaptations, these modifications, purposes or
Adaptations follow general principle of the invention and including the undocumented common knowledge or used in the art of the present invention
Use technological means.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by appended right
It is required that pointing out.
It should be appreciated that the invention is not limited in the precision architecture being described above and be shown in the drawings, and can
To carry out various modifications and changes without departing from the scope.The scope of the present invention is only limited by appended claim.