CN103885669A - Cloud candidate input method and mobile terminal - Google Patents

Cloud candidate input method and mobile terminal Download PDF

Info

Publication number
CN103885669A
CN103885669A CN201210566601.XA CN201210566601A CN103885669A CN 103885669 A CN103885669 A CN 103885669A CN 201210566601 A CN201210566601 A CN 201210566601A CN 103885669 A CN103885669 A CN 103885669A
Authority
CN
China
Prior art keywords
candidate
candidate item
item
cloud
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210566601.XA
Other languages
Chinese (zh)
Other versions
CN103885669B (en
Inventor
刘廷超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shiji Guangsu Information Technology Co Ltd
Original Assignee
Shenzhen Shiji Guangsu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shiji Guangsu Information Technology Co Ltd filed Critical Shenzhen Shiji Guangsu Information Technology Co Ltd
Priority to CN201210566601.XA priority Critical patent/CN103885669B/en
Publication of CN103885669A publication Critical patent/CN103885669A/en
Application granted granted Critical
Publication of CN103885669B publication Critical patent/CN103885669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a cloud candidate input method and a mobile terminal and belongs to the technical field of cloud computing. The method includes: by the mobile terminal, receiving an input string from a user; acquiring local candidate items corresponding to the input string and corresponding cloud candidate items; displaying the local candidate items in a candidate column and replacing the local candidate items at appointed candidate positions with the cloud candidate items. The mobile terminal comprises a receiving module, an acquiring module and a processing module. By the method, visual disturbance is avoided, and display effect of the candidate column is increased.

Description

Cloud candidate input method and mobile terminal
Technical field
The present invention relates to cloud computing technology field, particularly a kind of cloud candidate input method and mobile terminal.
Background technology
Cloud computing is a kind ofly to provide dynamically easily expansion and the normally computation schema of virtualized resource by internet in the mode of service.Cloud candidate be one accurately, input service easily, the key information that user can be used to input method input, is calculated corresponding candidate word by cloud server, then is back to user for user's selection to high in the clouds by Internet Transmission.
Existing input method is presented at cloud candidate item in candidate bar conventionally.Candidate bar is the view area that shows input candidate item corresponding to user key-press sequence.In the time that user uses input method input key sequence, in candidate bar, can show some candidate item of mating with this keystroke sequence, comprise candidate item and cloud candidate item that the search of local dictionary obtains.
But the position of cloud candidate item in candidate bar is unfixed.In the time that cloud candidate item is longer, conventionally appear at first position candidate in candidate bar; When cloud candidate item more in short-term, conventionally appear at second position candidate in candidate bar.Therefore,, in the process of demonstration cloud candidate item, beating in the position that can produce cloud candidate item, has reduced the display effect of candidate bar, caused visual bothering.
Summary of the invention
In order to promote the display effect of candidate bar, the invention provides a kind of cloud candidate input method and mobile terminal.Described technical scheme is as follows:
First aspect, the invention provides a kind of cloud candidate input method, comprising:
Mobile terminal receives the input string from user;
Obtain local candidate item and corresponding cloud candidate item that described input string is corresponding;
In candidate bar, show described local candidate item, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item.
In conjunction with first aspect, under the first embodiment of first aspect, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
The local candidate item of first position candidate in described candidate bar is replaced with to described cloud candidate item.
In conjunction with first aspect, under the second embodiment of first aspect, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
In more described candidate bar, specify the length of position candidate and the length of described cloud candidate item;
If the length of described cloud candidate item is greater than the length of specifying position candidate in described candidate bar, dwindle the font size of described cloud candidate item, the local candidate item of specifying position candidate in described candidate bar is replaced with to the cloud candidate item of dwindling after font size.
In conjunction with first aspect, under the third embodiment of first aspect, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
Judge that whether in described candidate bar, specify the local candidate item of position candidate identical with described cloud candidate item;
If different, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item.
In conjunction with first aspect, any in the first of first aspect, the second or the third embodiment, under the 4th kind of embodiment of first aspect, mobile terminal also comprises before receiving the input string from user:
Gather in advance multiple input strings;
For the each input string in described multiple input strings, for described input string obtains corresponding local candidate item and cloud candidate item, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item;
Position candidate corresponding to local candidate item that statistics is selected for each input string, using the position candidate the highest frequency of occurrences as described designate candidate position.
Second aspect, the present invention also provides a kind of mobile terminal, and described mobile terminal comprises:
Receiver module, for receiving the input string from user;
Acquisition module, for obtaining local candidate item and the corresponding cloud candidate item that described input string is corresponding;
Processing module, for show described local candidate item in candidate bar, replaces with described cloud candidate item by the local candidate item of specifying position candidate in described candidate bar.
In conjunction with second aspect, under the first embodiment of second aspect, described processing module is used for:
The local candidate item of first position candidate in described candidate bar is replaced with to described cloud candidate item.
In conjunction with second aspect, under the second embodiment of second aspect, described processing module is used for:
In more described candidate bar, specify the length of position candidate and the length of described cloud candidate item;
If the length of described cloud candidate item is greater than the length of specifying position candidate in described candidate bar, dwindle the font size of described cloud candidate item, the local candidate item of specifying position candidate in described candidate bar is replaced with to the cloud candidate item of dwindling after font size.
In conjunction with second aspect, under the third embodiment of second aspect, described processing module is used for:
Judge that whether in described candidate bar, specify the local candidate item of position candidate identical with described cloud candidate item;
If different, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item.
In conjunction with second aspect, any in the first of second aspect, the second or the third embodiment, under the 4th kind of embodiment of second aspect, described mobile terminal also comprises:
Initialization module, for gathering in advance multiple input strings; For the each input string in described multiple input strings, for described input string obtains corresponding local candidate item and cloud candidate item, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item; Position candidate corresponding to local candidate item that statistics is selected for each input string, using the position candidate the highest frequency of occurrences as described designate candidate position.
The beneficial effect that technical scheme provided by the invention is brought is: when mobile terminal receives from user's input string, by obtaining local candidate item and the corresponding cloud candidate item that described input string is corresponding, in candidate bar, show described local candidate item, and the local candidate item of specifying position candidate in candidate bar is replaced with to cloud candidate item, cloud candidate item is presented in fixing position candidate, can not change by occurrence positions, effectively solve the problem that existing cloud candidate positions is beated, avoid visual and bothered, promoted the display effect of candidate bar.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the cloud candidate input method process flow diagram that one embodiment of the invention provides;
Fig. 2 is the cloud candidate input method process flow diagram that another embodiment of the present invention provides;
Fig. 3 is the cloud candidate input method process flow diagram that yet another embodiment of the invention provides;
Fig. 4 is the interface display schematic diagram of the cloud candidate input that provides of the embodiment of the present invention;
Fig. 5 is the mobile terminal structure schematic diagram that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Referring to Fig. 1, one embodiment of the invention provides a kind of cloud candidate input method, and described method comprises:
101: mobile terminal receives the input string from user.
102: obtain local candidate item and corresponding cloud candidate item that this input string is corresponding.
103: in candidate bar, show the local candidate item of having obtained, the local candidate item of specifying position candidate in candidate bar is replaced with to the cloud candidate item of having obtained.
In the present embodiment, the corresponding candidate item that the local candidate item corresponding with user's input string obtains after referring to and searching in the dictionary of mobile terminal this locality according to this input string, conventionally, searches local dictionary and can obtain the multiple local candidate item corresponding with this input string.
Described candidate bar is the view area that shows the candidate item corresponding with input string.The candidate item showing in candidate bar comprises local candidate item and cloud candidate item, and wherein, local candidate item is generally multiple, and cloud candidate item is generally one.The candidate item that candidate bar shows shows in a certain order, the corresponding position candidate of each candidate item.For example, candidate's item number of a candidate bar demonstration is 5, and corresponding position candidate is followed successively by first position candidate, second position candidate, the 3rd position candidate, the 4th position candidate and the 5th position candidate.
In conjunction with said method, under the first embodiment, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
The local candidate item of first position candidate in described candidate bar is replaced with to described cloud candidate item.
In conjunction with said method, under the second embodiment, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
In more described candidate bar, specify the length of position candidate and the length of described cloud candidate item;
If the length of described cloud candidate item is greater than the length of specifying position candidate in described candidate bar, dwindle the font size of described cloud candidate item, the local candidate item of specifying position candidate in described candidate bar is replaced with to the cloud candidate item of dwindling after font size.
In conjunction with said method, under the third embodiment, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
Judge that whether in described candidate bar, specify the local candidate item of position candidate identical with described cloud candidate item;
If different, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item.
In conjunction with said method, any in the first, the second or the third embodiment, under the 4th kind of embodiment, mobile terminal also comprises before receiving the input string from user:
Gather in advance multiple input strings;
For the each input string in described multiple input strings, for described input string obtains corresponding local candidate item and cloud candidate item, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item;
Position candidate corresponding to local candidate item that statistics is selected for each input string, using the position candidate the highest frequency of occurrences as described designate candidate position.
The said method that the present embodiment provides, in the time that mobile terminal receives the input string from user, by obtaining local candidate item and the corresponding cloud candidate item that described input string is corresponding, in candidate bar, show described local candidate item, and the local candidate item of specifying position candidate in candidate bar is replaced with to cloud candidate item, cloud candidate item is presented in fixing position candidate, can not change by occurrence positions, effectively solve the problem that existing cloud candidate positions is beated, avoid visual and bothered, promoted the display effect of candidate bar.
Referring to Fig. 2, another embodiment of the present invention also provides a kind of cloud candidate input method, and described method comprises:
201: mobile terminal receives the input string from user.
Wherein, user can input by input method an input string in mobile terminal.This input method can be spelling input method etc.
Mobile terminal in the present embodiment can be touch-tone mobile terminal, or can be also touch mobile terminal, and the present invention is not specifically limited this.
202: the local candidate item that this input string of acquisition for mobile terminal is corresponding and corresponding cloud candidate item.
Wherein, local candidate item is that mobile terminal is searched for and obtained from local dictionary, when search, searches as index taking this input string, obtains the candidate item of mating with this input string, and the candidate item of this coupling can be one or for multiple.
Described cloud candidate item is that mobile terminal obtains from high in the clouds, particularly, mobile terminal can send to cloud server by this input string, and server is searched in network according to this input string, obtain the cloud candidate item of mating with this input string, and return to mobile terminal.
203: mobile terminal shows the local candidate item of having obtained in candidate bar.
Wherein, mobile terminal can show the local candidate item of having obtained according to default candidate's item number in candidate bar, if the number of the local candidate item of having obtained has exceeded described default candidate's item number, mobile terminal can show the local candidate item of having obtained by split screen.For example, obtained 10 local candidate item, default candidate's item number is 5, and mobile terminal shows this 10 local candidate item at twice, shows 5 local candidate item at every turn.
204: mobile terminal replaces with the local candidate item of first position candidate in candidate bar the cloud candidate item of having obtained.
In the present embodiment, first position candidate in candidate bar is preassigned position candidate, because the length of first position candidate in candidate bar is conventionally all identical with the length of cloud candidate item, and cloud candidate item is to obtain after cloud server search, with mobile terminal compared with the search of local dictionary, hunting zone is wider, content update, therefore, the local candidate item of first position candidate in candidate bar is replaced with to the cloud candidate item of having obtained, the candidate item accuracy rate that first position candidate is shown is higher.Certainly, the present invention also can elect other position candidate in candidate bar as the position candidate of appointment, and as second position candidate etc., the present invention is not specifically limited this.
Wherein, in step 204, mobile terminal can first judge that whether the local candidate item of first position candidate in candidate bar is identical with described cloud candidate item, if different, the local candidate item of specifying position candidate in candidate bar is replaced with this cloud candidate item by mobile terminal; If identical, mobile terminal is without the local candidate item of specifying position candidate in candidate bar is replaced with to this cloud candidate item.
In the present embodiment, further, before step 201, can also comprise:
Gather in advance multiple input strings;
For the each input string in described multiple input strings, for described input string obtains corresponding local candidate item and cloud candidate item, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item;
Position candidate corresponding to local candidate item that statistics is selected for each input string, using the position candidate the highest frequency of occurrences as described designate candidate position.
Wherein, described content and the length of multiple input strings gathering in advance is not all limit, and can be input string arbitrarily, and the number of the input string of collection is at least two, and the present invention is not specifically limited this number.Preferably, can improve by gathering more input string the precision of statistics.
Wherein, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item, refer to and calculate the poor of the length of each local candidate item and the length of cloud candidate item, in the multiple length differences that obtain, select the local candidate item corresponding to difference of minimum length.For example, the local candidate item of an input string has 5, wherein have the length of 1 local candidate item identical with the length of cloud candidate item, the length of all the other local candidate item of 4 is all less than the length of cloud candidate item, selects the local candidate item identical with cloud candidate item length.
The highest position candidate of the described frequency of occurrences refers to that the number of times occurring in multiple position candidate that this position candidate obtains in statistics is maximum.For example, gathered 200 input strings, statistics has obtained 200 position candidate, and candidate's item number of input method setting is 5,5 position candidate in corresponding candidate bar.In these 200 position candidate, having 190 position candidate is first position candidate in candidate bar, using this first position candidate as described designate candidate position, replaces with cloud candidate item for the follow-up local candidate item by this designate candidate position.
The said method that the present embodiment provides, in the time that mobile terminal receives the input string from user, by obtaining local candidate item and the corresponding cloud candidate item that described input string is corresponding, in candidate bar, show described local candidate item, and the local candidate item of first position candidate in candidate bar is replaced with to cloud candidate item, cloud candidate item is presented in first fixing position candidate, can not change by occurrence positions, effectively solve the problem that existing cloud candidate positions is beated, having avoided visual bothers, promote the display effect of candidate bar, and improve the accuracy rate of candidate item.The designate candidate position that the length of the length based on local candidate item and cloud candidate item obtains, due to length and cloud candidate item more approaching, and there is certain representativeness, therefore, can improve the accuracy of candidate item in candidate bar, promote further the display effect of candidate bar.
Referring to Fig. 3, yet another embodiment of the invention also provides a kind of cloud candidate input method, and described method comprises:
301: mobile terminal receives the input string from user.
Wherein, user can input by input method an input string in mobile terminal.This input method can be spelling input method etc.
Mobile terminal in the present embodiment can be touch-tone mobile terminal, or can be also touch mobile terminal, and the present invention is not specifically limited this.
302: the local candidate item that this input string of acquisition for mobile terminal is corresponding and corresponding cloud candidate item.
Wherein, local candidate item is that mobile terminal is searched for and obtained from local dictionary, when search, searches as index taking this input string, obtains the candidate item of mating with this input string, and the candidate item of this coupling can be one or for multiple.
Described cloud candidate item is that mobile terminal obtains from high in the clouds, particularly, mobile terminal can send to cloud server by this input string, and server is searched in network according to this input string, obtain the cloud candidate item of mating with this input string, and return to mobile terminal.
303: mobile terminal shows the local candidate item of having obtained in candidate bar.
Wherein, mobile terminal can show the local candidate item of having obtained according to default candidate's item number in candidate bar, if the number of the local candidate item of having obtained has exceeded described default candidate's item number, mobile terminal can show the local candidate item of having obtained by split screen.For example, obtained 10 local candidate item, default candidate's item number is 5, and mobile terminal shows this 10 local candidate item at twice, shows 5 local candidate item at every turn.
304: in mobile terminal comparison candidate bar, specify the length of position candidate and the length of the cloud candidate item obtained.
Particularly, mobile terminal can first judge that whether in candidate bar, specify the local candidate item of position candidate identical with the cloud candidate item of obtaining, if different, in mobile terminal comparison candidate bar, specifies the length of position candidate and the length of the cloud candidate item obtained; If identical, mobile terminal, without carrying out subsequent step, completes input and shows.
305: if the length of described cloud candidate item is greater than the length of specifying position candidate in candidate bar, mobile terminal dwindles the font size of this cloud candidate item, the local candidate item of specifying position candidate in candidate bar is replaced with to the cloud candidate item of dwindling after font size.
In the present embodiment, the length of cloud candidate item, and the length of position candidate, refer to the length taking up room, and can represent with the pixel number on corresponding display screen, if length is 50 pixels; Or, the in the situation that of identical font size, also can represent by the number of the character comprising, if length is 8 characters etc., the present invention is not specifically limited this.Particularly, while dwindling the font size of cloud candidate item, can take the mode of dwindling step by step, loop and dwindle, until the cloud candidate item of dwindling after font size can all be presented at this designate candidate position.
In the present embodiment, described designate candidate position is that mobile terminal is preassigned, particularly, before step 301, can also comprise:
Mobile terminal gathers multiple input strings in advance;
For the each input string in described multiple input strings, for described input string obtains corresponding local candidate item and cloud candidate item, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item;
Position candidate corresponding to local candidate item that statistics is selected for each input string, using the position candidate the highest frequency of occurrences as described designate candidate position.
Wherein, described content and the length of multiple input strings gathering in advance is not all limit, and can be input string arbitrarily, and the number of the input string of collection is at least two, and the present invention is not specifically limited this number.Preferably, can improve by gathering more input string the precision of statistics.
Wherein, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item, refer to and calculate the poor of the length of each local candidate item and the length of cloud candidate item, in the multiple length differences that obtain, select the local candidate item corresponding to difference of minimum length.For example, the local candidate item of an input string has 5, wherein have the length of 1 local candidate item identical with the length of cloud candidate item, the length of all the other local candidate item of 4 is all less than the length of cloud candidate item, selects the local candidate item identical with cloud candidate item length.
The highest position candidate of the described frequency of occurrences refers to that the number of times occurring in multiple position candidate that this position candidate obtains in statistics is maximum.For example, gathered 200 input strings, statistics has obtained 200 position candidate, and candidate's item number of input method setting is 5,5 position candidate in corresponding candidate bar.In these 200 position candidate, having 190 position candidate is first position candidate in candidate bar, using this first position candidate as described designate candidate position, replaces with cloud candidate item for the follow-up local candidate item by this designate candidate position.
The said method that the present embodiment provides, in the time that mobile terminal receives the input string from user, by obtaining local candidate item and the corresponding cloud candidate item that described input string is corresponding, in candidate bar, show described local candidate item, and the local candidate item of specifying position candidate in candidate bar is replaced with to cloud candidate item, cloud candidate item is presented in fixing position candidate, can not change by occurrence positions, effectively solve the problem that existing cloud candidate positions is beated, avoid visual and bothered, promoted the display effect of candidate bar.In the time that the length of cloud candidate item is greater than the length of specifying position candidate in candidate bar, by dwindling the font size of cloud candidate item, the local candidate item of specifying position candidate in candidate bar is replaced with to the cloud candidate item of dwindling after font size, can ensure the integrality that cloud candidate item shows.The designate candidate position that the length of the length based on local candidate item and cloud candidate item obtains, due to length and cloud candidate item more approaching, and there is certain representativeness, therefore, can improve the accuracy of candidate item in candidate bar, promote further the display effect of candidate bar.
Referring to Fig. 4, the interface display schematic diagram of the cloud candidate input providing for the embodiment of the present invention, to use p.m.entry to describe as example in iphone.Wherein, user inputs a string " ssshurvdayunhouxuan " by spelling input method on the interface of p.m.entry, and this string is presented in the editor of p.m.entry of screen top.What this editor below showed is spelling input keyboard interface, and the marking shape window on this keyboard is candidate bar.Mobile terminal gets the cloud candidate item corresponding with this input string for " the large fortune of careful consideration candidate " by high in the clouds, this cloud candidate item is presented in first position candidate in candidate bar, the upper right corner of this cloud candidate item shows the small icon of a cloud, is used for representing that this candidate item is cloud candidate item.
Referring to Fig. 5, another embodiment of the present invention also provides a kind of mobile terminal, comprising:
Receiver module 501, for receiving the input string from user;
Acquisition module 502, for obtaining local candidate item and the corresponding cloud candidate item that input string is corresponding;
Processing module 503, for show local candidate item in candidate bar, replaces with cloud candidate item by the local candidate item of specifying position candidate in candidate bar.
In the present embodiment, the corresponding candidate item that the local candidate item corresponding with user's input string obtains after referring to and searching in the dictionary of mobile terminal this locality according to this input string, conventionally, searches local dictionary and can obtain the multiple local candidate item corresponding with this input string.
Described candidate bar is the view area that shows the candidate item corresponding with input string.The candidate item showing in candidate bar comprises local candidate item and cloud candidate item, and wherein, local candidate item is generally multiple, and cloud candidate item is generally one.The candidate's item number showing in candidate bar can arrange, and the candidate item of demonstration shows in a certain order, the corresponding position candidate of each candidate item.For example, candidate's item number of a candidate bar demonstration is 5, and corresponding position candidate is followed successively by first position candidate, second position candidate, the 3rd position candidate, the 4th position candidate and the 5th position candidate.
Wherein, user can input by input method an input string in mobile terminal.This input method can be spelling input method etc.
Wherein, local candidate item is that mobile terminal is searched for and obtained from local dictionary, when search, searches as index taking this input string, obtains the candidate item of mating with this input string, and the candidate item of this coupling can be one or for multiple.
Described cloud candidate item is that mobile terminal obtains from high in the clouds, particularly, mobile terminal can send to cloud server by this input string, and server is searched in network according to this input string, obtain the cloud candidate item of mating with this input string, and return to mobile terminal.
Wherein, processing module 503 can show the local candidate item of having obtained according to default candidate's item number in candidate bar, if the number of the local candidate item of having obtained has exceeded described default candidate's item number, can show the local candidate item of having obtained by split screen.For example, obtained 10 local candidate item, default candidate's item number is 5, shows at twice this 10 local candidate item, shows 5 local candidate item at every turn.
In conjunction with above-mentioned mobile terminal, under the first embodiment, processing module 503 for:
The local candidate item of first position candidate in candidate bar is replaced with to cloud candidate item.
In conjunction with above-mentioned mobile terminal, under the second embodiment, processing module 503 for:
Relatively in candidate bar, specify the length of position candidate and the length of cloud candidate item;
If the length of cloud candidate item is greater than the length of specifying position candidate in candidate bar, dwindle the font size of cloud candidate item, the local candidate item of specifying position candidate in candidate bar is replaced with to the cloud candidate item of dwindling after font size.
In conjunction with above-mentioned mobile terminal, under the third embodiment, processing module 503 for:
Judge that whether in candidate bar, specify the local candidate item of position candidate identical with cloud candidate item;
If different, the local candidate item of specifying position candidate in candidate bar is replaced with to cloud candidate item.
Wherein, the third embodiment can combine application with above-mentioned two kinds of embodiments respectively.Particularly, processing module 503 can first judge that whether the local candidate item of first position candidate in candidate bar is identical with described cloud candidate item, if different, the local candidate item of specifying position candidate in candidate bar is replaced with to this cloud candidate item, if identical, complete input and show.Or, processing module 503 can first judge that whether in candidate bar, specify the local candidate item of position candidate identical with the cloud candidate item of obtaining, if different, relatively specifies the length of position candidate in candidate bar and the length of the cloud candidate item obtained, if identical, complete input and show.
In conjunction with above-mentioned mobile terminal, any in the first, the second or the third embodiment, under the 4th kind of embodiment, above-mentioned mobile terminal can also comprise:
Initialization module, for gathering in advance multiple input strings; For the each input string in multiple input strings, for input string obtains corresponding local candidate item and cloud candidate item, in local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item; Position candidate corresponding to local candidate item that statistics is selected for each input string, using the position candidate the highest frequency of occurrences as designate candidate position.
Wherein, described content and the length of multiple input strings gathering in advance is not all limit, and can be input string arbitrarily, and the number of the input string of collection is at least two, and the present invention is not specifically limited this number.Preferably, can improve by gathering more input string the precision of statistics.
Wherein, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item, refer to and calculate the poor of the length of each local candidate item and the length of cloud candidate item, in the multiple length differences that obtain, select the local candidate item corresponding to difference of minimum length.For example, the local candidate item of an input string has 5, wherein have the length of 1 local candidate item identical with the length of cloud candidate item, the length of all the other local candidate item of 4 is all less than the length of cloud candidate item, selects the local candidate item identical with cloud candidate item length.
The highest position candidate of the described frequency of occurrences refers to that the number of times occurring in multiple position candidate that this position candidate obtains in statistics is maximum.For example, gathered 200 input strings, statistics has obtained 200 position candidate, and candidate's item number of input method setting is 5,5 position candidate in corresponding candidate bar.In these 200 position candidate, having 190 position candidate is first position candidate in candidate bar, using this first position candidate as described designate candidate position, replaces with cloud candidate item for the follow-up local candidate item by this designate candidate position.
The above-mentioned mobile terminal that the present embodiment provides can be touch-tone mobile terminal, or can be also touch mobile terminal, and the present invention is not specifically limited this.The above-mentioned mobile terminal that the present embodiment provides can be provided by the method providing in above-mentioned either method embodiment, and detailed process is shown in the description in embodiment of the method, does not repeat herein.
The above-mentioned mobile terminal that the present embodiment provides, when receive from user input string time, by obtaining local candidate item and the corresponding cloud candidate item that described input string is corresponding, in candidate bar, show described local candidate item, and the local candidate item of specifying position candidate in candidate bar is replaced with to cloud candidate item, cloud candidate item is presented in fixing position candidate, can not change by occurrence positions, effectively solve the problem that existing cloud candidate positions is beated, avoid visual and bothered, promoted the display effect of candidate bar.In the time that the length of cloud candidate item is greater than the length of specifying position candidate in candidate bar, by dwindling the font size of cloud candidate item, the local candidate item of specifying position candidate in candidate bar is replaced with to the cloud candidate item of dwindling after font size, can ensure the integrality that cloud candidate item shows.The designate candidate position that the length of the length based on local candidate item and cloud candidate item obtains, due to length and cloud candidate item more approaching, and there is certain representativeness, therefore, can improve the accuracy of candidate item in candidate bar, promote further the display effect of candidate bar.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a cloud candidate input method, is characterized in that, described method comprises:
Mobile terminal receives the input string from user;
Obtain local candidate item and corresponding cloud candidate item that described input string is corresponding;
In candidate bar, show described local candidate item, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item.
2. method according to claim 1, is characterized in that, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
The local candidate item of first position candidate in described candidate bar is replaced with to described cloud candidate item.
3. method according to claim 1, is characterized in that, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
In more described candidate bar, specify the length of position candidate and the length of described cloud candidate item;
If the length of described cloud candidate item is greater than the length of specifying position candidate in described candidate bar, dwindle the font size of described cloud candidate item, the local candidate item of specifying position candidate in described candidate bar is replaced with to the cloud candidate item of dwindling after font size.
4. method according to claim 1, is characterized in that, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item, comprising:
Judge that whether in described candidate bar, specify the local candidate item of position candidate identical with described cloud candidate item;
If different, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item.
5. according to the method described in any one in claim 1 to 4, it is characterized in that, mobile terminal also comprises before receiving the input string from user:
Gather in advance multiple input strings;
For the each input string in described multiple input strings, for described input string obtains corresponding local candidate item and cloud candidate item, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item;
Position candidate corresponding to local candidate item that statistics is selected for each input string, using the position candidate the highest frequency of occurrences as described designate candidate position.
6. a mobile terminal, is characterized in that, described mobile terminal comprises:
Receiver module, for receiving the input string from user;
Acquisition module, for obtaining local candidate item and the corresponding cloud candidate item that described input string is corresponding;
Processing module, for show described local candidate item in candidate bar, replaces with described cloud candidate item by the local candidate item of specifying position candidate in described candidate bar.
7. mobile terminal according to claim 6, is characterized in that, described processing module is used for:
The local candidate item of first position candidate in described candidate bar is replaced with to described cloud candidate item.
8. mobile terminal according to claim 6, is characterized in that, described processing module is used for:
In more described candidate bar, specify the length of position candidate and the length of described cloud candidate item;
If the length of described cloud candidate item is greater than the length of specifying position candidate in described candidate bar, dwindle the font size of described cloud candidate item, the local candidate item of specifying position candidate in described candidate bar is replaced with to the cloud candidate item of dwindling after font size.
9. mobile terminal according to claim 6, is characterized in that, described processing module is used for:
Judge that whether in described candidate bar, specify the local candidate item of position candidate identical with described cloud candidate item;
If different, the local candidate item of specifying position candidate in described candidate bar is replaced with to described cloud candidate item.
10. according to the mobile terminal described in any one in claim 6 to 9, it is characterized in that, described mobile terminal also comprises:
Initialization module, for gathering in advance multiple input strings; For the each input string in described multiple input strings, for described input string obtains corresponding local candidate item and cloud candidate item, in described local candidate item, selecting with the difference of the length of cloud candidate item is minimum local candidate item; Position candidate corresponding to local candidate item that statistics is selected for each input string, using the position candidate the highest frequency of occurrences as described designate candidate position.
CN201210566601.XA 2012-12-24 2012-12-24 Cloud candidate input method and mobile terminal Active CN103885669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210566601.XA CN103885669B (en) 2012-12-24 2012-12-24 Cloud candidate input method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210566601.XA CN103885669B (en) 2012-12-24 2012-12-24 Cloud candidate input method and mobile terminal

Publications (2)

Publication Number Publication Date
CN103885669A true CN103885669A (en) 2014-06-25
CN103885669B CN103885669B (en) 2018-03-30

Family

ID=50954596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210566601.XA Active CN103885669B (en) 2012-12-24 2012-12-24 Cloud candidate input method and mobile terminal

Country Status (1)

Country Link
CN (1) CN103885669B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188297A1 (en) * 2021-03-10 2022-09-15 北京搜狗科技发展有限公司 Request processing method and apparatus, and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187846A1 (en) * 2008-01-18 2009-07-23 Nokia Corporation Method, Apparatus and Computer Program product for Providing a Word Input Mechanism
CN101943991A (en) * 2010-07-23 2011-01-12 百度在线网络技术(北京)有限公司 Input method and equipment based on cloud computing
CN101976148A (en) * 2010-10-28 2011-02-16 广东开心信息技术有限公司 Hand input system and method
CN102122360A (en) * 2011-03-01 2011-07-13 华南理工大学 Cloud computing-based mobile terminal handwriting identification method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090187846A1 (en) * 2008-01-18 2009-07-23 Nokia Corporation Method, Apparatus and Computer Program product for Providing a Word Input Mechanism
CN101943991A (en) * 2010-07-23 2011-01-12 百度在线网络技术(北京)有限公司 Input method and equipment based on cloud computing
CN101976148A (en) * 2010-10-28 2011-02-16 广东开心信息技术有限公司 Hand input system and method
CN102122360A (en) * 2011-03-01 2011-07-13 华南理工大学 Cloud computing-based mobile terminal handwriting identification method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
申明: "搜狗输入法首创云计算输入", 《科技日报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188297A1 (en) * 2021-03-10 2022-09-15 北京搜狗科技发展有限公司 Request processing method and apparatus, and medium

Also Published As

Publication number Publication date
CN103885669B (en) 2018-03-30

Similar Documents

Publication Publication Date Title
US11520795B2 (en) Personalized review snippet generation and display
US11354119B2 (en) Automatically upgrading and finding components similar to legacy versions
CN112650907A (en) Search word recommendation method, target model training method, device and equipment
CN105404458B (en) Webpage content updating method and device
CN111506803B (en) Content recommendation method and device, electronic equipment and storage medium
US10762151B2 (en) Method and device for recommending content to browser of terminal device and method and device for displaying content on browser of terminal device
US20220027575A1 (en) Method of predicting emotional style of dialogue, electronic device, and storage medium
CN104598507A (en) Information searching method and device
CN103631526A (en) Device and method for displaying search information
CN113190741A (en) Searching method, searching device, electronic equipment and storage medium
CN111880668A (en) Input display method and device and electronic equipment
CN108491502B (en) News tracking method, terminal, server and storage medium
CN111753195B (en) Label system construction method, device, equipment and storage medium
CN112163143B (en) Page switching method, device, equipment and storage medium
CN111638787B (en) Method and device for displaying information
CN106844572B (en) Search result processing method and device for search result processing
US10275525B2 (en) Method and system for mining trends around trending terms
US9489128B1 (en) Soft keyboard with size changeable keys for a smart phone
CN103885669A (en) Cloud candidate input method and mobile terminal
CN102609538B (en) Method and device for displaying search results, equipment and system
CN112632212B (en) Method, device, equipment and medium for updating to-be-translated entry
CN110727387B (en) Method, device and computer storage medium for determining user behavior data
CN103034468A (en) Method and device for displaying text
CN113360693A (en) Method and device for determining image label, electronic equipment and storage medium
CN113377473A (en) Task creation method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant