CN109814732A - The treating method and apparatus and contacts list treating method and apparatus of dictionary - Google Patents

The treating method and apparatus and contacts list treating method and apparatus of dictionary Download PDF

Info

Publication number
CN109814732A
CN109814732A CN201811639462.2A CN201811639462A CN109814732A CN 109814732 A CN109814732 A CN 109814732A CN 201811639462 A CN201811639462 A CN 201811639462A CN 109814732 A CN109814732 A CN 109814732A
Authority
CN
China
Prior art keywords
chinese
terminal
phrase
dictionary
server
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.)
Pending
Application number
CN201811639462.2A
Other languages
Chinese (zh)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811639462.2A priority Critical patent/CN109814732A/en
Publication of CN109814732A publication Critical patent/CN109814732A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the invention provides a kind for the treatment of method and apparatus of dictionary and contacts list treating method and apparatus.On the one hand, the processing method of dictionary provided in an embodiment of the present invention obtains the contacts list of at least one terminal upload by server, and extract Chinese Name therein, generate at least one Chinese Name phrase, and the dictionary of target Chinese input method is updated according to the phrase of generation, so that having Chinese Name phrase in the dictionary of target Chinese input method, the previous section code in input code can be corresponded to by input Chinese Name phrase associate entire phrase, facilitate the input process of Chinese Name, improve the input efficiency of Chinese Name, the technical problem that word input causes name input efficiency lower one by one is needed when inputting Chinese personal name in the related technology to solve.

Description

The treating method and apparatus and contacts list treating method and apparatus of dictionary
[technical field]
The present invention relates to data processing field more particularly to the treating method and apparatus and contact person's column of a kind of dictionary List processing method and apparatus.
[background technique]
With the development of electronic equipment, recording content by electronic equipment becomes the common data entry method of people, existing Have in technology, for Chinese, there are diversified input methods, for example, Chinese five-stroke input method, Chinese pinyin input method etc., are More convenient people's input data, various input methods are commonly configured with the dictionary of common phrase, so that people are inputting the phrase Coding when, corresponding phrase can be directly found, avoid people need one by one word carry out the troublesome operation of selection, but It is that, if a phrase is not present in the dictionary of input method, may need people manually by the phrase typing dictionary, than It is cumbersome.For Chinese Name, since Chinese Name is to claim in a generation, there is no on logic of language for group word Meaning, therefore we are recognizing a new friend, when inputting its title, can not organize word input, can only word one by one selection, Reduce input efficiency.
In view of the above technical problems, currently no effective solution has been proposed.
[summary of the invention]
In view of this, the embodiment of the invention provides at a kind for the treatment of method and apparatus of dictionary and contacts list Manage method and apparatus, input efficiency lower technical problem when at least to solve to input Chinese personal name in the related technology.
On the one hand, the embodiment of the invention provides a kind of processing methods of dictionary, comprising: server obtains at least one end Hold the contacts list uploaded, wherein at least one terminal is to be equipped with the terminal of target Chinese input method;Server is contacting Chinese Name is extracted in list, obtains at least one Chinese Name phrase;Server is according at least one Chinese Name phrase Update the dictionary of target Chinese input method.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, server according to The dictionary of at least one Chinese Name phrase update target Chinese input method, comprising: server is at least one Chinese Name word Group executes deduplication operation, obtains newly-increased Chinese Name phrase, wherein deduplication operation is for removing at least one Chinese Name phrase In in duplicate Chinese Name phrase and at least one Chinese Name phrase with it is existing in the dictionary of target Chinese input method The duplicate phrase of Chinese Name phrase;The dictionary of target Chinese input method is added in newly-increased Chinese Name phrase by server.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, server will be new Increase Chinese Name phrase to be added after the dictionary of target Chinese input method, method further include: server is marked based on deduplication operation The number of repetition of each Chinese Name phrase in dictionary, wherein number of repetition is used to determine the word frequency of each Chinese Name phrase.
A technical solution in above-mentioned technical proposal has the following beneficial effects:
The contacts list of at least one terminal upload is obtained by server, and extracts Chinese Name therein, is generated At least one Chinese Name phrase, and according to the dictionary of the phrase of generation update target Chinese input method, so that in target There is Chinese Name phrase in the dictionary of literary input method, can be corresponded to before in input code by inputting Chinese Name phrase Partial code associates entire phrase, facilitates the input process of Chinese Name, improves the input efficiency of Chinese Name, thus It solves and needs word input one by one that the lower technology of name input efficiency is caused to be asked when inputting Chinese personal name in the related technology Topic.
On the other hand, the embodiment of the invention also provides a kind of contacts list processing methods, comprising: terminal starts target Chinese character coding input method;Terminal obtains the contacts list being locally stored;Terminal is based on contacts list, uploads data to server, Wherein, the data that server is used to upload based on terminal update the cloud dictionary of target Chinese input method, so that in the dictionary of cloud Including at least one Chinese Name phrase.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, terminal are based on connection It is list, upload one of data, including following situations to server: contacts list is uploaded to server by terminal;Terminal The Chinese Name in contacts list is extracted, the Chinese Name extracted is uploaded to server;Alternatively, terminal extracts contact person The Chinese Name of update is uploaded to server by the Chinese Name updated in list.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, terminal start mesh After marking Chinese character coding input method, this method further include: terminal obtains the more new content of cloud dictionary from server;Terminal is based on updating Content updates the local dictionary of target Chinese input method.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, terminal start mesh After marking Chinese character coding input method, this method further include: terminal obtains input coding by input control;Terminal is based on input coding, Corresponding phrase is searched in local dictionary, wherein corresponding phrase is the candidate phrase of input coding;Terminal detection input control Whether part is target input control;If so, terminal is by the Chinese Name phrase in the corresponding phrase of input coding in candidate word Display sequence in group shifts to an earlier date.
A technical solution in above-mentioned technical proposal has the following beneficial effects:
Contacts list is based on by terminal and uploads data to server, to update target Chinese input method in server Cloud dictionary can pass through input Chinese so that having Chinese Name phrase in the cloud dictionary of target Chinese input method Name phrase corresponds to the previous section code in input code and associates entire phrase, facilitates the input process of Chinese Name, The input efficiency of Chinese Name is improved, needs word input one by one when inputting Chinese personal name in the related technology to solve The technical problem for causing name input efficiency lower.
On the other hand, the embodiment of the invention also provides a kind of processing units of dictionary, comprising: acquiring unit, for leading to Cross the contacts list that server obtains the upload of at least one terminal, wherein at least one terminal is defeated to be equipped with target Chinese Enter the terminal of method;Extraction unit obtains at least one Chinese for extracting Chinese Name in the contact list by server Name phrase;Updating unit, for updating target Chinese input method according at least one Chinese Name phrase by server Dictionary.
Above-mentioned technical proposal has the following beneficial effects:
The contacts list of at least one terminal upload is obtained by server, and extracts Chinese Name therein, is generated At least one Chinese Name phrase, and according to the dictionary of the phrase of generation update target Chinese input method, so that in target There is Chinese Name phrase in the dictionary of literary input method, can be corresponded to before in input code by inputting Chinese Name phrase Partial code associates entire phrase, facilitates the input process of Chinese Name, improves the input efficiency of Chinese Name, thus It solves and needs word input one by one that the lower technology of name input efficiency is caused to be asked when inputting Chinese personal name in the related technology Topic.
On the other hand, the embodiment of the invention also provides a kind of contacts list processing units, comprising: start unit is used In pass through terminal start target Chinese input method;Acquiring unit, for obtaining the contacts list being locally stored by terminal;On Leaflet member uploads data to server for being based on contacts list by terminal, wherein server is used to be based on terminal The data of biography update the cloud dictionary of target Chinese input method, so as to include at least one Chinese Name phrase in the dictionary of cloud.
Above-mentioned technical proposal has the following beneficial effects:
Contacts list is based on by terminal and uploads data to server, to update target Chinese input method in server Dictionary, so that there is Chinese Name phrase in the dictionary of target Chinese input method, it can be by inputting Chinese Name phrase Previous section code in corresponding input code associates entire phrase, facilitate the input process of Chinese Name, improves The input efficiency of literary name needs word input one by one to lead to name to solve when inputting Chinese personal name in the related technology The lower technical problem of input efficiency.
On the other hand, the embodiment of the invention also provides a kind of computer equipments, including memory, processor and storage In memory and the computer program that can run on a processor, processor are realized above-mentioned any one when executing computer program The processing method of the dictionary of item.
On the other hand, the embodiment of the invention also provides a kind of computer equipments, including memory, processor and storage In memory and the computer program that can run on a processor, which is characterized in that processor executes real when computer program The contacts list processing method of existing above-mentioned any one.
In another aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, the readable storage of the embodiment of the present invention Medium includes computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes The processing method of the dictionary of above-mentioned any one.
In another aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, the readable storage of the embodiment of the present invention Medium includes computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes The contacts list processing method of above-mentioned any one.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of schematic diagram of optional hardware environment provided by the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the processing method of dictionary provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of contacts list processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of the processing unit of dictionary provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of contacts list processing unit provided in an embodiment of the present invention;
Fig. 6 is a kind of composition block diagram of computer equipment provided in an embodiment of the present invention.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should be noted that although in claims of the present invention, the description and the appended drawings may using term first, Second, third etc. is used to distinguish similar objects XXX, it should be understood that term first, second, third, etc. is not necessarily used for describing Specific sequence or precedence are only used to for these similar object XXX being distinguished from each other out.For example, not departing from the present invention In the case where scope of embodiments, the first XXX can also be referred to as the 2nd XXX, and similarly, the 2nd XXX can also be referred to as first XXX。
Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
According to an aspect of an embodiment of the present invention, a kind of processing method of dictionary is provided.Optionally, above-mentioned dictionary Processing method can be, but not limited to be applied in application environment as shown in Figure 1.Server 106 is obtained at least by network 104 The contacts list that one terminal 102 uploads, wherein each terminal 102 is to be equipped with the terminal of target Chinese input method, service Device 106 extracts Chinese Name in the contact list, obtains at least one Chinese Name phrase, and according at least one Chinese surname The dictionary of noun phrase update target Chinese input method.
The processing method of dictionary provided in this embodiment can be applied to the server one in application environment as shown in Figure 1 Side.Specifically, the processing method of dictionary provided in this embodiment is as shown in Fig. 2, include the following steps:
Step 201, server obtains the contacts list of at least one terminal upload.
Wherein, each terminal at least one terminal is to be equipped with the terminal of target Chinese input method.It needs to illustrate Be, each terminal can by execute contacts list processing method provided in an embodiment of the present invention with it is provided in this embodiment The processing method of dictionary matches.
Step 202, server extracts Chinese Name in the contact list, obtains at least one Chinese Name phrase.
Each contact person in contacts list includes multiple attributes, such as name of contact person, phone, address, mailbox, The present embodiment can only extract the content in the attribute of name of contact person.It should be noted that name of contact person may be by What the combination of multiple attributes obtained, for example, two combinations of attributes of name of the surname of contact person and contact person are obtained contact person's surname Name.
Further, since name may include the arbitrary characters such as Chinese, English, symbol, expression, number, this Embodiment only extracts Chinese Name therein as a Chinese Name phrase.After extracting Chinese Name to contacts list, At least one available Chinese Name phrase.
Optionally, it if not only having included Chinese character in a name of contact person but also having included other designated characters, or does not wrap Containing Chinese character, then it is assumed that the user for editing the name of contact person may be to have played the pet name for corresponding contact person, and server can The contact name is not used to be referred to as Chinese Name phrase with selection.
For example, being abandoned if not only having included Chinese character in a name of contact person but also having included such as English, expression character Corresponding name of contact person, and if in a name of contact person only include Chinese character, or only include Chinese character and sky Lattice then remove space as a Chinese Name phrase.
Step 203, server updates the dictionary of target Chinese input method according at least one Chinese Name phrase.
It is defeated can to update target Chinese according to obtained phrase after obtaining at least one Chinese Name phrase for server Enter the dictionary of method, optionally, which can be in feeling the pulse with the finger-tip mark Chinese character coding input method for storing the dictionary of name.
Terminal local can store dictionary, update offline or online real-time update by way of will be newest in server Dictionary it is locally downloading.Alternatively, terminal can also be by the way of dictionary in real-time reading service device.
Optionally, server can also carry out deduplication operation, so that in dictionary after extracting Chinese Name phrase Each Chinese Name phrase is unique, specifically, the technical solution may include steps of:
Step 2031, server executes deduplication operation at least one Chinese Name phrase, obtains newly-increased Chinese Name word Group, wherein deduplication operation for remove at least one Chinese Name phrase duplicate Chinese Name phrase and at least one In Chinese Name phrase with the duplicate phrase of Chinese Name phrase already present in the dictionary of target Chinese input method;
Step 2032, the dictionary of target Chinese input method is added in newly-increased Chinese Name phrase by server.
For example, multiple terminal to server upload include Chinese Name " xxx " contact information, server mentioning It in the contact information for taking each terminal, has obtained multiple Chinese Names " xxx ", server first determines whether to whether there is in dictionary The Chinese Name, if it does not exist, then being added a Chinese Name " xxx " into dictionary.
Optionally, after the dictionary of target Chinese input method is added in newly-increased Chinese Name phrase by server, server It is also based on the number of repetition of each Chinese Name phrase in deduplication operation label dictionary, wherein number of repetition is for determining The word frequency of each Chinese Name phrase.
For example, multiple terminal to server upload include Chinese Name " xxx " contact information, server mentioning It in the contact information for taking each terminal, has obtained N number of Chinese Name " xxx ", server first determines whether to whether there is in dictionary The Chinese Name if it does not exist, then being added a Chinese Name " xxx " into dictionary, and marks Chinese Name " xxx " Number of repetition is N.
Correspondingly, terminal be based on target Chinese input method input when, if according to input coding obtain " xxx " and " yyy " two Chinese Name phrases, wherein the number of repetition of " xxx " is N, and the number of repetition of " yyy " is M, and N > M, then says The word frequency of bright " xxx " is higher, and the sequence of " xxx " is shifted to an earlier date, after the display order of " yyy " is come " xxx ".
In the present embodiment, the contacts list of at least one terminal upload is obtained by server, and is extracted therein Chinese Name generates at least one Chinese Name phrase, and the dictionary of target Chinese input method is updated according to the phrase of generation, from And make that there is Chinese Name phrase in the dictionary of target Chinese input method, the corresponding input of input Chinese Name phrase can be passed through Previous section code in code associates entire phrase, facilitates the input process of Chinese Name, improves Chinese Name Input efficiency needs word input one by one to lead to name input efficiency to solve when inputting Chinese personal name in the related technology Lower technical problem.
Optionally, in the present embodiment, above-mentioned terminal can include but is not limited to personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), radio hand-held equipment, plate electricity Brain (Tablet Computer), mobile phone etc..Above-mentioned network can include but is not limited to wireless network, wherein the wireless network It include: the network of bluetooth, WIFI and other realization wireless communications.Above-mentioned server can include but is not limited to it is following at least it One: PC machine and other equipment for being used to calculate service.Above-mentioned only a kind of example, the present embodiment do not do any restriction to this.
Other side according to an embodiment of the present invention additionally provides a kind of contacts list processing method.Optionally, on Stating contacts list processing method can be, but not limited to be applied in application environment as shown in Figure 1.As shown in Figure 1, terminal 102 After starting target Chinese input method, the contacts list being locally stored is obtained, and be based on contacts list, pass through network 104 upload data to server 106, wherein it is defeated that the data that server 106 is used to upload based on terminal 102 update target Chinese Enter the cloud dictionary of method, so as to include at least one Chinese Name phrase in the dictionary of cloud.
Contacts list processing method provided in this embodiment can be applied to the terminal in application environment as shown in Figure 1 Side.Specifically, contacts list processing method provided in this embodiment is as shown in figure 3, include the following steps:
Step 301, terminal starts target Chinese input method.
Target Chinese input method is installed in advance, target Chinese input method can be through software, plug-in unit, system in terminal It is integrated that any ways is waited to be installed in terminal.After terminal starting target Chinese input method can refer to terminal booting or terminal Platform opens the software for having corresponding target Chinese input method or is that the input method of the system integration is switched to target Chinese input Method, etc..
Optionally, terminal can also network automatically after starting target Chinese input method and update local dictionary, if clothes Cloud dictionary on business device has update, then local dictionary updates therewith, the optional technical solution are as follows:
Step 3011, terminal obtains the more new content of cloud dictionary from server;
Step 3012, terminal is based on more new content, updates the local dictionary of target Chinese input method.
By updating terminal local dictionary, available newest Chinese Name phrase facilitates user to input Chinese Name.
Step 302, terminal obtains the contacts list being locally stored.
After terminal starts target Chinese input method, the contacts list of available terminal local storage.One kind can The embodiment of choosing is, before terminal obtains the contacts list being locally stored, obtains the permission for obtaining contact information, should Permission can be user and be authorized or by operation by the protection capacity of safety protection software authorization in system.
Step 303, terminal is based on contacts list, uploads data to server.
Wherein, the data that server is used to upload based on terminal update the cloud dictionary of target Chinese input method, so that cloud It include at least one Chinese Name phrase in terminal word library.
Optionally, terminal upload data can be using any one following mode:
Contacts list is all uploaded to server by first way, terminal;
The second way, terminal extract the Chinese Name in contacts list, the Chinese Name extracted are uploaded to clothes Business device;Alternatively,
The third mode, terminal extract the Chinese Name updated in contacts list, the Chinese Name of update are uploaded to Server.
Optionally, terminal is after starting target Chinese input method, if it is determined that current input frame is contact person's input In the case where frame, it is determined that user needs to input connection and recognizes name, and therefore, user has input input in contact person's input frame and compiles After code, the Chinese Name phrase that search obtains can be shifted to an earlier date, so that search result more meets user and inputs expectation, reduce and use The selection operation at family, makes user quickly find Chinese Name.The optional technical solution may include steps of:
Step 304, after starting target Chinese input method, terminal is obtained terminal by input control (such as input edit box) Take input coding;
Step 305, terminal is based on input coding, and corresponding phrase is searched in local dictionary, wherein corresponding phrase is The candidate phrase of input coding;
Step 306, whether terminal detection input control is target input control (contact person's input frame, for example, in telephone directory The input frame of middle editing contact's name, addressee's name input frame when writing short message, etc.);
Step 307, if so, terminal by the Chinese Name phrase in the corresponding phrase of input coding in candidate phrase Display sequence shifts to an earlier date.
In the present embodiment, contacts list is based on by terminal and uploads data to server, to update mesh in server The cloud dictionary of Chinese character coding input method is marked, so that there is Chinese Name phrase in the cloud dictionary of target Chinese input method, it can Entire phrase is associated to correspond to the previous section code in input code by input Chinese Name phrase, facilitates Chinese surname The input process of name, improves the input efficiency of Chinese Name, thus when solving input Chinese personal name in the related technology Need the technical problem that word input causes name input efficiency lower one by one.
Optionally, in the present embodiment, above-mentioned terminal can include but is not limited to personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), radio hand-held equipment, plate electricity Brain (Tablet Computer), mobile phone etc..Above-mentioned network can include but is not limited to wireless network, wherein the wireless network It include: the network of bluetooth, WIFI and other realization wireless communications.Above-mentioned server can include but is not limited to it is following at least it One: PC machine and other equipment for being used to calculate service.Above-mentioned only a kind of example, the present embodiment do not do any restriction to this.
Based on the processing method of the provided dictionary of the embodiment of the present invention, the embodiment of the present invention, which further provides, realizes above-mentioned side The Installation practice of each step and method in method embodiment.
Referring to FIG. 4, it is a kind of function block of the processing unit of optional dictionary provided by the embodiment of the present invention Figure.As shown in figure 4, the device includes: acquiring unit 10, extraction unit 20, updating unit 30.Wherein, acquiring unit is for leading to Cross the contacts list that server obtains the upload of at least one terminal, wherein at least one terminal is defeated to be equipped with target Chinese Enter the terminal of method;Extraction unit is used to extract Chinese Name in the contact list by server, obtains at least one Chinese Name phrase;Updating unit is used to update the word of target Chinese input method according at least one Chinese Name phrase by server Library.
As a kind of optional embodiment, updating unit includes: deduplication module, for passing through server at least one Literary name phrase executes deduplication operation, obtains newly-increased Chinese Name phrase, wherein deduplication operation is for removing at least one Chinese Dictionary in name phrase in duplicate Chinese Name phrase and at least one Chinese Name phrase with target Chinese input method In the already present duplicate phrase of Chinese Name phrase;Adding module, for being added newly-increased Chinese Name phrase by server Enter the dictionary of target Chinese input method.
As a kind of optional embodiment, the device further include: marking unit, in server by newly-increased Chinese Name Phrase is added after the dictionary of target Chinese input method, is based on deduplication operation by server and marks each Chinese Name in dictionary The number of repetition of phrase, wherein number of repetition is used to determine the word frequency of each Chinese Name phrase.
The processing method of dictionary shown in Fig. 2 is able to carry out by each unit in this present embodiment, the present embodiment is not detailed The part of description can refer to the related description to Fig. 2 corresponding embodiment.
The processing unit of the dictionary of the embodiment of the present invention at least has the advantages that
It crosses server and obtains the contacts list of at least one terminal upload, and extract Chinese Name therein, generate extremely A few Chinese Name phrase, and according to the dictionary of the phrase of generation update target Chinese input method, so that target Chinese There is Chinese Name phrase in the dictionary of input method, the front face in input code can be corresponded to by inputting Chinese Name phrase Divide code to associate entire phrase, facilitates the input process of Chinese Name, improve the input efficiency of Chinese Name, to solve Having determined, word inputs the technical problem for causing name input efficiency lower to needs when inputting Chinese personal name in the related technology one by one
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Based on the provided contacts list processing method of the embodiment of the present invention, the embodiment of the present invention is further provided in realization State the Installation practice of each step and method in embodiment of the method.
Referring to FIG. 5, it is a kind of function of optional contacts list processing unit provided by the embodiment of the present invention Block diagram.As shown in figure 5, the device includes: start unit 40, acquiring unit 50, uploading unit 60.Wherein, start unit is used In pass through terminal start target Chinese input method;Acquiring unit is used to obtain the contacts list being locally stored by terminal;On Leaflet member is used to be based on contacts list by terminal, uploads data to server, wherein server is used to upload based on terminal Data update target Chinese input method cloud dictionary so that in the dictionary of cloud include at least one Chinese Name phrase.
One of as a kind of optional embodiment, uploading unit comprises the following modules:
First uploading module, for contacts list to be uploaded to server by terminal;
Second uploading module, for extracting the Chinese Name in contacts list, the Chinese surname that will be extracted by terminal Name is uploaded to server;
Third uploading module, for extracting the Chinese Name updated in contacts list by terminal, by the Chinese of update Name is uploaded to server.
As a kind of optional embodiment, the device further include: first obtains module, for starting target Chinese in terminal After input method, the more new content of cloud dictionary is obtained from server by terminal;Update module, for being based on more by terminal New content updates the local dictionary of target Chinese input method.
As a kind of optional embodiment, the device further include: second obtains module, for starting target Chinese in terminal After input method, input coding is obtained by input control by terminal;Searching module is compiled for being based on input by terminal Code, searches corresponding phrase in local dictionary, wherein corresponding phrase is the candidate phrase of input coding;Detection module is used In by terminal detect input control whether be target input control;Execution module is used for if so, being compiled input by terminal Display sequence of the Chinese Name phrase in candidate phrase in the corresponding phrase of code shifts to an earlier date.
Contacts list processing method shown in Fig. 3 is able to carry out by each unit in this present embodiment, the present embodiment is not The part of detailed description can refer to the related description to Fig. 3 corresponding embodiment.
The contacts list processing unit of the embodiment of the present invention at least has the advantages that
Contacts list is based on by terminal and uploads data to server, to update target Chinese input method in server Cloud dictionary can pass through input Chinese so that having Chinese Name phrase in the cloud dictionary of target Chinese input method Name phrase corresponds to the previous section code in input code and associates entire phrase, facilitates the input process of Chinese Name, The input efficiency of Chinese Name is improved, needs word input one by one when inputting Chinese personal name in the related technology to solve The technical problem for causing name input efficiency lower.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those skilled in the art is appreciated that implement the method for the above embodiments and can be Relevant hardware is instructed to complete by program, the program can store in computer-readable storage medium, meter Calculation machine is able to carry out method provided in an embodiment of the present invention by reading the program in storage medium.
Correspondingly, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, the readable storage medium of the embodiment of the present invention Matter includes computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes such as Lower step: server obtains the contacts list of at least one terminal upload, wherein at least one terminal is to be equipped in target The terminal of literary input method;Server extracts Chinese Name in the contact list, obtains at least one Chinese Name phrase;Service Device updates the dictionary of target Chinese input method according at least one Chinese Name phrase.
The embodiment of the invention also provides a kind of computer equipments, as shown in fig. 6, computer equipment provided in this embodiment Including memory 21, processor 22 and it is stored in the computer program that can be run in memory 21 and on processor 22, is located When managing the execution computer program of device 22, execute following steps: server obtains the contacts list of at least one terminal upload, In, at least one terminal is to be equipped with the terminal of target Chinese input method;Server extracts Chinese Name in the contact list, Obtain at least one Chinese Name phrase;Server updates the word of target Chinese input method according at least one Chinese Name phrase Library.
The embodiment of the invention also provides another readable storage medium storing program for executing, the readable storage medium storing program for executing of the embodiment of the present invention includes Computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes following steps: Terminal starts target Chinese input method;Terminal obtains the contacts list being locally stored;Terminal is based on contacts list, to service Device uploads data, wherein and the data that server is used to upload based on terminal update the cloud dictionary of target Chinese input method, so that It include at least one Chinese Name phrase in the dictionary of cloud.
The embodiment of the invention also provides another computer equipments, as shown in fig. 6, computer provided in this embodiment is set It is standby to include memory 21, processor 22 and be stored in the computer program that run in memory 21 and on processor 22, When processor 22 executes computer program, execute following steps: terminal starts target Chinese input method;Terminal acquisition is locally stored Contacts list;Terminal is based on contacts list, uploads data to server, wherein server is used to upload based on terminal Data update target Chinese input method cloud dictionary so that in the dictionary of cloud include at least one Chinese Name phrase.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of processing method of dictionary, which is characterized in that the described method includes:
Server obtains the contacts list of at least one terminal upload, wherein at least one described terminal is to be equipped with target The terminal of Chinese character coding input method;
The server extracts Chinese Name in the contacts list, obtains at least one Chinese Name phrase;
The server updates the dictionary of the target Chinese input method according at least one described Chinese Name phrase.
2. the method according to claim 1, wherein the server is according at least one described Chinese Name word Group updates the dictionary of the target Chinese input method, comprising:
The server executes deduplication operation at least one described Chinese Name phrase, obtains newly-increased Chinese Name phrase, In, the deduplication operation is for removing at least one described Chinese Name phrase duplicate Chinese Name phrase and described It is duplicate with already present Chinese Name phrase in the dictionary of the target Chinese input method at least one Chinese Name phrase Phrase;
The dictionary of the target Chinese input method is added in the newly-increased Chinese Name phrase by the server.
3. according to the method described in claim 2, it is characterized in that, the newly-increased Chinese Name phrase is added the server After the dictionary of the target Chinese input method, the method also includes:
The server marks the number of repetition of each Chinese Name phrase in the dictionary based on the deduplication operation, wherein The number of repetition is used to determine the word frequency of each Chinese Name phrase.
4. a kind of contacts list processing method, which is characterized in that the described method includes:
Terminal starts target Chinese input method;
The terminal obtains the contacts list being locally stored;
The terminal is based on the contacts list, uploads data to server, wherein the server is used to be based on the end The data that end uploads update the cloud dictionary of the target Chinese input method, so as to include at least one in the cloud dictionary Literary name phrase.
5. according to the method described in claim 4, it is characterized in that, the terminal is based on the contacts list, to server Upload one of data, including following situations:
The contacts list is uploaded to the server by the terminal;
The terminal extracts the Chinese Name in the contacts list, and the Chinese Name extracted is uploaded to the service Device;
The terminal extracts the Chinese Name updated in the contacts list, the Chinese Name of the update is uploaded to described Server.
6. according to the method described in claim 4, it is characterized in that, the terminal starting target Chinese input method after, it is described Method further include:
The terminal obtains the more new content of cloud dictionary from the server;
The terminal is based on the more new content, updates the local dictionary of the target Chinese input method.
7. according to the method described in claim 4, it is characterized in that, the terminal starting target Chinese input method after, it is described Method further include:
The terminal obtains input coding by input control;
The terminal is based on the input coding, searches corresponding phrase in the local dictionary, wherein the corresponding word Group is the candidate phrase of the input coding;
The terminal detects whether the input control is target input control;
If so, the terminal is by the Chinese Name phrase in the corresponding phrase of the input coding in the candidate phrase Display sequence shifts to an earlier date.
8. a kind of processing unit of dictionary, which is characterized in that described device includes:
Acquiring unit, for by server obtain at least one terminal upload contacts list, wherein it is described at least one Terminal is to be equipped with the terminal of target Chinese input method;
Extraction unit obtains at least one for extracting Chinese Name in the contacts list by the server Literary name phrase;
Updating unit, it is defeated for updating the target Chinese according at least one described Chinese Name phrase by the server Enter the dictionary of method.
9. a kind of contacts list processing unit, which is characterized in that described device includes:
Start unit, for starting target Chinese input method by terminal;
Acquiring unit, for obtaining the contacts list being locally stored by the terminal;
Uploading unit uploads data to server, wherein the clothes for being based on the contacts list by the terminal Business device is used to update the cloud dictionary of the target Chinese input method based on the data that the terminal uploads, so that the cloud word It include at least one Chinese Name phrase in library.
10. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to 7 described in any item methods.
CN201811639462.2A 2018-12-29 2018-12-29 The treating method and apparatus and contacts list treating method and apparatus of dictionary Pending CN109814732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811639462.2A CN109814732A (en) 2018-12-29 2018-12-29 The treating method and apparatus and contacts list treating method and apparatus of dictionary

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811639462.2A CN109814732A (en) 2018-12-29 2018-12-29 The treating method and apparatus and contacts list treating method and apparatus of dictionary

Publications (1)

Publication Number Publication Date
CN109814732A true CN109814732A (en) 2019-05-28

Family

ID=66603083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811639462.2A Pending CN109814732A (en) 2018-12-29 2018-12-29 The treating method and apparatus and contacts list treating method and apparatus of dictionary

Country Status (1)

Country Link
CN (1) CN109814732A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923401A (en) * 2010-09-21 2010-12-22 广东欧珀移动通信有限公司 Electronic equipment input method
CN102193920A (en) * 2010-03-04 2011-09-21 腾讯科技(深圳)有限公司 Name word stock generating method and device as well as text input system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193920A (en) * 2010-03-04 2011-09-21 腾讯科技(深圳)有限公司 Name word stock generating method and device as well as text input system
CN101923401A (en) * 2010-09-21 2010-12-22 广东欧珀移动通信有限公司 Electronic equipment input method

Similar Documents

Publication Publication Date Title
CN100483416C (en) Character input method, input method system and method for updating word stock
US10846475B2 (en) Emoji input method and device thereof
CN106663109A (en) Providing automatic actions for mobile onscreen content
EP2765473A1 (en) Input processing method and apparatus
CN101000623A (en) Method for image identification search by mobile phone photographing and device using the method
CN108038165B (en) Information searching method, searching device, terminal equipment and server equipment
CN106060220B (en) A kind of contact information creation method and mobile terminal
CN107832035B (en) Voice input method of intelligent terminal
CN108268438B (en) Page content extraction method and device and client
JP2009116469A (en) Information extraction program and information extraction device
JP2007334534A (en) Apparatus and method for inputting character string, and program
CN102968493A (en) Method, client and system for executing voice search by input method tool
JP2010140475A (en) Method, apparatus and computer program for providing input order independent character input mechanism
CN104076945B (en) Apparatus and method for showing input keyboard in the terminal
CN102999639B (en) A kind of lookup method based on speech recognition character index and system
KR101858544B1 (en) Information processing method and apparatus
CN101373403A (en) Method for automatically generating and adding icon in address book by name card recognition technique
CN109814732A (en) The treating method and apparatus and contacts list treating method and apparatus of dictionary
JP2014102280A (en) Function execution command system, function execution command method, and function execution command program
CN104715010A (en) Method, terminal and system for calling out associated data through characters
CN110109876A (en) A kind of file search method and its equipment, storage medium, terminal
JP5931015B2 (en) Information processing apparatus, system, server apparatus, terminal, and information processing method
CN112579944A (en) Page jump processing method and device and electronic equipment
CN109947947B (en) Text classification method and device and computer readable storage medium
WO2020124444A1 (en) Information processing method and related apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination