CN102214011B - A kind of method of initiating input method remote calculation request and device - Google Patents

A kind of method of initiating input method remote calculation request and device Download PDF

Info

Publication number
CN102214011B
CN102214011B CN201010145590.9A CN201010145590A CN102214011B CN 102214011 B CN102214011 B CN 102214011B CN 201010145590 A CN201010145590 A CN 201010145590A CN 102214011 B CN102214011 B CN 102214011B
Authority
CN
China
Prior art keywords
input
user
string
input string
time
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.)
Active
Application number
CN201010145590.9A
Other languages
Chinese (zh)
Other versions
CN102214011A (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201010145590.9A priority Critical patent/CN102214011B/en
Publication of CN102214011A publication Critical patent/CN102214011A/en
Application granted granted Critical
Publication of CN102214011B publication Critical patent/CN102214011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and device of initiating input method remote calculation request, wherein, described method comprises: carry out in the process of words input user, when the input string in coding input district changes, judge whether the input string of present encoding input field has preset integrity feature; When having preset integrity feature, according to the input string of described present encoding input field to server initiating input method remote calculation request.By the present invention, unnecessary remote computation application can be reduced, thus alleviate the burden of client network communication and the computation burden of server, reduce the waste of client end interface display space, meanwhile, the existent value of remote computation can be embodied.

Description

A kind of method of initiating input method remote calculation request and device
Technical field
The present invention relates to input method technique field, particularly relate to a kind of method and device of initiating input method remote calculation request.
Background technology
Along with the deep development of input method technology, the sequence only utilizing input method client this locality to carry out candidate item calculates and is difficult to meet user's require that candidate item correctness further, thus, cloud computing technology starts to be applied to input method field, namely utilizes the powerful arithmetic capability of remote server and mass data processing ability to provide more accurate candidate result for user.
But, although remote server computing velocity is fast, data volume is large, candidate item more accurately can be provided, but due to server often will simultaneously for numerous user provides service, and client needs by network and server interaction, the coded character that user inputs is sent to server by network, corresponding candidate item is returned to user by server again, and thus the server result of calculation seen of user is often relatively slow, longer than the time delay of local computing.In order to learn from other's strong points to offset one's weaknesses, can adopt and input method client local computing and server are calculated the mode combined.First client presents local computing result to user, and sends computation requests to server, after by the time server returns results, then remote computation result is inserted into presented to user before this candidate item in the middle of.
In this " combination " mode, having an important problem to need to consider, is exactly when sending remote computation application to server.If it is too frequent that request sends ground, then the computation burden of the burden of client network communication and server can be made all to become very heavy; Meanwhile, also may cause the waste on display space, calculate application because send to server at every turn, input method client interface is all possibly for server result of calculation reserves display space.If the underfrequency sent request, remote server may be made again in time for user offers help, cannot cannot to fully demonstrate the meaning that it exists.
Summary of the invention
The invention provides a kind of method and device of initiating input method remote calculation request, the burden of client network communication and the computation burden of server can be alleviated, reduce the waste of client end interface display space, meanwhile, the value place of remote computation can be embodied.
The invention provides following scheme:
A method for initiating input method remote calculation request, comprising:
Carry out user in the process of words input, when the input string in coding input district changes, judge whether the input string of present encoding input field has preset integrity feature;
When having preset integrity feature, according to the input string of described present encoding input field to server initiating input method remote calculation request.
Preferably, describedly judge whether the input string of present encoding input field has preset integrity feature and comprise:
When the input string in coding input district changes, start timing;
If do not receive the operation that user carries out current input string supplementing or revising in the threshold time needing wait, then determine that the input string of present encoding input field has preset integrity feature.
Preferably, also comprise:
If receive the operation of user in the described threshold time needing to wait for, then cancel this timing, and restart timing; The operation of described user comprises input new coded character, the coded character deleted in current input string, press space or numerical key carries out the selection of candidate item or the selection to candidate item.
Preferably, the described threshold time determining that described needs are waited in the following manner comprises:
In advance according to the input speed confirmed standard threshold time of user; Is defined as the threshold time needing to wait for the described level threshold value time; Or
In advance according to the input speed confirmed standard threshold time of user; According to current input state, the described level threshold value time is regulated, is defined as the threshold time needing to wait for the level threshold value time after described adjustment.
Preferably, the described input speed confirmed standard threshold time according to user comprises:
In the time interval between adjacent twice button of recording user, the mean value in the described time interval is defined as the described level threshold value time.
Preferably, describedly according to current input state, adjustment is carried out to the described level threshold value time and comprises:
When the input string of described present encoding input field is pinyin string, if current input string is with the ending of spelling syllable, then shortens the described level threshold value time, otherwise increase the described level threshold value time; Or
When causing described input string to change due to continuous print deletion action, increase the described level threshold value time; Or
The impact of physiological status on input speed according to user regulated the described level threshold value time.
Preferably, when the input string of described present encoding input field is pinyin string, describedly judge whether the input string of present encoding input field has preset integrity feature and comprise:
Judge that whether current input string is with the ending of spelling syllable, if so, then determines that the input string of present encoding input field has preset integrity feature.
Preferably, describedly judge whether the input string of present encoding input field has preset integrity feature and comprise:
Judge whether user have input the representative pre-set and input complete special character, shortcut or Macintosh, if so, then determine that the input string of present encoding input field has preset integrity feature.
A device for initiating input method remote calculation request, comprising:
Integrality judging unit, for carrying out in the process of words input user, when the input string in coding input district changes, judges whether the input string of present encoding input field has preset integrity feature;
Request initiating cell, for when having preset integrity feature, according to the input string of described present encoding input field to server initiating input method remote calculation request.
Preferably, described integrality judging unit comprises:
Timing subelement, for when the input string in coding input district changes, starts timing;
First determines subelement, if for not receiving the operation that user carries out current input string supplementing or revising in the threshold time needing wait, then determine that the input string of present encoding input field has preset integrity feature.
Preferably, also comprise:
Unit is cancelled in timing, if the operation for receiving user in the described threshold time needing to wait for, then cancels this timing; The operation of described user comprises input new coded character, the coded character deleted in current input string, press space or numerical key is carried out the selection of candidate item or carried out the selection of candidate item by mouse.
Preferably, also comprise:
Level threshold value time determining unit, for the input speed confirmed standard threshold time in advance according to user; First waits for threshold time determining unit, for being defined as the threshold time needing to wait for the described level threshold value time; Or
Level threshold value time determining unit, for the input speed confirmed standard threshold time in advance according to user; Regulon, for regulating the described level threshold value time according to current input state; Second waits for threshold time determining unit, for being defined as the threshold time needing to wait for the level threshold value time after described adjustment.
Preferably, described level threshold value time determining unit comprises:
Record subelement, for the time interval between adjacent twice button of recording user;
Mean value calculation subelement, for being defined as the described level threshold value time by the mean value in the described time interval.
Preferably, described regulon comprises:
First regulates subelement, for when the input string of described present encoding input field is pinyin string, if current input string is with the ending of spelling syllable, then shortens the described level threshold value time, otherwise increases the described level threshold value time; Or
Second regulates subelement, for when causing described input string to change due to continuous print deletion action, increases the described level threshold value time; Or
3rd regulates subelement, regulates the described level threshold value time for the impact of physiological status on input speed according to user.
Preferably, described integrality judging unit comprises:
Spelling judgment sub-unit, for judging whether current input string ends up with spelling syllable;
Second determines subelement, if be yes for the judged result of described spelling judgment sub-unit, then determines that the input string of present encoding input field has preset integrity feature.
Preferably, described integrality judging unit comprises:
Special character judgment sub-unit, for judging whether user have input the representative pre-set and input complete special character, shortcut or Macintosh;
3rd determines subelement, if be yes for the judged result of described special character judgment sub-unit, then determines that the input string of present encoding input field has preset integrity feature.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
User is in the input process of carrying out input string, as long as be not that input string changes and just all needs to obtain candidate result, and the present invention can when the input string in coding input district changes, be not directly initiate remote computation request, but first judge whether the input string of present encoding input field has preset integrity feature, and when having preset integrity feature, send remote computation request to server.Therefore, as long as change relative to input string just initiate the implementation of remote computation request, unnecessary remote computation application can be reduced, thus alleviate the burden of client network communication and the computation burden of server, reduce the waste of client end interface display space.Meanwhile, owing to having integrity feature in input string, therefore user needs the possibility obtaining candidate result larger, now, obtains remote computation result in time, can embody the existent value of remote computation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the method that the embodiment of the present invention provides;
Fig. 2 is the process flow diagram of the other method that the embodiment of the present invention provides;
Fig. 3 is the process flow diagram of the method again that the embodiment of the present invention provides;
Fig. 4 is inputting interface schematic diagram;
Fig. 5 is another inputting interface schematic diagram;
Fig. 6 is the schematic diagram of the device that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of protection of the invention.
The present invention can be applied to the input method platform of various input mode, comprises keyboard symbol, hand-written information and phonetic entry etc.Namely described input string can comprise coded string, also can comprise the information of handwritten input information and phonetic entry, because these input modes also all need to use dictionary carry out candidate item sequence.Because the information conversion in these input modes all belongs to known technology, just do not detail at this.Only be input as example with coded string to be below described in detail.
In addition, due in prior art, input method platform may operate on multiple computing equipment, and such as, PC, personal digital assistant, mobile terminal device etc., so the present invention also can be useful in above-mentioned various computing equipment.
The present invention can be applied to as Japanese, Korean etc. need to carry out the input method system of candidate word conversion and sequence, such as, for Japanese, just needs to occur that candidate word sorts when being combined into phrase by the hiragana in Japanese, katakana.Because the application of the present invention in above-mentioned several input method system is all similar, so for convenience of description, be illustrated with situation the present invention being applied in Chinese below.
Embodiment one
See Fig. 1, the method for the initiating input method remote calculation request that the embodiment of the present invention one provides comprises the following steps:
S101: carry out in the process of words input user, when the input string in coding input district changes, judges whether user completes the input of current input string;
First the feature utilizing input method system to carry out words input is simply introduced.Usually, input method window comprises coding input district and candidate display district, in the process of underway literary composition input, owing to needing the conversion carried out from coded string (comprising phonetic, stroke etc.) to candidate item, therefore, need user first at coding input district input coding character, input method system is while user's input coding character, provide corresponding candidate item in candidate display district, the candidate item of selection is input in current application program by upper screen operation by end user.
And input method system can utilize input method dictionary to complete above-mentioned transfer process usually.Wherein, what usually preserve in input method dictionary is mapping relations between coded string and individual character or vocabulary; therefore; user is when inputting; usual meeting carries out cutting to a long sentence from subjective consciousness; complete the input of a long sentence several times, the coded string of each input individual character or vocabulary.Such as, when user wants to input " operating in the input method module on user computer ", if employing spelling input method, then first input phonetic " yun ' xing " (the supposing that user adopts the mode of spelling to input) of " RUN ", then just by pressing the function keys such as space bar (when " RUN " is positioned at candidate item the first) or numerical key, " RUN " is selected from the candidate item that input method provides, output is shielded by it, now, coding input district and candidate display district all disappear; Then, then input " " phonetic " zai ", and when inputting first letter " z ", coding input district and candidate display district occur again, will " " after upper screen exports, more then input the phonetic " yong ' hu " of " user ", by that analogy.
Certainly, along with the intelligent development of input method technology, input method system can carry out the intelligent input such as group word automatically, this also just means that user can carry out the input of long sentence, in other words, for a long sentence, can without cutting, or cutting too in multiple times need not be carried out just can complete.Such as, for previous example, user directly inputs " yun ' xing ' zai ' yong ' hu ' dian ' nao ' shang ' de ' s hu ' ru ' fa ' mo ' kuai ", just can obtain in preference " operating in the input method module on user computer " of wanting to input, then press the disposable input completing this long sentence of the function keys such as space; Certainly under normal circumstances, in the process of input coding character string, inevitably there are some mistakes (comprising key errors etc.), when disposable input too much coded string in coding input district time, may this mistake of Timeliness coverage, then may also need to re-enter deleting in the content of coding input district input again.In order to avoid the generation of this situation, even if input method system can provide candidate item for whole long sentence, user is also usual is divided into multiple short sentence by long sentence or phrase carries out gradation input.Such as, still for previous example, this long sentence cutting may be " operating in ", " on user computer ", " input method module " such three short sentences or phrase by user, point to complete the input of this long sentence for three times.
In a word, input first coded character from user to coding input district, start the input of current input string, until user determines, by when screen exports in candidate item corresponding for current input string, to complete the input of current input string.Wherein, the candidate item having completed the current input string of input corresponding may be an individual character or vocabulary, and also may be a phrase or short sentence, may be also a long sentence certainly, etc., the embodiment of the present invention does not limit this.
For current input string, the candidate item that final it is desirable that this complete input string of user is corresponding.In other words, although common local input method just can provide candidate item when user starts the input carrying out an input string, as long as and when input string changes, candidate item also all may change thereupon, but, for user, may not need to pay close attention to these intermediate result.Such as, user wants to input " hello ", in the process of input " nihao ", process that such five different conditions of-> " ni "-> " nih "-> " niha "-> " nihao " change successively that input string experienced by " n ", but the candidate result that in fact just input string " nihao " is corresponding required for him, obviously, the candidate item provided for front four kinds of states is in fact all dispensable.
According to These characteristics, can draw to draw a conclusion: if user not yet completes the input of current input string, then there is no need to initiate remote computation request to server.Therefore, the method that the embodiment of the present invention provides is, when finding that the input string in coding input district changes, it is not horse back initiating input method remote calculation request, but first judge, determining whether user completes the input of current input string, only having when determining that user has completed the input of current input string, just according to the input string of described present encoding input field to server initiating input method remote calculation request.Specifically how to judge whether user has completed the input of current input string, has hereinafter and introduces in detail.
It should be noted that, can comprise when the input string in coding input district changes and press coding input key and input new coded character, or press delete keies such as " Backspace " and delete certain coded character in current input string etc.
S102: when completing the input of current input string, according to the input string of described present encoding input field to server initiating input method remote calculation request.
When judging that user completes the input of current input string, just the input string of present encoding input field can be sent to server, initiating input method remote calculation request; Otherwise, remote computation request can not be initiated to server.
Still to input " hello ", in aforementioned five states, only have in the end a state time, remote computation request may be sent, under front one of four states, because current input string has not yet inputted, therefore, remote computation request can not be sent.Visible, as long as change relative to input string just initiate the implementation of remote computation request, unnecessary remote computation application can be reduced, thus alleviate the burden of client network communication and the computation burden of server, meanwhile, the waste of client end interface display space is reduced.
Below to how judging that the concrete grammar whether user completes the input of current input string describes in detail.
Because user is when wanting to obtain the contents such as individual character, vocabulary, phrase and inputting an input string, each coded character that this input string comprises can be inputted continuously, after last coded character having inputted this input string, if the current preference provided of input method is not needed for user, then may have one " attonity " period, namely wait for or standstill state, and then carry out follow-up operation, comprise and press numerical key selection required candidate item or page turning etc.According to this feature, the embodiment of the present invention can judge whether user completes the input of current input string by the following method: when the input string in coding input district changes, determine the threshold time needing to wait for, and start timing (thread or a timer can be started), if do not receive any operation of user in the described threshold time needing to wait for, then determine that user completes the input of current input string.
In other words, when input string changes, wait for a period of time to judge whether to need to initiate remote computation request; Wherein, if user at this moment between in section, again press coding input key and input new coded character, then prove that current input string has not yet inputted, there is no need to send remote computation request; Or at this moment in section, when pressing certain or some coded character that delete key deletes in current input string, then prove that user also needs to modify to current input string, does not yet complete the input of current input string; Moreover, at this moment in section, user also may press the function key such as space bar or numerical key, or uses mouse to carry out the selection of candidate item, now then prove to have contained in local computing result the candidate item that user wants, still unnecessaryly initiate remote computation request again.Therefore, in above-mentioned various situation, this timing can be cancelled, also can not initiate remote computation request simultaneously.Only have when user does not perform any operation in section at this moment, then prove have larger possibility to complete the input of this input string, and the candidate item that user wants may not be comprised in the current candidate item provided, there is the necessity initiating remote computation request, therefore, remote computation request can be sent at this moment.
Visible, in the method for this embodiment one, only have when whether user completes the input of current input string, just can initiate remote computation request, otherwise, if the current input string of user has not yet inputted, then can not initiate remote computation request.Decrease the transmission times of remote computation request.
Wherein, when using wait one section of threshold time to judge whether user completes the input of current input string, choosing of this section of threshold time can be determined according to modes such as choosing empirical value.In order to the accuracy judged is considered, the embodiment of the present invention gives a kind of method determining this threshold time, is introduced below to this.
Because user is in the input process of carrying out an input string, the time interval between adjacent key can be significantly less than previously described " attonity " time usually, that is, if user is carrying out the input of an input string, the time interval then between adjacent key is all very short, and this time interval can be assessed by the typing speed of user; Otherwise, if current input of user completes an input string, but the candidate item do not comprised in current candidate display district needed for user, then may also can want to carry out page turning etc. by pressing page turning key, therefore " attonity " time is created, this time comprises time of user's thinking, and finger is moved to the time (page turning key and coding input key may not at the same area of keyboard) etc. of page turning key by user.
According to this feature, can in advance according to the input speed confirmed standard threshold time of user; Then the direct threshold time being defined as need to wait for this level threshold value time.Wherein, when the input speed confirmed standard threshold time according to user, when user can be carried out normal input process, the mean value in the time interval between adjacent key is defined as the level threshold value time.During specific implementation, the module at record key press time and statistics button interval can be increased at input method system, whenever receiving user key-press, the time of this button of input method system record, and ask for the time interval with button last time.Add up the average length at each such key press time interval, as the level threshold value time.
Wherein, the statistics of button interval time can be accepted or rejected to some extent, such as, the situation that those button intervals that may be abnormal cause (may be user's thinking the situation affecting keystroke speed such as to be interrupted by other things) causes are long can be removed, because only have user's input speed under normal circumstances just to have directive significance to the judgement sending remote computation.And for example, can also only statistics with the button interval once inputted, that is, when user for input next time and press first button time, should not add up the interval time of last button of this button and last input.Wherein, determine whether that the foundation with once inputting can be: twice button is all coded character input, and the situation that user selects candidate word (such as by space, numeral, or clicking candidate item with mouse) does not occur in centre.
After counting the mean value in the time interval between adjacent twice keystroke of user in normal input process, just time-interval averaging value can be defined as the level threshold value time.When carrying out judging whether to need to send remote computation request to server, just can using this level threshold value time as the threshold time needing to wait for.
It should be noted that, because the keystroke speed of each user may be different, therefore, can for each user statistical standard threshold time respectively.Certainly, if do not consider the impact of accuracy, the level threshold value time that all users use one to give tacit consent to is as needing the threshold time waited for also to be feasible.
As mentioned before, in order to judge whether user completes the input of current input string, can when the input string in coding input district changes, wait for a period of time, by supervisory user, within this time period, whether executable operations judges, wherein, can directly using level threshold value time of obtaining in advance as the threshold time needing to wait for, in other examples, in order to improve the accuracy of judgement, can also regulate the level threshold value time obtained in advance in conjunction with current input state, then using the threshold time of the level threshold value time after adjustment as needs wait.Below this is introduced in detail.
First, for spelling input method, current input state can refer to the input string content of current input.Because input method user is spelling accustomed to using, if user is after executing a button operation, really experienced by one " attonity " period, and current input string ends up with a spelling syllable, then user has the possibility completing an input string really very large, otherwise, if user is after executing a button operation, really also experienced by one " attonity " period, but current input string is not end up with spelling syllable, then mean and likely create erroneous judgement.Such as user wants that the input string inputted is " nihao ", and when end is spelling syllable [hao], user completes this input string, then, after having waited for threshold time, can find any operation really not carrying out other.; user is after having inputted " nih "; also likely the next letter of input in time can be caused not because of other abnormal causes; now; just remote computation request may be have sent to server after the threshold time of a wait standard; but obviously now user not yet completes the input of current input string.
Visible, the current input string content inputted, also can play certain directive function to judging whether current input string has inputted, input string content information is used concrete deterministic process, the accuracy of judgement can be improved, reduce the possibility of erroneous judgement.
During specific implementation, can carry out as follows: if when the end of current input string is spelling syllable, then the time waited for can suitably shorten, and when current input string end is not spelling syllable, then suitably can lengthen the time of wait.Namely, can be obtain the level threshold value time according to the input speed of user in advance equally, then when determining the threshold time needing to wait for, whether to end up this feature with spelling syllable according to current input string, regulate the level threshold value time, the level threshold value time after adjustment is as the threshold time needing to wait for.
In addition, current input state also can refer to the operation of the current execution of user, such as, when user finds that oneself input string has struck wrong time, may delete a string letter with delete keies such as backspace, now the change of candidate item (from local input method) is than very fast, if add the candidate change caused for showing remote computation result, interface acute variation can be made, allow user feel confused.Therefore, for avoiding the generation of above-mentioned situation, in this case, the time of wait can also suitably be lengthened.In other words, when causing described input string to change due to continuous print deletion action, the described level threshold value time can be increased, then the threshold time that the level threshold value time after increasing is waited for as needs.
Moreover current input state can also be the physiological status of user.Such as, in the different time periods, due to reasons such as physiologic factors, the input speed of same user also may be different.As, if current time is the morning, then the input speed of user may be relatively very fast, now, can shorten the stand-by period, to get remote computation result in time; If current time is afternoon, then the reaction of user is usually more blunt, and therefore input speed also may be affected, now, if adopt average key press time as the stand-by period, then the possibility of erroneous judgement may be increased, therefore, suitably the stand-by period can be increased.
It should be noted that, in addition to the method described above, can also judge whether user completes the input of current input string in other way, such as, can also be undertaken judging etc. by the n-tuple relation between syntactic information or vocabulary, not limit here.
In a word, by the method for embodiment one, can only when judging that user has completed the input of current input string, just can initiate remote computation request to server, otherwise the associative operation (be included in local structure request msg, send request, reserve display space etc. at client end interface) of initiating remote computation request can not be carried out, therefore can save local computing resource and interface display resource; Meanwhile, owing to can not send request data meeting, therefore also save Internet resources, server can not calculate too continually, also saves server resource.
Embodiment two,
When the input string of described present encoding input field is pinyin string, see Fig. 2, the method for the initiating input method remote calculation request that the embodiment of the present invention two provides comprises the following steps:
S201: carry out in the process of words input user, when the input string in coding input district changes, judges whether user completes the input of current syllable;
S202: when completing the input of current syllable, according to the input string of described present encoding input field to server initiating input method remote calculation request.
For spelling input method, because most of spelling input method user is spelling accustomed to using, and for the phonetic of spelling, can be distinguished by syllable between each word, and whether syllable is complete can judge.Therefore, can by judging that whether current input string is with the ending of spelling syllable, determines whether this current syllable has inputted.Such as, when user wants input " difference ", need to input " butong ", experience following process: such six states of " b "-> " bu "-> " but "-> " buto "-> " buton "-> " butong ", when user is input to " bu ", can judge that current input string ends up with spelling syllable, now, remote computation request can be sent to server; When user continues to be input to the 3rd state, because " t " is initial consonant, therefore, can judge that user will carry out the input of new syllable, and obviously this syllable has not yet inputted, and therefore can not send remote computation request; Next, when user be input to the 4th, the 5th each state time, because " to ", " ton " are not spelling syllables, therefore, think that current syllable not yet inputs complete, also all can not initiate remote computation request; Until when user is input to the 6th state, because " tong " is a spelling syllable, therefore think that the input of this syllable is complete, remote computation request can be initiated.Visible, utilize the method, as long as change relative to input string just initiate the implementation of remote computation request, the remote computation application that some are unnecessary can be reduced equally, thus alleviate the burden of client network communication and the computation burden of server, meanwhile, the waste of client end interface display space is reduced.
Certainly can also judge whether user completes the input of current syllable by other means, such as, can work as user input the next one letter for initial consonant time, judge that previous syllable has inputted, etc., do not limit here.
It should be noted that, about above-described embodiment two, be only described in detail the difference with embodiment one, something in common can be carried out with reference to embodiment one, repeats no more here.
Comprehensive above-described embodiment one and embodiment two can be found out, the embodiment of the present invention is when the input string in coding input district changes, be not initiate remote computation request to server at once, but first judge, when only having the input string of present encoding input field to have preset integrity feature, just the input string of present encoding input field is sent to server, initiating input method remote calculation request.Wherein, for embodiment one, integrity feature is the input that user has completed current input string; For embodiment two, integrity feature is the input that user completes current syllable.
Thus, see Fig. 3, the method for the initiating input method remote calculation request that the embodiment of the present invention provides can comprise the following steps:
S301: carry out in the process of words input user, when the input string in coding input district changes, judges whether the input string of present encoding input field has preset integrity feature;
S302: when having preset integrity feature, according to the input string of described present encoding input field to server initiating input method remote calculation request.
It should be noted that, the method of the initiating input method remote calculation request that the embodiment of the present invention provides with can with other method with the use of, namely be not only when having preset integrity feature, send remote computation request, when having other features (find that as utilized additive method current candidate item does not all meet user's request, etc.) also may send remote computation request.
Certainly, when utilizing preset integrity feature to judge, be not limited to the implementation of embodiment one and embodiment two, in other embodiments, other integrity feature can be adopted to realize.Such as, the special character representing integrality can be pre-set, after input string has inputted, this special character is manually inputted by user, as long as such input method system finds this character, just think that there is integrity feature, then just can send remote computation request to server.Utilize the method can reduce the possibility of erroneous judgement further, only can send remote computation request in the moment that user specifies to server, avoid user is felt confused.Wherein, special character can be " ' ", "@", " | ", also can have input before input string or afterwards and represent the character such as cloud input " _ ysr ", " | cloud input ".Certainly, except keying in special character, can also use the mode such as shortcut or Macintosh to realize, such as, shortcut can be F1, F2 etc.; Macintosh can be Ctrl+Alt+Y, etc.In addition, can also have other implementation, or aforementioned various mode be combined, concrete implementation repeats no more here.
Refer to shown in Fig. 5, in user's input " zhong ' guo ' fu ' xing ' ren ' min ' fu ' yu " process, if respectively at " zhong ' guo ' fu ' xing ", " ren ' min ", " fu ' yu " paused after having inputted, and the dead time meets cloud request transmission rule judgment, then likely because situation as shown in Figure 5 appears in network or other reasons, it is exclusively used in shows that the candidate item 2 of cloud computing result fails to occur cloud computing feedback result always, for this reason, the embodiment of the present invention is after receiving user input content, the input content determined and/or the portion shows content generated by the result that cloud computing obtains can be selected according to user, as shown in Figure 6, user is after obtaining remote server and calculating the feedback result " China's revival " of " zhong ' guo ' fu ' xing ", then all or part of of this feedback result is presented to user, user is allowed to learn the partial feedback content of cloud computing, puzzle in whether continuing to wait for cloud computing result when avoiding user not obtain whole cloud computing result, also can avoid the alternating content that cloud computing result obtains in rear unexpected increase input frame simultaneously, user is not known why it is so, after adopting this example, although after meeting preset integrity feature at every turn, client can continue to send to remote server the computation requests of " zhong ' guo ' fu ' xing ' ren ' min " or " zhong ' guo ' fu ' xing ' ren ' min ' fu ' yu ", but all or part of result of remote server preliminary feedback first can be shown to user, user is facilitated to select (as shown in candidate item in Fig. 6 2).In addition, all or part of result of above-mentioned remote server preliminary feedback also can by the content selected from candidate item of user, and in such as this example, " China's revival " may also be the selected content of user by selecting candidate item 1.In addition, above-mentioned elder generation also can be word for word or by word show user successively in interval on schedule to the content that user carries out showing.
Corresponding with the method for the initiating input method remote calculation request that the embodiment of the present invention provides, the embodiment of the present invention additionally provides a kind of device of initiating input method remote calculation request, see Fig. 6, comprising:
Integrality judging unit 601, for carrying out in the process of words input user, when the input string in coding input district changes, judges whether the input string of present encoding input field has preset integrity feature;
Request initiating cell 602, for when having preset integrity feature, according to the input string of described present encoding input field to server initiating input method remote calculation request.
Wherein, integrality judging unit 601 comprises:
Timing subelement, for when the input string in coding input district changes, starts timing;
First determines subelement, if for not receiving the operation that user carries out current input string supplementing or revising in the threshold time needing wait, then determine that the input string of present encoding input field has preset integrity feature.
Now, this device can also comprise:
Unit is cancelled in timing, if the operation for receiving user in the described threshold time needing to wait for, then cancels this timing; The operation of described user comprises input new coded character, the coded character deleted in current input string, press space or numerical key is carried out the selection of candidate item or carried out the selection of candidate item by mouse.
In order to determine the threshold time needing to wait for, this device can also comprise:
Level threshold value time determining unit, for the input speed confirmed standard threshold time in advance according to user; First waits for threshold time determining unit, for being defined as the threshold time needing to wait for the described level threshold value time; Or
Level threshold value time determining unit, for the input speed confirmed standard threshold time in advance according to user; Regulate subelement, for regulating the described level threshold value time according to current input state; Second waits for threshold time determining unit, for being defined as the threshold time needing to wait for the level threshold value time after described adjustment.
Wherein, described level threshold value time determining unit can comprise:
Record subelement, for the time interval between adjacent twice button of recording user;
Mean value calculation subelement, for being defined as the described level threshold value time by the mean value in the described time interval.
Described regulon comprises:
First regulates subelement, for when the input string of described present encoding input field is pinyin string, if current input string is with the ending of spelling syllable, then shortens the described level threshold value time, otherwise increases the described level threshold value time; Or
Second regulates subelement, for when causing described input string to change due to continuous print deletion action, increases the described level threshold value time; Or
3rd regulates subelement, regulates the described level threshold value time for the impact of physiological status on input speed according to user.
In another embodiment, integrality judging unit 601 also can comprise:
Spelling judgment sub-unit, for judging whether current input string ends up with spelling syllable;
Second determines subelement, if be yes for the judged result of described spelling judgment sub-unit, then determines that user completes the input of current syllable.
In other embodiments, integrality judging unit 601 also can comprise:
Special character judgment sub-unit, for judging whether user have input the representative pre-set and input complete special character, shortcut or Macintosh;
3rd determines subelement, if be yes for the judged result of described 3rd integrality judgment sub-unit, then has described preset integrity feature.
Above to method and the device of a kind of initiating input method remote calculation request provided by the present invention, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. a method for initiating input method remote calculation request, is characterized in that, comprising:
Carry out user in the process of words input, when the input string in coding input district changes, judge whether the input string of present encoding input field has preset integrity feature; Wherein said preset integrity feature comprise following one or more: user completes the input of current input string, user completes the input of current syllable, the symbol of default representative integrality;
When having preset integrity feature, according to the input string of described present encoding input field to server initiating input method remote calculation request.
2. method according to claim 1, is characterized in that, describedly judges whether the input string of present encoding input field has preset integrity feature and comprise:
When the input string in coding input district changes, start timing;
If do not receive the operation that user carries out current input string supplementing or revising in the threshold time needing wait, then determine that the input string of present encoding input field has preset integrity feature.
3. method according to claim 2, is characterized in that, also comprises:
If receive the operation of user in the described threshold time needing to wait for, then cancel this timing, and restart timing; The operation of described user comprises input new coded character, the coded character deleted in current input string, press space or numerical key carries out the selection of candidate item or the selection to candidate item.
4. method according to claim 2, is characterized in that, determines the described threshold time needing to wait in the following manner, comprising:
In advance according to the input speed confirmed standard threshold time of user; Is defined as the threshold time needing to wait for the described level threshold value time; Or
In advance according to the input speed confirmed standard threshold time of user; According to current input state, the described level threshold value time is regulated, the level threshold value time after adjusted, is defined as the threshold time needing to wait for the level threshold value time after described adjustment.
5. method according to claim 4, is characterized in that, the described input speed confirmed standard threshold time according to user comprises:
In the time interval between adjacent twice button of recording user, the mean value in the described time interval is defined as the described level threshold value time.
6. method according to claim 4, is characterized in that, describedly carries out adjustment according to current input state to the described level threshold value time and comprises:
When the input string of described present encoding input field is pinyin string, if current input string is with the ending of spelling syllable, then shortens the described level threshold value time, otherwise increase the described level threshold value time; Or
When causing described input string to change due to continuous print deletion action, increase the described level threshold value time; Or
The impact of physiological status on input speed according to user regulated the described level threshold value time.
7. method according to claim 1, is characterized in that, when the input string of described present encoding input field is pinyin string, describedly judges whether the input string of present encoding input field has preset integrity feature and comprise:
Judge that whether current input string is with the ending of spelling syllable, if so, then determines that the input string of present encoding input field has preset integrity feature.
8. method according to claim 1, is characterized in that, describedly judges whether the input string of present encoding input field has preset integrity feature and comprise:
Judge whether user have input the representative pre-set and input complete special character, shortcut or Macintosh, if so, then determine that the input string of present encoding input field has preset integrity feature.
9. a device for initiating input method remote calculation request, is characterized in that, comprising:
Integrality judging unit, for carrying out in the process of words input user, when the input string in coding input district changes, judges whether the input string of present encoding input field has preset integrity feature; Wherein said preset integrity feature comprise following one or more: user completes the input of current input string, user completes the input of current syllable, the symbol of default representative integrality;
Request initiating cell, for when having preset integrity feature, according to the input string of described present encoding input field to server initiating input method remote calculation request.
10. device according to claim 9, is characterized in that, described integrality judging unit comprises:
Timing subelement, for when the input string in coding input district changes, starts timing;
First determines subelement, if for not receiving the operation that user carries out current input string supplementing or revising in the threshold time needing wait, then determine that the input string of present encoding input field has preset integrity feature.
11. devices according to claim 10, is characterized in that, also comprise:
Unit is cancelled in timing, if the operation for receiving user in the described threshold time needing to wait for, then cancels this timing; The operation of described user comprises input new coded character, the coded character deleted in current input string, press space or numerical key is carried out the selection of candidate item or carried out the selection of candidate item by mouse.
12. devices according to claim 10, is characterized in that, also comprise:
Level threshold value time determining unit, for the input speed confirmed standard threshold time in advance according to user; First waits for threshold time determining unit, for being defined as the threshold time needing to wait for the described level threshold value time; Or
Level threshold value time determining unit, for the input speed confirmed standard threshold time in advance according to user; Regulon, for regulating the described level threshold value time according to current input state; Second waits for threshold time determining unit, for being defined as the threshold time needing to wait for the level threshold value time after described adjustment.
13. devices according to claim 12, is characterized in that, described level threshold value time determining unit comprises:
Record subelement, for the time interval between adjacent twice button of recording user;
Mean value calculation subelement, for being defined as the described level threshold value time by the mean value in the described time interval.
14. devices according to claim 12, is characterized in that, described regulon comprises:
First regulates subelement, for when the input string of described present encoding input field is pinyin string, if current input string is with the ending of spelling syllable, then shortens the described level threshold value time, otherwise increases the described level threshold value time; Or
Second regulates subelement, for when causing described input string to change due to continuous print deletion action, increases the described level threshold value time; Or
3rd regulates subelement, regulates the described level threshold value time for the impact of physiological status on input speed according to user.
15. devices according to claim 9, is characterized in that, described integrality judging unit comprises:
Spelling judgment sub-unit, for judging whether current input string ends up with spelling syllable;
Second determines subelement, if be yes for the judged result of described spelling judgment sub-unit, then determines that the input string of present encoding input field has preset integrity feature.
16. devices according to claim 9, is characterized in that, described integrality judging unit comprises:
Special character judgment sub-unit, for judging whether user have input the representative pre-set and input complete special character, shortcut or Macintosh;
3rd determines subelement, if be yes for the judged result of described special character judgment sub-unit, then determines that the input string of present encoding input field has preset integrity feature.
CN201010145590.9A 2010-04-09 2010-04-09 A kind of method of initiating input method remote calculation request and device Active CN102214011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010145590.9A CN102214011B (en) 2010-04-09 2010-04-09 A kind of method of initiating input method remote calculation request and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010145590.9A CN102214011B (en) 2010-04-09 2010-04-09 A kind of method of initiating input method remote calculation request and device

Publications (2)

Publication Number Publication Date
CN102214011A CN102214011A (en) 2011-10-12
CN102214011B true CN102214011B (en) 2015-09-09

Family

ID=44745353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010145590.9A Active CN102214011B (en) 2010-04-09 2010-04-09 A kind of method of initiating input method remote calculation request and device

Country Status (1)

Country Link
CN (1) CN102214011B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455250A (en) * 2012-05-30 2013-12-18 联合永道(北京)信息技术有限公司 Record broadcasting, class recording system writing stroke processing and displaying method
CN106681992B (en) * 2015-11-05 2020-12-01 北京国双科技有限公司 Method and device for managing website login information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1782974A (en) * 2004-11-01 2006-06-07 诺基亚有限公司 Improved mobile phone and method
CN1825321A (en) * 2006-03-31 2006-08-30 北京金山软件有限公司 Searching method, holding method and searching system for dictionary-like data
CN101013342A (en) * 2007-01-22 2007-08-08 魏新成 Chinese online input method based on Chinese network word base
CN101030157A (en) * 2007-04-20 2007-09-05 北京搜狗科技发展有限公司 Method and system for updating user vocabulary synchronouslly
CN101697109A (en) * 2009-10-26 2010-04-21 北京搜狗科技发展有限公司 Method and system for acquiring candidates of input method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1782974A (en) * 2004-11-01 2006-06-07 诺基亚有限公司 Improved mobile phone and method
CN1825321A (en) * 2006-03-31 2006-08-30 北京金山软件有限公司 Searching method, holding method and searching system for dictionary-like data
CN101013342A (en) * 2007-01-22 2007-08-08 魏新成 Chinese online input method based on Chinese network word base
CN101030157A (en) * 2007-04-20 2007-09-05 北京搜狗科技发展有限公司 Method and system for updating user vocabulary synchronouslly
CN101697109A (en) * 2009-10-26 2010-04-21 北京搜狗科技发展有限公司 Method and system for acquiring candidates of input method

Also Published As

Publication number Publication date
CN102214011A (en) 2011-10-12

Similar Documents

Publication Publication Date Title
US7647312B2 (en) System and method for automatic generation of suggested inline search terms
Dunlop et al. Predictive text entry methods for mobile phones
CN102375656B (en) Full spelling single character sliding input method based on touch screen, device and touch screen terminal
WO2014062358A1 (en) Multi-gesture text input prediction
CN110427627A (en) Task processing method and device based on semantic expressiveness model
EP2909702B1 (en) Contextually-specific automatic separators
WO2014070577A2 (en) Keyboard gestures for character string replacement
EP3267301A1 (en) High-efficiency touch screen text input system and method
EP3241105B1 (en) Suggestion selection during continuous gesture input
EP3485361B1 (en) Pressure-based gesture typing for a graphical keyboard
US20140067731A1 (en) Multi-dimensional information entry prediction
CN102214011B (en) A kind of method of initiating input method remote calculation request and device
CN102508829A (en) Pinyin-input cloud result prediction methods, system and device
Dunlop et al. Investigating five key predictive text entry with combined distance and keystroke modelling
CN112764734A (en) Code editing assisting method and device and electronic equipment
Poláček et al. Predictive scanning keyboard operated by hissing
JP7092282B2 (en) Skill service update methods, devices, electronic devices, programs and readable storage media
CN106843525A (en) A kind of character input method and device
CN102999275B (en) Obtain method and the device of word conversion result
US10963640B2 (en) System and method for cooperative text recommendation acceptance in a user interface
Rakhmetulla et al. Using Action-Level Metrics to Report the Performance of Multi-Step Keyboards
KR102556179B1 (en) Data prefetching method, device, electronic device and computer readable storage medium
US11061484B2 (en) Computing device and predictive conversion method
US20200409474A1 (en) Acceptance of expected text suggestions
JP2003241878A (en) Data input method and data input program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant