CN103647843B - Method and device for triggering and responding to cloud input requests - Google Patents

Method and device for triggering and responding to cloud input requests Download PDF

Info

Publication number
CN103647843B
CN103647843B CN201310713534.4A CN201310713534A CN103647843B CN 103647843 B CN103647843 B CN 103647843B CN 201310713534 A CN201310713534 A CN 201310713534A CN 103647843 B CN103647843 B CN 103647843B
Authority
CN
China
Prior art keywords
character string
input
cloud
list
user
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
CN201310713534.4A
Other languages
Chinese (zh)
Other versions
CN103647843A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310713534.4A priority Critical patent/CN103647843B/en
Publication of CN103647843A publication Critical patent/CN103647843A/en
Application granted granted Critical
Publication of CN103647843B publication Critical patent/CN103647843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Provided are a method and device for triggering and responding to cloud input requests. The method for triggering the cloud input requests comprises the steps of receiving a character string input by a user; searching the character string input by the user in a first list which is used for storing character strings not triggering the cloud input requests; if no character string input by the user is found in the first list, sending the cloud input requests comprising the character string input by the user to a server; and sending non-triggering cloud input information comprising the character string input by the user to the serve if the character string input by the user is found in the first list. According to the method, useless cloud input requests of the user in the inputting process can be effectively reduced, and interaction obstacles caused by cloud input network delay and the like can be avoided.

Description

Triggering and the method and apparatus of response cloud input request
Technical field
The present invention relates to cloud input method technique field, more particularly, it relates to what a kind of triggering and response cloud input were asked Method and apparatus.
Background technology
Conventionally, as the scale of input method client itself dictionary is limited, its transduced precision is not very high, and The scale of the dictionary of the cloud input method using in cloud server end is almost unrestricted, and therefore its transduced precision is than input method client End is greatly improved.Therefore, cloud input method is used frequently.
However, the use of cloud input method there is a problem of following: first, cloud server end use cloud input method word Storage capacity is very big, the words wide material sources of storage, therefore, when user input query character string (for example, Chinese pinyin etc.), obtains The cloud input results obtaining may be incorrect, and user will not select this incorrect cloud input results, but this incorrect cloud input Result appears in candidate region all the time, hinders user to select correct candidate, reduces input efficiency, have impact on user's body Test;Secondly as the limitation of network connection speed, the calculating of Cloud Server can take some time, and this leads to cloud input knot The time of return of fruit is unstable, can there is the situation of candidate's shake when user rapidly inputs word, reduces input efficiency, shadow Ring Consumer's Experience.
Accordingly, it would be desirable to a kind of when needed triggering cloud that just triggering cloud inputs request to improve input efficiency inputs request Method and apparatus.
Content of the invention
It is an object of the invention at least overcoming the problems referred to above, and provide at advantages below.An aspect of of the present present invention carries The method and apparatus having supplied a kind of triggering and response cloud input request, methods described and equipment pass through setting do not need to carry out cloud defeated Enter the cloud input request useless in input process to efficiently reduce user of the condition of request.
Another aspect provides a kind of triggering and response cloud input request method and apparatus, methods described and Equipment pass through arrange cloud input-buffer, and wherein store conventional characters string cloud input results, to efficiently reduce user and to exist Useful cloud input request in input process.
According to an aspect of the present invention, there is provided a kind of method triggering cloud input request in input method client, described Method includes: the character string of receiving user's input;The character string of user input, wherein, first list is searched in first list Do not trigger the character string of cloud input request for storage;If not searching the character string of user input in first list, The cloud input request of the character string including user input is then sent to server end;If it is defeated to search user in first list The character string entering, then the cloud that do not trigger sending, to server end, the character string including user input inputs message.
Methods described may also include that if same character string is input by a user exceedes pre-determined number, and described character string Cloud input results be not easily selected by a user every time, then described character string is stored in first list.
Methods described may also include that if the cloud input results of same character string are easily selected by a user within a predetermined period of time The ratio of the total degree that number of times is input by a user with this character string is less than predetermined ratio, then described character string is stored first list In.
Methods described may also include that the new information from received server-side with regard to the cloud input results of character string;Response In this message, delete the described character string in first list.
Methods described may also include that and receives, from user, the instruction deleting the character string being stored in first list;In response to This instruction, deletes the character string in first list.
Methods described may also include, and after the character string receiving user input, in first list, search user is defeated Before the character string entering, execute following steps: check the integrality of the character string of user input;If the character string of user input It is complete, then search for the cloud input results of this character string in cloud input-buffer;If searching this in cloud input-buffer The cloud input results of character string, then be shown in result candidate regions by the cloud searching input results, and does not carry out in first row The step searching for the character string of user input in table;If searching for the cloud input knot less than this character string in cloud input-buffer Really, then search for the result of this character string in the study dictionary that input method client includes;If included in input method client Study dictionary in the quantity of result that searches be equal to or more than predetermined threshold, then the result searching is shown in result and waits Constituency, and do not carry out the step searching for the character string of user input in first list;If included in input method client Study dictionary in the quantity of result that searches be less than predetermined threshold, then carry out searching for the word of user input in first list The step of symbol string, wherein, cloud input-buffer is used for storing the character that user input frequency in predetermined amount of time is higher than predetermined threshold The cloud input results of string.
According to a further aspect in the invention, there is provided a kind of method responding cloud input request in server end, described side Method includes: from input method client receive includes character string cloud input request or inclusion character string do not trigger message;As Fruit receives the cloud input request including character string from input method client, then inquire about this character string in cloud input method dictionary, And the cloud input results of this character string inquiring are sent to input method client;If receiving bag from input method client Include the message not triggering cloud input of character string, then inquire about this character string in cloud input method dictionary, and by this character string and look into The cloud input results of this character string ask are stored in second list.
Methods described may also include that renewal cloud input method dictionary;In cloud input method dictionary in the updated, inquiry is deposited again Character string in second list for the storage;Will be stored in the cloud input results of the character string in second list and the word again inquiring The cloud input results of symbol string are compared;If on certain character string in second list cloud input results with again look into The cloud input results of this character string ask are different, then delete this character string in second list and the cloud input of this character string is tied Really, and by the new information of the cloud input results with regard to this character string it is sent to input method client.
According to a further aspect in the invention, there is provided a kind of equipment triggering cloud input request in input method client, institute The equipment of stating includes: the first receiver, the character string of receiving user's input;First searcher, in first list, search user is defeated The character string entering, wherein, first list is used for storing the character string of the cloud input request that is not triggered;Transmitter, if first Do not search the character string of user input in list, then send the cloud input of the character string including user input to server end Request, if do not search the character string of user input in first list, includes user to server end transmission defeated The character string entering do not trigger message.
Described equipment may also include that controller, if same character string is input by a user exceedes pre-determined number and described The cloud input results of character string are not easily selected by a user every time, then store described character string in first list.
Described equipment may also include that controller, if within a predetermined period of time same character string cloud input results by with The ratio of the total degree that the number of times that family selects is input by a user with this character string is less than predetermined ratio, then store described character string In first list.
Described equipment may also include that the second receiver, from received server-side with regard to character string cloud input results more New information, wherein, controller, in response to this message, deletes the described character string in first list.
First receiver can receive from user and delete the instruction that be stored in character string first list, controller in response to This instruction, deletes the character string in first list.
Described equipment may also include that detector, the second searcher, display, the 3rd searcher and comparator, wherein, After first receiver receives the character string of user input, the character of user input searched in first list by the first searcher Before string, detector checks the integrality of the character string of user input;If the character string of user input is complete, second searches The cloud input results of this character string searched in cloud input-buffer by rope device;If searching this character string in cloud input-buffer Cloud input results, then display the cloud searching input results are shown in result candidate regions, and the first searcher is not The character string of user input is searched in one list;If searching for the cloud input results less than this character string in cloud input-buffer, Then the result of this character string searched in the study dictionary that input method client includes by the 3rd searcher;Comparator is objective by input method The quantity of result searching in the study dictionary that family end includes is compared with predetermined threshold;If in input method client bag The quantity of the result searching in the study dictionary including is equal to or more than predetermined threshold, then the result searching is shown by display In result candidate regions, and the character string of user input do not searched in first list by the first searcher;If in input method visitor The quantity of the result searching in the study dictionary that family end includes is less than predetermined threshold, then the first searcher is searched in first list The character string of rope user input, wherein, it is higher than predetermined threshold that cloud input-buffer is used for storing user input frequency in predetermined amount of time The cloud input results of the character string of value.
According to a further aspect in the invention, there is provided a kind of equipment responding cloud input request in server end, described set Standby inclusion: receiver, include the cloud input request of character string from input method client reception or include not triggering of character string Message;Requestor, inquires about, in cloud input method dictionary, the character string receiving from input method client;Transmitter, will be responsive to The cloud input results of the character string that cloud input is asked and inquired are sent to input method client;Controller, if from input method Client receives the cloud input request including character string, then control transmitter by the cloud input results of this character string inquiring It is sent to input method client, if receiving the message not triggering cloud input including character string from input method client, The cloud input results of this character string and this character string inquiring are stored in second list controller.
Described equipment may also include renovator and comparator, and wherein, renovator updates cloud input method dictionary, and requestor is more In cloud input method dictionary after new, inquiry is stored in the character string in second list again, and comparator will be stored in second list The cloud input results of character string be compared with the cloud input results of the character string again inquiring, if on secondary series The cloud input results of certain character string in table are different from the cloud input results of this character string again inquiring, then controller is deleted Except the cloud input results of this character string in second list and this character string, and control the transmitter will be defeated for the cloud with regard to this character string The new information entering result is sent to input method client.
The method and apparatus of the triggering of the present invention and response cloud input request can determine whether to trigger the opportunity of cloud input request It is effectively realized cloud input method.Therefore, methods described and equipment can efficiently reduce the useless cloud in input process of user Input request, can avoiding the interactive obstacle causing due to the network delay etc. of cloud input, thus improving input efficiency, and improving use Family is experienced.
Brief description
By combining accompanying drawing, from the following description of embodiment, the present invention these and/or other side and advantage will become Must be clear, and it is more readily appreciated that wherein:
Fig. 1 is the equipment triggering cloud input request in input method client illustrating the exemplary embodiment according to the present invention Block diagram with the equipment responding cloud input request in server end;
Fig. 2 is the method triggering cloud input request in input method client illustrating the exemplary embodiment according to the present invention Flow chart;
Fig. 3 is the stream responding the method that cloud input is asked in server end illustrating the exemplary embodiment according to the present invention Cheng Tu.
Specific embodiment
Offer following description referring to the drawings is to help the enforcement to the present invention being limited by claim and its equivalent The comprehensive understanding of example.Including various specific detail to help understand, but these details are considered only as being exemplary.Therefore, originally Field skilled artisan will realize that without departing from the scope and spirit of the present invention, can be to reality described herein Apply example to make various changes and modifications.Additionally, for clarity and brevity, omit the description to known function and structure.
Fig. 1 is the block diagram of input method client 100 server 200 illustrating the exemplary embodiment according to the present invention.
With reference to Fig. 1, the input method client 100 of the exemplary embodiment according to the present invention may include the first receiver 101, First searcher 102, transmitter 103, the second receiver 104, controller 105.The clothes of the exemplary embodiment according to the present invention Business device 200 may include receiver 201, requestor 202, transmitter 203, controller 204.
First receiver 101 of input method client 100 can be the interface with user mutual, for applying in input method The character string of middle receiving user's input.In the exemplary embodiment, the first receiver 101 of input method client 100 may include Keyboard, keypad etc..
If the first receiver 101 of input method client 100 receives the character string of user input, input method client First searcher 102 at end 100 can search for the character string of user input in first list.Wherein, first list is used for storing Do not trigger the character string of cloud input request.
According to embodiments of the invention, first list can pass through the list creator (not shown) of input method client 100 Create, and be storable in the memory (not shown) of input method client 100.For example, if same character string is defeated by user Enter to exceed pre-determined number (for example, 10 times), and the cloud input results of this character string are not easily selected by a user every time, or such as The number of times that really the cloud input results of same character string are easily selected by a user within a predetermined period of time and this character string are input by a user The ratio of total degree is less than predetermined ratio (for example, 0.2), then the cloud input results of this character string can be considered as null result, then If user inputs this character string again, it is no need for asking cloud input, and this character string is stored in first list.Subsequently, After user inputs this character string again, can be by directly searching this character string in first list, if in first list In search this character string, then can not carry out for this character string cloud input request.
According to the exemplary embodiment of the present invention, the controller 105 of input method client 100 can determine whether that same character string is No being input by a user exceedes the cloud input results of pre-determined number and this character string and is not easily selected by a user, if same word every time Symbol string is input by a user and exceedes pre-determined number, and the cloud input results of this character string are not easily selected by a user every time, then defeated The controller 105 entering method client 100 stores this character string in first list.
In accordance with an alternative illustrative embodiment of the present invention, the controller 105 of input method client 100 can determine whether in pre- timing Between the ratio of total degree that is input by a user with this character string of the cloud input results of same character string are easily selected by a user in section number of times Whether be less than predetermined ratio, if the number of times that the cloud input results of same character string are easily selected by a user within a predetermined period of time with should The ratio of the total degree that character string is input by a user is less than predetermined ratio, then the controller 105 of input method client 100 is by this character String storage is in first list.
If the first searcher 102 of input method client 100 does not search the word of user input in first list Symbol string, then the cloud that the transmitter 103 of input method client 100 can send, to server end, the character string including user input inputs Request.If however, the first searcher 102 of input method client 100 searches the character of user input in first list Go here and there, then the transmitter 103 of input method client 100 will not send cloud input request to server end, but sends out to server end Send the message not triggering cloud input of the character string including user input.
On the one hand, the transmitter 103 in input method client 100 sends the character string including user input to server end Cloud input request after, the receiver 201 of server 200 can from input method client 100 receive include character string cloud defeated Enter request.
Subsequently, the requestor 202 of server 200 can inquire about this character string in cloud input method dictionary, and server 200 Transmitter 203 the cloud input results of the character string inquiring can be sent to input method client.Here, server 200 Transmitter 203 and receiver 201 can be the interfaces interacting with input method client 100, can by radio frequency (rf) transceiver Lai Realize.
Subsequently, the second receiver 104 of input method client 100 can include from the input request of received server-side cloud The cloud input results of character string.
Here, the transmitter 103 of input method client 100 and the second receiver 104 can be interacted with server 200 Interface, can be realized by radio frequency (rf) transceiver.
On the other hand, the transmitter 103 in input method client 100 sends the word including user input to server 200 After what symbol was gone here and there does not trigger the message that cloud inputs, the receiver 201 of server 200 can receive from input method client 100 and include The message not triggering cloud input of the character string of user input.
Now, the requestor 202 of server 200 is inquired about in cloud input method dictionary and is received from input method client 100 The character string that includes of message not triggering cloud input.Subsequently, the controller 204 of server 200 is by this character string and inquiry To the cloud input results of this character string be stored in second list.
According to embodiments of the invention, second list can be created by the list creator (not shown) of server 200, and It is stored in the memory (not shown) of server 200, wherein, second list is used for what storage received from input method client Do not trigger the character string that includes of message of cloud input and the cloud input results of this character string.
According to the exemplary embodiment of the present invention, server 200 may also include renovator 205 and comparator 206.
The renovator 205 of server 200 can be updated periodically cloud input method dictionary.It is updated it in cloud input method dictionary Afterwards, the cloud input results of each character string in cloud input method dictionary are it may happen that change.Therefore, in the renewal of server 200 After device 205 updates cloud input method dictionary, the requestor 202 of server 200 can in cloud input method dictionary in the updated again Inquiry is stored in the character string in second list.
Subsequently, the comparator 206 of server 200 will be stored in the cloud input results of the character string in second list with again The cloud input results of the character string inquiring are compared.
Cloud input results if on certain character string in second list and this character string again inquiring Cloud input results are different, then the controller 204 of server 200 can delete the cloud of this character string in second list and this character string Input results, and control the transmitter 203 of server 200 to be sent to the new information of the cloud input results with regard to this character string Input method client 100.
In the transmitter 203 of server 200, the message that the cloud input results of character string change is sent to input method client After end 100, the second receiver 104 of input method client 100 can be tied with regard to the cloud input of character string from received server-side The new information of fruit.
Subsequently, the controller 105 of input method client 100 may be in response to the renewal of the cloud input results with regard to character string and disappears Breath, deletes this character string in first list.
In accordance with an alternative illustrative embodiment of the present invention, the first receiver 101 of input method client 100 also can be from user Receive the instruction deleting the character string being stored in first list.If the first receiver 101 of input method client 100 from Family receives the instruction deleting the character string being stored in first list, then the controller 105 of input method client 100 can respond In this instruction, delete this character string in first list.
Additionally, detector 108(be may also include according to the input method client 100 of the exemplary embodiment of the present invention not showing Go out), the second searcher 109(not shown) and display 110(not shown).
In input method application, receive the character string of user input in the first receiver 101 of input method client 100 Afterwards, before the character string of user input searched in first list by the first searcher, the detector of input method client 100 The integrality of 108 character strings that can check user input.Here, the integrality of character string can refer to whether this character string can be combined into The desired words of user.For example, if user uses spelling input method, the character string " wome " of user input is incomplete Character string, but user subsequently inputs one " n ", that is, character string " women(we) " is complete.
If the character string that the detector 108 of input method client 100 checks user input is complete, input method Second searcher 109 of client 100 can search for the cloud input results of this character string in cloud input-buffer.
Wherein, cloud input-buffer can be used for storing the character string that user input frequency in predetermined amount of time is higher than predetermined threshold Cloud input results.According to the exemplary embodiment of the present invention, input method client 100 may also include caching creator 106(not Illustrate) and cache controller 107(not shown).The caching creator 106 of input method client 100 can create cloud input-buffer. The transmitter 103 of input method client 100 sends the cloud input request including character trail to server end.Here, described word Symbol trail may include the character string that user input frequency in predetermined amount of time is higher than predetermined threshold.Receiver in server 200 201 after input method client 200 receives including the cloud input request of character trail, and the requestor 202 of server 200 exists The cloud input results of described character trail are inquired about, the transmitter 203 of subsequent server 200 will inquire in cloud input method dictionary Cloud input results are sent to input method client 100.Connect from server 200 in the second receiver 104 of input method client 100 After receiving the cloud input results of described character trail, the cache controller 107 of input method client 100 is defeated from the cloud receiving Enter in result and remove and the local input result identical cloud input results of input method client 100, and remaining after removing Cloud input results store cloud input-buffer with corresponding character string.
If the cloud that the second searcher 109 of input method client 100 searches this character string in cloud input-buffer is defeated Enter result, then the cloud searching input results can be shown in result candidate regions by the display 110 of input method client 100.This When, the first searcher 102 of input method client 100 does not need to search for this character string of user input in first list.
Additionally, the 3rd searcher 111 be may also include according to the input method client 100 of the exemplary embodiment of the present invention (not shown) and comparator 112(are not shown).
According to the exemplary embodiment of the present invention, if the second searcher 109 of input method client 100 is slow in cloud input Deposit the cloud input results that middle search is less than this character string, then the 3rd searcher 111 of input method client 100 can be in input method visitor The result of this character string is searched in the study dictionary that family end 100 includes.Here, input method client 100 acquiescence includes learning word Storehouse, for storage from user's common input learning to words.But the present invention also may not include study dictionary.
Subsequently, the comparator 112 of input method client 100 can be searched in study dictionary that input method client 100 includes Rope to the quantity of result be compared with predetermined threshold.If searched in the study dictionary that input method client 100 includes The quantity of the result arriving is equal to or more than predetermined threshold, then the display 110 of input method client 100 can be by the result searching It is shown in result candidate regions, and the first searcher 102 of input method client 100 does not need to search for user in first list The character string of input;If the quantity of the result searching in the study dictionary that input method client 100 includes is less than predetermined Threshold value, then the first searcher 102 ability of input method client 100 search for the character string of user input in first list.
Fig. 2 is the method triggering cloud input request in input method client illustrating the exemplary embodiment according to the present invention Flow chart.
With reference to Fig. 2, in step 201, the character string of the first receiver 101 receiving user's input of input method client 100.
In step 202, after the first receiver 101 of input method client 100 receives the character string of user input, First searcher 102 of input method client 100 can search for the character string of user input in first list.Wherein, first row Table is used for the character string that storage does not trigger cloud input request.
According to embodiments of the invention, first list can pass through the list creator (not shown) of input method client 100 Create, and be storable in the memory (not shown) of input method client 100.For example, if same character string is defeated by user Enter to exceed pre-determined number (for example, 10 times), and the cloud input results of this character string are not easily selected by a user every time, or such as The number of times that really the cloud input results of same character string are easily selected by a user within a predetermined period of time and this character string are input by a user The ratio of total degree is less than predetermined ratio (for example, 0.2), then the cloud input results of this character string can be considered as null result, then If user inputs this character string again, it is no need for asking cloud input, and this character string is stored in first list.Subsequently, After user inputs this character string again, can be by directly searching this character string in first list, if in first list In search this character string, then can not carry out for this character string cloud input request.
According to the exemplary embodiment of the present invention, the controller 105 of input method client 100 can determine whether that same character string is No being input by a user exceedes the cloud input results of pre-determined number and this character string and is not easily selected by a user, if same word every time Symbol string is input by a user and exceedes pre-determined number, and the cloud input results of this character string are not easily selected by a user every time, then defeated The controller 105 entering method client 100 stores this character string in first list.
In accordance with an alternative illustrative embodiment of the present invention, the controller 105 of input method client 100 can determine whether in pre- timing Between the ratio of total degree that is input by a user with this character string of the cloud input results of same character string are easily selected by a user in section number of times Whether be less than predetermined ratio, if the number of times that the cloud input results of same character string are easily selected by a user within a predetermined period of time with should The ratio of the total degree that character string is input by a user is less than predetermined ratio, then the controller 105 of input method client 100 is by this character String storage is in first list.
In step 203, the first searcher 102 of input method client 100 determines whether to search use in first list The character string of family input.
If the first searcher 102 of input method client 100 does not search the word of user input in first list Symbol string (step 203 no), then in step 204, the transmitter 103 of input method client 100 can send to server end and include The cloud input request of the character string of user input.
If the first searcher 102 of input method client 100 searches the character string of user input in first list (step 203 be), then in step 205, the transmitter 103 of input method client 100 sends to server end that to include user defeated The message not triggering cloud input of the character string entering.
According to the exemplary embodiment of the present invention, methods described may also include that the second receiver of input method client 100 104 from received server-side with regard to the cloud input results of character string new information;In response to this message, delete in first list Described character string.
In accordance with an alternative illustrative embodiment of the present invention, methods described may also include that the first of input method client 100 connects Receive device 101 and receive, from user, the instruction deleting the character string being stored in first list;In response to this instruction, delete first list In character string.
In accordance with an alternative illustrative embodiment of the present invention, methods described may also include that in step 201 input method client After 100 the first receiver 101 receives the character string of user input, before step 202, execute following steps: input The detector 108 of method client 100 checks the integrality of the character string of user input;If the character string of user input is complete , then the cloud input results of this character string searched in cloud input-buffer by the second searcher 109 of input method client 100;As Fruit searches the cloud input results of this character string in cloud input-buffer, then the display 110 of input method client 100 will be searched for To cloud input results be shown in result candidate regions, and terminate methods described (i.e. it is not necessary to carry out step 202 to 205);If The cloud input results less than this character string searched in cloud input-buffer by second searcher 109 of input method client 100, then defeated The result of this character string searched in the study dictionary that input method client includes by the 3rd searcher 111 entering method client 100; The number of the result learning to search in dictionary that input method client 100 can be included by the comparator 112 of input method client 100 Amount is compared with predetermined threshold;If the quantity of the result searching in the study dictionary that input method client 100 includes Equal to or more than predetermined threshold, then the result searching is shown in result candidate by the display 110 of input method client 100 Area, and terminate methods described (i.e. it is not necessary to carry out step 202 to 205);If the study including in input method client 100 The quantity of the result searching in dictionary is less than predetermined threshold, the then step 202 proceeding to methods described.
Here, cloud input-buffer can be used for storing the character string that user input frequency in predetermined amount of time is higher than predetermined threshold Cloud input results.According to the exemplary embodiment of the present invention, the transmitter 103 of input method client 100 is sent out to server end Send including character trail cloud input request, server 200 receiver 201 from input method client 200 receive including After the cloud input request of character trail, the requestor 202 of server 200 inquires about described character trail in cloud input method dictionary Cloud input results, the cloud inquiring input results are sent to input method client by the transmitter 203 of subsequent server 200 100, the second receiver 104 of input method client 100 receives the cloud input results of described character trail from server 200, defeated Enter method client 100 cache controller 107 remove from the cloud input results receiving local with input method client 100 Input results identical cloud input results, and remaining cloud input results store cloud input with corresponding character string after removing Caching.According to the exemplary embodiment of the present invention, the number of times that described character trail may include user input in predetermined amount of time is big Character string in pre-determined number.Fig. 3 is to illustrate that the inputting in server end response cloud of exemplary embodiment according to the present invention please The flow chart of the method asked.
With reference to Fig. 3, in step 301, the receiver 201 of server 200 receives from input method client 100 and includes character string Cloud input request or include character string do not trigger cloud input message.
If the cloud input that the receiver 201 of server 200 receives including character string from input method client 100 please Ask, then in step 302, the requestor 202 of server 200 can inquire about this character string in cloud input method dictionary, and in step 303, the cloud input results of this character string inquiring can be sent to input method client by the transmitter 203 of server 200 100.
If the cloud that do not trigger that the receiver 201 of server 200 receives including character string from input method client inputs Message, then in step 304, the requestor 202 of server 200 can inquire about this character string in cloud input method dictionary, and in step Rapid 305, the cloud input results of this character string and this character string inquiring are stored in second by the controller 204 of server 200 In list.
According to embodiments of the invention, second list can be created by the list creator (not shown) of server 200, and It is stored in the memory (not shown) of server 200, wherein, second list is used for what storage received from input method client Do not trigger the character string that includes of message of cloud input and the cloud input results of this character string.
According to the exemplary embodiment of the present invention, methods described may also include that the renovator 205 of server 200 is renewable Cloud input method dictionary;The requestor 202 of server 200 can in cloud input method dictionary in the updated again inquiry be stored in second Character string in list;The comparator 206 of server 200 will be stored in cloud input results and the weight of the character string in second list The cloud input results of the character string newly inquiring are compared;Cloud input if on certain character string in second list Result is different from the cloud input results of this character string again inquiring, then the controller 204 of server 200 can delete secondary series The cloud input results of this character string in table and this character string, and control the transmitter 203 of server 200 will be with regard to this character string The new information of cloud input results be sent to input method client 100.
The exemplary embodiment of the present invention provide triggering and response cloud input request method and apparatus, methods described and Equipment is effectively realized cloud input method by judging the opportunity of triggering cloud input request.Methods described and equipment can be effectively Reduce the useless cloud input request in input process of user, the interaction barrier causing due to the network delay etc. of cloud input can be avoided Hindering, thus improving input efficiency, and improving Consumer's Experience.
The said method according to the present invention can be executed according to computer program instructions.Because these programmed instruction can be wrapped Include in computer, application specific processor or programmable or specialized hardware, the instruction therefore executing wherein can be conducive to above-mentioned The execution of function.As understood by those skilled in the art, computer, processor or programmable hardware include to store or connecing Receive the memory device of software or computer code, described software or computer code are by computer, processor or hardware access Method with realizing describing in the present invention during execution.
Although the present invention is shown and described with reference to its exemplary embodiment, those skilled in the art should This understanding, in the case of without departing from the spirit and scope of the present invention being limited by claim and its equivalent, can be to it Form and details carry out various changes.

Claims (16)

1. a kind of method triggering cloud input request in input method client, methods described includes:
The character string of receiving user's input;
Search for the character string of user input in first list, wherein, first list is used for storage and does not trigger cloud input request Character string;
If not searching the character string of user input in first list, sending to server end and including user input The cloud input request of character string;
If searching the character string of user input in first list, do not send cloud input request to server end, and to The cloud that do not trigger that server end sends the character string including user input inputs message.
2. the method for claim 1, also includes: if same character string is input by a user exceedes pre-determined number, and The cloud input results of described character string are not easily selected by a user every time, then store described character string in first list.
3. the method for claim 1, also includes: if the cloud input results quilt of same character string within a predetermined period of time The ratio of the total degree that the number of times that user selects is input by a user with this character string is less than predetermined ratio, then store described character string To in first list.
4. the method for claim 1, also includes:
From received server-side with regard to the cloud input results of character string new information;
In response to this message, delete the described character string in first list.
5. the method for claim 1, also includes:
Receive the instruction deleting the character string being stored in first list from user;
In response to this instruction, delete the character string in first list.
6. the method for claim 1, also includes, after the character string receiving user input, in first list Before the character string of search user input, execution following steps:
Check the integrality of the character string of user input;
In cloud input-buffer, if the character string of user input is complete, search for the cloud input results of this character string;
If searching the cloud input results of this character string in cloud input-buffer, the cloud searching input results are shown in Result candidate regions, and do not carry out the step searching for the character string of user input in first list;
If searching for the cloud input results less than this character string, the study including in input method client in cloud input-buffer The result of this character string is searched in dictionary;
If the quantity of the result searching in the study dictionary that input method client includes is equal to or more than predetermined threshold, The result searching is shown in result candidate regions, and does not carry out searching for the step of the character string of user input in first list Suddenly;
If the quantity of the result searching in the study dictionary that input method client includes is less than predetermined threshold, carry out The step searching for the character string of user input in first list,
Wherein, cloud input-buffer is defeated higher than the cloud of the character string of predetermined threshold for storing user input frequency in predetermined amount of time Enter result.
7. a kind of method responding cloud input request in server end, methods described includes:
From input method client receive includes character string cloud input request or inclusion character string do not trigger message;
If receiving the cloud input request including character string from input method client, in cloud input method dictionary, inquire about this word Symbol string, and the cloud input results of this character string inquiring are sent to input method client;
If receiving the message not triggering cloud input including character string from input method client, in cloud input method dictionary Inquire about this character string, and the cloud input results of this character string and this character string inquiring are stored in second list.
8. method as claimed in claim 7, also includes:
Update cloud input method dictionary;
In cloud input method dictionary in the updated, inquiry is stored in the character string in second list again;
The cloud input results of the cloud input results and the character string again inquiring that will be stored in the character string in second list enter Row compares;
Cloud input results if on certain character string in second list are defeated with the cloud of this character string again inquiring Enter result difference, then delete the cloud input results of this character string in second list and this character string, and will be with regard to this character string The new information of cloud input results be sent to input method client.
9. a kind of equipment triggering cloud input request in input method client, described equipment includes:
First receiver, the character string of receiving user's input;
First searcher, searches for the character string of user input in first list, and wherein, first list is used for storage and is not triggered The character string of cloud input request;
Transmitter, if not searching the character string of user input in first list, sending to server end and including using Family input character string cloud input request, if not searching the character string of user input in first list, not to Server end send cloud input request, and to server end send include user input character string do not trigger message.
10. equipment as claimed in claim 9, also includes:
Controller, if same character string is input by a user exceedes pre-determined number, and the cloud input results of described character string are every Secondary be not all easily selected by a user, then described character string is stored in first list.
11. equipment as claimed in claim 9, also include:
Controller, if the number of times that the cloud input results of same character string are easily selected by a user within a predetermined period of time and this character string The ratio of the total degree being input by a user is less than predetermined ratio, then store described character string in first list.
12. equipment as claimed in claim 9, also include:
Second receiver, from received server-side with regard to the cloud input results of character string new information,
Wherein, controller, in response to this message, deletes the described character string in first list.
13. equipment as claimed in claim 9, wherein, the first receiver receives to delete from user and is stored in first list The instruction of character string, controller, in response to this instruction, deletes the character string in first list.
14. equipment as claimed in claim 9, also include: detector, the second searcher, display, the 3rd searcher and compare Device, wherein,
After the first receiver receives the character string of user input, user input searched in first list by the first searcher Character string before, detector check user input character string integrality;If the character string of user input is complete, The cloud input results of this character string searched in cloud input-buffer by second searcher;If searching this word in cloud input-buffer Accord with the cloud input results of string, then the cloud searching input results are shown in result candidate regions by display, and the first searcher In first list, do not search for the character string of user input;If searching for the cloud input less than this character string in cloud input-buffer As a result, then the result of this character string searched in the study dictionary that input method client includes by the 3rd searcher;Comparator will be defeated Enter the quantity of result searching in the study dictionary that method client includes to be compared with predetermined threshold;If in input method visitor The quantity of result searching in the study dictionary that family end includes is equal to or more than predetermined threshold, then display is by the knot searching Fruit is shown in result candidate regions, and the character string of user input do not searched in first list by the first searcher;If defeated The quantity entering the result searching in the study dictionary that method client includes is less than predetermined threshold, then the first searcher is in first row The character string of user input is searched in table,
Wherein, cloud input-buffer is defeated higher than the cloud of the character string of predetermined threshold for storing user input frequency in predetermined amount of time Enter result.
A kind of 15. equipment responding cloud input request in server end, described equipment includes:
Receiver, receives from input method client and includes the cloud input request of character string or include not triggering of character string disappearing Breath;
Requestor, inquires about, in cloud input method dictionary, the character string receiving from input method client;
Transmitter, the cloud input results of the character string that will be responsive to cloud input request and inquire are sent to input method client;
Controller, if receiving the cloud input request including character string from input method client, controls transmitter will inquire about To the cloud input results of this character string be sent to input method client, if received including character string from input method client The message not triggering cloud input, then by this character string and the cloud input results of this character string that inquire are stored in the to controller In two lists.
16. equipment as claimed in claim 15, also include renovator and comparator,
Wherein, renovator updates cloud input method dictionary, and in requestor cloud input method dictionary in the updated, inquiry is stored in again Character string in second list, comparator will be stored in the cloud input results of the character string in second list and again inquires The cloud input results of character string are compared, if on certain character string in second list cloud input results with again The cloud input results of this character string inquiring are different, then controller deletes this character string in second list and this character string Cloud input results, and control transmitter that the new information of the cloud input results with regard to this character string is sent to input method client End.
CN201310713534.4A 2013-12-20 2013-12-20 Method and device for triggering and responding to cloud input requests Active CN103647843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310713534.4A CN103647843B (en) 2013-12-20 2013-12-20 Method and device for triggering and responding to cloud input requests

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310713534.4A CN103647843B (en) 2013-12-20 2013-12-20 Method and device for triggering and responding to cloud input requests

Publications (2)

Publication Number Publication Date
CN103647843A CN103647843A (en) 2014-03-19
CN103647843B true CN103647843B (en) 2017-01-18

Family

ID=50252997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310713534.4A Active CN103647843B (en) 2013-12-20 2013-12-20 Method and device for triggering and responding to cloud input requests

Country Status (1)

Country Link
CN (1) CN103647843B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291260B (en) * 2016-04-13 2021-11-02 北京搜狗科技发展有限公司 Information input method and device for inputting information
CN109426357B (en) * 2017-09-01 2023-05-12 百度在线网络技术(北京)有限公司 Information input method and device
CN109426356B (en) * 2017-09-01 2022-07-15 百度在线网络技术(北京)有限公司 Information input method and device
CN111522448B (en) * 2019-02-02 2024-04-30 北京搜狗科技发展有限公司 Method, device and equipment for providing input candidate items
CN110297549B (en) * 2019-05-15 2023-06-20 北京百度网讯科技有限公司 Input processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008092400A1 (en) * 2007-01-25 2008-08-07 Beijing Sogou Technology Development Co., Ltd. An easy information search method, system and a character input system
CN102073527A (en) * 2011-01-26 2011-05-25 百度在线网络技术(北京)有限公司 Method and device for updating input method word stock
CN102156549A (en) * 2011-03-22 2011-08-17 百度在线网络技术(北京)有限公司 Method and device for supporting multi-device coordination input

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008092400A1 (en) * 2007-01-25 2008-08-07 Beijing Sogou Technology Development Co., Ltd. An easy information search method, system and a character input system
CN102073527A (en) * 2011-01-26 2011-05-25 百度在线网络技术(北京)有限公司 Method and device for updating input method word stock
CN102156549A (en) * 2011-03-22 2011-08-17 百度在线网络技术(北京)有限公司 Method and device for supporting multi-device coordination input

Also Published As

Publication number Publication date
CN103647843A (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN103647843B (en) Method and device for triggering and responding to cloud input requests
CN104424199B (en) searching method and device
US9189280B2 (en) Tracking large numbers of moving objects in an event processing system
CN106844405B (en) Data query method and apparatus
US20170104829A1 (en) Network resource crawler with multiple user-agents
CN105814453A (en) Determining location information using a location data point provided by a computing device
CN109274730A (en) The optimization method and device that Internet of things system, MQTT message are transmitted
CN106251202A (en) Maliciously order recognition methods and device
US9665612B2 (en) Run-time decision of bulk insert for massive data loading
CN113382282B (en) Page resource access method and device, electronic equipment and storage medium
JP2009515277A (en) Learning device for resource constrained devices
CN106453460B (en) File distribution method, device and system
US11409722B2 (en) Database live reindex
CN106202485A (en) Data manipulation method and system
US20170289243A1 (en) Domain name resolution method and electronic device
CN102262660B (en) Method and device implemented by computer and used for obtaining search result
CN106933817B (en) Content query method, device and system based on B/S structure
US20170132294A1 (en) App store searching
CN107729421B (en) The execution method, apparatus and storage medium of storing process
US11025712B1 (en) Load balancer employing slow start, weighted round robin target selection
US10775966B2 (en) Customizable autocomplete option
CN105069064B (en) Acquisition methods and device, the method for pushing and device of vocabulary
US11636110B1 (en) Metadata search via N-Gram index
CN113407662B (en) Sensitive word recognition method, system and computer readable storage medium
CN110955822A (en) Commodity searching method and device

Legal Events

Date Code Title Description
PB01 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