CN103019405A - Method and device for inputting names - Google Patents

Method and device for inputting names Download PDF

Info

Publication number
CN103019405A
CN103019405A CN2012104520379A CN201210452037A CN103019405A CN 103019405 A CN103019405 A CN 103019405A CN 2012104520379 A CN2012104520379 A CN 2012104520379A CN 201210452037 A CN201210452037 A CN 201210452037A CN 103019405 A CN103019405 A CN 103019405A
Authority
CN
China
Prior art keywords
name
character string
sign
additional character
name sign
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104520379A
Other languages
Chinese (zh)
Other versions
CN103019405B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210452037.9A priority Critical patent/CN103019405B/en
Publication of CN103019405A publication Critical patent/CN103019405A/en
Application granted granted Critical
Publication of CN103019405B publication Critical patent/CN103019405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is suitable for the technical field of input methods, and provides an inputting associational method and a device. The method comprises: acquiring a name identification from an address book; judging whether the name identification contains an additional character string or not; when the name identification contains the additional character string, deleting the additional character string, and extracting a name; and when a user inputs the first character of the name, displaying the name as an associational word, and thus enabling the user to complete the name input through selecting the associational word. According to the method and the device, when the name identifications in the address book are introduced into a preset word database to be used as the associational words, the additional character strings except actual names in the name identifications are deleted, accordingly, the accuracy of the name associational words is ensured, the actual input purpose of the user is reflected, and the input efficiency of the input method is increased.

Description

A kind of name input method and device
Technical field
The invention belongs to input method technique field, relate in particular to a kind of input association method and device.
Background technology
Existing input method possesses the name association function usually, import the dictionary of input method as self-word creation by the name in the associated person information that will be stored in the terminal device such as mobile phone, when the user inputs the first character of name, namely this name can appear, the user's that fitted personalization input demand in the associational word that inputting interface shows.
Yet, for specific crowds such as business people, usually when preserving associated person information, custom was added the prefix informations such as Business Name before contact person's name, for example, Zhang San's called after " A Zhang San " in associated person information with A company, in this case, if the user inputs " opening ", associational word " Zhang San " can't appear, and when user's input " A ", associational word " A Zhang San " but can appear, affect on the contrary the appearance of the correct associational word of " A ", can't truly reflect thus user's input intention, reduced the input efficiency of input method.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of name input method, is intended to solve existing input method low problem of input efficiency when the input name.
The embodiment of the invention is achieved in that a kind of name input method, comprising:
Obtain the name sign in the address list;
Judge in the described name sign and whether comprise the additional character string;
In described name sign, comprise described additional character string, delete described additional character string, extract name;
When the user inputs the first character of described name, described name is shown as associational word, so that the described associational word of user by selecting is finished the input of described name.
Another purpose of the embodiment of the invention is to provide a kind of name input media, comprising:
Acquiring unit is for the name sign of obtaining address list;
Judging unit is used for judging whether described name sign comprises the additional character string;
The first extraction unit is used for comprising described additional character string when described name sign, deletes described additional character string, extracts name;
Input block is used for described name being shown as associational word, so that the described associational word of user by selecting is finished the input of described name when the user inputs the first character of described name.
In embodiments of the present invention, when the name in default dictionary address book importing identifies as associational word, by removing the additional character beyond the actual name in the name sign, thereby guaranteed the accuracy of name associational word, the true input that has reflected the user is intended to, and has improved the input efficiency of input method.
Description of drawings
Fig. 1 is the realization flow figure of the name input method that provides of the embodiment of the invention;
Fig. 2 is the specific implementation process flow diagram of the name input method step S102 that provides of the embodiment of the invention;
Fig. 3 is the realization flow figure of the name input method that provides of another embodiment of the present invention;
Fig. 4 is the structured flowchart of the name input media that provides of the embodiment of the invention;
Fig. 5 is the structured flowchart of the name input media that provides of another embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, when the name in default dictionary address book importing identifies as associational word, by removing the additional character beyond the actual name in the name sign, thereby guaranteed the accuracy of name associational word, the true input that has reflected the user is intended to, and has improved the input efficiency of input method.
Fig. 1 shows the realization flow of the name input method that the embodiment of the invention provides, and details are as follows:
In step S101, obtain the name sign in the address list.
In the present embodiment, address list can be for being stored in the associated person information in the portable terminals such as mobile phone, panel computer, also can be for being stored in the associated person information of the fixed terminals such as computing machine, mail contact's information for example, and each contact person's associated person information has comprised this contact person's the related content such as name sign, contact method, contact address in the address list.
In step S102, judge in this name sign whether comprise the additional character string.
In the contact store operation of reality, for the name sign, the user may appear according to the needs of oneself, before and after contact person's actual persons name character, add the situation of additional character string.For example, for contact person " Zhang San ", in order conveniently to check this contact person's work unit, the user can be stored as " Zhang San of first company " with its name sign in address list, perhaps in order conveniently to check this contact person's identity, the user can be stored as " teacher Zhang San " with its name sign in address list, etc., therefore, the name sign that gets access to from address list may comprise this contact person's name and the additional character string of this name.
In the present embodiment, the preset characters string can be set, judge in this name sign whether comprised the additional character string by whether having comprised the preset characters string in the detection name sign, also can judge in this name sign whether comprised the additional character string by detecting the character string that whether has comprised user's appointment in the name sign, the specific implementation principle will describe in detail in subsequent embodiment, not repeat them here.
In step S103, in this name sign, comprise the additional character string, delete this additional character string, extract name.
In the present embodiment, when when judge this name sign by step S102 in, having comprised the additional character string, then delete the additional character string in this name sign, thereby extract this contact person's name.
In step S104, when the user inputs the first character of this name, this name is shown as associational word, so that this associational word of user by selecting is finished the input of this name.
In the present embodiment, with the name that extracts among the step S103 associational word as the first character of this name, when the user inputs the first character of this name, this name is presented in the alternate item, associational word as this first character, at this moment, the user namely can be in interface of input method selects this associational word by the triggering mode such as clicking, selected, thereby finishes the input of this name.
For example, from name sign " teacher Zhang San ", extract name " Zhang San ", when user's input " opening ", namely can in alternate item, show " Zhang San ", rather than " teacher Zhang San ", thereby the name input intention that has reflected exactly the user, the user need not selecting afterwards again deletion " teacher " of associational word " teacher Zhang San ", has improved the input efficiency of input method.
In the present embodiment, whether delete this additional character string in the time of also can initiatively being selected to import dictionary by the user, perhaps when importing dictionary, keep two kinds of patterns, namely in described dictionary, both stored address list Central Plains name identification information, also stored the name information of having deleted this additional character string.For example: for the identification of contacts in the address list " Zhang San of first company ", both stored the identification information of " Zhang San of first company ", also stored by the deletion additional character string " first company " only kept the name information of " Zhang San ".When user's input " first ", namely can show the associational word prompting user input of " Zhang San of company ", when user's input " opening ", just can show the associational word prompting user input of " three ".
Because the user is when storing contact information, additional character string in the name sign is to be added according to the custom address of oneself by the user, and the position of adding can be as the name prefix before name, also can be as the name suffix after name, have certain uncertainty, therefore, as one embodiment of the present of invention, when step S102 judges, can judge the additional character string that whether comprises user's appointment in this name sign.Particularly, before execution in step S101, can carry out the setting of additional character string by mode indicating users such as promptings, detect the additional character string of user's appointment, thereby determine the additional character string that needs deletion.For example, comprise the client of a plurality of first company among certain user's the contact person, then this user can be by specifying " first company " as the additional character string, thereby guaranteed the accuracy that name extracts.
Therefore the present embodiment, all is applicable to the additional character string as the situation of name prefix and name suffix owing to being that the user specifies the additional character string.
As another embodiment of the present invention, when step S102 judges, can judge the additional character string that whether comprises systemic presupposition in this name sign.Particularly, in system, can preset usually and occur as name prefix or name suffix, it is not the character string that occurs as name itself, for example, system database be collected and be pre-deposited to the position such as " teacher ", " section chief " address can to this part character string by the related personnel, need not thus the user and specify, namely can automatically filter name prefix or name suffix commonly used, thereby improve the efficient that name extracts.
Similarly, the present embodiment also all is applicable to the additional character string as the situation of name prefix and name suffix.
Fig. 2 shows the specific implementation flow process of the name input method step S102 that another embodiment of the present invention provides, and details are as follows:
In step S201, judge in the name sign whether comprise preset characters, and judge whether the initial character of name sign is this preset characters.
Because concerning most of users, it is when preserving contact person's name sign, can carry out name according to the form of " surname+name " preserves, therefore, with One Hundred Family Names, comprise " Zhao ", " money ", " grandson ", " Lee " ... as preset characters, judge the surname that whether comprises the contact person in the name sign, and whether be positioned at the initial character of name sign as the character of surname, can judge in this name sign whether include the name prefix.
In step S202, in this name sign, comprise preset characters, and when the initial character of this name sign is not this preset characters, judge in this name sign to comprise the additional character string, and this additional character string is for being positioned at this preset characters character string before in this name sign.
For example, to name sign " Zhang San of first company ", since systemic presupposition " opening " of one of One Hundred Family Names as preset characters, the initial character that then comprises preset characters and this name sign in this name sign is not this preset characters, therefore, can judge in " Zhang San of first company " and comprise the additional character string, and this additional character string is character in " Zhang San of first company " and " opens " before character string " first company ".
In step S203, when the initial character that does not comprise preset characters or this name sign in this name sign is this preset characters, then judge in this name sign not comprise the additional character string.
Obviously, than other implementations, the present embodiment is applicable to the additional character string as the situation of name prefix.
Fig. 3 shows the realization flow of the name input method that another embodiment of the present invention provides, and with reference to Fig. 3, than the described embodiment of Fig. 1 of the present invention, after step S103, before the step S104, also comprises:
Step S301, the first character of extraction name.
Step S302 is associated as this name the associational word of first character in default dictionary.
By the process of setting up of above-mentioned incidence relation, a name is stored into default dictionary as associational word after, input the first character of this name as the user, this name namely can appear in the alternate item as associational word, makes things convenient for user selection.
In embodiments of the present invention, when the name in default dictionary address book importing identifies as associational word, by removing the additional character beyond the actual name in the name sign, thereby guaranteed the accuracy of name associational word, the true input that has reflected the user is intended to, and has improved the input efficiency of input method.
Fig. 4 shows the structured flowchart of the name input media that the embodiment of the invention provides, and this device can be used for the described name input method of operation Fig. 1 to Fig. 3 embodiment of the present invention, for convenience of explanation, only show the part relevant with the present embodiment.
With reference to Fig. 4, this device comprises:
Acquiring unit 41 obtains the name sign in the address list.
Judging unit 42 judges in this name sign whether comprise the additional character string.
The first extraction unit 43 comprises the additional character string in this name sign, delete this additional character string, extracts name.
Input block 44 when the user inputs the first character of this name, is shown as associational word with this name, so that this associational word of user by selecting is finished the input of this name.
Alternatively, judging unit 42 is concrete for judging whether described name sign comprises the additional character string of user's appointment.
Alternatively, judging unit 42 is concrete for judging whether described name sign comprises the additional character string of systemic presupposition.
Alternatively, judging unit 42 is used for specifically judging whether described name sign comprises preset characters, and judges whether the initial character of described name sign is described preset characters;
When the initial character that comprises described preset characters and described name sign in the described name sign is not described preset characters, judge in the described name sign to comprise described additional character string, and described additional character string is to be positioned at described preset characters character string before in the described name sign; Otherwise judge in the described name sign and do not comprise described additional character string.
Alternatively, as shown in Figure 5, this device also comprises:
The second extraction unit 45 extracts the first character of this name.
Associative cell 46 is associated as this name the associational word of this first character in default dictionary.
In embodiments of the present invention, when the name in default dictionary address book importing identifies as associational word, by removing the additional character beyond the actual name in the name sign, thereby guaranteed the accuracy of name associational word, the true input that has reflected the user is intended to, and has improved the input efficiency of input method.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a name input method is characterized in that, comprising:
Obtain the name sign in the address list;
Judge in the described name sign and whether comprise the additional character string;
In described name sign, comprise described additional character string, delete described additional character string, extract name;
When the user inputs the first character of described name, described name is shown as associational word, so that the described associational word of user by selecting is finished the input of described name.
2. the method for claim 1 is characterized in that, describedly judges that whether comprising the additional character string in the described name sign is specially:
Judge the additional character string that whether comprises user's appointment in the described name sign.
3. the method for claim 1 is characterized in that, describedly judges that whether comprising the additional character string in the described name sign is specially:
Judge the additional character string that whether comprises systemic presupposition in the described name sign.
4. the method for claim 1 is characterized in that, describedly judges that whether comprising the additional character string in the described name sign comprises:
Judge in the described name sign whether comprise preset characters, and judge whether the initial character of described name sign is described preset characters;
When the initial character that comprises described preset characters and described name sign in the described name sign is not described preset characters, judge in the described name sign to comprise described additional character string, and described additional character string is to be positioned at described preset characters character string before in the described name sign; Otherwise judge in the described name sign and do not comprise described additional character string.
5. such as each described method of claim 1-4, it is characterized in that, after the described name in the described name sign of described extraction, described user inputs before the first character of described name, also comprises:
Extract the described first character of described name;
In default dictionary, described name is associated as the associational word of described first character.
6. a name input media is characterized in that, comprising:
Acquiring unit is for the name sign of obtaining address list;
Judging unit is used for judging whether described name sign comprises the additional character string;
The first extraction unit is used for comprising described additional character string when described name sign, deletes described additional character string, extracts name;
Input block is used for described name being shown as associational word, so that the described associational word of user by selecting is finished the input of described name when the user inputs the first character of described name.
7. device as claimed in claim 6 is characterized in that, described judging unit is used for specifically judging whether described name sign comprises the additional character string of user's appointment.
8. device as claimed in claim 6 is characterized in that, described judging unit is used for specifically judging whether described name sign comprises the additional character string of systemic presupposition.
9. device as claimed in claim 6 is characterized in that, described judging unit is used for specifically judging whether described name sign comprises preset characters, and judges whether the initial character of described name sign is described preset characters;
When the initial character that comprises described preset characters and described name sign in the described name sign is not described preset characters, judge in the described name sign to comprise described additional character string, and described additional character string is to be positioned at described preset characters character string before in the described name sign; Otherwise judge in the described name sign and do not comprise described additional character string.
10. such as each described device of claim 6-9, it is characterized in that, also comprise:
The second extraction unit is for the described first character that extracts described name;
Associative cell is for the associational word that described name is associated as described first character at default dictionary.
CN201210452037.9A 2012-11-12 2012-11-12 A kind of name input method and device Active CN103019405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210452037.9A CN103019405B (en) 2012-11-12 2012-11-12 A kind of name input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210452037.9A CN103019405B (en) 2012-11-12 2012-11-12 A kind of name input method and device

Publications (2)

Publication Number Publication Date
CN103019405A true CN103019405A (en) 2013-04-03
CN103019405B CN103019405B (en) 2016-06-08

Family

ID=47968086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210452037.9A Active CN103019405B (en) 2012-11-12 2012-11-12 A kind of name input method and device

Country Status (1)

Country Link
CN (1) CN103019405B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442140A (en) * 2013-08-26 2013-12-11 东莞宇龙通信科技有限公司 Method and system for cooperation of input method and address list, and mobile terminal
CN105022547A (en) * 2014-04-24 2015-11-04 刘健萍 Text input method and apparatus
CN109002184A (en) * 2017-06-07 2018-12-14 北京搜狗科技发展有限公司 A kind of association method and device of input method candidate word

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932809A (en) * 2005-09-14 2007-03-21 腾讯科技(深圳)有限公司 Method and apparatus for matching associated person information
CN101799736A (en) * 2009-04-30 2010-08-11 广东国笔科技股份有限公司 Function real-time associative interactive system and method
CN102193646A (en) * 2010-03-18 2011-09-21 腾讯科技(深圳)有限公司 Method and device for generating personal name candidate words
CN102270048A (en) * 2010-06-03 2011-12-07 北京搜狗科技发展有限公司 Noun input method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932809A (en) * 2005-09-14 2007-03-21 腾讯科技(深圳)有限公司 Method and apparatus for matching associated person information
CN101799736A (en) * 2009-04-30 2010-08-11 广东国笔科技股份有限公司 Function real-time associative interactive system and method
CN102193646A (en) * 2010-03-18 2011-09-21 腾讯科技(深圳)有限公司 Method and device for generating personal name candidate words
CN102270048A (en) * 2010-06-03 2011-12-07 北京搜狗科技发展有限公司 Noun input method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442140A (en) * 2013-08-26 2013-12-11 东莞宇龙通信科技有限公司 Method and system for cooperation of input method and address list, and mobile terminal
CN105022547A (en) * 2014-04-24 2015-11-04 刘健萍 Text input method and apparatus
CN109002184A (en) * 2017-06-07 2018-12-14 北京搜狗科技发展有限公司 A kind of association method and device of input method candidate word

Also Published As

Publication number Publication date
CN103019405B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN104320756B (en) A kind of variation and device of account information
CN103546877B (en) A kind of method, system and mobile terminal obtaining simultaneously input content code
CN103037072A (en) Implementation method of extracting short message contents to apply to scene
CN101931701A (en) Method, system and mobile terminal for prompting contact information in communication process
WO2017032033A1 (en) Image zooming method and user terminal
CN106991179B (en) Data deleting method and device and mobile terminal
CN106713579B (en) Telephone number identification method and device
WO2017097075A1 (en) Fuzzy keyword matching method and apparatus
CN101697107A (en) Method and device for inputting characters in touch mobile communication terminal
CN107168599B (en) Instant messaging method and device
CN105282344B (en) An information management method, an information display method and a terminal
US11966942B2 (en) Processing messages for attribute-value pair extraction
CN104484407A (en) Method and system for recognizing fraud information
US9087093B2 (en) Method for implementing electronic bookmarks and device thereof
CN110704524A (en) House source recording method, device and equipment and computer readable storage medium
CN104284024A (en) Method for hiding contact person information on intelligent device
CN103019405A (en) Method and device for inputting names
CN105022547A (en) Text input method and apparatus
CN103179248A (en) Method and device for displaying contact persons and mobile equipment
CN106686240B (en) Method for obtaining event information on mobile terminal and mobile terminal
CN103369119A (en) Method and terminal for rapidly inputting user information
US20170171128A1 (en) Method and electronic device for email processing
CN103249016A (en) Method and device for displaying short message and mobile terminal
CN111034152B (en) Information processing method, device, mobile terminal and computer readable storage medium
JP5931015B2 (en) Information processing apparatus, system, server apparatus, terminal, and information processing method

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