The content of the invention
To overcome problem present in correlation technique, the present invention provides a kind of information processing method and device.
First aspect according to embodiments of the present invention includes there is provided a kind of information processing method, methods described:
When showing the first option information in previous option information set in compound term input frame, in compound term input frame
It is outer to show latter option information aggregate pre-set, corresponding with first option information;
Detect whether to receive the selection operation for selecting the second option information in an option information set in the rear;
When receiving the selection operation, second option information and first option information are simultaneously displayed on described
In compound term input frame.
Further, it is described to show latter option information aggregate pre-set, corresponding with first option information
Afterwards, in addition to:
Detect whether to receive the input letter inputted after first option information shown in the compound term input frame
Breath;
When receiving the input information, in the latter option information aggregate of display, delete not including described defeated
Enter the option information of information.
Further, described in the latter option information aggregate of display, deleting does not include the choosing of the input information
After item information, in addition to:
When there is multiple not deleted option informations in the latter option information aggregate of display, to what is be not deleted
Option information is ranked up according to the text similarity between the input information.
Further, described in the latter option information aggregate of display, deleting does not include the choosing of the input information
After item information, in addition to:
When the option information in the latter option information aggregate of display is all deleted, point out the input information defeated
Enter mistake.
Further, it is described that second option information and first option information are simultaneously displayed on the compound term input
Also include before in frame:
The input information is deleted from the compound term input frame.
Further, it is described that second option information and first option information are simultaneously displayed on the compound term input
After in frame, in addition to:
Default point is added between first option information and second option information that are shown in the compound term input frame
Every symbol.
Second aspect according to embodiments of the present invention includes there is provided a kind of information processing method, methods described:
Obtain the input information inputted in compound term input frame;
When the input information includes default separator, according to the default separator inputted in information by the input
Information is divided into multiple input sub-informations;
For each input sub-information, pre-setting, adjacent with the input sub-information in the input information
Previous have determined that in the corresponding option information set of the correct input sub-information of input search whether there is the input letter
Breath;When there is the input sub-information, determine that the input sub-information input is correct.
Further, after the determination input sub-information input is correct, in addition to:
The prompting input sub-information input is correct.
Further, methods described also includes:
When in the absence of the input sub-information, the input sub-information input error is pointed out.
Further, methods described also includes:
When in the absence of it is described input sub-information when, the compound term input outer frame show it is pre-setting, it is described input believe
Previous have determined that adjacent with the input sub-information in breath inputs the corresponding option information collection of correct input sub-information
Close.
The third aspect according to embodiments of the present invention includes there is provided a kind of information processor, described device:
First display module, for working as the first option information shown in compound term input frame in previous option information set
When, show latter option information collection pre-set, corresponding with first option information in compound term input outer frame
Close;
First detection module, for detecting whether receiving for selecting the second option in an option information set in the rear
The selection operation of information;
Second display module, for when receiving the selection operation, by second option information and first option
Information is simultaneously displayed in the compound term input frame.
Further, described device also includes:
Second detection module, for detecting whether receiving first option information shown in the compound term input frame
The input information inputted afterwards;
First removing module, for when receiving the input information, in the latter option information aggregate of display,
Deleting does not include the option information of the input information.
Further, described device also includes:
Order module, for when there is multiple not deleted option informations in the latter option information aggregate of display,
Not deleted option information is ranked up according to the text similarity between the input information.
Further, described device also includes:
First reminding module, for when in the latter option information aggregate of display option information all be deleted when,
The prompting input information input error.
Further, described device also includes:
Second removing module, for deleting the input information from the compound term input frame.
Further, described device also includes:
Add module, for first option information and second option information shown in the compound term input frame
Between add default separator.
Fourth aspect according to embodiments of the present invention includes there is provided a kind of information processor, described device:
Acquisition module, for obtaining the input information inputted in compound term input frame;
Split module, for when the input information includes default separator, according to default point in the input information
The input information is divided into multiple input sub-informations every symbol;
Searching modul, for for each input sub-information, it is pre-setting, it is described input information in it is described
Adjacent previous have determined that in the corresponding option information set of the correct input sub-information of input of input sub-information searches whether to deposit
In the input sub-information;
First determining module, for when there is the input sub-information, determining that the input sub-information input is correct.
Further, after the determination input sub-information input is correct, in addition to:
Second reminding module, it is correct for pointing out the input sub-information to input.
Further, described device also includes:
Second determining module, for when in the absence of the input sub-information, determining that the input sub-information input is correct;
3rd reminding module, for pointing out the input sub-information input error.
Further, described device also includes:
3rd display module, for when in the absence of the input sub-information, showing and setting in advance in compound term input outer frame
Previous have determined that adjacent with the input sub-information put, in the input information inputs correct input sub-information
Corresponding option information set.
The technical scheme that embodiments of the invention are provided can include the following benefits:
In the prior art, it is necessary to click on the input frame, now whenever needing to input a content in an input frame
Terminal can show in input outer frame and include the list of multiple contents, and user is in one content of selection from list, and now terminal is just
The content that user can be selected is included in the input frame.
That is, in the prior art, when often needing to input a content in input frame, user needs to perform two operations,
One be click on input frame operation, one is the operation for selecting content, so, when user need it is continuous in multiple input frames
, it is necessary to perform multiple clicking operation and multiple selection operation during middle input content respectively, user's operation is cumbersome, so as to cause
Consumer's Experience is relatively low.
Secondly, when cursor is located in input frame, user could perform the operation for clicking on input frame, because list is in input frame
Outer display, user could perform the operation of selection content when in the list that cursor is located at input outer frame.So, when user needs
When continuous distinguishing input content in multiple input frames, user is accomplished by control cursor and constantly moved from an input frame
To input outer frame, then it is moved in another input frame, is then moved to another input outer frame, and then constantly in input frame
Moved repeatedly with input outer frame, can so interrupt the workflow of user.
And in embodiments of the present invention, can be inputted in a compound term input frame in multiple different option information set
Option information, when user starts to need the input content in compound term input frame, if do not shown in compound term input frame now
Show any information, user can input clicking operation in compound term input frame;Inputted when terminal receives user in compound term
During the clicking operation of frame input, then the first option information set corresponding with compound term input frame is shown in compound term input outer frame;
User can select an option information in the first option information set;When terminal receives user in the first option information collection
In conjunction during the selection operation of one option information of selection, the option information that user is selected is used as the option information of first selection
And be shown in compound term input frame.
Also, also the corresponding option information set of option information that outer frame shows first selection actively can be inputted in compound term,
So that user again from first selection the corresponding option information set of option information in select an option information, without with
Family performs clicking operation and carrys out the corresponding option information of option information that triggering terminal shows first selection in compound term input outer frame
Set.
And, after during, as long as terminal shows an option information in compound term input frame, if there is with
The corresponding option information set of the option information, performs clicking operation without user and carrys out triggering terminal in compound term input outer frame
Show the corresponding option information set of the option information;But actively show that the option information is corresponding in compound term input outer frame
Option information set.
So, in whole input process, one click operation need to be only inputted, it is necessary to input several option informations, is carried out
Selection operation several times.If the embodiment of the present invention and prior art need the number of the content inputted in input frame all identical.
Compared to prior art, the embodiment of the present invention can reduce the number of times of input clicking operation, reduce the cumbersome journey of user's operation
Degree, so as to improve Consumer's Experience.
Secondly as rendering preferences information aggregate all inputs outer frame in compound term, user is performed after one click is operated just
Clicking operation will not be performed again, and therefore, cursor need not be moved in compound term input frame during execution selection operation afterwards,
Cursor need not be just controlled constantly to be moved repeatedly in compound term input frame with compound term input outer frame, so that user will not be interrupted
Workflow.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, it can not limit
The system present invention.
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 embodiment does not represent all embodiments consistent with the present invention.On the contrary, they are weighed with such as appended
The example of the consistent apparatus and method of some aspects be described in detail in sharp claim, the present invention.
Fig. 1 is a kind of flow chart of information processing method according to an exemplary embodiment, as shown in figure 1, this method
Comprise the following steps.
In step S101, when showing the first option information in previous option information set in compound term input frame,
Latter option information aggregate pre-set, corresponding with the first option information is shown in compound term input outer frame;
In embodiments of the present invention, user can input multiple option informations in compound term input frame, and user can be compound
The maximum quantity of the option information inputted in item input frame is fixed.For user inputted in compound term input frame it is any
One option information, the option information is that user selects select from an option information set.For user multiple
Other each option informations inputted in item input frame are closed, it is same.It is any that user inputs in compound term input frame
Two option informations are select from different option information set.
Each option information that user inputs in compound term input frame is that the order of option information set is sequentially input.
For the non-option information recently entered, each option information in option information set where the option information is corresponded to
One option information set.It is each in the option information set where the option information for the option information recently entered
Individual option information all no longer corresponds to option information set.
In embodiments of the present invention, in the corresponding option information set of compound term input frame, the embodiment of the present invention, it is combined
The corresponding option information collection of item input frame is combined into the first option information set.
When user starts to need the input content in compound term input frame, if do not shown in compound term input frame now any
Information, user can input clicking operation in compound term input frame;Inputted when terminal receives user in compound term input frame
Clicking operation when, compound term input outer frame show the first option information set corresponding with compound term input frame;User can
To select an option information in the first option information set;Selected when terminal receives user in the first option information set
When selecting the selection operation of option information, the option information that user is selected is used as the option information of first selection and display
In compound term input frame.
Wherein, in the first option information set each option information corresponds to an option information set;These options are believed
Breath set is respectively the second option information set.
After terminal includes the option information of first selection in compound term input frame, terminal can be in compound term input frame
The outer display second option information set corresponding with the option information of first selection, user can be in the second option information collection
An option information is selected in conjunction;When terminal receives the choosing that user selects an option information in the second option information set
When selecting operation, the option information that user is selected is believed as second option information selected, and by the option of second selection
Breath and the option information of first selection are simultaneously displayed in compound term input frame.
If each option information in the second option information set no longer corresponds to an option information set, illustrate
Two option informations are inputted in compound term input frame can just complete input.
If each option information in the second option information set corresponds to an option information set, these options letter
Breath set is respectively the 3rd option information set.
After terminal includes the option information of second selection in compound term input frame, terminal can be in compound term input frame
The outer display threeth option information set corresponding with the option information of second selection, user can be in the 3rd option information collection
An option information is selected in conjunction;When terminal receives the choosing that user selects an option information in the 3rd option information set
When selecting operation, the option information that user is selected is believed as the 3rd option information selected, and by the option of the 3rd selection
Breath is simultaneously displayed in compound term input frame with the option information of first selection, the option information of second selection.
If each option information in the 3rd option information set no longer corresponds to an option information set, illustrate
Three option informations are inputted in compound term input frame can just complete input.
If each option information in the 3rd option information set corresponds to an option information set, these options letter
Breath set is respectively the 4th option information set.Then using to the second option information set or the 3rd option information set progress
The flow of processing is handled the 4th option information set, until the choosing that user selects from an option information set
Untill item information no longer corresponds to option information set, so just complete to input.
In embodiments of the present invention, an option information set includes multiple different option informations.Terminal can be with list
Form on screen compound term input outer frame show the total Options information that the latter option information aggregate includes.
Before this step, terminal shows the previous option information set in compound term input outer frame, and as user, this is previous
When selecting an option information in individual option information set, the choosing that terminal selects user from the previous option information set
Item information includes in compound term input frame as the first option information, and by the first option information, is pre-set while obtaining
, corresponding with the first option information latter option information aggregate, and the latter option information aggregate is included multiple
Close item input outer frame.
In step s 102, detect whether to receive the choosing for selecting the second option information in latter option information aggregate
Select operation;
User can select an option letter for needing to input in compound term input frame in the latter option information aggregate
Breath.When terminal receives user, and the selection operation of option information is selected from the latter option information aggregate, it will use
Then the option information of family selection performs step S103 as the second option information.
When receiving the selection operation, in step s 103, the second option information is simultaneously displayed on the first option information
In compound term input frame.
Wherein, in step S101, the first choosing in the previous option information set is had shown that in compound term input frame
Second option information, therefore, when receiving the selection operation, can be simultaneously displayed on by item information with the first option information
In compound term input frame.
Further, in embodiments of the present invention, multiple option informations are shown simultaneously in the meeting of compound term input frame, due to each
Option information is constituted by characters such as word or numerals, if do not made a distinction to multiple option informations of display, user is just
Possibly it can not determine that each character shown in compound term input frame is respectively the character in which option information, and then with regard to nothing
Method determines which option information shown in the meeting of compound term input frame.In this way, if necessary to check after user completes input
When whether each option information that user inputs in compound term input frame is correct, it is likely that may result in the result mistake of inspection.
Therefore, after this step, the first option information and the second option information that can be shown in compound term input frame it
Between add default separator, so, no matter how many option informations are shown in compound term input frame, due to each option letter
There is default separator between breath, user is assured that out in compound term input frame according to default separator shows which is selected
Item information.
Wherein, default separator can for "/", "》" or ">" etc., the present invention is not limited to this.
Further, if also there is another the option information set corresponding with the second option information pre-set,
User also needs to the option information inputted in compound term input frame in another option information set, at this point it is possible to
Input is completed according to above-mentioned steps S101 to step S103 flow.Until when one option of display in compound term input frame
Information and in the absence of untill the option information set corresponding with an option information that pre-sets, it is possible to it is determined that completing
Input.
In the prior art, it is necessary to click on the input frame, now whenever needing to input a content in an input frame
Terminal can show in input outer frame and include the list of multiple contents, and user is in one content of selection from list, and now terminal is just
The content that user can be selected is included in the input frame.
That is, in the prior art, when often needing to input a content in input frame, user needs to perform two operations,
One be click on input frame operation, one is the operation for selecting content, so, when user need it is continuous in multiple input frames
, it is necessary to perform multiple clicking operation and multiple selection operation during middle input content respectively, user's operation is cumbersome, so as to cause
Consumer's Experience is relatively low.
Secondly, when cursor is located in input frame, user could perform the operation for clicking on input frame, because list is in input frame
Outer display, user could perform the operation of selection content when in the list that cursor is located at input outer frame.So, when user needs
When continuous distinguishing input content in multiple input frames, user is accomplished by control cursor and constantly moved from an input frame
To input outer frame, then it is moved in another input frame, is then moved to another input outer frame, and then constantly in input frame
Moved repeatedly with input outer frame, can so interrupt the workflow of user.
And in embodiments of the present invention, can be inputted in a compound term input frame in multiple different option information set
Option information, when user starts to need the input content in compound term input frame, if do not shown in compound term input frame now
Show any information, user can input clicking operation in compound term input frame;Inputted when terminal receives user in compound term
During the clicking operation of frame input, then the first option information set corresponding with compound term input frame is shown in compound term input outer frame;
User can select an option information in the first option information set;When terminal receives user in the first option information collection
In conjunction during the selection operation of one option information of selection, the option information that user is selected is used as the option information of first selection
And be shown in compound term input frame.
Also, also the corresponding option information set of option information that outer frame shows first selection actively can be inputted in compound term,
So that user again from first selection the corresponding option information set of option information in select an option information, without with
Family performs clicking operation and carrys out the corresponding option information of option information that triggering terminal shows first selection in compound term input outer frame
Set.
And, after during, as long as terminal shows an option information in compound term input frame, if there is with
The corresponding option information set of the option information, performs clicking operation without user and carrys out triggering terminal in compound term input outer frame
Show the corresponding option information set of the option information;But actively show that the option information is corresponding in compound term input outer frame
Option information set.
So, in whole input process, one click operation need to be only inputted, it is necessary to input several option informations, is carried out
Selection operation several times.If the embodiment of the present invention and prior art need the number of the content inputted in input frame all identical.
Compared to prior art, the embodiment of the present invention can reduce the number of times of input clicking operation, reduce the cumbersome journey of user's operation
Degree, so as to improve Consumer's Experience.
Secondly as rendering preferences information aggregate all inputs outer frame in compound term, user is performed after one click is operated just
Clicking operation will not be performed again, and therefore, cursor need not be moved in compound term input frame during execution selection operation afterwards,
Cursor need not be just controlled constantly to be moved repeatedly in compound term input frame with compound term input outer frame, so that user will not be interrupted
Workflow.
In an alternative embodiment of the invention, when the latter option information corresponding with the first option information that display is pre-set
After set, if the option information that the latter option information aggregate includes is very more, and the screen size of terminal is smaller
When, being likely on the screen of terminal can not be while shows the total Options information that the latter option information aggregate includes.
It therefore, it can be shown using the form of paging, every page shows what the latter option information aggregate included
A part of option information, such user can check the total Options that the latter option information aggregate includes by page turning
Information.Alternatively, it is also possible to be shown using the form of scroll bar, by owning that the latter option information aggregate includes
Option information constitutes a list, and although the list includes the total Options information that the latter option information aggregate includes,
But a part of option information that the latter option information aggregate includes once is only able to display, the side of list sets one
Scroll bar, user can drag scroll bar to check total Options information that the latter option information aggregate includes.
However, when the option information in option information aggregate is very more, user's needs take a substantial amount of time could be in quantity
The option information that user needs to input in compound term input frame is searched in very many option informations, so as to cause input efficiency
It is relatively low.
Therefore, in order to improve input efficiency, the embodiment of the present invention support terminal show pre-set with the first option information
After corresponding latter option information aggregate, user can now input the option for needing to input in compound term input frame
Full content or partial content and conduct input information in information.
For terminal, terminal can detect whether to receive defeated after the first option information shown in compound term input frame
The input information entered;When receiving the input information, in the latter option information aggregate of display, deletion does not include
The option information of the input information.
Wherein, for any one option information in the latter option information aggregate, the option information and the input are believed
Breath is accurately matched, and whether can so determine in the option information includes the input information.When bag in the option information
When including the input information, it is probably the option information that user's needs are inputted in compound term input frame to illustrate the option information, is entered
And the option information can be retained in the latter option information aggregate.When not including the input information in the option information,
Illustrate that the option information is unlikely to be the option information that user's needs are inputted in compound term input frame, and then selected from this latter
The option information is deleted in item information aggregate.For other each option informations in the latter option information aggregate,
Perform aforesaid operations.
For example, it is assumed that the option information that the latter option information aggregate includes is respectively:Beijing, Hebei province, Shaanxi
Province, Hubei Province and Henan Province.Assuming that user needs the option information inputted in compound term input frame to be " Beijing ", then use
Family can input information " north " in compound term input frame, and terminal can be " northern with option information respectively by input information " north "
Jing Shi ", " Hebei province ", " Shaanxi Province ", " Hubei Province " and " Henan Province " are accurately matched, due to option information " north
Jing Shi ", " Hebei province " and " Hubei Province " all include input information " north ", and option information " Henan Province " and " Shaanxi Province "
Do not include input information " north ", therefore retain in the latter option information aggregate option information to retain option information " northern
Jing Shi ", " Hebei province " and " Hubei Province ", and from the latter option information aggregate delete option information " Henan Province " " and
Shaanxi Province ".
Wherein, after the option information for not including the input information is deleted in the latter option information aggregate in display,
Now the quantity of option information is just considerably less in the latter option information aggregate, due to each in remaining option information
All include there will certainly be in the information content of the input information, therefore remaining option information in the information content of option information
One option information is that user needs selection.
Compared to searching the option information that user needs to input in compound term input frame in quantity very many option information,
User is searched in negligible amounts option information needs the option information inputted in compound term input frame to reduce lookup
Time, so as to improve input efficiency.
Further, deleted in the latter option information aggregate of display not include the input information option information after,
Although the quantity of the option information included compared to the option information set before deletion is reduced, it is likely that this
When the latter option information aggregate in remaining option information absolute quantity it is also more, if now the latter option believe
The absolute quantity of remaining option information is also more in breath set, and user searches user from remaining option information to be needed multiple
Closing the option information inputted in item input frame may also need to take some time, so as to cause input efficiency relatively low.
Therefore, in order to further improve input efficiency, in still another embodiment of the process, in the latter option of display
Delete after the option information for not including the input information, deposited when in the latter option information aggregate of display in information aggregate
It is similar according to the text between the input information to not deleted option information in multiple not deleted option informations
Degree is ranked up.
Specifically, for not any one deleted option information in the latter option information aggregate, the option is calculated
Text similarity between information and the input information, specifically, can count the total of the character included in the option information
Number, number and the total number of the character that the input information is included carry out division arithmetic and obtain a numerical value, and conduct should
Text similarity between option information and the input information.For not deleted its in the latter option information aggregate
His each option information, is performed both by aforesaid operations.Then according to the similarity between the input information it is descending by
Order is ranked up.
In still another embodiment of the process, being deleted in the latter option information aggregate of display does not include the input information
After option information, when the option information in the latter option information aggregate of display is all deleted, the input is pointed out
Information input error.
Wherein, when the option information in the latter option information aggregate of display is all deleted, the latter choosing is illustrated
The information content in each option information in item information aggregate does not include the input content, further relates to user's input
Input content may be wrong, now needs the prompting user input information input error, so that user inputs in compound term again
Correct input information is inputted in frame or is directly selected from the latter option information aggregate.
Wherein, the embodiment of the present invention can be pointed out user by modes such as voice or words, and the present invention is not limited this
It is fixed.
For example, it is assumed that the latter option information aggregate includes 34 option informations, respectively 34 provinces and cities for China
The name of autonomous region, such as Beijing, Hebei province and Hubei Province etc. 34 option informations altogether, user need from this 34
An option information is selected in, if the input information that user inputs in compound term input frame is " Washington ", due in
Do not include " Washington " in the name of 34 provinces, cities and autonomous regions of state, therefore explanation user's input input information " Washington "
It is wrong, point out user input information " Washington " input error so that user inputs just in compound term input frame again
True input information is directly selected from the latter option information aggregate.
In still another embodiment of the process, after user selects an option information in the latter option information aggregate,
The option information and the first option information that terminal can select user are simultaneously displayed in compound term input frame, before user
Input information is have input in compound term input frame, can now have the first option information in compound term input frame simultaneously, this is defeated
Enter information and the second option information, wherein, the input information is unnecessary, therefore, for the option letter for avoiding user from selecting
The input information for ceasing and inputting repeats to show, when the first option information of display and the second option are believed simultaneously in compound term input frame
Before breath, in addition it is also necessary to the input information is deleted from compound term input frame.
Fig. 2 is a kind of flow chart of information processing method according to an exemplary embodiment, as shown in Fig. 2 this method
Comprise the following steps.
In step s 201, the input information inputted in compound term input frame is obtained;
In embodiments of the present invention, user can once input multiple option informations in compound term input frame, and user can be with
The maximum quantity of the option information inputted in compound term input frame is fixed.
Any one option information in the multiple option informations inputted for user in compound term input frame, the option information
Need to be located in the option information set pre-set, such terminal just can determine that option information input is correct, otherwise,
Terminal is it is determined that the option information input error.For user in the multiple option informations inputted in compound term input frame
Other each option informations, it is same.And appointing in multiple option informations for being inputted in compound term input frame of user
Option information set where two option informations of meaning is different from.
When user needs the input options information in compound term input frame, user once can input in compound term input frame
Multiple option informations, and during input, user needs to input default point between two option informations of arbitrary neighborhood
Every symbol, such terminal just can determine which option information user have input according to default separator, and then user will afterwards
All the elements of input submit to terminal as input information.Terminal obtains the input letter that user inputs in compound term input frame
Breath.
In embodiments of the present invention, default separator can for "/", "》" or ">" etc., the present invention is not limited to this.
For example, user needs to input the country of input respectively, province, city, area/county in compound term input frame, it is assumed that need input
Country be " China ", it is necessary to which the province of input be " Zhejiang Province ", it is necessary to which the city of input is " Hangzhou ", and needs to input
Area/county be " Xihu District ", then user can be inputted in compound term input frame " China/Zhejiang Province/Hangzhou/Xihu District ".
In step S202, when input information includes default separator, the default separator in input information will be defeated
Enter information and be divided into multiple input sub-informations;
The difference for inputting the quantity of sub-information and the quantity of default separator is equal to 1.
In embodiments of the present invention, when getting the input information inputted in compound term input frame, it can detect that the input is believed
Whether comprising default separator in breath, when comprising default separator, according to default separator will input information be divided into it is multiple
Input sub-information.
For the adjacent default separator of any two in input information, by between this two adjacent default separators
Content be defined as one input sub-information.And in the input information of acquisition, will be located at before first default separator
Content be used as one input sub-information;And it regard the content after last default separator as an input sub-information.
For example, whether comprising default separator in terminal detection input information " China/Zhejiang Province/Hangzhou/Xihu District ", and really
Make input information " China/Zhejiang Province/Hangzhou/Xihu District " and include three default separators, and according to these three default separations
Input information " China/Zhejiang Province/Hangzhou/Xihu District " is divided into four input sub-informations by symbol, is respectively:Input sub-information
" China ", input sub-information " Zhejiang Province ", input sub-information " Hangzhou ", input sub-information " Xihu District ".
In step S203, for each input sub-information, pre-setting, sub with the input in input information
Adjacent previous of information have determined that search whether to have this in the corresponding option information set of the correct input sub-information of input it is defeated
Enter sub-information;
In this step, for any one input sub-information, pre-setting, sub with the input in input information
Adjacent previous of information have determined that search whether to have this in the corresponding option information set of the correct input sub-information of input it is defeated
Enter sub-information;For other each input sub-informations, aforesaid operations are equally performed.
In embodiments of the present invention, each input sub-information in input information has sequence of positions in input information.
Wherein, the input sub-information before first default separator is that sequence of positions is the first input sub-information;Position
Input sub-information between first default separator and second default separator is that sequence of positions is deputy input
Information;Input sub-information between second default separator and the 3rd default separator is that sequence of positions is the 3rd
Input sub-information etc., and input sub-information after last default separator is that sequence of positions is last position
Input sub-information.
For example, including 3 default separators altogether in input information " China/Zhejiang Province/Hangzhou/Xihu District ".Input
Information " China " is located at before first default separator, then it is that sequence of positions is the defeated of first place to input sub-information " China "
Enter sub-information.Sub-information " Zhejiang Province " is inputted to be located between first default separator and second default separator, then it is defeated
It is that sequence of positions is deputy input sub-information to enter sub-information " Zhejiang Province ".Input sub-information " Hangzhou " and be located at second
Between individual default separator and the 3rd default separator, then it is that sequence of positions is the 3rd to input sub-information " Hangzhou "
Input sub-information.And, input sub-information " Xihu District " is located at after last default separator, then inputs sub-information
" Xihu District " is the input sub-information that sequence of positions is last position.
In this step, it is the first that existence position order is searched whether in the corresponding option information set of compound term input frame
Input sub-information.
When sequence of positions is not present in the corresponding option information set of compound term input frame for the first input sub-information, it is determined that
Sequence of positions is incorrect for the first input sub-information input.
When existence position order is the first input sub-information in the corresponding option information set of compound term input frame, determine that position is suitable
Sequence is that the first input sub-information input is correct, and then in option information corresponding with the input sub-information that sequence of positions is first place
It is deputy input sub-information that existence position order is searched whether in set.
When be the corresponding option information set of the first input sub-information in sequence of positions in the absence of sequence of positions be second
Input sub-information when, determine sequence of positions for it is deputy input sub-information input it is incorrect.
When be the corresponding option information set of the first input sub-information in sequence of positions in existence position order be deputy
When inputting sub-information, determine that sequence of positions is correct for deputy input sub-information input, and then be second with sequence of positions
The input sub-information that existence position order is the 3rd is searched whether in the corresponding option information set of input sub-information of position;With
This analogizes, and each input sub-information to after inputs sub-information or sequence of positions to sequence of positions according to above-mentioned to be deputy
The processing mode handled for the input sub-information of the 3rd is handled.
Finally, it is being to fall with sequence of positions when the input sub-information input for determining that sequence of positions is penultimate is correct
Input son letter of the existence position order for last position is searched whether in the corresponding option information set of the deputy input sub-information of number
Breath.
When in option information set corresponding with the input sub-information that sequence of positions is penultimate in the absence of sequence of positions be end
During the input sub-information of position, determine that the input sub-information input that sequence of positions is last position is incorrect.
When existence position order is last position in option information set corresponding with the input sub-information that sequence of positions is penultimate
Input sub-information when, determine that the input sub-information input that sequence of positions is last position is correct.
When there is the input sub-information, in step S204, determine that input sub-information input is correct;
Further, after it is determined that an input sub-information input is correct, input sub-information input can be pointed out correct, with
User is set to know that input sub-information input is correct.
In an embodiment of the invention, pointing out the input sub-information to input correct prompting mode has many kinds, and the present invention is right
This is not limited.For example, by the character overstriking in the input sub-information inputted in compound term input frame, by input
Character in information tilts display, or the character of the input sub-information is added into shade etc..
In an alternative embodiment of the invention, when in the absence of the input sub-information, in step S205, input son letter is pointed out
Cease input error.
Wherein, when in the absence of the input sub-information, illustrate the input sub-information input error, now need to point out the input
Sub-information input error, so that user knows the input sub-information input error as early as possible, and deletes defeated from compound term input frame
Enter the input sub-information of mistake, and re-enter the input sub-information striven for.To pointing out input in the embodiment of the present invention
The reminding method of information input error is not limited.
In still another embodiment of the process, the sequence of positions in the input information inputted for user in compound term input frame is
The first input sub-information, terminal determines that the input sub-information inputs a correct condition and is:The input sub-information be located at
In the corresponding option information set of compound term input frame.
Sequence of positions in the input information inputted for user in compound term input frame is other input sub-information, eventually
End determines that the input sub-information inputs a correct condition and is:The input sub-information be located at input information in the input
Adjacent previous have determined that of sub-information is inputted in the corresponding option information set of correct input sub-information.
In embodiments of the present invention, have determined that input is correct defeated with sequence of positions for adjacent previous of the first input sub-information
It is the corresponding option information set of compound term input frame to enter the corresponding option information set of sub-information.
Therefore, after this step, when in the absence of the input sub-information, what user inputted in compound term input frame again
Need to be located at pre-set, adjacent with the input sub-information in input information during input sub-information previous to have determined that
In the corresponding option information set of the correct input sub-information of input, because general option information all includes multiple characters, utilize
Keyboard needs to spend the more time to input multiple characters, and input efficiency is relatively low.Therefore, in order to allow users to as early as possible
Input correct sub-information rapidly, terminal need compound term input outer frame show it is pre-setting, in information is inputted with
Adjacent previous have determined that of the input sub-information inputs the corresponding option information set of correct input sub-information, so that user
An option information is directly selected in rendering preferences information aggregate, so as to improve input efficiency.
In the prior art, it is necessary to click on the input frame, now whenever needing to input a content in an input frame
Terminal can show in input outer frame and include the list of multiple contents, and user is in one content of selection from list, and now terminal is just
The content that user can be selected is included in the input frame.
That is, in the prior art, when often needing to input a content in input frame, user needs to perform two operations,
One be click on input frame operation, one is the operation for selecting content, so, when user need it is continuous in multiple input frames
, it is necessary to perform multiple clicking operation and multiple selection operation during middle input content respectively, user's operation is cumbersome, so as to cause
Consumer's Experience is relatively low.
Secondly, when cursor is located in input frame, user could perform the operation for clicking on input frame, because list is in input frame
Outer display, user could perform the operation of selection content when in the list that cursor is located at input outer frame.So, when user needs
When continuous distinguishing input content in multiple input frames, user is accomplished by control cursor and constantly moved from an input frame
To input outer frame, then it is moved in another input frame, is then moved to another input outer frame, and then constantly in input frame
Moved repeatedly with input outer frame, can so interrupt the workflow of user.
And in embodiments of the present invention, multiple different option information set can be once inputted in a compound term input frame
In option information, when user start need the input content in compound term input frame when, if now in compound term input frame
Any information is not shown, and user can input clicking operation in compound term input frame, afterwards just can be in compound term input frame
Middle input content.User directly can once input multiple option informations in compound term input frame, and be carried as input information
Give terminal;Terminal;Terminal obtains the input information inputted in compound term input frame;When input information includes default separation
Fu Shi, the default separator in input information is divided into multiple input sub-informations by information is inputted;For each input
Sub-information, is inputted correctly in previous have determined that adjacent with the input sub-information pre-set, in input information
Search whether there is the input sub-information in the corresponding option information set of input sub-information;When there is the input sub-information,
Determine that input sub-information input is correct.
So, in whole input process, one click operation need to only be inputted, it is necessary to input several option informations, user is just
Volume directly can be fully entered disposably in compound term input frame;Without progress selection operation.Compared to prior art,
The embodiment of the present invention carries out selection operation without user, can also reduce the number of times of input clicking operation, reduces user's operation
Fussy degree, so as to improve Consumer's Experience.
Secondly as need not carry out needing only to carry out one click operation in selection operation, whole process, therefore, use
Family also need not just control cursor constantly in compound term input frame and compound term input outer frame move repeatedly, from without
Interrupt the phenomenon of the workflow of user.
Fig. 3 is a kind of block diagram of information processor according to an exemplary embodiment.Reference picture 3, the device includes inspection
Including:
First display module 11, for working as the first option letter shown in compound term input frame in previous option information set
During breath, latter option information pre-set, corresponding with first option information is shown in compound term input outer frame
Set;
First detection module 12, is selected for detecting whether receiving for selection second in an option information set in the rear
The selection operation of item information;
Second display module 13, for when receiving the selection operation, by second option information and the described first choosing
Item information is simultaneously displayed in the compound term input frame.
Further, described device also includes:
Second detection module, for detecting whether receiving first option information shown in the compound term input frame
The input information inputted afterwards;
First removing module, for when receiving the input information, in the latter option information aggregate of display,
Deleting does not include the option information of the input information.
Further, described device also includes:
Order module, for when there is multiple not deleted option informations in the latter option information aggregate of display,
Not deleted option information is ranked up according to the text similarity between the input information.
Further, described device also includes:
First reminding module, for when in the latter option information aggregate of display option information all be deleted when,
The prompting input information input error.
Further, described device also includes:
Second removing module, for deleting the input information from the compound term input frame.
Further, described device also includes:
Add module, for first option information and second option information shown in the compound term input frame
Between add default separator.
In the prior art, it is necessary to click on the input frame, now whenever needing to input a content in an input frame
Terminal can show in input outer frame and include the list of multiple contents, and user is in one content of selection from list, and now terminal is just
The content that user can be selected is included in the input frame.
That is, in the prior art, when often needing to input a content in input frame, user needs to perform two operations,
One be click on input frame operation, one is the operation for selecting content, so, when user need it is continuous in multiple input frames
, it is necessary to perform multiple clicking operation and multiple selection operation during middle input content respectively, user's operation is cumbersome, so as to cause
Consumer's Experience is relatively low.
Secondly, when cursor is located in input frame, user could perform the operation for clicking on input frame, because list is in input frame
Outer display, user could perform the operation of selection content when in the list that cursor is located at input outer frame.So, when user needs
When continuous distinguishing input content in multiple input frames, user is accomplished by control cursor and constantly moved from an input frame
To input outer frame, then it is moved in another input frame, is then moved to another input outer frame, and then constantly in input frame
Moved repeatedly with input outer frame, can so interrupt the workflow of user.
And in embodiments of the present invention, can be inputted in a compound term input frame in multiple different option information set
Option information, when user starts to need the input content in compound term input frame, if do not shown in compound term input frame now
Show any information, user can input clicking operation in compound term input frame;Inputted when terminal receives user in compound term
During the clicking operation of frame input, then the first option information set corresponding with compound term input frame is shown in compound term input outer frame;
User can select an option information in the first option information set;When terminal receives user in the first option information collection
In conjunction during the selection operation of one option information of selection, the option information that user is selected is used as the option information of first selection
And be shown in compound term input frame.
Also, also the corresponding option information set of option information that outer frame shows first selection actively can be inputted in compound term,
So that user again from first selection the corresponding option information set of option information in select an option information, without with
Family performs clicking operation and carrys out the corresponding option information of option information that triggering terminal shows first selection in compound term input outer frame
Set.
And, after during, as long as terminal shows an option information in compound term input frame, if there is with
The corresponding option information set of the option information, performs clicking operation without user and carrys out triggering terminal in compound term input outer frame
Show the corresponding option information set of the option information;But actively show that the option information is corresponding in compound term input outer frame
Option information set.
So, in whole input process, one click operation need to be only inputted, it is necessary to input several option informations, is carried out
Selection operation several times.If the embodiment of the present invention and prior art need the number of the content inputted in input frame all identical.
Compared to prior art, the embodiment of the present invention can reduce the number of times of input clicking operation, reduce the cumbersome journey of user's operation
Degree, so as to improve Consumer's Experience.
Secondly as rendering preferences information aggregate all inputs outer frame in compound term, user is performed after one click is operated just
Clicking operation will not be performed again, and therefore, cursor need not be moved in compound term input frame during execution selection operation afterwards,
Cursor need not be just controlled constantly to be moved repeatedly in compound term input frame with compound term input outer frame, so that user will not be interrupted
Workflow.
Fig. 4 is a kind of block diagram of information processor according to an exemplary embodiment.Reference picture 4, the device includes inspection
Including:
Acquisition module 11, for obtaining the input information inputted in compound term input frame;
Split module 12, it is default in the input information for when the input information includes default separator
The input information is divided into multiple input sub-informations by separator;
Searching modul 13, for for each input sub-information, it is pre-setting, it is described input information in institute
Adjacent previous have determined that in the corresponding option information set of the correct input sub-information of input of input sub-information is stated to search whether
There is the input sub-information;
First determining module 14, for when there is the input sub-information, determining that the input sub-information input is correct.
Further, after the determination input sub-information input is correct, in addition to:
Second reminding module, it is correct for pointing out the input sub-information to input.
Further, described device also includes:
Second determining module, for when in the absence of the input sub-information, determining that the input sub-information input is correct;
3rd reminding module, for pointing out the input sub-information input error.
Further, described device also includes:
3rd display module, for when in the absence of the input sub-information, showing and setting in advance in compound term input outer frame
Previous have determined that adjacent with the input sub-information put, in the input information inputs correct input sub-information
Corresponding option information set.
In the prior art, it is necessary to click on the input frame, now whenever needing to input a content in an input frame
Terminal can show in input outer frame and include the list of multiple contents, and user is in one content of selection from list, and now terminal is just
The content that user can be selected is included in the input frame.
That is, in the prior art, when often needing to input a content in input frame, user needs to perform two operations,
One be click on input frame operation, one is the operation for selecting content, so, when user need it is continuous in multiple input frames
, it is necessary to perform multiple clicking operation and multiple selection operation during middle input content respectively, user's operation is cumbersome, so as to cause
Consumer's Experience is relatively low.
Secondly, when cursor is located in input frame, user could perform the operation for clicking on input frame, because list is in input frame
Outer display, user could perform the operation of selection content when in the list that cursor is located at input outer frame.So, when user needs
When continuous distinguishing input content in multiple input frames, user is accomplished by control cursor and constantly moved from an input frame
To input outer frame, then it is moved in another input frame, is then moved to another input outer frame, and then constantly in input frame
Moved repeatedly with input outer frame, can so interrupt the workflow of user.
And in embodiments of the present invention, multiple different option information set can be once inputted in a compound term input frame
In option information, when user start need the input content in compound term input frame when, if now in compound term input frame
Any information is not shown, and user can input clicking operation in compound term input frame, afterwards just can be in compound term input frame
Middle input content.User directly can once input multiple option informations in compound term input frame, and be carried as input information
Give terminal;Terminal;Terminal obtains the input information inputted in compound term input frame;When input information includes default separation
Fu Shi, the default separator in input information is divided into multiple input sub-informations by information is inputted;For each input
Sub-information, is inputted correctly in previous have determined that adjacent with the input sub-information pre-set, in input information
Search whether there is the input sub-information in the corresponding option information set of input sub-information;When there is the input sub-information,
Determine that input sub-information input is correct.
So, in whole input process, one click operation need to only be inputted, it is necessary to input several option informations, user is just
Volume directly can be fully entered disposably in compound term input frame;Without progress selection operation.Compared to prior art,
The embodiment of the present invention carries out selection operation without user, can also reduce the number of times of input clicking operation, reduces user's operation
Fussy degree, so as to improve Consumer's Experience.
Secondly as need not carry out needing only to carry out one click operation in selection operation, whole process, therefore, use
Family also need not just control cursor constantly in compound term input frame and compound term input outer frame move repeatedly, from without
Interrupt the phenomenon of the workflow of user.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in the reality about this method
Apply in example and be described in detail, explanation will be not set forth in detail herein.
Those skilled in the art will readily occur to other realities of the present invention after considering specification and putting into practice invention disclosed herein
Apply scheme.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or
Adaptations follow the general principle of the present 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 for being described above and being 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.