CN103888519A - Lexicon synchronizing method and input method server - Google Patents

Lexicon synchronizing method and input method server Download PDF

Info

Publication number
CN103888519A
CN103888519A CN201410086342.XA CN201410086342A CN103888519A CN 103888519 A CN103888519 A CN 103888519A CN 201410086342 A CN201410086342 A CN 201410086342A CN 103888519 A CN103888519 A CN 103888519A
Authority
CN
China
Prior art keywords
gadget
dictionary
mobile terminal
quick response
identifying code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410086342.XA
Other languages
Chinese (zh)
Other versions
CN103888519B (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 CN201410086342.XA priority Critical patent/CN103888519B/en
Publication of CN103888519A publication Critical patent/CN103888519A/en
Application granted granted Critical
Publication of CN103888519B publication Critical patent/CN103888519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a lexicon synchronizing method and an input method server. The lexicon synchronizing method and the input method server aim to solve the problem that when accounts are used for lexicon synchronization, operation is complicated. The lexicon synchronizing method comprises the steps that characters input to a temporary device to be used by a user are received, and a device lexicon is generated in the temporary device; the device lexicon uploaded by the temporary device is received, and a two-dimension code original character string is generated according to the device lexicon and is sent to the temporary device, so that a two-dimension code corresponding to the device lexicon is generated in the temporary device according to the two-dimension code original character string, wherein the two-dimension code original character string contains the device identification of the temporary device; the device identification obtained after the two-dimension code is shot and analyzed by a mobile terminal held by the user is received, and a local lexicon of the mobile terminal is synchronized according to the device identification. The lexicon synchronizing method and the input method have the advantages that synchronizing operation is easy, synchronization of the lexicon can be achieved easily and fast, and the information transmission efficiency is improved.

Description

A kind of dictionary synchronous method and input method server
Technical field
The present invention relates to input method technique field, particularly relate to a kind of dictionary synchronous method and input method server.
Background technology
Each user can use specific vocabulary, have specific speech habits in language performance.In order to meet the individual demand in user's input, input method can be set up and belong to individual user thesaurus according to the content of user's input.The entry of preserving in user thesaurus is entry that user commonly uses or used, can give higher weight, preferentially coupling in the process of sound-Chinese character coupling.
Along with the development of the universal and mobile Internet of smart mobile phone, user's input behavior also presents the feature of multiple terminals.In order to allow user on different terminals, can normally use the user thesaurus of oneself, it is synchronous that input method need to realize user thesaurus between different terminals.
At present, the user thesaurus that realize different terminals or equipment room input method is synchronous, needs user all to login same account on corresponding equipment.Carry out authenticated user identity by account system, the different terminals that this user is used connects, and shares with a user thesaurus.Be each account server corresponding a user thesaurus, the entry of user's input on distinct device under same account, capital by incremental update to server in user thesaurus corresponding to this account, if and the user thesaurus of server end has renewal, also can correspondingly be updated on other equipment under logging status.
But, for most users, use not login account of input method itself, and the operation of login account is also comparatively loaded down with trivial details, carries out the synchronous operation of dictionary by account more loaded down with trivial details, has reduced the efficiency of communication.
Summary of the invention
The invention provides a kind of dictionary synchronous method and server, adopt account to carry out the problem of the synchronous complex operation of dictionary to solve.
In order to address the above problem, the embodiment of the invention discloses a kind of dictionary synchronous method, comprising: receive the character input of user to gadget to be used, in described gadget, generate equipment dictionary; Receive the equipment dictionary that described gadget is uploaded, generate Quick Response Code original character string and be issued to described gadget according to described equipment dictionary, to concatenate into Quick Response Code corresponding to described equipment dictionary according to described Quick Response Code original character in described gadget; Wherein, the device identification that contains described gadget in described Quick Response Code original character string; The mobile terminal that reception user holds is resolved the described device identification obtaining after described Quick Response Code is taken, and according to described device identification, the local dictionary of described mobile terminal is carried out synchronously.
In optional embodiment of the present invention, the equipment dictionary that described reception gadget is uploaded, generate Quick Response Code original character string and be issued to described gadget according to described equipment dictionary, comprise: receive the equipment dictionary that described gadget is uploaded, wherein said equipment dictionary is to produce in described gadget employing input method input process; Generate in order to identify the Quick Response Code original character string of described gadget according to established rule, and described Quick Response Code original character string is sent to described gadget.
In optional embodiment of the present invention, the described device identification of described foundation is carried out synchronously, comprising to the local dictionary of described mobile terminal: search according to described device identification the equipment dictionary that described gadget is uploaded; Described equipment dictionary is issued to described mobile terminal, and described mobile terminal is incorporated into described equipment dictionary in preset local dictionary.
In optional embodiment of the present invention, the described device identification of described foundation is carried out synchronously, comprising to the local dictionary of described mobile terminal: search according to described device identification the equipment dictionary that described gadget is uploaded; Described equipment dictionary and the local dictionary of the described mobile terminal prestoring are compared, determine the increment entry of described local dictionary; Described increment entry is issued to described mobile terminal, and described mobile terminal is incorporated into described increment entry in preset local dictionary.
In optional embodiment of the present invention, also comprise: according to the synchronization request of described gadget, send identifying code to described mobile terminal; After described mobile terminal being proved to be successful according to described identifying code, the local dictionary of described mobile terminal is sent to described gadget.
In optional embodiment of the present invention, the synchronization request of the described gadget of described foundation, send identifying code to described mobile terminal, comprising: the synchronization request of sending from described gadget, obtain the phone number of mobile terminal, and the device identification of described gadget; Generate identifying code, and record the corresponding relation of described identifying code, phone number and device identification; The mobile terminal corresponding to described phone number sends the message that comprises described identifying code.
In optional embodiment of the present invention, also comprise: receive identifying code that described gadget is uploaded, that user inputs according to described mobile terminal; Search the corresponding relation of record according to described gadget, detect the identifying code of uploading whether identical with the identifying code of storing in described corresponding relation; If the identifying code of uploading is identical with the identifying code of storing in described corresponding relation, be proved to be successful.
The embodiment of the invention also discloses a kind of input method server, comprising: communication module for receiving the character input of user to gadget to be used, generates equipment dictionary in described gadget; Receive the equipment dictionary that described gadget is uploaded; And described Quick Response Code is taken the rear described device identification obtaining of resolving by the mobile terminal that reception user holds; Quick Response Code authentication module, for generating Quick Response Code original character string and be issued to described gadget according to described equipment dictionary, to concatenate into Quick Response Code corresponding to described equipment dictionary, the device identification that contains described gadget in wherein said Quick Response Code original character string according to described Quick Response Code original character in described gadget; And according to described equipment dictionary, the local dictionary of described mobile terminal is carried out synchronously.
Communication module described in optional embodiment of the present invention, the equipment dictionary of uploading for receiving gadget, wherein said equipment dictionary is to produce in described gadget employing input method input process; And the Quick Response Code original character string of generation is sent to described gadget; Described Quick Response Code authentication module, for generating in order to identify the Quick Response Code original character string of described gadget according to established rule.
Quick Response Code authentication module described in optional embodiment of the present invention, for searching according to described device identification the equipment dictionary that described gadget is uploaded; And by communication module, described equipment dictionary being issued to described mobile terminal, described mobile terminal is incorporated into described equipment dictionary in preset local dictionary.
Quick Response Code authentication module described in optional embodiment of the present invention, for searching according to described device identification the equipment dictionary that described gadget is uploaded; Described equipment dictionary and the local dictionary of the described mobile terminal prestoring are compared, determine the increment entry of described local dictionary; And by described communication module, described increment entry being issued to described mobile terminal, described mobile terminal is incorporated into described increment entry in preset local dictionary.
In optional embodiment of the present invention, also comprise: identifying code authentication module, for the synchronization request according to described gadget, triggers described communication module and sends identifying code to described mobile terminal; After described mobile terminal being proved to be successful according to described identifying code, triggering described communication module the local dictionary of described mobile terminal is sent to described gadget.
Identifying code authentication module described in optional embodiment of the present invention, obtains the phone number of mobile terminal and the device identification of described gadget for the synchronization request of sending from described gadget; Generate identifying code, and record the corresponding relation of described identifying code, phone number and device identification; Described communication module, for sending to mobile terminal corresponding to described phone number the message that comprises described identifying code.
Communication module described in optional embodiment of the present invention, the identifying code that also, user that described gadget to be used is uploaded for receiving inputs according to described mobile terminal; Described identifying code authentication module, also, for the corresponding relation according to described gadget to be used record, detects the identifying code of uploading whether identical with the identifying code of storing in described corresponding relation; If the identifying code of uploading is identical with the identifying code of storing in described corresponding relation, be proved to be successful.
Compared with prior art, the present invention includes following advantage:
The application receives the equipment dictionary that gadget to be used is uploaded, generate Quick Response Code original character string and be issued to described gadget according to equipment dictionary, so that the mobile terminal that user carries can be taken the computer of Interim use, be to produce in gadget, the Quick Response Code showing according to Quick Response Code original character string, and send to server after parsing Quick Response Code, the equipment dictionary producing during by use gadget is synchronized in mobile terminal, carry for user, thereby make dictionary simultaneous operation easy, can be simple, complete efficiently the synchronous of dictionary, accelerate the efficiency of communication.
Accompanying drawing explanation
Fig. 1 is the dictionary synchronous method flow chart that the embodiment of the present invention provides;
Fig. 2 is the synchronous flow chart to gadget in the dictionary synchronous method that provides of the embodiment of the present invention two;
Fig. 3 is the synchronous flow chart to mobile terminal in the dictionary synchronous method that provides of the embodiment of the present invention two;
Fig. 4 is the dictionary synchronous method schematic diagram that the embodiment of the present invention two provides;
Fig. 5 is the input method server structure chart that the embodiment of the present invention three provides;
Fig. 6 is the first authentication module structure chart in the input method server that provides of the embodiment of the present invention three.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The embodiment of the present invention provides a kind of dictionary synchronous method, can receive the equipment dictionary that gadget to be used is uploaded, generate Quick Response Code original character string and be issued to described gadget according to equipment dictionary, so that the mobile terminal that user carries can be taken the computer of Interim use, it is the Quick Response Code showing according to Quick Response Code original character string in gadget, and send to server after parsing Quick Response Code, the equipment dictionary producing during by use gadget is synchronized in mobile terminal to be carried for user, thereby make dictionary simultaneous operation easy, can be simple, complete efficiently the synchronous of dictionary, accelerate the efficiency of communication.
Embodiment mono-
With reference to Fig. 1, provide the dictionary synchronous method flow chart that the embodiment of the present invention one provides.
Step 100: receive the character input of user to gadget to be used, generate equipment dictionary in described gadget;
When user uses input method, often in different terminals, sometimes user can use input method input on certain gadget of not logining input method account, as the personal computer of Interim use under the PEs such as Internet bar (Personal Computer, PC).Gadget also can produce this in input process and input relevant equipment dictionary, this equipment dictionary can be uploaded to server and carry out the synchronous of dictionary.In the present embodiment, gadget refer to user in Internet bar, all kinds of computer equipments of the non-resident place Interim use such as other people shelter.If user finishes using to gadget, and while not logining input method account, equipment dictionary will be emptied by the setting in gadget conventionally, when in Internet bar, each new user logins, computer will be reduced to default conditions by preset reduction card, and the custom words that user produces on the computer of Interim use cannot be preserved.
Step 101, receives the equipment dictionary that gadget to be used is uploaded, and generates Quick Response Code original character string according to described equipment dictionary, with in described gadget according to described Quick Response Code original character Quick Response Code corresponding to forming apparatus dictionary of concatenating.
User is in the process of the interim identification of use, and gadget is pressed the cycle uploading device dictionary of setting as client.Server is receiving after equipment dictionary, can trigger and generate Quick Response Code original character string according to this equipment dictionary, in the present embodiment gadget with the communication process of server in all can carry this gadget in the communication data such as request, response device identification so that server is known the equipment communicating.
Wherein, Quick Response Code (two-dimension code), claims again two-dimensional bar code, is the chequered with black and white figure above distributing in plane (two-dimensional directional) according to certain rules with specific geometric figure, is a key with information data.
In the present embodiment, Quick Response Code is for synchronizeing the local dictionary of mobile terminal and the equipment dictionary of gadget, the device identification that contains gadget in Quick Response Code original character string, and then the device identification that contains described gadget in the Quick Response Code shown according to described Quick Response Code original character string of gadget, synchronize with the dictionary of which equipment in order to mark.
Then this Quick Response Code original character string is handed down to gadget by server, and gadget can be concatenated into Quick Response Code according to this Quick Response Code original character, and shows on the screen of gadget.
Step 102, the mobile terminal that reception user holds is resolved the device identification obtaining after described Quick Response Code is taken, and according to described equipment dictionary, the local dictionary of described mobile terminal is carried out synchronously.
In the present embodiment, mobile terminal refers to the computer equipment that can use in movement that can connect mobile network, as mobile phone, panel computer etc.This mobile terminal is provided with filming apparatus, and mobile terminal is taken the Quick Response Code showing on the screen of gadget, obtains device identification wherein, and device identification is sent to server by parsing.
Server is receiving after the device identification of mobile terminal transmission, can search equipment dictionary according to this device identification, then according to equipment dictionary, the local dictionary of mobile terminal is upgraded, as equipment dictionary sent to mobile terminal carry out synchronously, or the contents such as the not identical entry of definite equipment dictionary and the local dictionary of mobile terminal, then this content is sent to mobile terminal and carries out the synchronous of real-time or time delay, thereby the custom words that user is produced on the computer of Interim use is stored to the mobile terminal of carrying.
In sum, receive the equipment dictionary that gadget to be used is uploaded, generate Quick Response Code original character string and be issued to described gadget according to equipment dictionary, so that the mobile terminal that user carries can be taken the computer of Interim use, it is the Quick Response Code showing according to Quick Response Code original character string in gadget, and Quick Response Code sends to server after parsing, the equipment dictionary producing during by use gadget is synchronized in mobile terminal to be carried for user, thereby make dictionary simultaneous operation easy, can be simple, complete efficiently the synchronous of dictionary, accelerate the efficiency of communication.
Embodiment bis-
On the basis of above-described embodiment, the present embodiment is further discussed dictionary synchronous method.
In an optional embodiment, before receiving the equipment dictionary that gadget to be used uploads, also comprise: according to the synchronization request of described gadget to be used, send identifying code to corresponding mobile terminal in described synchronization request; After described mobile terminal being proved to be successful according to described identifying code, the dictionary of described mobile terminal is sent to described gadget.
User is at certain gadget of login account not, as personal computer (the Rersonal Computer of Interim use under the PEs such as Internet bar, PC), if user wants to use individual dictionary in this gadget, can be in gadget input handset number, to obtain the dictionary of the corresponding mobile terminal of this phone number, as input the phone number of own mobile phone.Then adopt the local dictionary of synchronization request to the corresponding mobile terminal of this phone number of server request of input method system by gadget, and to be carried in synchronization request phone number as parameter, the local dictionary of described mobile terminal is sent to described gadget.And the device identification that can also carry this gadget in this synchronization request, for this gadget of mark.
Server is receiving after the synchronization request of gadget to be used, can from this synchronization request, obtain phone number, then initiates checking to the corresponding mobile terminal of this phone number, sends identifying code.Mobile phone is after receiving identifying code, can show this identifying code, then user can be input to this identifying code in the desired location in gadget, and in a certain input frame in its display interface, then this identifying code is sent to server by gadget.
After server receives the identifying code of gadget transmission, whether can detect this identifying code by checking, if be proved to be successful according to this identifying code, can search this mobile terminal server stores local dictionary, then this this locality dictionary is sent to gadget.
Discuss with the embodiment of Fig. 2 and Fig. 3 respectively below, server carries out the synchronous flow process of dictionary to gadget and mobile terminal respectively.
With reference to Fig. 2, provide the synchronous flow chart to gadget in the dictionary synchronous method that the embodiment of the present invention two provides.
Step 201, server receives the synchronization request of gadget to be used.
Step 202, server obtains the phone number of mobile terminal from the synchronization request of described gadget to be used, and the device identification of described gadget to be used.
Step 203, server generates identifying code, and records the corresponding relation of described identifying code, phone number and device identification.
User needs pc client of Interim use, wishes to use special handset thereon, and as given tacit consent to the user's entry under account on this user's oneself mobile phone, such as, name " triumphant unit ", " shining ".Wherein, acquiescence account refers under logging status not input method system virtual account on equipment, and give tacit consent to account and can form without login, therefore, the active user's who stores when the data of acquiescence account record are exactly current use input method user data.
In gadget, the phone number that gadget is inputted by user generates synchronization request, then the synchronization request that comprises phone number is sent to server.Server therefrom obtains phone number after receiving synchronization request, then generates identifying code and be sent to the mobile terminal of corresponding phone number, and in the embodiment of the present invention, identifying code can be made up of digital, alphabetical etc.
In server, record the device identification of phone number and the gadget of identifying code, mobile terminal, and form corresponding relation and store, thereby by wherein one or two can find other guide.
Step 204, server sends to mobile terminal corresponding to described phone number the message that comprises described identifying code.
Server generates the message that comprises this identifying code, as note, multimedia message etc., and sends to mobile terminal corresponding to phone number, and the corresponding mobile terminal of phone number can be verified according to the definite identifying code of note.
User receives at mobile terminal after the note that comprises identifying code, identifying code wherein can be input in gadget, in the assigned address showing in gadget screen, then during gadget is uploaded onto the server this identifying code, and the device identification that can simultaneously upload this gadget.
Step 205, the user that server reception gadget is uploaded is according to the identifying code of described mobile terminal input.
Step 206, server obtains corresponding relation according to described gadget, detects the identifying code of uploading whether identical with the identifying code recording in described corresponding relation.
Server, receiving after the identifying code and device identification that gadget uploads, can be searched according to device identification and search corresponding relation, obtains the identifying code recording in the corresponding relation of storage and verifies.
Wherein, whether server can detect the identifying code of uploading in proof procedure identical with the identifying code recording in described corresponding relation, thereby determines whether checking is passed through.
Due to user before, may also to have asked this gadget to carry out dictionary synchronous, therefore other identifying codes corresponding to this device identification in server, may have been stored, identifying code has certain checking time limit conventionally, as one day, one hour, or before upper once checking etc., therefore, whether mutually the same at the identifying code of determining both, can also whether exist by detection validation code, whether expiredly further detect this identifying code.If identifying code exists and the not out of date homogeny of further carrying out is checked.
If so, the identifying code of uploading is identical with the identifying code recording in described corresponding relation, performs step 207.
If not, the identifying code of uploading is not identical with the identifying code recording in described corresponding relation, authentication failed.Follow-uply can notify gadget, re-enter identifying code or again initiate checking etc.
Step 207, the local dictionary of described mobile terminal is sent to described gadget by server.
If the identifying code of uploading is identical with the identifying code recording in described corresponding relation, be proved to be successful, the corresponding dictionary of mobile terminal that then server can be prestored sends to gadget.
Wherein, the local dictionary of mobile terminal can be pre-stored in server, also can after user's request, from mobile terminal, obtain to server.As received after user's synchronization request, server can find mobile terminal according to phone number, the local dictionary of mobile terminal stores while obtaining its current use input method.And for example, server, in the time sending identifying code to mobile terminal, synchronously obtains the local dictionary of this mobile terminal stores.
After being verified, gadget successfully downloads to the user thesaurus of specifying mobile terminal, thereby use input method in gadget time, can directly get the dictionary vocabulary such as " triumphant unit " and " shining ".
To sum up, gadget and mobile terminal can, the in the situation that of login account not, just can complete the synchronous of dictionary by phone number, and dictionary simultaneous operation is simple.
With reference to Fig. 3, provide the synchronous flow chart to mobile terminal in the dictionary synchronous method that the embodiment of the present invention two provides.
Step 301, server receives the equipment dictionary that described gadget to be used is uploaded.
Step 302, server generates in order to identify the Quick Response Code original character string of described gadget according to established rule.
Step 303, described Quick Response Code original character string is sent to described gadget to be used by server.
After user inputs on gadget, can produce corresponding equipment dictionary, this equipment dictionary is to produce in input method input process, is therefore understandable that the content comprising in this equipment dictionary is the increment content generating according to input, as the content of the weight of entry or entry.
As gadget receive as described in after the local dictionary of mobile terminal synchronization, user adopts input method repeatedly to input after entry " pair plumage ", " Jiang Juan " on gadget, these two entries can be used as user's entry and directly input, be that input method is stored in these two entries in the dictionary of gadget, if user wishes these two entries also can directly input in the input method of other-end in the future, can in gadget, the corresponding content of the increment entry of these two generations be stored to equipment dictionary and upload onto the server.
Server, receiving after the equipment dictionary that gadget uploads, can trigger the generation of Quick Response Code original character string.Wherein, due to can carry information in Quick Response Code, generate Quick Response Code original character string according to established rule, make the device identification of carrying gadget in this Quick Response Code original character string.Adopt a certain setting coding method to encode to the device identification of carrying in Quick Response Code original character string, the Quick Response Code original character string of generation is handed down to gadget, generate Quick Response Code for gadget.
Gadget is after receiving Quick Response Code original character string, can adopt this Quick Response Code original character to concatenate into Quick Response Code, and this Quick Response Code is shown, the mobile terminal that then user holds is taken the Quick Response Code showing on gadget, and then this Quick Response Code is resolved.Mobile terminal adopts the coding/decoding method corresponding with setting coding method to resolve, and obtains device identification wherein, then device identification is sent to server.
Step 304, the device identification of resolving according to Quick Response Code that server mobile terminal receive sends.
Step 305, server carries out synchronously the local dictionary of described mobile terminal according to described equipment dictionary.
Server receives after the device identification of mobile terminal transmission, this device identification is verified, as checked the phone number of this device identification and mobile terminal whether to have corresponding relation, and and for example whether this device identification has the information such as not synchronous equipment dictionary.Thereby after being verified, adopt the equipment dictionary of storage to carry out synchronously the local dictionary of mobile terminal, wherein, in the input method system that mobile terminal is installed, contain local dictionary.
In the synchronizing process of local dictionary, server is uploaded the definite gadget of device identification obtaining according to parsing Quick Response Code, the equipment dictionary that comprises " Jiang Juan " and " paying plumage ", synchronize with the local dictionary of mobile terminal, described equipment dictionary is issued to mobile terminal, and mobile terminal is incorporated into described equipment dictionary in preset local dictionary.Therefore, in synchronous mobile terminal, use after input method, except can directly inputting user's entry " triumphant unit ", " shining ", can also directly input " paying plumage " or " Jiang Juan " etc.
In optional embodiment of the present invention, the described equipment dictionary of described foundation carries out synchronously, comprising to the local dictionary of described mobile terminal: search according to described device identification the equipment dictionary that described gadget to be used is uploaded; Described equipment dictionary is sent to described mobile terminal and carry out the renewal of local dictionary.
In the time that the local dictionary of mobile terminal is upgraded, server finds after equipment dictionary according to device identification, directly equipment dictionary is sent to mobile terminal to carry out the synchronous of local dictionary.Gadget receives after the equipment dictionary that server issues, and the information such as the entry in equipment dictionary are stored in local dictionary.
In optional embodiment of the present invention, according to described equipment dictionary, the local dictionary of described mobile terminal is carried out synchronously, comprising: in server, search according to described device identification the equipment dictionary that described gadget is uploaded; Described equipment dictionary and the local dictionary of the described mobile terminal prestoring are compared, determine the increment entry that described local dictionary is corresponding; Described increment entry is issued to described mobile terminal, and described mobile terminal is incorporated into described increment entry in preset local dictionary.
After server represents to find equipment dictionary according to equipment, equipment dictionary and the local dictionary of the mobile terminal that is pre-stored in server end can also be compared, determine the difference of entry in equipment dictionary and local dictionary, by in equipment dictionary with, and the word that do not comprise of local dictionary is as the increment entry of local dictionary.Then send to mobile terminal to carry out synchronously this increment entry.
In some cases, in gadget use procedure, the input method that user also may adopt mobile terminal to use is inputted, in input, can produce some personalized entries, also may clear up data such as the entries of this locality storage, server merges the local dictionary prestoring and equipment dictionary, dictionary after merging is issued to mobile terminal to carry out synchronously, or the current local dictionary of the dictionary after employing merges and mobile terminal is compared, non-existent entry in existence and local dictionary in dictionary after definite merging, and these entries are synchronized in the local dictionary of mobile terminal, complete the increment simultaneous operation of local dictionary.
In fact, can store the much information of entry in dictionary, candidate item weight information as corresponding in each syllable is the weight information of entry itself, or the weight information of some syllable or syllable combination etc.Therefore mobile terminal, before carrying out local dictionary synchronous, can send dictionary wheel synchronization type to server, with notification server synchronous be those contents in dictionary.
Server is after receiving the device identification and dictionary wheel synchronization type of mobile terminal transmission, can search equipment dictionary at server end according to terminal iidentification, then the dictionary of the mobile terminal of equipment dictionary and its storage is formed and merges dictionary, then from described merging dictionary, search dictionary content corresponding to described dictionary wheel synchronization type, carry out the synchronous of local dictionary to described mobile terminal described dictionary down sending content.
To sum up, mobile terminal and gadget can carry out synchronizeing of dictionary with server by Quick Response Code, only need to take Quick Response Code and just can obtain synchronous required authorization information, and simultaneous operation is simple, quick.
In other embodiments, gadget can also be another mobile terminal of user, and while changing old mobile phone as user with new cell-phone, old mobile phone is often being stored the local dictionary that user commonly uses, easy to use for user, need to be synchronized to the new new cell-phone of buying of user.Server receives the equipment dictionary of uploading as the old mobile phone of gadget, and the Quick Response Code character string that generates old mobile phone sends to old mobile phone, old mobile phone is taken by new cell-phone after resolving two-dimensional code display, and obtaining to server transmission synchronization request the local dictionary that old mobile phone is uploaded, simultaneous operation is simple, quick.
With reference to Fig. 4, provide the dictionary synchronous method schematic diagram that the embodiment of the present invention two provides.
User needs a gadget of Interim use (as pad), wish the input experience that can keep consistent with giving tacit consent to account on designated mobile phone, such as input 242643 on nine grids keyboard, wish as the order of the coupling character in user's oneself mobile phone, make candidate item " cousin " corresponding in character string " biaoge " come " form " above.
Step 4.01, gadget to be used obtain phone number.
User provides the cell-phone number of own mobile phone on gadget.
Step 4.02, gadget to be used send the synchronization request that comprises phone number to server.
Step 4.03, server generate identifying code.
The checking note that generates identifying code or comprise identifying code etc.
Identifying code is sent to mobile terminal by step 4.04, server.
The identifying code that step 4.05, gadget mobile terminal receive to be used show.
User receives that on designated mobile phone identifying code, as 0110, is input to it in gadget.
Step 4.06, gadget to be used send identifying code to server.
Gadget is to the download of candidate item weight information corresponding to each syllable in server request dictionary, and sends this identifying code simultaneously.
Step 4.07, server are verified identifying code.
Step 4.08, be verified after, the dictionary of mobile terminal is sent to gadget by server.
After being verified, gadget can successfully download to candidate item weight information corresponding to each syllable in the user thesaurus of designated mobile phone, in the equipment of Interim use, inputs 242643, and corresponding candidate item " cousin " comes first-selection.
Step 4.09, gadget are inputted, and produce equipment dictionary.
User is on the equipment of an Interim use, utilize input method to carry out character input, in gadget, generate equipment dictionary, with nine grids keyboard input 242643, inputted repeatedly " form ", candidate item " form " has become the first-selected candidate item under this input string.After gadget is finished using, user uploads local user's equipment dictionary in this equipment, the user's word " form " that comprises high frequency after upgrading.
Equipment dictionary is sent to server by step 4.10, gadget.
Step 4.11, server generate Quick Response Code original character string according to the identification dictionary receiving.
Quick Response Code original character string is sent to gadget by step 4.12, server.
Step 4.13, gadget are concatenated into Quick Response Code according to Quick Response Code original character, and two-dimensional code display.
Gadget is by representing the Quick Response Code that contains particular device mark, in order to identify the identity information of gadget.
Step 4.14, mobile terminal are taken Quick Response Code.
Step 4.15, mobile terminal are resolved Quick Response Code, obtain the device identification that gadget is corresponding.
The device identification that step 4.16, mobile terminal obtain parsing sends to server.
User uses designated mobile phone to take Quick Response Code, and the device identification of uploading gadget is to server end, triggers checking.
Step 4.17, server are verified the device identification receiving.
Step 4.18, be verified after, server carries out synchronously the local dictionary of mobile terminal according to equipment dictionary.
Server merges to the increment user thesaurus that comprises high frequency user word " form " corresponding 2 D code information in the corresponding user thesaurus of the current acquiescence account of own mobile phone.Dictionary after merging, stores being synchronized in the current account of own mobile phone.
Afterwards, user inputs 242643 in own mobile phone, and " form " there will be in first-selection.
To sum up, the conventional mobile terminal of gadget and user all can, in the situation that not logining, be synchronizeed with server, and can verify according to identifying code and/or Quick Response Code before synchronous, and checking means are various, and simultaneous operation is simple, quick.
In other embodiments, can first perform step 4.09 to step 4.18, then perform step 4.01 to step 4.08, user first uses gadget the equipment dictionary of generation to be synchronized to the local dictionary of the mobile terminal of carrying with the form of Quick Response Code; In the time using other equipment, initiate identifying code by other equipment of current use, the local dictionary of the mobile terminal of carrying is synchronized to this equipment of current use, thereby makes the dictionary simultaneous operation between equipment easy, accelerate the efficiency of communication.
Embodiment tri-
On the basis of above-described embodiment, the present embodiment also provides a kind of input method server.
With reference to Fig. 5, provide the input method server structure chart that the embodiment of the present invention three provides.
Input method server, comprising: communication module 501 and Quick Response Code authentication module 502.
Wherein, communication module 501 for receiving the character input of user to gadget to be used, generates equipment dictionary in described gadget; Receive the equipment dictionary that gadget is uploaded; And described Quick Response Code is taken the rear described device identification obtaining of resolving by the mobile terminal that reception user holds; Quick Response Code authentication module 502, for generating Quick Response Code original character string and be issued to described gadget according to described equipment dictionary, with in described gadget according to described Quick Response Code original character Quick Response Code corresponding to forming apparatus dictionary of concatenating, the device identification that contains described gadget in wherein said Quick Response Code original character string; And according to described equipment dictionary, the local dictionary of described mobile terminal is carried out synchronously.
In sum, receive the equipment dictionary that gadget to be used is uploaded, generate Quick Response Code original character string and be issued to described gadget according to equipment dictionary, so that the mobile terminal that user carries can be taken the computer of Interim use, be to produce in gadget, the Quick Response Code showing according to Quick Response Code original character string, and send to server after parsing Quick Response Code, the equipment dictionary producing during by use gadget is synchronized in mobile terminal to be carried for user, thereby make dictionary simultaneous operation easy, can be simple, complete efficiently the synchronous of dictionary, accelerate the efficiency of communication.
With reference to Fig. 6, provide the optional input method server structure chart that the embodiment of the present invention three provides.
Quick Response Code authentication module 502 in optional embodiment of the present invention, for generating in order to identify the Quick Response Code original character string of described gadget according to established rule; Communication module 501, the equipment dictionary of uploading for receiving gadget, wherein said equipment dictionary is to produce in described gadget employing input method input process; And the Quick Response Code original character string of generation is sent to described gadget.
In optional embodiment of the present invention, described Quick Response Code authentication module 502, for searching according to described device identification the equipment dictionary that described gadget is uploaded; And by communication module, described equipment dictionary being issued to described mobile terminal, described mobile terminal is incorporated into described equipment dictionary in preset local dictionary.
In optional embodiment of the present invention, described Quick Response Code authentication module 502, for searching according to described device identification the equipment dictionary that described gadget is uploaded; Described equipment dictionary and the local dictionary of the described mobile terminal prestoring are compared, determine the increment entry of described local dictionary; And by described communication module, described increment entry being issued to described mobile terminal, described mobile terminal is incorporated into described increment entry in preset local dictionary.
In optional embodiment of the present invention, input method server also comprises identifying code authentication module 503.
Identifying code authentication module 503, for the synchronization request according to described gadget, triggers described communication module and sends identifying code to described same mobile terminal; After described mobile terminal being proved to be successful according to described identifying code, triggering described communication module the local dictionary of described mobile terminal is sent to described gadget.
In optional embodiment of the present invention, identifying code authentication module 503, obtains the phone number of mobile terminal and the device identification of described gadget for the synchronization request of sending from described gadget; Generate identifying code, and record the corresponding relation of described identifying code, phone number and device identification; Described communication module 501, for sending to mobile terminal corresponding to described phone number the message that comprises described identifying code.
In optional embodiment of the present invention, described communication module 501, also for receiving user that described gadget to be used the uploads identifying code according to described mobile terminal input; Described identifying code authentication module 503, also, for the corresponding relation according to described gadget to be used record, detects the identifying code of uploading whether identical with the identifying code of storing in described corresponding relation; If the identifying code of uploading is identical with the identifying code of storing in described corresponding relation, be proved to be successful.
In sum, gadget and mobile terminal can, the in the situation that of login account not, just can complete the synchronous of dictionary by phone number, and dictionary simultaneous operation is simple.Mobile terminal can carry out synchronizeing of dictionary with server by Quick Response Code, only needs to take Quick Response Code and just can obtain synchronous required authorization information, and simultaneous operation is simple, quick.
For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises and carries out particular task or realize routine, program, object, assembly, data structure of particular abstract data type etc.Also can in distributed computing environment (DCE), put into practice the present invention, in these distributed computing environment (DCE), be executed the task by the teleprocessing equipment being connected by communication network.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium including memory device.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, commodity or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, commodity or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment that comprises described key element and also have other identical element.
Above to a kind of dictionary synchronous method provided by the present invention and input method server, be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , 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 meanwhile.

Claims (14)

1. a dictionary synchronous method, is characterized in that, comprising:
Receive the character input of user to gadget to be used, in described gadget, generate equipment dictionary;
Receive the equipment dictionary that described gadget is uploaded, generate Quick Response Code original character string and be issued to described gadget according to described equipment dictionary, to concatenate into Quick Response Code corresponding to described equipment dictionary according to described Quick Response Code original character in described gadget; Wherein, the device identification that contains described gadget in described Quick Response Code original character string;
The mobile terminal that reception user holds is resolved the described device identification obtaining after described Quick Response Code is taken, and according to described device identification, the local dictionary of described mobile terminal is carried out synchronously.
2. method according to claim 1, is characterized in that, the equipment dictionary that described reception gadget is uploaded generates Quick Response Code original character string and is issued to described gadget according to described equipment dictionary, comprising:
Receive the equipment dictionary that described gadget is uploaded, wherein said equipment dictionary is to produce in described gadget employing input method input process;
Generate in order to identify the Quick Response Code original character string of described gadget according to established rule, and described Quick Response Code original character string is sent to described gadget.
3. method according to claim 1 and 2, is characterized in that, the described device identification of described foundation is carried out synchronously, comprising to the local dictionary of described mobile terminal:
Search according to described device identification the equipment dictionary that described gadget is uploaded;
Described equipment dictionary is issued to described mobile terminal, and described mobile terminal is incorporated into described equipment dictionary in preset local dictionary.
4. method according to claim 1 and 2, is characterized in that, the described device identification of described foundation is carried out synchronously, comprising to the local dictionary of described mobile terminal:
Search according to described device identification the equipment dictionary that described gadget is uploaded;
Described equipment dictionary and the local dictionary of the described mobile terminal prestoring are compared, determine the increment entry of described local dictionary;
Described increment entry is issued to described mobile terminal, and described mobile terminal is incorporated into described increment entry in preset local dictionary.
5. method according to claim 1, is characterized in that, also comprises:
According to the synchronization request of described gadget, send identifying code to described mobile terminal;
After described mobile terminal being proved to be successful according to described identifying code, the local dictionary of described mobile terminal is sent to described gadget.
6. method according to claim 5, is characterized in that, the synchronization request of the described gadget of described foundation sends identifying code to described mobile terminal, comprising:
The synchronization request of sending from described gadget, obtain the phone number of mobile terminal, and the device identification of described gadget;
Generate identifying code, and record the corresponding relation of described identifying code, phone number and device identification;
The mobile terminal corresponding to described phone number sends the message that comprises described identifying code.
7. method according to claim 6, is characterized in that, also comprises:
Receive identifying code that described gadget is uploaded, that user inputs according to described mobile terminal;
Search the corresponding relation of record according to described gadget, detect the identifying code of uploading whether identical with the identifying code of storing in described corresponding relation;
If the identifying code of uploading is identical with the identifying code of storing in described corresponding relation, be proved to be successful.
8. an input method server, is characterized in that, comprising:
Communication module for receiving the character input of user to gadget to be used, generates equipment dictionary in described gadget; Receive the equipment dictionary that described gadget is uploaded; And described Quick Response Code is taken the rear described device identification obtaining of resolving by the mobile terminal that reception user holds;
Quick Response Code authentication module, for generating Quick Response Code original character string and be issued to described gadget according to described equipment dictionary, to concatenate into Quick Response Code corresponding to described equipment dictionary, the device identification that contains described gadget in wherein said Quick Response Code original character string according to described Quick Response Code original character in described gadget; And according to described equipment dictionary, the local dictionary of described mobile terminal is carried out synchronously.
9. server according to claim 8, is characterized in that:
Described communication module, the equipment dictionary of uploading for receiving gadget, wherein said equipment dictionary is to produce in described gadget employing input method input process; And the Quick Response Code original character string of generation is sent to described gadget;
Described Quick Response Code authentication module, for generating in order to identify the Quick Response Code original character string of described gadget according to established rule.
10. server according to claim 8 or claim 9, is characterized in that:
Described Quick Response Code authentication module, for searching according to described device identification the equipment dictionary that described gadget is uploaded; And by communication module, described equipment dictionary being issued to described mobile terminal, described mobile terminal is incorporated into described equipment dictionary in preset local dictionary.
11. servers according to claim 8 or claim 9, is characterized in that:
Described Quick Response Code authentication module, for searching according to described device identification the equipment dictionary that described gadget is uploaded; Described equipment dictionary and the local dictionary of the described mobile terminal prestoring are compared, determine the increment entry of described local dictionary; And by described communication module, described increment entry being issued to described mobile terminal, described mobile terminal is incorporated into described increment entry in preset local dictionary.
12. servers according to claim 8 or claim 9, is characterized in that, also comprise:
Identifying code authentication module, for the synchronization request according to described gadget, triggers described communication module and sends identifying code to described mobile terminal; After described mobile terminal being proved to be successful according to described identifying code, triggering described communication module the local dictionary of described mobile terminal is sent to described gadget.
13. servers according to claim 12, is characterized in that:
Described identifying code authentication module, obtains the phone number of mobile terminal and the device identification of described gadget for the synchronization request of sending from described gadget; Generate identifying code, and record the corresponding relation of described identifying code, phone number and device identification;
Described communication module, for sending to mobile terminal corresponding to described phone number the message that comprises described identifying code.
14. servers according to claim 13, is characterized in that:
Described communication module, the identifying code that also, user that described gadget to be used is uploaded for receiving inputs according to described mobile terminal;
Described identifying code authentication module, also, for the corresponding relation according to described gadget to be used record, detects the identifying code of uploading whether identical with the identifying code of storing in described corresponding relation; If the identifying code of uploading is identical with the identifying code of storing in described corresponding relation, be proved to be successful.
CN201410086342.XA 2014-03-10 2014-03-10 A kind of dictionary synchronous method and input method server Active CN103888519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410086342.XA CN103888519B (en) 2014-03-10 2014-03-10 A kind of dictionary synchronous method and input method server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410086342.XA CN103888519B (en) 2014-03-10 2014-03-10 A kind of dictionary synchronous method and input method server

Publications (2)

Publication Number Publication Date
CN103888519A true CN103888519A (en) 2014-06-25
CN103888519B CN103888519B (en) 2019-03-01

Family

ID=50957235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410086342.XA Active CN103888519B (en) 2014-03-10 2014-03-10 A kind of dictionary synchronous method and input method server

Country Status (1)

Country Link
CN (1) CN103888519B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779687A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 Information processing method and device
CN106933921A (en) * 2015-12-31 2017-07-07 北京搜狗科技发展有限公司 Input method user thesaurus processing method, terminal and server
CN108932068A (en) * 2018-06-30 2018-12-04 珠海市魅族科技有限公司 A kind of input method application method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030157A (en) * 2007-04-20 2007-09-05 北京搜狗科技发展有限公司 Method and system for updating user vocabulary synchronouslly
CN102868696A (en) * 2012-09-18 2013-01-09 广州市动景计算机科技有限公司 Method and system for communication and information synchronization among equipments
CN103095891A (en) * 2011-10-27 2013-05-08 中兴通讯股份有限公司 Method, device and terminal of quickly inputting information of business card

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030157A (en) * 2007-04-20 2007-09-05 北京搜狗科技发展有限公司 Method and system for updating user vocabulary synchronouslly
CN103095891A (en) * 2011-10-27 2013-05-08 中兴通讯股份有限公司 Method, device and terminal of quickly inputting information of business card
CN102868696A (en) * 2012-09-18 2013-01-09 广州市动景计算机科技有限公司 Method and system for communication and information synchronization among equipments

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933921A (en) * 2015-12-31 2017-07-07 北京搜狗科技发展有限公司 Input method user thesaurus processing method, terminal and server
CN106779687A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 Information processing method and device
CN108932068A (en) * 2018-06-30 2018-12-04 珠海市魅族科技有限公司 A kind of input method application method and device

Also Published As

Publication number Publication date
CN103888519B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN106874389B (en) Data migration method and device
US9047166B2 (en) System for generating application software installed on a mobile terminal
CN107026832B (en) Account login method, device and server
CN102469114B (en) Open mobile terminal widget application platform, realization method thereof and server
JP2014519632A (en) Customized launch of application
US10542069B2 (en) System and method for providing a customized resource
WO2015101320A1 (en) Account number generation method, terminal and background server
CN109254817B (en) Dial plate replacing method and system of wearable device and wearable device
CN103634389A (en) File transfer method, device and system between calculation device and mobile device
CN105389177A (en) Software version confirmation method, device and system
CN106649446B (en) Information pushing method and device
TW201203140A (en) Online service providing system, method, server and mobile device thereof, and computer program product
CN104967586A (en) User identity authentication method, user identity authentication apparatus and user identity authentication system
JP2017045462A (en) System and method for authenticating user by using contact list
US9415312B2 (en) Method for identifying a client's request signal at game based on web
CN103139761A (en) Information real-time show method and mobile communication terminal
US20170300284A1 (en) Server apparatus, content display control system, and recording medium
CN104484482A (en) Webpage information updating method and system of network platform
CN103888519A (en) Lexicon synchronizing method and input method server
CN108418890B (en) Face special effect resource generation method, device and system and readable storage medium
CN104023073A (en) Resource pushing method, system and device
WO2017166297A1 (en) Wifi hotpot portal authentication method and device
WO2015070593A1 (en) Method, device and system for on-line payment information transmission
CN105610596B (en) Resource directory management method and network terminal
JP2019512984A (en) Method, apparatus and system for checking change of telephone number

Legal Events

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