CN104902055B - Contact person's creation method and device - Google Patents

Contact person's creation method and device Download PDF

Info

Publication number
CN104902055B
CN104902055B CN201510206118.4A CN201510206118A CN104902055B CN 104902055 B CN104902055 B CN 104902055B CN 201510206118 A CN201510206118 A CN 201510206118A CN 104902055 B CN104902055 B CN 104902055B
Authority
CN
China
Prior art keywords
contact person
short message
name information
address list
name
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
CN201510206118.4A
Other languages
Chinese (zh)
Other versions
CN104902055A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510206118.4A priority Critical patent/CN104902055B/en
Publication of CN104902055A publication Critical patent/CN104902055A/en
Application granted granted Critical
Publication of CN104902055B publication Critical patent/CN104902055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The disclosure proposes a kind of contact person's creation method, which comprises obtains the first short message that contact person replys;The name information of the contact person is extracted from first short message;Corresponding contact person is created in address list according to the incoming number of the name information of the contact person extracted and the contact person.The disclosure can simplify the operating process that contact person is created in address list, promote user experience.

Description

Contact person's creation method and device
Technical field
This disclosure relates to communication field more particularly to contact person's creation method and device.
Background technique
User when using mobile phone, created in address list contact person and to the information of the contact person in address list into Edlin is essential operation.However, contact person is created in address list at present and to the contact person's in address list Information is edited, and is completed by user's manual operation, very inconvenient.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of contact person's creation method and device.
According to the first aspect of the embodiments of the present disclosure, a kind of contact person's creation method is provided, which comprises
Obtain the first short message that contact person replys;
The name information of the contact person is extracted from first short message;
It is new in address list according to the name information of the contact person extracted and the incoming number of the contact person Build corresponding contact person.
Optionally, before first short message for obtaining contact person's reply, the method also includes:
When receiving the call from the contact person, judge whether the incoming number of the contact person has been locally stored;
When the incoming number of the contact person is not when being locally stored, to the default prompt information of contact person transmission carrying Second short message;
It receives the first short message that the contact person replys after receiving second short message, and described first short is disappeared Breath is in local preservation.
Optionally, the name information that the contact person is extracted from the first short message got includes:
Identify the surname information in first short message;
Position based on the surname information identified identifies the name information in first short message;
Extract the name information in first short message identified.
Optionally, the name information that the contact person is extracted from the first short message got includes:
Judge whether carry preset character or character combination in first short message;
When carrying preset character or character combination in first short message, it is based on the preset character or character Combined position identifies the name information in first short message;
Extract the name information in first short message identified.
Optionally, the name information of the contact person and the incoming number of the contact person that the basis is extracted exist Before creating corresponding contact person in address list, further includes:
The first prompt options are exported by default boundary's user oriented;Wherein, first prompt options are described for prompting Whether user creates corresponding contact person in address list;
When the user creates corresponding contact person in address list by operating the first prompt options selection, root It is created in address list according to the name information of the contact person extracted and the incoming number of the contact person corresponding It is people.
Optionally, the name information of the contact person and the incoming number of the contact person that the basis is extracted exist Corresponding contact person is created in address list includes:
Judge in the address list with the presence or absence of contact person of the same name corresponding with the name information;
When contact person of the same name corresponding with the name information is not present in the address list, according to extracting The name information of contact person and the incoming number of the contact person create corresponding contact person in address list;
When there is contact person of the same name corresponding with the name information in the address list, by presetting boundary's user oriented Export the second prompt options;Wherein, whether second prompt options are for prompting the user by the incoming call of the contact person Number is directly appended to the contact information interface of the contact person of the same name;And for prompting the user whether to the surname Name information rename and creates corresponding contact person in the address list based on the name information after renaming;
When the incoming number of the contact person is added to institute by operating the second prompt options selection by the user When stating the contact information interface of contact person of the same name, the incoming number of the contact person is added to the connection of the contact person of the same name It is in people's information interface;
When the user renames and is based on to the name information by operating the second prompt options selection When name information after renaming creates corresponding contact person in the address list, based on the common friend with the contact person Information renames the name information, and according to the name information of the contact person after renaming and the connection The incoming number of people creates corresponding contact person in address list.
Optionally, the method also includes:
Name information in first short message identified is marked;
The name information for the contact person that the basis is extracted and the incoming number of the contact person are in address list In create corresponding contact person and include:
Touch event of the monitoring users for the name information marked in first short message;
When listening to touch event of the user for the name information marked in first short message, according to The name information of the contact person extracted and the incoming number of the contact person create corresponding connection in address list People.
According to the second aspect of an embodiment of the present disclosure, a kind of contact person's creating device is provided, described device includes:
Module is obtained, for obtaining the first short message of contact person's reply;
Extraction module, for extracting the name information of the contact person from first short message;
Newly-built module, for according to the name information of the contact person extracted and the incoming number of the contact person Corresponding contact person is created in address list.
Optionally, described device further include:
Judgment module, for it is described acquisition module obtain contact person reply the first short message before, receiving When stating the incoming call of contact person, judge whether the incoming number of the contact person has been locally stored;
Sending module sends to the contact person and carries for the incoming number in the contact person not when being locally stored Second short message of default prompt information;
Receiving module, the first short message replied after receiving second short message for receiving the contact person, and By first short message in local preservation.
Optionally, the extraction module includes:
First identifies submodule, for identification the surname information in first short message;
Second identification submodule, identifies in first short message for the position based on the surname information identified Name information;
First extracting sub-module, for extracting the surname in first short message that the second identification submodule identifies Name information.
Optionally, the extraction module includes:
Judging submodule, for judging whether carry preset character or character combination in first short message;
Third identification submodule is based on when for carrying preset character or character combination in first short message The position of the preset character or character combination identifies the name information in first short message;
Second extracting sub-module, for extracting the surname in first short message that the third identification submodule identifies Name information.
Optionally, described device further include:
Output module, in the newly-built module according to the name information of the contact person extracted and described It is to be selected before the incoming number of people creates corresponding contact person in address list by default the first prompt of boundary's user oriented output ?;Wherein, first prompt options are for prompting whether the user creates corresponding contact person in address list;
When the user creates corresponding contact person in address list by operating the first prompt options selection, by The newly-built module is according to the name information of the contact person extracted and the incoming number of the contact person in address list In create corresponding contact person.
Optionally, the newly-built module includes:
Judging submodule of the same name contacts in the address list with the presence or absence of corresponding with the name information for judging People;
First newly-built submodule, for contact person of the same name corresponding with the name information to be not present in the address list When, it is created and is corresponded in address list according to the name information of the contact person extracted and the incoming number of the contact person Contact person;
Output sub-module leads to when for there is contact person of the same name corresponding with the name information in the address list It crosses default boundary's user oriented and exports the second prompt options;Wherein, whether second prompt options are used to prompt the user that will The incoming number of the contact person is directly appended to the contact information interface of the contact person of the same name;And it is described for prompting Whether user renames the name information and based on the name information after renaming newly-built pair in the address list The contact person answered;
Add submodule, for the user by operate second prompt options selections by the contact person come When electric number is added to the contact information interface of the contact person of the same name, the incoming number of the contact person is added to described In the contact information interface of contact person of the same name;
Second newly-built submodule, for being believed by operating the second prompt options selection the name in the user When breath rename and create corresponding contact person in the address list based on the name information after renaming, it is based on and institute The common friend information for stating contact person renames the name information, and according to the surname of the contact person after renaming The incoming number of name information and the contact person create corresponding contact person in address list.
Optionally, the extraction module further include:
Submodule is marked, for the name information in first short message identified to be marked;
The newly-built module includes:
Submodule is monitored, for monitoring users for the touch of the name information marked in first short message Event;
Third creates submodule, for listening to user for name letter marked in first short message When the touch event of breath, communicated according to the incoming number of the name information of the contact person extracted and the contact person Corresponding contact person is created in record.
According to the third aspect of an embodiment of the present disclosure, a kind of contact person's creating device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the first short message that contact person replys;
The name information of the contact person is extracted from first short message;
It is new in address list according to the name information of the contact person extracted and the incoming number of the contact person Build corresponding contact person.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the above embodiments of the disclosure, the first short message replied by obtaining contact person, from first short message The middle name information for extracting the contact person;And according to the name information of the contact person extracted and the contact person Incoming number creates corresponding contact person in address list, so that user during using mobile phone, can return from contact person The incoming number of the name information and the contact person that extract in multiple short message creates corresponding connection automatically in address list People simplifies the operating process that contact person is created in address list, and the user experience is improved.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow diagram of contact person's creation method shown according to an exemplary embodiment;
Fig. 2 is the flow diagram of another contact person's creation method shown according to an exemplary embodiment;
Fig. 3 is a kind of interaction schematic diagram that contact person is created in address list shown according to an exemplary embodiment;
Fig. 4 is another interaction schematic diagram that contact person is created in address list shown according to an exemplary embodiment;
Fig. 5 is a kind of schematic block diagram of contact person's creating device shown according to an exemplary embodiment;
Fig. 6 is the schematic block diagram of another contact person's creating device shown according to an exemplary embodiment;
Fig. 7 is the schematic block diagram of another contact person's creating device shown according to an exemplary embodiment;
Fig. 8 is the schematic block diagram of another contact person's creating device shown according to an exemplary embodiment;
Fig. 9 is the schematic block diagram of another contact person's creating device shown according to an exemplary embodiment;
Figure 10 is the schematic block diagram of another contact person's creating device shown according to an exemplary embodiment;
Figure 11 is the schematic block diagram of another contact person's creating device shown according to an exemplary embodiment;
Figure 12 is the schematic block diagram of another contact person's creating device shown according to an exemplary embodiment;
Figure 13 is an a kind of structural representation for contact person's creating device shown according to an exemplary embodiment Figure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
The disclosure proposes a kind of contact person's creation method, the first short message replied by obtaining contact person, from described the The name information of the contact person is extracted in one short message;And according to the name information of the contact person extracted and described The incoming number of contact person creates corresponding contact person in address list, so that user is during using mobile phone, Ke Yicong The incoming number of the name information and the contact person that extract in the short message that contact person replys is newly-built pair automatically in address list The contact person answered simplifies the operating process that contact person is created in address list, and the user experience is improved.
As shown in Figure 1, Fig. 1 is a kind of contact person's creation method shown according to an exemplary embodiment, it is applied to terminal In, wherein the terminal can be smart phone, the described method comprises the following steps:
In a step 101, the first short message that contact person replys is obtained;
In a step 102, the name information of the contact person is extracted from first short message;
In step 103, according to the name information of the contact person extracted and the incoming number of the contact person Corresponding contact person is created in address list.
In the present embodiment, user is during use mobile phone, in the incoming call for receiving contact person, can incite somebody to action first The incoming number of the contact person matches in cell phone address book, to judge whether the incoming number has carried out in communication It saves;If the incoming number of the contact person is not when saving locally, incoming call if is Stranger Calls, can trigger mobile phone at this time Second short message for carrying default prompting message is sent to the contact person.Wherein, the default prompting message can be pre- If name inquire message;For example, realize when, second short message can be one carrying " who are you? " inquiry it is short Message.
When the contact person is after receiving second short message, can usually be returned for second short message Multiple, mobile phone can receive the contact person after the first short message replied after receiving second short message at this time, will Then the first short message received extracts the name information of the contact person in local preservation from first short message.Example Such as, when realizing, the first short message received can be saved in short message inbox by mobile phone, and mobile phone can be directly from short message The first local short message has been received in inbox acquisition, and the surname of the contact person is then extracted from first short message Name information.
In the present embodiment, mobile phone is when extracting the name information of the contact person from first short message, can be with There is different implementations.
It, can be by described in identification in order to improve the accuracy for extracting name information in a kind of implementation shown Surname information in first short message, then the position according to the surname information identified in first short message is come into one Step identifies and extracts the name information of the contact person.
When realizing, mobile phone can traverse the character in first short message after getting first short message, Character in first short message is matched with preset surname database respectively, when any in first short message When surname in surname database described in character or multiple character match, at this time according to the positional relationship of surname and name can from The dynamic name information for identifying the contact person, then can extract the name information identified.
For example, for Chinese Name, the surname number described in any character in first short message or multiple character match When according to surname in library, can automatically by any character in first short message or the content recognition after multiple characters be with The corresponding name of the surname, then can name information to the surname and corresponding name matched as the contact person It extracts.
It, can be by judging in order to improve the accuracy for extracting name information in another implementation shown State and whether carry preset character or character combination in the first short message, when carried in first short message preset character or When character combination, can the position based on the preset character or character combination it is short further to identify and extract described first Name information in message.
When realizing, the preset character perhaps character combination can be expressed based on common language or it is semantic into Row setting.For example, as previously mentioned, second short message can be the inquiry short message of such as " who are you ", when user is receiving To after second short message, it will usually which reply one " I is xxx " or " my xxx " for the inquiry short message first short disappears Breath, in this case, the preset character or character combination can be " we " or " I is ", when mobile phone is judging Out in first short message carry " I " perhaps the characters such as " I is " when can be by character " I " or character combination " I is " Subsequent content recognition is the name information of the contact person.Certainly, when realizing, since user is being directed to second short message When being replied, the short message replied may compare colloquial style, therefore set the preset character or character combination When, it can be configured according to the spoken habit of practical situation and user.For example, being returned for some unconventional short messages It is multiple, it is assumed that user has replied the answer short message of one " xxx is me ", at this in the inquiry short message for receiving " who are you " In the case of kind, " being me " can be set by the preset character combination, and extract the character combination in the answer short message Name information of " being me " the pervious content as contact person.
It is worth noting that realize when, in order to keep the name of contact person information extracted more accurate, can also to On two kinds of implementations showing be combined.For example, mobile phone, can be with after getting first short message when realizing The character in first short message is traversed, first determines whether carry preset character or character in first short message Combination, if carrying preset character or character combination, due to user reply may it is more casual, at this time this first Still the name information of the contact person may not be carried in short message, therefore mobile phone is in judging first short message After carrying preset character or character combination, can further to the character in first short message respectively with preset surname Information bank is matched, and the name information in first short message is then identified according to the surname information matched, is passed through Accuracy when extracting the name of contact person information from first short message can be improved in this mode.
When mobile phone successfully extracts the name information of the contact person from first short message, can pass through at this time Default boundary's user oriented exports one and mentions for prompting the user whether to create the first of corresponding contact person in address list Show option.For example, first prompt options can be the prompt of one " whether being added to address book contact " when realizing Frame, the prompting frame may include two user options of "Yes" and "No".When user is by operating the first prompt options selection When creating corresponding contact person in address list, mobile phone can be triggered at this time in address list according to the contact person extracted Name information and the incoming number of the contact person create corresponding contact person.
Certainly, it is in realization, when mobile phone successfully extracts the name information of the contact person from first short message When, first prompt options cannot not be exported by default boundary's user oriented also to prompt user, but according to mentioning The name information of the contact person and the incoming number of the contact person taken out creates corresponding automatically in address list It is people, in the present embodiment without being particularly limited to.
In the present embodiment, mobile phone according to the name information of the contact person extracted and the contact person come When electric number creates corresponding contact person in address list, being may determine that in the address list first whether there is and the name The corresponding contact person of the same name of information;If contact person of the same name corresponding with the name information is not present in the address list, Mobile phone can create corresponding contact person according to the name information and the incoming number in address list automatically at this time.Such as When there is contact person of the same name corresponding with the name information in address list described in fruit, mobile phone can be by presetting boundary's user oriented The second prompt options are exported, which can be used for prompting the user whether by the incoming number of the contact person It is directly appended to the contact information interface of the contact person of the same name;And for prompting whether the user believes the name Breath is renamed, and corresponding contact person is created in the address list based on the name information after renaming.
Under prompt of the user in second prompt options, the corresponding contact person of the name information and described same is confirmed When name contacts artificial same people, the name information can be directly appended to institute by operating second prompt options at this time State the contact information interface of contact person of the same name.Under prompt of the user in first prompt options, the name letter is confirmed Cease corresponding contact person from it is described it is of the same name contact artificial different people when, operation second prompt options pair can be passed through at this time The name information is renamed, and corresponding connection is created in the address list based on the name information after renaming People.
For example, second prompt options can be one and include " being added to contact person of the same name " and " weight when realizing Contact person is added to after name " prompting frames of two user options, user can by directly to second prompt options into Row operation, to select the contact information interface that the name information is directly appended to the contact person of the same name or described Name information is renamed, and corresponding contact person is created in the address list based on the name information after renaming.? When realization, second prompt options can also be divided into " being added to contact person of the same name " and " be added to connection after renaming Two independent prompting frames of people " wherein may each comprise two user options of "Yes" and "No", work as user in each prompting frame When selecting "Yes" in the prompting frame of described " being added to contact person of the same name ", the name information can be directly appended at this time In the contact information interface of the contact person of the same name;When user selects in the prompting frame of described " being added to contact person of the same name " When "No", the prompting frame of described " contact person is added to after renaming " can be exported, when user " is added to described after renaming In the prompting frame of contact person " select "Yes" when, the name information can be renamed at this time, and based on renaming after Name information creates corresponding contact person in the address list.
Wherein, it is worth noting that, it is universal with smart phone, in cell phone address book would generally association user social activity Account, therefore when user is when renaming the name information by operating second prompt options, it can be based on The name information is renamed with the common friend information of the contact person.
When realizing, mobile phone can be inquired to server-side and the associated social account of the contact person, and obtains described It is the friend information of the associated social account of people and the social account of the user, to determine the contact person and the user Common friend information, then the name information of the contact person can be renamed according to the common friend information, And corresponding contact person is created in the address list according to the name information after renaming.
For example, can be according to the grouping information of the contact person and the common friend of the user to the surname of the contact person Name information is renamed;Such as, it is assumed that the grouping information of the common friend is colleague, and the name information of the contact person is Zhang San, then can be by name information renamed as colleague-Zhang San of the contact person.
In the present embodiment, mobile phone according to the name information of the contact person extracted and the contact person come When electric number creates corresponding contact person in address list, in addition to mobile phone described above can be according to the connection extracted The name information of people and the incoming number of the contact person create in address list automatically other than corresponding contact person, can also be with It is triggered manually by user.
It, can be to identifying when mobile phone is from when successfully identifying the name information in first short message when realizing The name information be marked, when user is when being viewed locally first short message, can directly by it is described The name information of label is operated, to trigger name information and the connection of the mobile phone according to the contact person extracted The incoming number of people creates corresponding contact person in address list.For example, mobile phone is right so that the mobile phone is touch-screen mobile phone as an example After name information in first short message is marked, the marked name information can be directed to by monitoring users in real time Touch event, if listen to user be directed to the marked name information touch event, basis can be triggered The name information of the contact person extracted and the incoming number of the contact person create corresponding connection in address list The operation of people.
Wherein, above-described when creating corresponding contact person in address list, it can create a contact person's first Information interface, and the name information and the incoming number are added in the information interface of newly-built contact person automatically, It, at this time can be by user to described newly-built after the validation of information in information interface of the user to the newly-built contact person is errorless The information interface of contact person submit, which is added in address list.If the newly-built connection There is mistake in information in the information interface of people, can also carry out manual modification by user, and after manual modification by user into Row is submitted, which is added in address list.
Certainly, when user is by operating the marked name information, to trigger mobile phone according to the name When information and the incoming number create corresponding contact person in address list, contact person is created in address list in order to prevent It causes to obscure with already present contact person of the same name afterwards, mobile phone, still can be with after triggering the operation for creating corresponding contact person Locally judging in address list with the presence or absence of contact person of the same name corresponding with the name information;If there is no contact person of the same name When can directly carry out creating corresponding contact person;It can choose if there is contact person of the same name and add the incoming number According to the name information after renaming after being renamed into the information interface of contact person of the same name or to the name information Create corresponding contact person, detailed process please refer to before description, do not repeating.
In the embodiment above, the first short message replied by obtaining contact person, is extracted from first short message The name information of the contact person;And according to the name information of the contact person extracted and the incoming call number of the contact person Code creates corresponding contact person in address list, so that user during using mobile phone, can reply short from contact person The name information extracted in letter and the incoming number of the contact person create corresponding contact person automatically in address list, simplify The operating process of contact person is created in address list, the user experience is improved.
As shown in Fig. 2, Fig. 2 is a kind of contact person's creation method shown according to an exemplary embodiment, it is applied to terminal In, wherein the terminal can be smart phone, the described method comprises the following steps:
In step 201, the first short message that contact person replys is obtained;
In step 202, the name information of the contact person is extracted from first short message;
In step 203, judge in the address list with the presence or absence of contact person of the same name corresponding with the name information;
In step 204, when contact person of the same name corresponding with the name information is not present in the address list, according to The name information of the contact person extracted and the incoming number of the contact person create corresponding connection in address list People;
In step 205, when there is contact person of the same name corresponding with the name information in the address list, by pre- If boundary's user oriented exports the second prompt options;Wherein, whether second prompt options are for prompting the user will be described The incoming number of contact person is directly appended to the contact information interface of the contact person of the same name;And for prompting the user Whether renaming is carried out to the name information and is created in the address list based on the name information after renaming corresponding Contact person;
In step 206, when the user is by operating the second prompt options selection for the incoming call of the contact person When number is added to the contact information interface of the contact person of the same name, the incoming number of the contact person is added to described same In the contact information interface of name contact person;When the user believes the name by operating the second prompt options selection When breath rename and create corresponding contact person in the address list based on the name information after renaming, it is based on and institute The common friend information for stating contact person renames the name information, and according to the surname of the contact person after renaming The incoming number of name information and the contact person create corresponding contact person in address list.
In the present embodiment, user is during use mobile phone, in the incoming call for receiving contact person, can incite somebody to action first The incoming number of the contact person matches in cell phone address book, to judge whether the incoming number has carried out in communication It saves;If the incoming number of the contact person is not when saving locally, incoming call if is Stranger Calls, can trigger mobile phone at this time Second short message for carrying default prompting message is sent to the contact person.Wherein, the default prompting message can be pre- If name inquire message;For example, realize when, second short message can be one carrying " who are you? " inquiry it is short Message.
When the contact person is after receiving second short message, can usually be returned for second short message Multiple, mobile phone can receive the contact person after the first short message replied after receiving second short message at this time, will Then the first short message received extracts the name information of the contact person in local preservation from first short message.Example Such as, when realizing, the first short message received can be saved in short message inbox by mobile phone, and mobile phone can be directly from short message The first local short message has been received in inbox acquisition, and the surname of the contact person is then extracted from first short message Name information.
In the present embodiment, mobile phone is when extracting the name information of the contact person from first short message, can be with There is different implementations.
It, can be by described in identification in order to improve the accuracy for extracting name information in a kind of implementation shown Surname information in first short message, then the position according to the surname information identified in first short message is come into one Step identifies and extracts the name information of the contact person.
When realizing, mobile phone can traverse the character in first short message after getting first short message, Character in first short message is matched with preset surname database respectively, when any in first short message When surname in surname database described in character or multiple character match, at this time according to the positional relationship of surname and name can from The dynamic name information for identifying the contact person, then can extract the name information identified.
For example, for Chinese Name, the surname number described in any character in first short message or multiple character match When according to surname in library, can automatically by any character in first short message or the content recognition after multiple characters be with The corresponding name of the surname, then can name information to the surname and corresponding name matched as the contact person It extracts.
It, can be by judging in order to improve the accuracy for extracting name information in another implementation shown State and whether carry preset character or character combination in the first short message, when carried in first short message preset character or When character combination, can the position based on the preset character or character combination it is short further to identify and extract described first Name information in message.
When realizing, the preset character perhaps character combination can be expressed based on common language or it is semantic into Row setting.For example, as previously mentioned, second short message can be the inquiry short message of such as " who are you ", when user is receiving To after second short message, it will usually which reply one " I is xxx " or " my xxx " for the inquiry short message first short disappears Breath, in this case, the preset character or character combination can be " we " or " I is ", when mobile phone is judging Out in first short message carry " I " perhaps the characters such as " I is " when can be by character " I " or character combination " I is " Subsequent content recognition is the name information of the contact person.Certainly, when realizing, since user is being directed to second short message When being replied, the short message replied may compare colloquial style, therefore set the preset character or character combination When, it can be configured according to the spoken habit of practical situation and user.For example, being returned for some unconventional short messages It is multiple, it is assumed that user has replied the answer short message of one " xxx is me ", at this in the inquiry short message for receiving " who are you " In the case of kind, " being me " can be set by the preset character combination, and extract the character combination in the answer short message Name information of " being me " the pervious content as contact person.
It is worth noting that realize when, in order to keep the name of contact person information extracted more accurate, can also to On two kinds of implementations showing be combined.For example, mobile phone, can be with after getting first short message when realizing The character in first short message is traversed, first determines whether carry preset character or character in first short message Combination, if carrying preset character or character combination, due to user reply may it is more casual, at this time this first Still the name information of the contact person may not be carried in short message, therefore mobile phone is in judging first short message After carrying preset character or character combination, can further to the character in first short message respectively with preset surname Information bank is matched, and the name information in first short message is then identified according to the surname information matched, is passed through Accuracy when extracting the name of contact person information from first short message can be improved in this mode.
When mobile phone successfully extracts the name information of the contact person from first short message, can pass through at this time Default boundary's user oriented exports one and mentions for prompting the user whether to create the first of corresponding contact person in address list Show option.For example, first prompt options can be the prompt of one " whether being added to address book contact " when realizing Frame, the prompting frame may include two user options of "Yes" and "No".When user is by operating the first prompt options selection When creating corresponding contact person in address list, mobile phone can be triggered at this time in address list according to the contact person extracted Name information and the incoming number of the contact person create corresponding contact person.
Certainly, it is in realization, when mobile phone successfully extracts the name information of the contact person from first short message When, first prompt options cannot not be exported by default boundary's user oriented also to prompt user, but according to mentioning The name information of the contact person and the incoming number of the contact person taken out creates corresponding automatically in address list It is people, in the present embodiment without being particularly limited to.
In the present embodiment, mobile phone according to the name information of the contact person extracted and the contact person come When electric number creates corresponding contact person in address list, being may determine that in the address list first whether there is and the name The corresponding contact person of the same name of information;If contact person of the same name corresponding with the name information is not present in the address list, Mobile phone can create corresponding contact person according to the name information and the incoming number in address list automatically at this time.Such as When there is contact person of the same name corresponding with the name information in address list described in fruit, mobile phone can be by presetting boundary's user oriented The second prompt options are exported, which can be used for prompting the user whether by the incoming number of the contact person It is directly appended to the contact information interface of the contact person of the same name;And for prompting whether the user believes the name Breath is renamed, and corresponding contact person is created in the address list based on the name information after renaming.
Under prompt of the user in second prompt options, the corresponding contact person of the name information and described same is confirmed When name contacts artificial same people, the name information can be directly appended to institute by operating second prompt options at this time It states in the contact information interface of contact person of the same name.Under prompt of the user in first prompt options, the name is confirmed The corresponding contact person of information from it is described it is of the same name contact artificial different people when, operation second prompt options can be passed through at this time The name information is renamed, and corresponding connection is created in the address list based on the name information after renaming People.
For example, second prompt options can be one and include " being added to contact person of the same name " and " weight when realizing Contact person is added to after name " prompting frames of two user options, user can by directly to second prompt options into Row operation, to select the contact information interface that the name information is directly appended to the contact person of the same name or described Name information is renamed, and corresponding contact person is created in the address list based on the name information after renaming.
Refer to Fig. 3, realize when, second prompt options can also be divided into " being added to contact person of the same name " and " contact person is added to after renaming " two independent prompting frames, wherein may each comprise "Yes" and "No" in each prompting frame Two user options at this time can be by institute when user selects "Yes" in the prompting frame of described " being added to contact person of the same name " Name information is stated to be directly appended in the contact information interface of the contact person of the same name;When user " is added to of the same name described When selecting "No" in the prompting frame of contact person ", the prompting frame of described " being added to contact person after renaming " can be exported, user is worked as When selecting "Yes" in the prompting frame of described " being added to contact person after renaming ", weight can be carried out to the name information at this time Name, and corresponding contact person is created in the address list based on the name information after renaming.
Wherein, it is worth noting that, it is universal with smart phone, in cell phone address book would generally association user social activity Account, therefore when user is when renaming the name information by operating second prompt options, it can be based on The name information is renamed with the common friend information of the contact person.
When realizing, mobile phone can be inquired to server-side and the associated social account of the contact person, and obtains described It is the friend information of the associated social account of people and the social account of the user, to determine the contact person and the user Common friend information, then the name information of the contact person can be renamed according to the common friend information, And corresponding contact person is created in the address list according to the name information after renaming.
For example, can be according to the grouping information of the contact person and the common friend of the user to the surname of the contact person Name information is renamed;Such as, it is assumed that the grouping information of the common friend is colleague, and the name information of the contact person is Zhang San, then can be by name information renamed as colleague-Zhang San of the contact person.
In the present embodiment, mobile phone according to the name information of the contact person extracted and the contact person come When electric number creates corresponding contact person in address list, in addition to mobile phone described above can be according to the connection extracted The name information of people and the incoming number of the contact person create in address list automatically other than corresponding contact person, can also be with It is triggered manually by user.
It, can be to identifying when mobile phone is from when successfully identifying the name information in first short message when realizing The name information be marked, when user is when being viewed locally first short message, can directly by it is described The name information of label is operated, to trigger name information and the connection of the mobile phone according to the contact person extracted The incoming number of people creates corresponding contact person in address list.For example, referring to Fig. 4, it is using the mobile phone as touch-screen mobile phone Example, mobile phone can have been marked monitoring users after the name information in first short message is marked for described in real time The touch event of the name information of note, if listen to touch event of the user for the marked name information, It can trigger new in address list according to the name information of the contact person extracted and the incoming number of the contact person Build the operation of corresponding contact person.
Wherein, above-described when creating corresponding contact person in address list, it can create a contact person's first Information interface, and the name information and the incoming number are added in the information interface of newly-built contact person automatically, It, at this time can be by user to described newly-built after the validation of information in information interface of the user to the newly-built contact person is errorless The information interface of contact person submit, which is added in address list.If the newly-built connection There is mistake in information in the information interface of people, can also carry out manual modification by user, and after manual modification by user into Row is submitted, which is added in address list.
Certainly, when user is by operating the marked name information, to trigger mobile phone according to the name When information and the incoming number create corresponding contact person in address list, contact person is created in address list in order to prevent It causes to obscure with already present contact person of the same name afterwards, mobile phone, still can be with after triggering the operation for creating corresponding contact person Locally judging in address list with the presence or absence of contact person of the same name corresponding with the name information;If there is no contact person of the same name When can directly carry out creating corresponding contact person;It can choose if there is contact person of the same name and add the incoming number According to the name information after renaming after being renamed into the information interface of contact person of the same name or to the name information Create corresponding contact person, detailed process please refer to before description, do not repeating.
In the embodiment above, the first short message replied by obtaining contact person, is extracted from first short message The name information of the contact person;And according to the name information of the contact person extracted and the incoming call number of the contact person Code creates corresponding contact person in address list, so that user during using mobile phone, can reply short from contact person The name information extracted in letter and the incoming number of the contact person create corresponding contact person automatically in address list, simplify The operating process of contact person is created in address list, the user experience is improved.
Meanwhile when extracting the name information of the contact person from first short message, pass through the surname identified The position of information or preset character, character combination position further identify and extract name information, can be to avoid intelligence The problem of error extraction caused by when the name information of the energy extraction contact person.Moreover, in newly-built contact person, for communication In record the case where existing contact person of the same name, renamed by the name information to the contact person extracted, and root Corresponding contact person is created in address list according to the name information after renaming, can also be avoided after newly-built contact person, due to The problem of contact person obscures caused by existing contact person of the same name in address list.
Corresponding with aforementioned contact creation method embodiment, the disclosure additionally provides a kind of embodiment of device.
Fig. 5 is a kind of schematic block diagram of contact person's creating device shown according to an exemplary embodiment.
As shown in figure 5, a kind of contact person's creating device 500 shown according to an exemplary embodiment, comprising: obtain module 501, extraction module 502 and newly-built module 503;Wherein:
The acquisition module 501 is configured as, and obtains the first short message that contact person replys;
The extraction module 502 is configured as, and the name information of the contact person is extracted from first short message;
The newly-built module 503 is configured as, according to the name information of the contact person extracted and the connection The incoming number of people creates corresponding contact person in address list.
In the embodiment above, the first short message replied by obtaining contact person, is extracted from first short message The name information of the contact person;And according to the name information of the contact person extracted and the incoming call number of the contact person Code creates corresponding contact person in address list, so that user during using mobile phone, can reply short from contact person The name information extracted in letter and the incoming number of the contact person create corresponding contact person automatically in address list, simplify The operating process of contact person is created in address list, the user experience is improved.
Fig. 6 is referred to, Fig. 6 is the block diagram of the disclosure another device shown according to an exemplary embodiment, the implementation For example on the basis of aforementioned embodiment illustrated in fig. 5, described device 500 can also include judgment module 504,505 and of sending module Receiving module 506;Wherein:
The judgment module 504 is configured as, it is described acquisition module 501 obtain contact person reply the first short message it Before, when receiving the incoming call of the contact person, judge whether the incoming number of the contact person has been locally stored;
The sending module 505 is configured as, the contact person incoming number not when being locally stored, to the connection Human hair send the second short message for carrying default prompt information;
The receiving module 506 is configured as, and receives the contact person replys after receiving second short message One short message, and by first short message in local preservation.
Fig. 7 is referred to, Fig. 7 is the block diagram of the disclosure another device shown according to an exemplary embodiment, the implementation For example on the basis of aforementioned embodiment illustrated in fig. 5, the extraction module 502 may include the first identification submodule 502A, second Identify submodule 502B and the first extracting sub-module 502C;Wherein:
The first identification submodule 502A is configured as, and identifies the surname information in first short message;
The second identification submodule 502B is configured as, described in the position identification based on the surname information identified Name information in first short message;
The first extracting sub-module 502C is configured as, and extracts the second identification submodule identifies described first Name information in short message.
It should be noted that the first identification submodule 502A, second shown in above-mentioned Installation practice shown in Fig. 7 are known The structure of small pin for the case module 502B and the first extracting sub-module 502C also may be embodied in the Installation practice of earlier figures 6, to this The disclosure is not limited.
Fig. 8 is referred to, Fig. 8 is the block diagram of the disclosure another device shown according to an exemplary embodiment, the implementation For example on the basis of aforementioned embodiment illustrated in fig. 5, the extraction module 502 may include judging submodule 502D, third identification Submodule 502E and the second extracting sub-module 502F;Wherein:
The judging submodule 502D is configured as, and judges whether carry preset character or word in first short message Symbol combination;
The third identification submodule 502E is configured as, and carries preset character or character in first short message When combination, the position based on the preset character or character combination identifies the name information in first short message;
The second extracting sub-module 502F is configured as, and extracts the third identification submodule identifies described first Name information in short message.
It should be noted that judging submodule 502D shown in above-mentioned Installation practice shown in Fig. 8, third identification The structure of module 502E and the second extracting sub-module 502F also may be embodied in the Installation practice of earlier figures 6-7, to this It is open to be not limited.
Fig. 9 is referred to, Fig. 9 is the block diagram of the disclosure another device shown according to an exemplary embodiment, the implementation For example on the basis of aforementioned embodiment illustrated in fig. 5, described device 500 can also include output module 507;Wherein:
The output module 507 is configured as, and is believed in the newly-built module according to the name of the contact person extracted It is defeated by default boundary's user oriented before breath and the incoming number of the contact person create corresponding contact person in address list First prompt options out;Wherein, whether first prompt options are corresponding for prompting the user to create in address list Contact person;When the user creates corresponding contact person in address list by operating the first prompt options selection, by The newly-built module 503 is being communicated according to the name information of the contact person extracted and the incoming number of the contact person Corresponding contact person is created in record.
It should be noted that the structure of output module 507 shown in above-mentioned Installation practice shown in Fig. 9 also can wrap It is contained in the Installation practice of earlier figures 6-8, this disclosure is not limited.
0, Figure 10 is the block diagram of the disclosure another device shown according to an exemplary embodiment, the reality referring to Figure 1 Example is applied on the basis of aforementioned embodiment illustrated in fig. 5, the newly-built module 503 may include judging submodule 503A, first new Build submodule 503B, output sub-module 503C, the addition newly-built submodule 503E of submodule 503D and second;Wherein:
The judging submodule 503A is configured as, and is judged in the address list with the presence or absence of corresponding with the name information Contact person of the same name;
The first newly-built submodule 503B is configured as, and there is no corresponding with the name information in the address list Contact person of the same name when, communicated according to the incoming number of the name information of the contact person extracted and the contact person Corresponding contact person is created in record;
The output sub-module 503C is configured as, and is existed in the address list corresponding with the name information of the same name When contact person, the second prompt options are exported by default boundary's user oriented;Wherein, second prompt options are described for prompting Whether user is directly appended to the incoming number of the contact person contact information interface of the contact person of the same name;And it uses In prompt, whether the user is renamed the name information and based on the name information after renaming in the communication Corresponding contact person is created in record;
The addition submodule 503D is configured as, in the user by operating the second prompt options selection for institute When stating the incoming number of contact person and being added to the contact information interface of the contact person of the same name, by the incoming call number of the contact person Code is added in the contact information interface of the contact person of the same name;
The second newly-built submodule 503E is configured as, in the user by operating the second prompt options selection The name information rename and corresponding connection is created in the address list based on the name information after renaming When people, the name information is renamed based on the common friend information with the contact person, and according to renaming after The name information of the contact person and the incoming number of the contact person create corresponding contact person in address list.
It should be noted that judging submodule 503A shown in above-mentioned Installation practice shown in Fig. 10, first newly-built Submodule 503B, output sub-module 503C, add the newly-built submodule 503E of submodule 503D and second structure also may include In the Installation practice of earlier figures 6-9, this disclosure is not limited.
1, Figure 11 is the block diagram of the disclosure another device shown according to an exemplary embodiment, the reality referring to Figure 1 Example is applied on the basis of earlier figures 7 or 8 illustrated embodiment, the extraction module 502 can also include label submodule 502G;Its In:
The label submodule 502G is configured as, and is marked to the name information in first short message identified Note.
It should be noted that marking the structure of submodule 502G can also shown in Installation practice shown in above-mentioned Figure 11 Be not limited to this disclosure included in earlier figures 6, the Installation practice of 9-10.
2, Figure 12 is the block diagram of the disclosure another device shown according to an exemplary embodiment, the reality referring to Figure 1 Example is applied on the basis of aforementioned embodiment illustrated in fig. 5, the newly-built module 503 may include that monitoring submodule 503F and third are new Build submodule 503G;Wherein:
The monitoring submodule 503F is configured as, and monitoring users are for the surname marked in first short message The touch event of name information;
The third creates submodule 503G and is configured as, and is listening to user for marked in first short message The name information touch event when, according to the name information of the contact person extracted and the contact person come Electric number creates corresponding contact person in address list.
It should be noted that monitoring submodule 503F and third shown in Installation practice shown in above-mentioned Figure 12 are newly-built The structure of submodule 503G also may be embodied in the Installation practice of earlier figures 6-11, be not limited to this disclosure.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Correspondingly, the disclosure also provides a kind of contact person's creating device, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the first short message that contact person replys;
The name information of the contact person is extracted from first short message;
It is new in address list according to the name information of the contact person extracted and the incoming number of the contact person Build corresponding contact person.
Correspondingly, the disclosure also provides a kind of terminal, the terminal include memory and one or more than one Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one Managing device and executing the one or more programs includes the instruction for performing the following operation:
Obtain the first short message that contact person replys;
The name information of the contact person is extracted from first short message;
It is new in address list according to the name information of the contact person extracted and the incoming number of the contact person Build corresponding contact person.
Figure 13 is a kind of structural schematic diagram of contact person's creating device shown according to an exemplary embodiment.
As shown in figure 13, a kind of contact person's creating device 1300 shown according to an exemplary embodiment, the device 1300 It can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, Body-building equipment, personal digital assistant etc..
Referring to Fig.1 3, device 1300 may include following one or more components: processing component 1301, memory 1302, Power supply module 1303, multimedia component 1304, audio component 1305, the interface 1306 of input/output (I/O), sensor module 1307 and communication component 1308.
The integrated operation of the usual control device 1300 of processing component 1301, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1301 may include one or more processors 1309 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1301 may include one or more moulds Block, convenient for the interaction between processing component 1301 and other assemblies.For example, processing component 1301 may include multi-media module, To facilitate the interaction between multimedia component 1304 and processing component 1301.
Memory 1302 is configured as storing various types of data to support the operation in device 1300.These data Example includes the instruction of any application or method for operating on device 1300, contact data, telephone book data, Message, picture, video etc..Memory 1302 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1303 provides electric power for the various assemblies of device 1300.Power supply module 1303 may include power management System, one or more power supplys and other with for device 1300 generate, manage, and distribute the associated component of electric power.
Multimedia component 1304 includes the screen of one output interface of offer between described device 1300 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1304 includes a front camera and/or rear camera.When device 1300 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1305 is configured as output and/or input audio signal.For example, audio component 1305 includes a wheat Gram wind (MIC), when device 1300 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1302 or via communication Component 1308 is sent.In some embodiments, audio component 1305 further includes a loudspeaker, is used for output audio signal.
I/O interface 1302 provides interface, above-mentioned peripheral interface module between processing component 1301 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1307 includes one or more sensors, and the state for providing various aspects for device 1300 is commented Estimate.For example, sensor module 1307 can detecte the state that opens/closes of device 1300, the relative positioning of component, such as institute The display and keypad that component is device 1300 are stated, sensor module 1307 can be with detection device 1300 or device 1,300 1 The position change of a component, the existence or non-existence that user contacts with device 1300,1300 orientation of device or acceleration/deceleration and dress Set 1300 temperature change.Sensor module 1307 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1307 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1308 is configured to facilitate the communication of wired or wireless way between device 1300 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1300,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1308 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1308 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1300 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1302 of instruction, above-metioned instruction can be executed by the processor 1309 of device 1300 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Wherein, when the instruction in the storage medium is executed by the processor of mobile terminal, enable mobile terminal Execute a kind of contact person's creation method, comprising:
Obtain the first short message that contact person replys;
The name information of the contact person is extracted from first short message;
It is new in address list according to the name information of the contact person extracted and the incoming number of the contact person Build corresponding contact person.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (11)

1. a kind of contact person's creation method, which is characterized in that the described method includes:
It obtains contact person and is directed to the first short message that the second short message is replied, second short message carries preset name inquiry Message;
The name information of the contact person is extracted from first short message;
According to the name information of the contact person extracted and the incoming number of the contact person newly-built pair in address list The contact person answered;
The name information that the contact person is extracted from the first short message got includes:
Identify the surname information in first short message;
Position based on the surname information identified identifies the name information in first short message;
Extract the name information in first short message identified;
The method also includes:
Name information in first short message identified is marked;
The name information for the contact person that the basis is extracted and the incoming number of the contact person are new in address list Building corresponding contact person includes:
Touch event of the monitoring users for the name information marked in first short message;
When listening to touch event of the user for the name information marked in first short message, according to extraction To the name information of the contact person and the incoming number of the contact person corresponding contact person is created in address list;
The name information for the contact person that the basis is extracted and the incoming number of the contact person are new in address list It builds before corresponding contact person, further includes:
The first prompt options are exported by default boundary's user oriented;Wherein, first prompt options are for prompting the user Whether corresponding contact person is created in address list;
When the user creates corresponding contact person in address list by operating first prompt options selection, according to mentioning The name information of the contact person got and the incoming number of the contact person create corresponding contact person in address list.
2. the method as described in claim 1, which is characterized in that before first short message for obtaining contact person's reply, institute State method further include:
When receiving the call from the contact person, judge whether the incoming number of the contact person has been locally stored;
When the incoming number of the contact person is not when being locally stored, to the second of the default prompt information of contact person transmission carrying Short message;
The first short message that the contact person replys after receiving second short message is received, and first short message is existed It is local to save.
3. the method as described in claim 1, which is characterized in that described to extract the connection from the first short message got The name information of people includes:
Judge whether carry preset character or character combination in first short message;
When carrying preset character or character combination in first short message, it is based on the preset character or character combination Position identify the name information in first short message;
Extract the name information in first short message identified.
4. the method as described in claim 1, which is characterized in that the name information for the contact person that the basis is extracted with And the incoming number of the contact person creates corresponding contact person in address list and includes:
Judge in the address list with the presence or absence of contact person of the same name corresponding with the name information;
When contact person of the same name corresponding with the name information is not present in the address list, according to the connection extracted The name information of people and the incoming number of the contact person create corresponding contact person in address list;
When there is contact person of the same name corresponding with the name information in the address list, pass through default boundary's user oriented output Second prompt options;Wherein, whether second prompt options are for prompting the user by the incoming number of the contact person It is directly appended to the contact information interface of the contact person of the same name;And for prompting whether the user believes the name Breath rename and creates corresponding contact person in the address list based on the name information after renaming;
When the user be added to by operating second prompt options selection for the incoming number of the contact person it is described same When the contact information interface of name contact person, the incoming number of the contact person is added to the contact person of the contact person of the same name In information interface;
When again the user renames the name information by operation the second prompt options selection and is based on ordering When name information after name creates corresponding contact person in the address list, based on the common friend information with the contact person The name information is renamed, and according to the name information of the contact person after renaming and the contact person Incoming number creates corresponding contact person in address list.
5. the method as described in claim 1, which is characterized in that the method also includes:
Name information in first short message identified is marked;
The name information for the contact person that the basis is extracted and the incoming number of the contact person are new in address list Building corresponding contact person includes:
Touch event of the monitoring users for the name information marked in first short message;
When listening to touch event of the user for the name information marked in first short message, according to extraction To the name information of the contact person and the incoming number of the contact person corresponding contact person is created in address list.
6. a kind of contact person's creating device, which is characterized in that described device includes:
Module is obtained, is directed to the first short message that the second short message is replied for obtaining contact person, second short message carries Preset name inquires message;
Extraction module, for extracting the name information of the contact person from first short message;
Newly-built module, for being led to according to the name information of the contact person extracted and the incoming number of the contact person Corresponding contact person is created in news record;
The extraction module includes:
First identifies submodule, for identification the surname information in first short message;
Second identification submodule, identifies the surname in first short message for the position based on the surname information identified Name information;
First extracting sub-module, for extracting the name letter in first short message that the second identification submodule identifies Breath;
The extraction module further include:
Submodule is marked, for the name information in first short message identified to be marked;
The newly-built module includes:
Submodule is monitored, for monitoring users for the touch thing of the name information marked in first short message Part;
Third creates submodule, for listening to user for the name information marked in first short message When touch event, according to the name information of the contact person extracted and the incoming number of the contact person in address list Create corresponding contact person;
Described device further include:
Output module, in name information of the newly-built module according to the contact person extracted and the contact person Incoming number corresponding contact person is created in address list before, pass through default boundary's user oriented and export the first prompt options; Wherein, first prompt options are for prompting whether the user creates corresponding contact person in address list;
When the user creates corresponding contact person in address list by operating the first prompt options selection, by described Newly-built module is new in address list according to the name information of the contact person extracted and the incoming number of the contact person Build corresponding contact person.
7. device as claimed in claim 6, which is characterized in that described device further include:
Judgment module, for it is described acquisition module obtain contact person reply the first short message before, it is described receiving When being the incoming call of people, judge whether the incoming number of the contact person has been locally stored;
Sending module sends to carry to the contact person and preset for the incoming number in the contact person not when being locally stored Second short message of prompt information;
Receiving module, the first short message replied after receiving second short message for receiving the contact person, and by institute The first short message is stated in local preservation.
8. device as claimed in claim 6, which is characterized in that the extraction module includes:
Judging submodule, for judging whether carry preset character or character combination in first short message;
Third identifies submodule, when for carrying preset character or character combination in first short message, based on described The position of preset character or character combination identifies the name information in first short message;
Second extracting sub-module, for extracting the name letter in first short message that the third identification submodule identifies Breath.
9. device as claimed in claim 6, which is characterized in that the newly-built module includes:
Judging submodule, for judging in the address list with the presence or absence of contact person of the same name corresponding with the name information;
First newly-built submodule, when for contact person of the same name corresponding with the name information to be not present in the address list, It is created in address list according to the incoming number of the name information of the contact person extracted and the contact person corresponding Contact person;
Output sub-module, when for there is contact person of the same name corresponding with the name information in the address list, by pre- If boundary's user oriented exports the second prompt options;Wherein, whether second prompt options are for prompting the user will be described The incoming number of contact person is directly appended to the contact information interface of the contact person of the same name;And for prompting the user Whether renaming is carried out to the name information and is created in the address list based on the name information after renaming corresponding Contact person;
Submodule is added, for selecting by operating second prompt options by the incoming call number of the contact person in the user When code is added to the contact information interface of the contact person of the same name, the incoming number of the contact person is added to described of the same name In the contact information interface of contact person;
Second newly-built submodule, for the user by operate second prompt options selection to the name information into Row renames and when creating corresponding contact person in the address list based on the name information after renaming, based on it is described It is that the common friend information of people renames the name information, and is believed according to the name of the contact person after renaming Breath and the incoming number of the contact person create corresponding contact person in address list.
10. device as claimed in claim 9, which is characterized in that the extraction module further include:
Submodule is marked, for the name information in first short message identified to be marked;
The newly-built module includes:
Submodule is monitored, for monitoring users for the touch thing of the name information marked in first short message Part;
Third creates submodule, for listening to user for the name information marked in first short message When touch event, according to the name information of the contact person extracted and the incoming number of the contact person in address list Create corresponding contact person.
11. a kind of contact person's creating device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It obtains contact person and is directed to the first short message that the second short message is replied, second short message carries preset name inquiry Message;
The name information of the contact person is extracted from first short message;
According to the name information of the contact person extracted and the incoming number of the contact person newly-built pair in address list The contact person answered;
The name information that the contact person is extracted from the first short message got includes:
Identify the surname information in first short message;
Position based on the surname information identified identifies the name information in first short message;
Extract the name information in first short message identified;
The processor is also configured to
Name information in first short message identified is marked;
The name information for the contact person that the basis is extracted and the incoming number of the contact person are new in address list Building corresponding contact person includes:
Touch event of the monitoring users for the name information marked in first short message;
When listening to touch event of the user for the name information marked in first short message, according to extraction To the name information of the contact person and the incoming number of the contact person corresponding contact person is created in address list;
The name information for the contact person that the basis is extracted and the incoming number of the contact person are new in address list It builds before corresponding contact person, further includes:
The first prompt options are exported by default boundary's user oriented;Wherein, first prompt options are for prompting the user Whether corresponding contact person is created in address list;
When the user creates corresponding contact person in address list by operating first prompt options selection, according to mentioning The name information of the contact person got and the incoming number of the contact person create corresponding contact person in address list.
CN201510206118.4A 2015-04-27 2015-04-27 Contact person's creation method and device Active CN104902055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510206118.4A CN104902055B (en) 2015-04-27 2015-04-27 Contact person's creation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510206118.4A CN104902055B (en) 2015-04-27 2015-04-27 Contact person's creation method and device

Publications (2)

Publication Number Publication Date
CN104902055A CN104902055A (en) 2015-09-09
CN104902055B true CN104902055B (en) 2019-02-12

Family

ID=54034449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510206118.4A Active CN104902055B (en) 2015-04-27 2015-04-27 Contact person's creation method and device

Country Status (1)

Country Link
CN (1) CN104902055B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208550B (en) * 2015-10-20 2019-06-07 上海斐讯数据通信技术有限公司 Contact information transmission extracting method and system between a kind of intelligent terminal
CN105915693A (en) * 2016-06-30 2016-08-31 北京奇虎科技有限公司 Method and device for adding new contact and mobile terminal
CN106210235A (en) * 2016-08-19 2016-12-07 北京奇虎科技有限公司 A kind of contact list displaying method, device and mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970402A (en) * 2012-11-16 2013-03-13 Tcl集团股份有限公司 Method and device for updating contact information of mobile terminal address book
CN104486761A (en) * 2014-12-04 2015-04-01 深圳市中兴移动通信有限公司 Terminal communication method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101344265B1 (en) * 2007-04-17 2013-12-24 삼성전자주식회사 Method for displaying human relations and mobile terminal thereof
CN102957592A (en) * 2011-08-23 2013-03-06 华为软件技术有限公司 Method, client and system for acquiring sender information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970402A (en) * 2012-11-16 2013-03-13 Tcl集团股份有限公司 Method and device for updating contact information of mobile terminal address book
CN104486761A (en) * 2014-12-04 2015-04-01 深圳市中兴移动通信有限公司 Terminal communication method and device

Also Published As

Publication number Publication date
CN104902055A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104753766B (en) Expression sending method and device
CN104951500B (en) Method for displaying head portrait, device and terminal
CN107767864B (en) Method and device for sharing information based on voice and mobile terminal
CN105162693B (en) message display method and device
CN105117209B (en) Using exchange method and device
CN105095873A (en) Picture sharing method and apparatus
CN106528709A (en) Social information recommendation method and apparatus
CN104852966A (en) Numerical value transfer method, terminal and cloud server
CN104850828A (en) Person identification method and person identification device
CN105610700A (en) Group creating method and apparatus and electronic device
CN105120084A (en) Image-based communication method and apparatus
CN107295149A (en) A kind for the treatment of method and apparatus of strange phone
CN105095366B (en) Word message treating method and apparatus
CN106652113A (en) Access control method and device
CN104112119A (en) Face identification-based communication method and apparatus
CN106209604A (en) Add the method and device of good friend
CN103929788A (en) Communication control method and device and terminal
CN105426485A (en) Image combination method and device, intelligent terminal and server
CN106791092A (en) The searching method and device of contact person
CN105095868A (en) Picture matching method and apparatus
CN104899501A (en) Dialog list display method and device and terminal
CN105847124B (en) Method, apparatus, server and terminal for being thumbed up to social network information
CN106130873A (en) Information processing method and device
CN104902055B (en) Contact person's creation method and device
CN104539497B (en) Method for connecting network and device

Legal Events

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