CN100464308C - Method and system for updating user vocabulary synchronouslly - Google Patents

Method and system for updating user vocabulary synchronouslly Download PDF

Info

Publication number
CN100464308C
CN100464308C CNB2007100981996A CN200710098199A CN100464308C CN 100464308 C CN100464308 C CN 100464308C CN B2007100981996 A CNB2007100981996 A CN B2007100981996A CN 200710098199 A CN200710098199 A CN 200710098199A CN 100464308 C CN100464308 C CN 100464308C
Authority
CN
China
Prior art keywords
user
vocabulary
data
server
client
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
CNB2007100981996A
Other languages
Chinese (zh)
Other versions
CN101030157A (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 CNB2007100981996A priority Critical patent/CN100464308C/en
Publication of CN101030157A publication Critical patent/CN101030157A/en
Priority to PCT/CN2008/070751 priority patent/WO2008128473A1/en
Application granted granted Critical
Publication of CN100464308C publication Critical patent/CN100464308C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/242Dictionaries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A method for synchronous-updating user lexicon includes pressing storage space using to store user lexicon at server end, up-transmitting different entry in comparison of local user lexicon with server end user lexicon to server end when trigger condition is satisfied and updating server end user lexicon by server based on compared data, downloading different entry in comparison of server end user lexicon with local user lexicon to local computer when trigger condition is satisfied and updating local user lexicon by local computer based on compared data.

Description

A kind of method and system of updating user vocabulary synchronouslly
Technical field
The present invention relates to input method Word library updating field, particularly relate to a kind of method and system of updating user vocabulary synchronouslly.
Background technology
Current input method system (comprising Chinese, Japanese and Korean or the like) all is based on the ordering that word frequency in its word bank system and the word bank system comes to provide in the information input process for the user candidate word.An important indicator of the ordering person of being to use of candidate word first-selected speech hit rate height in the information input process.Certainly, be example with the Chinese character coding input method, say that technically input method system itself can't know that speech is that the user needs most; But in vast as the open sea Chinese words, the use of each words is different with the frequency of occurrences, the ordering of words that the frequency of occurrences is higher is in the preceding first-selected speech hit rate that just can improve input method system greatly, promptly can satisfy the possibility of user's needs from sort vocabulary the preceding of probability raising.
In the prior art, input method system generally comprises system's dictionary, is used to satisfy most of users' use habit, also comprises a user thesaurus, is used to write down specific user's use habit, with better this user's of raising input efficiency.But along with fast development of computer technology, existing input method user generally might use many computing machines, for example, and office computer, home computer and mobile notebook or other people computing machine or the like; And might be between many computing machines frequent transitions.Therefore, how guaranteeing in these computing machines, be consistent at this specific user's user thesaurus, is one of technical matters that presses for solution.In addition, because the spreading unchecked of computer virus, most of users can run into the situation of computing machine refitting operating system, and computing machine before so how guaranteeing to reset and the user thesaurus in the computing machine after the refitting are consistent, also are one of problems that needs solution.
The mode that existing mode can only back up user thesaurus voluntarily by the user of familiar with computers knowledge, cover old user thesaurus then solves the problems referred to above, but such operation will inevitably bring following problem: at first, a lot of users are unfamiliar with computer literacy, are difficult to finish above-mentioned work; Secondly, in order to reach between many computing machines synchronously, the user needs frequent backup and covering, causes inefficiency, thus in fact be difficult to realize between many computing machines accurately synchronously.In a word, press for the method that those skilled in the art propose a kind of synchronous renewal user thesaurus of innovation.
Summary of the invention
Technical matters to be solved by this invention provides a kind of method and system of synchronous renewal user thesaurus, when using input method to satisfy specific user's conversion between the various computing machine, and the demand of employed each user thesaurus basically identical.
In order to address the above problem, the invention discloses a kind of method of updating user vocabulary synchronouslly, it relates to server and at least one client, specifically can comprise: be respectively each user at server end and preset the storage space that is used to store user thesaurus; When satisfying trigger condition, the local user vocabulary of uploading the user is compared different entries and/or different property parameters to server end with this user's of server end user thesaurus, and server adopts this partial data update service device end subscriber dictionary; When satisfying trigger condition, this user's of Download Server end user thesaurus is compared different entries and/or different property parameters to local computing device with local user vocabulary, and local computing device adopts this partial data to upgrade local user vocabulary.
Preferably, can also comprise: when uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.
Wherein, described uploading or entry and/or the property parameters of data downloaded for all changing; Perhaps, described uploading or entry and/or the property parameters of data downloaded for partly changing.
According to another embodiment provided by the invention, a kind of system of updating user vocabulary synchronouslly is disclosed, relate to server and at least one client, comprising:
Storage unit is positioned at server end, is used for storing a plurality of user thesaurus according to the user thesaurus sign;
Different entries and/or different property parameters are compared to server end in client communication unit, the local user vocabulary that is used to upload the user with the user thesaurus of server end;
Server communication unit, the user thesaurus that is used for this user of send server end are compared different entries and/or different property parameters to client with local user vocabulary;
At least one comparing unit is positioned at client or server end, is used for comparison local user vocabulary and this user's of server end user thesaurus;
The server update unit is used for according to uploading this user's of Data Update server end user thesaurus;
The client updating block is used for according to the Data Update local user vocabulary from downloaded.
According to another embodiment provided by the invention, a kind of method of updating user vocabulary synchronouslly is disclosed, relate to server and at least one client, comprising:
Be respectively each user at server end and preset the storage space that is used to store user thesaurus;
The input entry of recording user and corresponding attribute parameters are to not synchronous vocabulary; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously;
When satisfying trigger condition, upload data to server, the described data of uploading comprise not vocabulary synchronously; This user's that not synchronous vocabulary that server will be uploaded and server have been deposited user thesaurus merges;
When satisfying trigger condition, the Download Server end data is used for upgrading the vocabulary synchronously of local user vocabulary.
Wherein, the server end data of described download are whole server end user thesaurus, the described vocabulary synchronously that is updated in the direct replacement local user vocabulary.
Perhaps, preferred, when downloading the server end data, client upload is the timestamp of Download Server end data last time; Server is the timestamp of each entry of safeguarding of the timestamp of this client upload and server end relatively, and the server end data that sent are: the entry and/or the property parameters of change the timestamp of this client upload after.
Further, this method can also comprise: server confirms to have received the not synchronous vocabulary of uploading to client; Client with described synchronously vocabulary merge to synchronously in the vocabulary.
Further, this method can also comprise: the data of client upload and the data of server stores also comprise: the configuration data of user's input method, and the time that this configuration data is set; Relatively user's the local configuration data and the configuration data of server end, be provided with the time after configuration data serve as according to change or keep local configuration data.
Further, this method can also comprise: when uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.
Preferably, the data of client upload also comprise deletes vocabulary, describedly deletes the speech situation of deleting that vocabulary is used for recording user; Server is according to the described user thesaurus of deleting vocabulary update service device end.Wherein, the specific implementation of deleting the speech situation of described recording user comprises: by the word information of deleting of user's manual operation recording user; Perhaps, by detecting the rollback operation of user in the candidate word window, recording user delete word information; Perhaps, by detecting on the user-selected words deletion action of screen back in preset time, recording user delete word information.
According to another embodiment provided by the invention, a kind of system of updating user vocabulary synchronouslly is disclosed, relate to server and at least one client, comprising:
Storage unit is positioned at server end, is used for storing a plurality of user thesaurus according to the user thesaurus sign;
Record cell is positioned at client, is used for the input entry and the extremely synchronous vocabulary of corresponding attribute parameters of recording user; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously;
The client communication unit is used for when satisfying trigger condition, uploads data to server, and the described data of uploading comprise not vocabulary synchronously; When satisfying trigger condition, send the request of data download to server;
The client updating block is used for according to the Data Update local user vocabulary from downloaded;
Server communication unit, this user's the user thesaurus data that are used for send server end storage are to client;
The server update unit, be used for will upload synchronously this user's of having deposited of vocabulary and server user thesaurus merge.
Preferably, when downloading the server end data, the download request data of client also comprise: the timestamp of Download Server end data last time; Then described system also comprises:
The dictionary comparing unit is positioned at server end, is used for the timestamp of this client upload relatively and the timestamp of each entry that server end is safeguarded; The server end data of described transmission are: the entry and/or the property parameters that change after the timestamp of this client upload.
Further, this system can also comprise: synchronous vocabulary merge cells, be positioned at client, and be used for when receiving server when having received not synchronously the affirmation information of vocabulary, described synchronous vocabulary is merged to synchronously in the vocabulary.
Preferably, the data of client upload and the data of server stores also comprise: the configuration data of user's input method, and the time that this configuration data is set; When downloading the server end data, the download request data of client also comprise: the time that is provided with of local configuration data; Then described system also comprises:
The configuration data comparing unit is positioned at server end, is used for comparison user's the local configuration data and the configuration data of server end, if after the time that is provided with of server end configuration data in the time that is provided with of local configuration data, then send server end configuration data;
Configuration data change unit is positioned at client, is used for changing local configuration data according to the server end configuration data that receives.
Further, described client communication unit also provides the user thesaurus sign when uploading data and sending the request of data download.
Preferably, the data of client upload also comprise deletes vocabulary, describedly deletes the speech situation of deleting that vocabulary is used for recording user.Wherein, the word information of deleting by user's manual operation recording user; Perhaps, by detecting the rollback operation of user in the candidate word window, recording user delete word information; Perhaps, by detecting on the user-selected words deletion action of screen back in preset time, recording user delete word information.
According to another embodiment provided by the invention, a kind of method of updating user vocabulary synchronouslly is disclosed, relate to server and at least one client, comprising:
Be respectively each user at server end and preset the storage space that is used to store user thesaurus;
The input entry of recording user and corresponding attribute parameters are to not synchronous vocabulary; Local user vocabulary comprises vocabulary, not synchronous vocabulary synchronously; Client is stored a client time at local user vocabulary and is stabbed, and described client time stabs by server and determines;
When satisfying trigger condition, upload this user synchronously the data D1 in the vocabulary and active client time stamp T 1 uploaded as parameter to server;
Server is searched the entry that the entry timestamp is higher than T1 in this user's of server end user thesaurus, constitute set D2; Described server maintenance one length of a game stabs, and safeguards an entry timestamp at each entry;
Server update length of a game stabs to T2, and sends D2 and T2 to relative client;
Server merges this user's that the data D1 that uploads and server have been deposited user thesaurus, and will to merge related entry update of time stamp be T2;
Customer end adopted data D2 upgrades vocabulary synchronously, and data D1 is incorporated into vocabulary synchronously;
Client empties vocabulary synchronously, and will stab client time and be updated to T2.
Wherein, described user thesaurus records: the existing words and the corresponding attribute parameters of user's input; And/or, the self-made characters speech and the corresponding attribute parameters of user's input.
Further, this method can also comprise: upload the configuration data of user's input method, and the time that this configuration data is set; Relatively user's the local configuration data and the configuration data of server end, be provided with the time after configuration data serve as according to change or keep local configuration data.
Further, this method can also comprise: when uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.
According to another embodiment provided by the invention, a kind of input method client is disclosed, comprising:
Record cell is used for the input entry of recording user and corresponding attribute parameters to vocabulary synchronously; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously;
The client communication unit, be used for when satisfying trigger condition, upload the synchronous storage space that is used to store this user thesaurus that presets for this user to server end of the data D1 in the vocabulary of this user, and will upload as parameter at the active client time stamp T 1 of local user vocabulary;
The client updating block, the data D2 that is used to adopt server to return upgrades vocabulary synchronously, and data D1 is incorporated into vocabulary synchronously; And empty vocabulary synchronously, and will stab client time according to the notice of server and be updated to T2; The data D2 that described server returns gathers for the entry that the entry timestamp that finds in this user's of server end user thesaurus is higher than T1, and described time stamp T 2 is determined by server.
Further, this client can also comprise: configuration data change unit is used for changing local configuration data according to the server end configuration data that receives; The configuration data that described server returns is: the time of setting is later than the configuration data that this locality is provided with the time; Described this locality is provided with in the update request data that the time is included in client.Preferably, when new data more, the update request data of client also comprise: the user thesaurus sign.
According to another embodiment provided by the invention, a kind of server that is used for upgrading synchronously user thesaurus is disclosed, comprising:
Storage unit is used for storing a plurality of user thesaurus according to the user thesaurus sign;
The server process unit is used for searching the entry that the entry timestamp is higher than T1 at the server end user thesaurus, constitutes set D2; And upgrade length of a game and stab to T2; Described time stamp T 1 was stabbed for the client time of uploading;
Server communication unit is used to send D2 and T2 to relative client;
The server update unit is used for the user thesaurus that the data D1 that will upload and server deposited and merges, and will to merge related entry update of time stamp be T2; Described data D1 is the data of client records in not synchronous vocabulary, comprises user's input entry and word frequency information.
Further, this server can also comprise: the configuration data comparing unit, be used for comparison user's the local configuration data and the configuration data of server end, if after the time that is provided with of server end configuration data in the time that is provided with of local configuration data, then send server end configuration data; Described this locality is provided with in the update request data that the time is included in client.
Compared with prior art, the present invention has the following advantages:
The present invention uploads behavior by various, the input habit information that is distributed on the same user on the computing equipment of many dispersions can be merged to back up to server end; And then, can be by various download behaviors, in any current computing equipment that the Word library updating of the own input habit of being close to the users is most used to the user, thereby when satisfying the user and changing computing equipment, can't obtain the problem of own user thesaurus before easily, further improve the convenience that the user uses input method, quicken user's input speed.
In addition, the present invention can collect the user's input information in a plurality of dispersion computing equipments, thereby can obtain a very perfect user thesaurus at server end, the user thesaurus in more any computing equipment all more can reflect user's input habit of user.
Secondly, in another preferred embodiment of the present invention,, further improved the efficient of updating user vocabulary synchronouslly, saved the communication resource and computational resource by the not management of vocabulary and timestamp synchronously.
Description of drawings
Fig. 1 is the flow chart of steps of a kind of updating user vocabulary synchronouslly method embodiment;
Fig. 2 is the structured flowchart of a kind of updating user vocabulary synchronouslly device embodiment;
Fig. 3 is the flow chart of steps of second kind of updating user vocabulary synchronouslly method embodiment;
Fig. 4 is the structured flowchart of second kind of updating user vocabulary synchronouslly system embodiment;
Fig. 5 is the flow chart of steps of the third updating user vocabulary synchronouslly method embodiment;
Fig. 6 is the structured flowchart of the third updating user vocabulary synchronouslly system embodiment;
Fig. 7 is the flow chart of steps of the 4th kind of updating user vocabulary synchronouslly method embodiment;
Fig. 8 is a kind of structured flowchart of input method client;
Fig. 9 is a kind of structured flowchart that is used for upgrading synchronously the server of user thesaurus.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
User thesaurus record of the present invention can comprise: the existing words and the corresponding attribute parameters of user's input; And/or, the self-made characters speech and the corresponding attribute parameters of user's input.For the data store organisation of a record of user thesaurus can for:
(entry; Property parameters 1; Property parameters 2; ...; Property parameters n)
Wherein, property parameters can be word frequency information, classified information, rank or weight information or the like.Input method user can make amendment to entry, property parameters in the dictionary record by manual operation.Input method also can be upgraded according to presetting rule automatically by the detection of the user being imported behavioural information, for example, selects speech to increase word frequency according to the user; Perhaps, according to the time word frequency information is decayed; Perhaps, adjust variety of ways such as rank or weight according to user's input environment commonly used.
All only adopting the most frequently used word frequency information to describe among the following embodiment, but for those of ordinary skills, it is extended to other property parameters, should be conspicuous.
With reference to Fig. 1, show the flow chart of steps of a kind of embodiment of updating user vocabulary synchronouslly, this method relates to server and at least one client, specifically can may further comprise the steps:
Step 101 presets the storage space that is used to store user thesaurus at server end; Can adopt any existing feasible mode to realize the storage of user thesaurus at server end, for example, the mode of database or mode of data file or the like.
Step 102, when satisfying trigger condition, upload local user vocabulary and compare different entries and/or word frequency with the user thesaurus of server end to server end, server adopts this partial data update service device end subscriber dictionary;
Described uploading can only be uploaded different entries and/or word frequency, also can upload whole local user vocabulary.The two compares different entries and/or word frequency just is included in the local user vocabulary, is selected by server to get final product.
Step 103, when satisfying trigger condition, the user thesaurus of Download Server end is compared different entries and/or word frequency to local computing device with local user vocabulary, local computing device adopts this partial data to upgrade local user vocabulary.
Different entries and/or word frequency can be only downloaded in described download, also can download whole server end user thesaurus, and the two compares different entries and/or word frequency just is included in the server end user thesaurus, are selected by local computing device to get final product.
Wherein, described satisfy trigger condition can for: reach the time point that presets; Perhaps, reach the words input quantity that presets; Perhaps, user's manual triggers or the like.
Wherein, uploading client and download client can be same client, also can be different clients.General, upload and download and can be two processes independently.
Different entries and/or word frequency that the user thesaurus of described relatively local user vocabulary and server end obtains can comprise following several situation: a, local user vocabulary have, and entry that the user thesaurus of server end does not have and word frequency thereof; Though certain entry of b has in the two, the corresponding word frequency of this entry different with the corresponding word frequency of this entry of user thesaurus of server end (may be big, also may be little) in the local user vocabulary; C, local user vocabulary do not have, and entry that has in the user thesaurus of server end and word frequency thereof (for example, the user safeguards local user vocabulary by the deletion local record).
At above-mentioned various situations, the step of updating that server end is done can be for: a, increase this locality has, and entry that server end does not have and word frequency thereof; B, when the two recorded content not simultaneously, cover the respective record of server user's dictionary with the record of local user vocabulary; The record that c, deletion server end have more than local user vocabulary.Because the user selects to upload the local user vocabulary data, generally be to wish that some changes with local user vocabulary back up in the user thesaurus of server end to go that these changes may comprise: increase entry, revise property parameters such as word frequency and deletion entry or the like; Therefore, the update strategy of server end can be as the criterion with local user vocabulary fully.
The described relatively user thesaurus of server end can comprise following several situation with different entries and/or the word frequency that local user vocabulary obtains: the user thesaurus of a, server end has, and entry that local user vocabulary does not have and word frequency thereof; Though certain entry of b has in the two, the corresponding word frequency of this entry different with the corresponding word frequency of this entry in the local user vocabulary (may be big, also may be little) in the user thesaurus of server end; Do not have in the user thesaurus of c, server end, and entry that local user vocabulary has and word frequency thereof.
At above-mentioned various situations, the step of updating that local computing device is done can be for: a, increase server end has, and local entry and the word frequency thereof that does not have; B, when the two recorded content not simultaneously, cover the record of local user vocabulary with the respective record of server user's dictionary; The record that c, deletion local user vocabulary have more than server end user thesaurus.Be that above-mentioned update strategy is exactly that complete user thesaurus with server end is as the criterion, in some cases, can reach extraordinary effect, for example, the local user vocabulary of the current input method of user is other users, this user wishes that the server end user thesaurus that obtains oneself is used, and finishes input; So, above-mentioned update strategy just can be realized this target, and amount of bytes that can invalid increase local user vocabulary, because a user's words commonly used may seldom be used for another user.
Dictionary comparison procedure in step 102 and the step 103 can be finished in client, also can finish at server end.General, because the computational resource of server end is abundanter, thus preferred, finish above-mentioned comparison procedure at server end, to avoid the taking subscriber's local computational resource, influence user's input behavior.
In addition, because server end has been stored a plurality of user thesaurus, when uploading and download, which dictionary what need know this processing procedure sensing is.Therefore, present embodiment can also comprise: when uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.Described user thesaurus sign can be the identification number (for example, sequence number) of server-assignment for the stored word storehouse also for user name (for example, user's registration), also can be client computing device hardware identifier or address designation or the like.In a word, as long as described user thesaurus sign can accurately be pointed to required user thesaurus, present embodiment does not need its form is limited at this.
Further, for the requirement of safety or privacy can also require the user by after the authentication, just can finish upload, download etc. handles operation.Concrete identity identifying technology belongs to known technology, has not just described in detail at this.
Further, consider and also may comprise some configuration customs in user's the input habit, for example, Two bors d's oeuveres setting, punctuate setting and various attribute are provided with or the like, so the data of client upload and the data of server stores can also comprise: the configuration data of user's input method, and the time that this configuration data is set.
Then preferred, present embodiment can also comprise: upload the configuration data of user's input method, and the time (perhaps the configuration data of Download Server end and time of this configuration data is set) that this configuration data is set; Relatively user's the local configuration data and the configuration data of server end, be provided with the time after configuration data serve as according to change or keep local configuration data.Because being provided with of configuration data generally all is to adopt selection mode to realize, therefore, it upgrades and adopts rewrite method to get final product.
Certainly, in the above-mentioned configuration data updating steps, also can be in the following ways: according to the configuration data change of server end or keep local configuration data.
Referring to Fig. 2, show a kind of structured flowchart of system embodiment of updating user vocabulary synchronouslly, it relates to server and at least one client, comprises with lower member:
Storage unit 201 is positioned at server end, is used for storing a plurality of user thesaurus according to the user thesaurus sign;
Client communication unit 202 is used to upload local user vocabulary and compares different entries and/or word frequency with the user thesaurus of server end to server end;
Server communication unit 203, the user thesaurus that is used for the send server end is compared different entries and/or word frequency to client with local user vocabulary;
At least one comparing unit 204 is positioned at client or server end, is used for the user thesaurus of comparison local user vocabulary and server end; Comparing unit shown in Fig. 2 embodiment has only one, is positioned at server end; Among other embodiment, one comparing unit can also be set in each client;
Server update unit 205 is used for according to uploading Data Update server end user thesaurus;
Client updating block 206 is used for according to the Data Update local user vocabulary from downloaded.
Because the embodiment corresponding and shown in Figure 1 of this system, therefore, same or similar part just no longer describes in detail, gets final product referring to aforementioned relevant portion.
Upload described in the top embodiment or entry and/or the property parameters of data downloaded for all changing.Below two embodiment will upload or data downloaded is the entry that changes of part and/or the situation of property parameters with described, describe.
With reference to Fig. 3, show the flow chart of steps of a kind of method embodiment of updating user vocabulary synchronouslly, it relates to server and at least one client, comprising:
Step 301, preset the storage space that is used to store user thesaurus at server end;
Step 302, when satisfying trigger condition, upload that local user vocabulary is compared the entry of increase with the user thesaurus of server end and/or the word frequency that exceeds to server end, server adopts the user thesaurus of this partial data update service device end;
Certainly, described data of uploading also can be the entry that increases and/or the word frequency of variation.The selection portion divided data and how to determine selected data for how finishes getting final product according to presetting rule, do not need to be limited at this.
Step 303, when satisfying trigger condition, the user thesaurus of Download Server end compare the entry of increase with local user vocabulary and/or the word frequency that exceeds to local computing device, local computing device adopts this partial data to upgrade local user vocabulary.
Certainly, described data downloaded also can be the entry that increases and/or the word frequency of variation.
Present embodiment and embodiment shown in Figure 1 are closely similar, and its associated description all can be applied to present embodiment.
The key distinction of present embodiment and embodiment shown in Figure 1 is: all differences all need to upgrade among the embodiment shown in Figure 1, no doubt can satisfy the demand under the certain situation, but (for example for other situations, the user is a best local user vocabulary not, but need multiple spot to upload the data of each client user's dictionary, to form a perfect user thesaurus) at server end, adopt method embodiment illustrated in fig. 1 just can't reach optimum efficiency, because it can be with the also backup simultaneously of inferior position of each client user's dictionary.
Adopt the step of present embodiment, can only the partial data (for example, the record that the new term of increase and word frequency increase or reduce) that changes be uploaded, download, obtain very perfect user thesaurus, be particularly useful for the situation of frequent updating by accumulation.
Certainly, identical with previous embodiment, the data of specifically uploading can only be the data divisions that increases, and also can be whole user thesaurus.
With reference to Fig. 4, show a kind of structured flowchart of system embodiment of updating user vocabulary synchronouslly, it relates to server and at least one client, comprising:
Storage unit 401 is positioned at server end, is used for storing a plurality of user thesaurus according to the user thesaurus sign;
Client communication unit 402, be used to upload local user vocabulary is compared the entry of increase with the user thesaurus of server end and/or the word frequency that exceeds to server end;
Server communication unit 403, the user thesaurus that is used for the send server end compare the entry of increase with local user vocabulary and/or the word frequency that exceeds to client;
At least one comparing unit 404 is positioned at client or server end, is used for the user thesaurus of comparison local user vocabulary and server end; Comparing unit shown in Fig. 4 embodiment has only one, is positioned at server end; Among other embodiment, one comparing unit can also be set in each client;
Server update unit 405 is used for according to uploading Data Update server end user thesaurus;
Client updating block 406 is used for according to the Data Update local user vocabulary from downloaded.
Because the method embodiment corresponding and shown in Figure 3 of this system, therefore, same or similar part just no longer describes in detail, gets final product referring to aforementioned relevant portion.
Aforesaid four embodiment are the designs of adopting whole relatively dictionary, data division transmission, but wherein, if by the data recording in the dictionary is compared one by one, thereby need to obtain the data of transmission, be to expend very much computational resource, even server also is difficult to bear, especially when having a plurality of client-requested to handle simultaneously.The following examples have just proposed a kind of mode of saving computational resource: by set up not the mode of vocabulary synchronously in local user vocabulary, reduce one time comparison procedure; Further, can also stab by establishing time, be used to avoid direct comparison process at data recording.
With reference to Fig. 5, show a kind of method and system of updating user vocabulary synchronouslly, it relates to server and at least one client, comprising:
The input entry of step 501, recording user and word frequency information are to not synchronous vocabulary; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously; After promptly once renewal was finished, user's input behavioural information all was recorded in the synchronous vocabulary, and the data that next update only needs to upload in the synchronous vocabulary get final product.
Step 502, when satisfying trigger condition, upload described synchronously vocabulary to server; The user thesaurus that not synchronous vocabulary that server will be uploaded and server have been deposited merges; The described mode of merging into the word frequency addition of corresponding entry, if entry does not exist at server, then adding gets final product.
Step 503, when satisfying trigger condition, the Download Server end data is used for upgrading the vocabulary synchronously of local user vocabulary.
Wherein, the server end data of described download can be whole server end user thesaurus, the described vocabulary synchronously that is updated in the direct replacement local user vocabulary.This is the simplest a kind of update mode, but may increase the waste of the communication resource.
Preferably, when downloading the server end data, client upload is the timestamp of Download Server end data last time; Server is the timestamp of each entry of safeguarding of this timestamp and server end relatively, and the server end data that sent are: the entry and/or the property parameters of change the timestamp of this client upload after.Described renewal process can cover respective record in the vocabulary synchronously for adopting these data recording, if the entry that increases newly, and adding vocabulary synchronously then.
Be that client is finished after the down loading updating at every turn, according to the Notification Record of the server timestamp of down loading updating this time; Server is safeguarded the timestamp of each entry at the situation of uploading.Because described timestamp can be fully by server maintenance, so preferably, can be the server clock.
Described entry and/or the property parameters that after the timestamp of client upload, changes, can be that this client or other clients are uploaded data updated after this timestamp, also can be that server is according to the more new data to adding automatically after this user thesaurus or a plurality of user thesaurus analysis, for example, the adjustment of some comprehensive personality data or property parameters.
Further, when preventing that next time from uploading, the data of last time uploading are repeated to upload, then present embodiment can also comprise: step 504, server confirm to have received the vocabulary of uploading synchronously to client; Step 505, client with described synchronously vocabulary merge to synchronously in the vocabulary, described merging can be for the mode that word frequency is increased, if entry does not exist in the vocabulary synchronously, then adding gets final product.
In addition, because server end has been stored a plurality of user thesaurus, when uploading and download, which dictionary what need know this processing procedure sensing is.Therefore, present embodiment can also comprise: when uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.Described user thesaurus sign can for user name (for example, the user registers account number), also can also can be client computing device hardware identifier or address designation or the like for the stored word storehouse is the identification number (for example, sequence number) of server-assignment or the combination of user name and identification number.In a word, as long as described user thesaurus sign can accurately be pointed to required user thesaurus, present embodiment does not need its form is limited at this.
For the present invention, user registers account number can corresponding user thesaurus, also can corresponding a plurality of user thesaurus, and indicate during renewal and upgrade which dictionary and get final product.Further, a user thesaurus also can corresponding a plurality of users be registered account number among the present invention, promptly satisfies the common situation of using same user thesaurus of many people, for example, and user thesaurus of a common maintenance of the member of professional group.
Further, for the requirement of safety or privacy can also require the user by after the authentication, just can finish upload, download etc. handles operation.Concrete identity identifying technology belongs to known technology, has not just described in detail at this.
In addition, for the data of Download Server end,, can download the user thesaurus data of account correspondence through an authentication; Also can pass through a plurality of authentications, download the data in corresponding a plurality of user thesaurus, be incorporated into local user vocabulary.
Further, consider and also may comprise some configuration customs in user's the input habit, for example, Two bors d's oeuveres setting, punctuate setting and various attribute are provided with or the like, so the data of client upload and the data of server stores can also comprise: the configuration data of user's input method, and the time that this configuration data is set.
Then preferred, present embodiment can also comprise: upload the configuration data of user's input method, and the time (perhaps the configuration data of Download Server end and time of this configuration data is set) that this configuration data is set; Relatively user's the local configuration data and the configuration data of server end, be provided with the time after configuration data serve as according to change or keep local configuration data.Because being provided with of configuration data generally all is to adopt selection mode to realize, therefore, it upgrades and adopts rewrite method to get final product.
Certainly, in the above-mentioned configuration data updating steps, also can be in the following ways: according to the configuration data change of server end or keep local configuration data.
Under some situation, because the problem of the input habit of the problem of dictionary memory capacity or mistake, the user may delete some entries in the local user vocabulary, then can realize upgrading by the mode that in not synchronous vocabulary, writes down, also can set up a mode of deleting vocabulary to realize upgrading separately, upload this when uploading data in the lump and delete vocabulary and get final product.
The speech situation of deleting that relates to during for download then can be recorded in the dictionary data recording, realizes deleting the speech renewal by being loaded in the data recording that changes after the local update timestamp down; Also can be recorded in the deleting in the vocabulary of server end, delete vocabulary and realize upgrading by upgrading this locality.
For the realization of deleting vocabulary, can be by the word information of deleting of user's manual operation recording user; Perhaps, also can be by detecting the rollback operation of user in the candidate word window, recording user delete word information; Perhaps, can also be by detecting the deletion action of screen back in preset time on the user-selected words, recording user delete word information.
The part that does not relate in the present embodiment can get final product referring to the associated description of this instructions.
With reference to Fig. 6, show a kind of and the system corresponding updating user vocabulary synchronouslly of Fig. 5 method, it relates to server and at least one client, comprising:
Storage unit 601 is positioned at server end, is used for storing a plurality of user thesaurus according to the user thesaurus sign;
Record cell 602 is positioned at client, is used for the input entry and the extremely synchronous vocabulary of word frequency information of recording user; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously;
Client communication unit 603 is used for when satisfying trigger condition, uploads described not synchronous vocabulary to server;
Client updating block 604 is used for according to the Data Update local user vocabulary from downloaded;
Server communication unit 605, the user thesaurus data that are used for the storage of send server end are to client;
Server update unit 606, be used for will upload synchronously the user thesaurus deposited of vocabulary and server merge.
Wherein, the server end data of described transmission can be whole server end user thesaurus, the described vocabulary synchronously that is updated in the direct replacement local user vocabulary.
Perhaps, the server end data of described transmission are: the entry and/or the property parameters that change after the timestamp of client upload.Then, when downloading the server end data, the download request data of client also need to comprise: the timestamp of Download Server end data last time; Then described system also comprises: be positioned at the dictionary comparing unit 607 of server end, be used for the timestamp of each entry that relatively this timestamp and server end safeguard.
Further, client can also comprise: synchronous vocabulary merge cells 608, be used for when receiving server when having received not synchronously the affirmation information of vocabulary, and described synchronous vocabulary is merged to synchronously in the vocabulary.
Preferably, the data of client upload and the data of server stores also comprise: the configuration data of user's input method, and the time that this configuration data is set.When downloading the server end data, the download request data of client also comprise: the time that is provided with of local configuration data.Then, described system also comprises: the configuration data comparing unit 609 that is positioned at server end, be used for comparison user's the local configuration data and the configuration data of server end, if after the time that is provided with of server end configuration data in the time that is provided with of local configuration data, then send server end configuration data; Be positioned at the configuration data change unit 6010 of client, be used for changing local configuration data according to the server end configuration data that receives.
Further, when uploading with data download, client upload data and the download request data also comprise: user thesaurus sign.
With reference to Fig. 7, show a kind of method embodiment of updating user vocabulary synchronouslly, well will upload and download combines, be fit to very much more new situation of the user change use input method between many computing equipments complexity.
Embodiment shown in Figure 7 relates to server and at least one client, may further comprise the steps:
The input entry of step 701, recording user and word frequency information are to not synchronous vocabulary; Local user vocabulary comprises vocabulary, not synchronous vocabulary synchronously; Client is safeguarded client time stamp at local user vocabulary;
Step 702, when satisfying trigger condition, upload data D1 in the vocabulary synchronously, and active client time stamp T 1 is uploaded as parameter to server;
Step 703, server are searched the entry that the entry timestamp is higher than T1 in the server end user thesaurus, constitute set D2; Described server maintenance one length of a game stabs, and safeguards an entry timestamp at each entry;
Step 704, server update length of a game stab to T2, and send D2 and T2 to relative client;
The user thesaurus that step 705, server have been deposited the data D1 that uploads and server merges, and will to merge related entry update of time stamp be T2;
Step 706, customer end adopted data D2 upgrade vocabulary synchronously, and data D1 is incorporated into vocabulary synchronously;
Step 707, client empty vocabulary synchronously, and will stab client time and be updated to T2.
Ordinal relation between above-mentioned a plurality of step is not to immobilize, and illustrates it only is for convenience successively at this.
In addition, because server end has been stored a plurality of user thesaurus, when uploading and download, which dictionary what need know this processing procedure sensing is.Therefore, present embodiment can also comprise: when uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.
Further, for the requirement of safety or privacy can also require the user by after the authentication, just can finish upload, download etc. handles operation.
Certainly, present embodiment also can comprise renewal of configuration data or the like.The part mentioned of each embodiment of front has not just repeated at this as space is limited,, sees also associated description and gets final product.
With a concrete example, said process is described in detail below.With reference to following table, whole synchronous updating method relates to a server and two clients, also may relate to more client in the reality.In W1:1 (2), an input of " W1 " expression words, " 1 " expression input word frequency, the timestamp of this entry is represented in " 2 " in the bracket.In this example, for simplicity, adopt the positive integer that increases progressively as timestamp.Do not have data when supposing original state in the user thesaurus, timestamp adopts 0 expression.Employed "+" is just to the relation of the explanation separate sources data addition of image among the embodiment.
Figure C200710098199D00251
When client 1 was synchronous for the first time, write down user's input behavioural information in synchronous vocabulary: " user imports W1, W2 respectively once " was recorded as " W1:1; W2:1 ".Because this moment, server end is not stored data, thus can't return valid data D2, client 1 will be synchronously vocabulary merge (word frequency addition) to vocabulary synchronously, and will stab client time according to the notice of server and change " 2 " into.Server is made as " 2 " with the entry timestamp of W1, W2.
When client 2 was synchronous for the first time, write down user's input behavioural information in synchronous vocabulary: " user imports W2, W3 respectively once " was recorded as " W2:1; W3:1 ", client time stabs and is original state " 0 ".Because this moment, client had been upgraded once, and server end has stored data " W1:1 (2); W2:1 (2) ", therefore, above-mentioned data constitute set D2.Server with D2 and the timestamp " 3 " after upgrading together send to client 2; Then, server will be uploaded data D1 " W2:1; W3:1 " and canned data " W1:1 (2); W2:1 (2) " merge (word frequency addition), and will to merge related entry update of time stamp be " 3 ", for example " W2:1+1 (3); W3:1 (3) ".Client 2 is with data D2 " W1:1; W2:1 " be updated to synchronously vocabulary (add vocabulary if entry does not exist,, then directly cover) if exist; And will be not the data D1 " W2:1 of vocabulary synchronously; W3:1 " be incorporated into synchronously in the vocabulary (word frequency addition).Therefore, the data in the vocabulary synchronously that obtains at last of client 2 are " W1:1; W2:1+1; W3:1 ".At last, client 2 will be stabbed and change " 3 " into according to the notice of server client time.
Other renewal process and the like get final product, for example, upgrade the last of client 2 synchronously in the last table:
The timestamp of client 2 is " 7 ", and the data acquisition D2 that whois lookup arrives is " W4:3 (8); W5:1 (8) " because the entry timestamp " 8 " of W4 and W5 is greater than the timestamp " 7 " of client 2.Client 2 synchronously do not have data in the vocabulary, vocabulary gets final product so directly D2 is updated to synchronously, and will stab client time according to the notice of server and change " 9 " into.
With reference to Fig. 8, show a kind of input method client, specifically can comprise with lower member:
Record cell 801 is used for the input entry of recording user and word frequency information to vocabulary synchronously; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously;
Client communication unit 802 is used for when satisfying trigger condition, uploads data D1 in the vocabulary synchronously to server, and will upload as parameter at the active client time stamp T 1 of local user vocabulary;
Client updating block 803, the data D2 that is used to adopt server to return upgrades vocabulary synchronously, and data D1 is incorporated into vocabulary synchronously; And empty vocabulary synchronously, and will stab client time according to the notice of server and be updated to T2; The data D2 that described server returns gathers for the entry that the entry timestamp that finds in the server end user thesaurus is higher than T1, and described time stamp T 2 is determined by server.
Preferably, the data of client upload and the data of server stores can also comprise: the configuration data of user's input method, and the time that this configuration data is set; When satisfying trigger condition, the update request data of client also comprise: the time that is provided with of local configuration data; Client can also comprise: configuration data change unit 804 is used for changing local configuration data according to the server end configuration data that receives.The configuration data that described server returns is: relatively after the configuration data of user's local configuration data and server end, the time of setting is later than the configuration data that this locality is provided with the time.
Further, when new data more, the update request data of client also comprise: the user thesaurus sign.
With reference to Fig. 9, show a kind of server that is used for updating user vocabulary synchronouslly, specifically can comprise:
Storage unit 901 is used for storing a plurality of user thesaurus according to the user thesaurus sign;
Server process unit 902 is used for searching the entry that the entry timestamp is higher than T1 at the server end user thesaurus, constitutes set D2; And upgrade length of a game and stab to T2; Described time stamp T 1 was stabbed for the client time of uploading;
Server communication unit 903 is used to send D2 and T2 to relative client;
Server update unit 904 is used for the user thesaurus that the data D1 that will upload and server deposited and merges, and will to merge related entry update of time stamp be T2; Described data D1 is the data of client records in not synchronous vocabulary, comprises user's input entry and word frequency information.
Further, the data of client upload and the data of server stores can also comprise: the configuration data of user's input method, and the time that this configuration data is set; When satisfying trigger condition, the update request data of client also comprise: the time that is provided with of local configuration data;
Then described server can also comprise: configuration data comparing unit 905, be used for comparison user's the local configuration data and the configuration data of server end, if after the time that is provided with of server end configuration data in the time that is provided with of local configuration data, then send server end configuration data; Client is then changed local configuration data according to the server end configuration data of described reception.
Fig. 8 and embodiment illustrated in fig. 9 be method embodiment corresponding and shown in Figure 7, wherein not detailed part can be referring to the relevant portion of previous embodiment and other parts in the instructions.
In aforementioned each embodiment, also might relate to after the client upload data, do not obtain the paid-in confirmation of server, then the problem how to handle.Uploading under the less situation of data volume, can adopt the mode of re-transmission to realize, may waste some communication resources certainly.Preferably, also can establish foot, only receive the affirmation information of server, client just empties not vocabulary synchronously, if do not receive, then when uploading next time the information in all not synchronous vocabularys is uploaded in the lump.
Certainly, also can adopt following processing mode: the data set that will at every turn submit to is made into affairs, first to file affairs numbering before each submission the to; The successful up to now affairs numbering of submitting to of server end record if client submits to the back to fail to confirm successfully submission at every turn, is then preserved this time and is submitted to affairs to wait until next time; Get final product (perhaps merging to realize it also being feasible) failing to confirm that successful affairs are all submitted to up during client submission next time by affairs.
More than to the method and system of a kind of updating user vocabulary synchronouslly provided by the present invention, and a kind of input method client and a kind of server that is used for updating user vocabulary synchronouslly, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (31)

1. the method for a updating user vocabulary synchronouslly is characterized in that, relates to server and at least one client, comprising:
Be respectively each user at server end and preset the storage space that is used to store user thesaurus;
When satisfying trigger condition, the local user vocabulary of uploading the user is compared different entries and/or different property parameters to server end with this user's of server end user thesaurus, and server adopts this partial data update service device end subscriber dictionary;
When satisfying trigger condition, this user's of Download Server end user thesaurus is compared different entries and/or different property parameters to local computing device with local user vocabulary, and local computing device adopts this partial data to upgrade local user vocabulary.
2. the method for claim 1 is characterized in that, also comprises:
When uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.
3. the method for claim 1 is characterized in that,
Described uploading or entry and/or the property parameters of data downloaded for all changing;
Perhaps, described uploading or entry and/or the property parameters of data downloaded for partly changing.
4. the system of a updating user vocabulary synchronouslly is characterized in that, relates to server and at least one client, comprising:
Storage unit is positioned at server end, is used for storing a plurality of user thesaurus according to the user thesaurus sign;
Different entries and/or different property parameters are compared to server end in client communication unit, the local user vocabulary that is used to upload the user with the user thesaurus of server end;
Server communication unit, the user thesaurus that is used for this user of send server end are compared different entries and/or different property parameters to client with local user vocabulary;
At least one comparing unit is positioned at client or server end, is used for comparison local user vocabulary and this user's of server end user thesaurus;
The server update unit is used for according to uploading this user's of Data Update server end user thesaurus;
The client updating block is used for according to the Data Update local user vocabulary from downloaded.
5. system as claimed in claim 4 is characterized in that,
Described uploading or entry and/or the property parameters of data downloaded for all changing;
Perhaps, described uploading or entry and/or the property parameters of data downloaded for partly changing.
6. the method for a updating user vocabulary synchronouslly is characterized in that, relates to server and at least one client, comprising:
Be respectively each user at server end and preset the storage space that is used to store user thesaurus;
The input entry of recording user and corresponding attribute parameters are to not synchronous vocabulary; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously;
When satisfying trigger condition, upload data to server, the described data of uploading comprise not vocabulary synchronously; This user's that not synchronous vocabulary that server will be uploaded and server have been deposited user thesaurus merges;
When satisfying trigger condition, the Download Server end data is used for upgrading the vocabulary synchronously of local user vocabulary.
7. method as claimed in claim 6 is characterized in that,
The server end data of described download are whole server end user thesaurus, the described vocabulary synchronously that is updated in the direct replacement local user vocabulary.
8. method as claimed in claim 6 is characterized in that, also comprises:
When downloading the server end data, client upload is the timestamp of Download Server end data last time;
Server is the timestamp of each entry of safeguarding of the timestamp of this client upload and server end relatively, and the server end data that sent are: the entry and/or the property parameters of change the timestamp of this client upload after.
9. method as claimed in claim 6 is characterized in that, also comprises:
Server confirms to have received the not synchronous vocabulary of uploading to client;
Client with described synchronously vocabulary merge to synchronously in the vocabulary.
10. method as claimed in claim 6 is characterized in that, described user thesaurus records:
The existing words and the corresponding attribute parameters of user's input;
And/or, the self-made characters speech and the corresponding attribute parameters of user's input.
11. method as claimed in claim 6 is characterized in that, also comprises:
The data of client upload and the data of server stores also comprise: the configuration data of user's input method, and the time that this configuration data is set;
Relatively user's the local configuration data and the configuration data of server end, be provided with the time after configuration data serve as according to change or keep local configuration data.
12. method as claimed in claim 6 is characterized in that, also comprises:
When uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.
13. method as claimed in claim 6 is characterized in that,
The data of client upload also comprise deletes vocabulary, describedly deletes the speech situation of deleting that vocabulary is used for recording user; Server is according to the described user thesaurus of deleting vocabulary update service device end.
14. method as claimed in claim 13 is characterized in that, the specific implementation of deleting the speech situation of described recording user comprises:
The word information of deleting by user's manual operation recording user;
Perhaps, by detecting the rollback operation of user in the candidate word window, recording user delete word information;
Perhaps, by detecting on the user-selected words deletion action of screen back in preset time, recording user delete word information.
15. the system of a updating user vocabulary synchronouslly is characterized in that, relates to server and at least one client, comprising:
Storage unit is positioned at server end, is used for storing a plurality of user thesaurus according to the user thesaurus sign;
Record cell is positioned at client, is used for the input entry and the extremely synchronous vocabulary of corresponding attribute parameters of recording user; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously;
The client communication unit is used for when satisfying trigger condition, uploads data to server, and the described data of uploading comprise not vocabulary synchronously; When satisfying trigger condition, send the request of data download to server;
The client updating block is used for according to the Data Update local user vocabulary from downloaded;
Server communication unit, this user's the user thesaurus data that are used for send server end storage are to client;
The server update unit, be used for will upload synchronously this user's of having deposited of vocabulary and server user thesaurus merge.
16. system as claimed in claim 15 is characterized in that,
The server end data of described transmission are whole server end user thesaurus, the described vocabulary synchronously that is updated in the direct replacement local user vocabulary.
17. system as claimed in claim 15 is characterized in that,
When downloading the server end data, the download request data of client also comprise: the timestamp of Download Server end data last time;
Then described system also comprises:
The dictionary comparing unit is positioned at server end, is used for the timestamp of this client upload relatively and the timestamp of each entry that server end is safeguarded; The server end data of described transmission are: the entry and/or the property parameters that change after the timestamp of this client upload.
18. system as claimed in claim 15 is characterized in that, also comprises:
Synchronous vocabulary merge cells is positioned at client, is used for when receiving server when having received not synchronously the affirmation information of vocabulary, and described synchronous vocabulary is merged to synchronously in the vocabulary.
19. system as claimed in claim 15 is characterized in that,
The data of client upload and the data of server stores also comprise: the configuration data of user's input method, and the time that this configuration data is set;
When downloading the server end data, the download request data of client also comprise: the time that is provided with of local configuration data;
Then described system also comprises:
The configuration data comparing unit is positioned at server end, is used for comparison user's the local configuration data and the configuration data of server end, if after the time that is provided with of server end configuration data in the time that is provided with of local configuration data, then send server end configuration data;
Configuration data change unit is positioned at client, is used for changing local configuration data according to the server end configuration data that receives.
20. system as claimed in claim 15 is characterized in that,
Described client communication unit also provides the user thesaurus sign when uploading data and sending the request of data download.
21. system as claimed in claim 15 is characterized in that, the data of client upload also comprise deletes vocabulary, describedly deletes the speech situation of deleting that vocabulary is used for recording user.
22. system as claimed in claim 21 is characterized in that,
The word information of deleting by user's manual operation recording user;
Perhaps, by detecting the rollback operation of user in the candidate word window, recording user delete word information;
Perhaps, by detecting on the user-selected words deletion action of screen back in preset time, recording user delete word information.
23. the method for a updating user vocabulary synchronouslly is characterized in that, relates to server and at least one client, comprising:
Be respectively each user at server end and preset the storage space that is used to store user thesaurus;
The input entry of recording user and corresponding attribute parameters are to not synchronous vocabulary; Local user vocabulary comprises vocabulary, not synchronous vocabulary synchronously; Client is stored a client time at local user vocabulary and is stabbed, and described client time stabs by server and determines;
When satisfying trigger condition, upload this user synchronously the data D1 in the vocabulary and active client time stamp T 1 uploaded as parameter to server;
Server is searched the entry that the entry timestamp is higher than T1 in this user's of server end user thesaurus, constitute set D2; Described server maintenance one length of a game stabs, and safeguards an entry timestamp at each entry;
Server update length of a game stabs to T2, and sends D2 and T2 to relative client;
Server merges this user's that the data D1 that uploads and server have been deposited user thesaurus, and will to merge related entry update of time stamp be T2;
Customer end adopted data D2 upgrades vocabulary synchronously, and data D1 is incorporated into vocabulary synchronously;
Client empties vocabulary synchronously, and will stab client time and be updated to T2.
24. method as claimed in claim 23 is characterized in that, described user thesaurus records:
The existing words and the corresponding attribute parameters of user's input;
And/or, the self-made characters speech and the corresponding attribute parameters of user's input.
25. method as claimed in claim 23 is characterized in that, also comprises:
Upload the configuration data of user's input method, and the time that this configuration data is set;
Relatively user's the local configuration data and the configuration data of server end, be provided with the time after configuration data serve as according to change or keep local configuration data.
26. method as claimed in claim 23 is characterized in that, also comprises:
When uploading with data download, client provides the user thesaurus sign, and described user thesaurus sign is used in reference to specific user thesaurus.
27. an input method client is characterized in that, comprising:
Record cell is used for the input entry of recording user and corresponding attribute parameters to vocabulary synchronously; Local user vocabulary comprises vocabulary and not synchronous vocabulary synchronously;
The client communication unit, be used for when satisfying trigger condition, upload the synchronous storage space that is used to store this user thesaurus that presets for this user to server end of the data D1 in the vocabulary of this user, and will upload as parameter at the active client time stamp T 1 of local user vocabulary;
The client updating block, the data D2 that is used to adopt server to return upgrades vocabulary synchronously, and data D1 is incorporated into vocabulary synchronously; And empty vocabulary synchronously, and will stab client time according to the notice of server and be updated to T2; The data D2 that described server returns gathers for the entry that the entry timestamp that finds in this user's of server end user thesaurus is higher than T1, and described time stamp T 2 is determined by server.
28. client as claimed in claim 27 is characterized in that, also comprises:
Configuration data change unit is used for changing local configuration data according to the server end configuration data that receives; The configuration data that described server returns is: the time of setting is later than the configuration data that this locality is provided with the time; Described this locality is provided with in the update request data that the time is included in client.
29. client as claimed in claim 28 is characterized in that,
When new data more, the update request data of client also comprise: the user thesaurus sign.
30. a server that is used for upgrading synchronously user thesaurus is characterized in that, comprising:
Storage unit is used for storing a plurality of user thesaurus according to the user thesaurus sign;
The server process unit is used for searching the entry that the entry timestamp is higher than T1 at the server end user thesaurus, constitutes set D2; And upgrade length of a game and stab to T2; Described time stamp T 1 was stabbed for the client time of uploading;
Server communication unit is used to send D2 and T2 to relative client;
The server update unit is used for the user thesaurus that the data D1 that will upload and server deposited and merges, and will to merge related entry update of time stamp be T2; Described data D1 is the data of client records in not synchronous vocabulary, comprises user's input entry and word frequency information.
31. server as claimed in claim 30 is characterized in that, also comprises:
The configuration data comparing unit is used for comparison user's the local configuration data and the configuration data of server end, if after the time that is provided with of server end configuration data in the time that is provided with of local configuration data, then send server end configuration data; Described this locality is provided with in the update request data that the time is included in client.
CNB2007100981996A 2007-04-20 2007-04-20 Method and system for updating user vocabulary synchronouslly Active CN100464308C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2007100981996A CN100464308C (en) 2007-04-20 2007-04-20 Method and system for updating user vocabulary synchronouslly
PCT/CN2008/070751 WO2008128473A1 (en) 2007-04-20 2008-04-18 Method and system of updating user word stock synchronouslly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100981996A CN100464308C (en) 2007-04-20 2007-04-20 Method and system for updating user vocabulary synchronouslly

Publications (2)

Publication Number Publication Date
CN101030157A CN101030157A (en) 2007-09-05
CN100464308C true CN100464308C (en) 2009-02-25

Family

ID=38715525

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100981996A Active CN100464308C (en) 2007-04-20 2007-04-20 Method and system for updating user vocabulary synchronouslly

Country Status (2)

Country Link
CN (1) CN100464308C (en)
WO (1) WO2008128473A1 (en)

Families Citing this family (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100464308C (en) * 2007-04-20 2009-02-25 北京搜狗科技发展有限公司 Method and system for updating user vocabulary synchronouslly
CN101420313B (en) * 2007-10-22 2011-01-12 北京搜狗科技发展有限公司 Method and system for clustering customer terminal user group
CN101242228B (en) * 2008-02-25 2011-01-19 中兴通讯股份有限公司 Emergent handling method and system for interactive network TV system
JP5061166B2 (en) 2009-09-04 2012-10-31 Kii株式会社 Data synchronization system and data synchronization method
CN101639863B (en) * 2009-09-04 2014-07-16 腾讯科技(深圳)有限公司 Method system and equipment for loading city lexicon
CN101710326B (en) * 2009-12-03 2012-10-03 腾讯科技(深圳)有限公司 Word stock substitution method, device and input method system
CN102209083B (en) * 2010-03-31 2015-03-18 北京搜狗科技发展有限公司 Method and server for synchronous update of user lexicon and input method system
CN101840418A (en) * 2010-03-31 2010-09-22 北京搜狗科技发展有限公司 User word library synchronous update method, update server and input method system
CN102214011B (en) * 2010-04-09 2015-09-09 北京搜狗科技发展有限公司 A kind of method of initiating input method remote calculation request and device
CN102314334A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for caching content input into application program by user and equipment
CN101908061A (en) * 2010-07-02 2010-12-08 互动在线(北京)科技有限公司 Method and device for synchronizing entries
CN102402298A (en) * 2010-09-16 2012-04-04 腾讯科技(深圳)有限公司 Pinyin input method and user word adding method and system of same
CN102467320A (en) * 2010-11-09 2012-05-23 腾讯科技(深圳)有限公司 Input method, input method device and system
CN102467537B (en) * 2010-11-10 2016-07-27 腾讯科技(深圳)有限公司 The method and apparatus deleting vocabulary
CN102768576A (en) * 2011-05-06 2012-11-07 张家港市赫图阿拉信息技术有限公司 Input method allowing user to manage custom dictionary
CN102902362B (en) * 2011-07-25 2017-10-31 深圳市世纪光速信息技术有限公司 Character input method and system
CN103019398A (en) * 2011-09-20 2013-04-03 腾讯科技(深圳)有限公司 Character input method and character input device
CN103108012B (en) * 2011-11-15 2019-11-19 深圳市世纪光速信息技术有限公司 A kind of user thesaurus synchronous method and user thesaurus sync server
CN102521379A (en) * 2011-12-19 2012-06-27 上海交通大学 Internet information collection method and internet information collection device based on active push technology
CN102546779B (en) * 2011-12-27 2014-12-10 Tcl集团股份有限公司 Synchronized method and device of application data across devices
US9035884B2 (en) * 2012-10-17 2015-05-19 Nuance Communications, Inc. Subscription updates in multiple device language models
CN102982070A (en) * 2012-10-26 2013-03-20 北京百度网讯科技有限公司 Word bank updating method and system and cloud server used for input method application program
CN103825918B (en) * 2012-11-16 2018-09-18 腾讯科技(深圳)有限公司 Method of data synchronization, terminal device, server and system
CN103929448B (en) * 2013-01-14 2018-06-05 百度国际科技(深圳)有限公司 Server provides the method, system and device of cell dictionary beyond the clouds
CN104049766B (en) * 2013-03-11 2017-05-31 百度国际科技(深圳)有限公司 Cloud server and its terminal for updating language model in cloud input method
JP6028658B2 (en) * 2013-03-28 2016-11-16 富士通株式会社 Terminal device, conversion character candidate synchronization method, and conversion character candidate synchronization program
CN103246703B (en) * 2013-04-03 2017-09-15 百度在线网络技术(北京)有限公司 A kind of method and apparatus for being used to determine application dictionary
CN103327026B (en) * 2013-06-28 2016-03-02 腾讯科技(深圳)有限公司 A kind of data-updating method and the system of renewal
CN103647761B (en) * 2013-11-28 2017-04-12 小米科技有限责任公司 Method and device for marking audio record, and terminal, server and system
CN103888519B (en) * 2014-03-10 2019-03-01 北京搜狗科技发展有限公司 A kind of dictionary synchronous method and input method server
CN107104881B (en) * 2015-05-29 2021-09-14 北京搜狗科技发展有限公司 Information processing method and device
CN105207809B (en) * 2015-08-25 2019-01-15 广州华多网络科技有限公司 A kind of data processing method, server, client and system
CN105117263B (en) * 2015-09-14 2018-06-22 北京空间飞行器总体设计部 A kind of unix environment software system updating method
WO2017063143A1 (en) * 2015-10-13 2017-04-20 深圳还是威健康科技有限公司 Method and device for updating data, terminal and server
CN106802762B (en) * 2015-11-26 2020-09-11 思杰系统有限公司 Synchronizing server-side keyboard layout with client-side layout in virtual session
CN105636121A (en) * 2015-12-17 2016-06-01 福建新大陆通信科技股份有限公司 Server login and data synchronization method and system for client
CN105955495A (en) * 2016-04-29 2016-09-21 百度在线网络技术(北京)有限公司 Information input method and device
CN106249914A (en) * 2016-08-03 2016-12-21 太仓美宅姬娱乐传媒有限公司 A kind of character input method and system thereof
CN107018194A (en) * 2017-04-07 2017-08-04 厦门天锐科技股份有限公司 The implementation method that a kind of strategy is correctly downloaded in time
CN109829010B (en) * 2017-08-28 2023-11-14 西安中兴新软件有限责任公司 Entry modification method and entry modification device
WO2019075763A1 (en) 2017-10-20 2019-04-25 Oppo广东移动通信有限公司 Data transmission method, terminal device, and network device
CN110362686B (en) * 2018-04-02 2024-02-06 北京搜狗科技发展有限公司 Word stock generation method and device, terminal equipment and server
CN108874175A (en) * 2018-06-20 2018-11-23 北京百度网讯科技有限公司 A kind of data processing method, device, equipment and medium
CN109542248A (en) * 2018-11-16 2019-03-29 上海二三四五网络科技有限公司 A kind of control method and control device of incremental update dictionary data
CN109617950B (en) * 2018-11-26 2021-09-03 杭州涂鸦信息技术有限公司 Data updating method, device, equipment and readable storage medium
CN110263184A (en) * 2019-06-20 2019-09-20 中国医学科学院医学信息研究所 A kind of data processing method and relevant device
CN112581941A (en) * 2020-11-17 2021-03-30 北京百度网讯科技有限公司 Audio recognition method and device, electronic equipment and storage medium
CN112765275A (en) * 2021-01-26 2021-05-07 成都佳发安泰教育科技股份有限公司 Data synchronous exchange method, equipment and medium based on single time coordinate system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510595A (en) * 2002-12-24 2004-07-07 �Ҵ���˾ Dictionary updating system, updating processing servo, terminal, controlling method, program, recording medium
US20070016625A1 (en) * 1999-06-17 2007-01-18 Viktors Berstis Method and Apparatus for Providing a Central Dictionary and Glossary Server
JP2007034801A (en) * 2005-07-28 2007-02-08 Orion Denki Kk Dictionary update system and dictionary update method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3556425B2 (en) * 1997-03-18 2004-08-18 株式会社東芝 Shared dictionary updating method and dictionary server
US7461372B2 (en) * 2002-10-11 2008-12-02 Hewlett-Packard Development Company, L.P. System for optimizing distribution of information employing a universal dictionary
CN100472524C (en) * 2006-06-26 2009-03-25 腾讯科技(深圳)有限公司 Chinese character library updating method and system
CN100464308C (en) * 2007-04-20 2009-02-25 北京搜狗科技发展有限公司 Method and system for updating user vocabulary synchronouslly
CN101140585A (en) * 2007-09-24 2008-03-12 腾讯科技(深圳)有限公司 User thesaurus management system and management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070016625A1 (en) * 1999-06-17 2007-01-18 Viktors Berstis Method and Apparatus for Providing a Central Dictionary and Glossary Server
CN1510595A (en) * 2002-12-24 2004-07-07 �Ҵ���˾ Dictionary updating system, updating processing servo, terminal, controlling method, program, recording medium
JP2007034801A (en) * 2005-07-28 2007-02-08 Orion Denki Kk Dictionary update system and dictionary update method

Also Published As

Publication number Publication date
WO2008128473A1 (en) 2008-10-30
CN101030157A (en) 2007-09-05

Similar Documents

Publication Publication Date Title
CN100464308C (en) Method and system for updating user vocabulary synchronouslly
CN100501746C (en) Web page collecting method and web page collecting server
CN1517885B (en) Method and system for updating central cache by atomicity
CN101876983B (en) Method for partitioning database and system thereof
JP4278299B2 (en) Communication system and method
CN107423070B (en) Page generation method and device
US7769792B1 (en) Low overhead thread synchronization system and method for garbage collecting stale data in a document repository without interrupting concurrent querying
US20100281005A1 (en) Asynchronous Database Index Maintenance
US20020152229A1 (en) Apparatus and methods for managing caches on a mobile device
US8099386B2 (en) Method and apparatus for synchronizing databases connected by wireless interface
US7634517B1 (en) System and method for dynamically updating a document repository without interrupting concurrent querying
CN103473326A (en) Method and device providing searching advices
CN104462030B (en) Character conversion equipment, character conversion method
CN102651021A (en) Icon content updating method and device
CN104484482A (en) Webpage information updating method and system of network platform
EP2939107A1 (en) Method of and system for furnishing a user of a client device with a network resource
US20080162501A1 (en) Method and apparatus for memory management in an electronic device
CN111666383A (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN114780615A (en) Error code management method and device thereof
CN1845134B (en) Transfer prevention or/and cribbing prevention monitoring method based on computer network
CN109739885A (en) Data query method, apparatus, equipment and storage medium based on local cache
CN102566866B (en) A kind of dynamic desktop updating system
US8005844B2 (en) On-line organization of data sets
CN1277437C (en) Method and system for implementing using of yellow page in mobile phone
CN113468110A (en) File management method and device, electronic equipment and storage medium

Legal Events

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