[go: up one dir, main page]

CN105812527A - Method and device for managing contact information - Google Patents

Method and device for managing contact information Download PDF

Info

Publication number
CN105812527A
CN105812527A CN201410843342.XA CN201410843342A CN105812527A CN 105812527 A CN105812527 A CN 105812527A CN 201410843342 A CN201410843342 A CN 201410843342A CN 105812527 A CN105812527 A CN 105812527A
Authority
CN
China
Prior art keywords
short message
contact information
information
name
text
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.)
Withdrawn
Application number
CN201410843342.XA
Other languages
Chinese (zh)
Inventor
蒋楠
陈伟刚
何迎娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410843342.XA priority Critical patent/CN105812527A/en
Priority to PCT/CN2015/076324 priority patent/WO2016107005A1/en
Publication of CN105812527A publication Critical patent/CN105812527A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2753Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2753Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
    • H04M1/2757Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供一种联系方式的管理方法和装置;所述方法,包括:在接收到短消息后,识别所述短消息是否为用于更改联系方式的短消息;如果识别结果为更改联系方式的短消息,则从所述短消息中提取联系方式和姓名信息;保存所述联系方式和所述姓名信息。

The present invention provides a method and device for managing contact information; the method includes: after receiving a short message, identifying whether the short message is a short message for changing the contact information; if the identification result is for changing the contact information Short message, then extract contact information and name information from described short message; Save described contact information and described name information.

Description

一种联系方式的管理方法和装置Method and device for managing contact information

技术领域technical field

本发明涉及通信领域,尤其涉及一种联系方式的管理方法和装置。The invention relates to the communication field, in particular to a method and device for managing contact information.

背景技术Background technique

随着智能手机的推广,大家更换手机号码的频率也在不断增加,当大家更换手机号码时,往往会通过短消息的方式向自己的朋友、家人发送信息,以提醒大家记录自己的新号码,但很多时候,我们因为某些原因在接收到该短消息时,并没有进行新号码存储,并在后续过程中,我们又会忘记存储该信息,导致我们失去了该朋友的联系方式。With the promotion of smart phones, the frequency of people changing their mobile phone numbers is also increasing. When people change their mobile phone numbers, they often send messages to their friends and family members through short messages to remind everyone to record their new numbers. But many times, when we receive the short message for some reason, we do not store the new number, and in the follow-up process, we forget to store the information, which causes us to lose the contact information of the friend.

发明内容Contents of the invention

本发明提供一种联系方式的管理方法和装置,要解决的技术问题是如何优化联系方式的管理,减少联系方式丢失的可能。The invention provides a method and device for managing contact information, and the technical problem to be solved is how to optimize the management of contact information and reduce the possibility of losing contact information.

为解决上述技术问题,本发明提供了如下技术方案:In order to solve the problems of the technologies described above, the present invention provides the following technical solutions:

一种联系方式的管理方法,包括:在接收到短消息后,识别所述短消息是否为用于更改联系方式的短消息;如果识别结果为更改联系方式的短消息,则从所述短消息中提取联系方式和姓名信息;保存所述联系方式和所述姓名信息。A method for managing contact information, including: after receiving a short message, identifying whether the short message is a short message for changing the contact information; if the identification result is a short message for changing the contact information, from the short message Extract the contact information and name information; save the contact information and the name information.

其中,所述识别所述短消息是否为用于更改联系方式的短消息,包括:利用预先存储的关键字,在所述短消息的正文中查找所述预先存储的文字;如果在所述短消息的正文查找到所述预先存储的关键字,则识别所述短消息为用于更改联系方式的短消息。Wherein, the identifying whether the short message is a short message for changing contact information includes: using a pre-stored keyword to search for the pre-stored text in the text of the short message; If the pre-stored keyword is found in the text of the message, the short message is identified as a short message for changing contact information.

其中,所述从所述短消息中提取联系方式和姓名信息,包括:如果短消息的内容中有数字,则在短消息的正文中提取姓名信息和联系方式;如果短消息中没有数字,则从短消息的正文中提取姓名,在短消息的发信号码中提取电话号码。Wherein, said extracting contact information and name information from the short message includes: if there are numbers in the content of the short message, extracting name information and contact information in the text of the short message; if there is no number in the short message, then The name is extracted from the text of the short message, and the phone number is extracted from the signaling code of the short message.

其中,所述保存所述联系方式和所述姓名信息,包括:在通讯录中查找所述姓名信息对应的联系方式;如果所述通讯录没有与所述姓名信息对应的联系方式,则在所述通讯录中存储所述姓名信息和所述联系方式。Wherein, the saving of the contact information and the name information includes: searching for the contact information corresponding to the name information in the address book; if the address book does not have a contact information corresponding to the name information, then in the The name information and the contact information are stored in the address book.

其中,所述保存所述联系方式和所述姓名信息,还包括:如果所述通讯录有与所述姓名信息对应的联系方式,则提示是否存储该联系方式;接收对提示信息的反馈结果;如果所述反馈结果为替换存储,则将所述姓名信息对应的联系方式更换为所述联系方式,如果所述反馈结果为添加存储,则在所述姓名信息对应的原有联系方式上增加所述联系方式;如果所述反馈结果为取消存储,则流程结束。Wherein, the saving of the contact information and the name information also includes: if the address book has a contact information corresponding to the name information, prompting whether to store the contact information; receiving a feedback result on the prompt information; If the feedback result is replacement storage, replace the contact information corresponding to the name information with the contact information, and if the feedback result is additional storage, add the original contact information corresponding to the name information The above contact information; if the feedback result is cancellation of storage, the process ends.

一种联系方式的管理装置,包括:识别模块,用于在接收到短消息后,识别所述短消息是否为用于更改联系方式的短消息;提取模块,与所述识别模块相连,用于如果识别结果为更改联系方式的短消息,则从所述短消息中提取联系方式和姓名信息;保存模块,与所述提取模块相连,用于保存所述联系方式和所述姓名信息。A management device for contact information, comprising: an identification module, used to identify whether the short message is a short message for changing the contact information after receiving the short message; an extraction module, connected to the identification module, for If the identification result is a short message for changing the contact information, then extract the contact information and name information from the short message; the storage module is connected with the extraction module and is used for storing the contact information and the name information.

其中,所述识别模块包括:查找单元,用于利用预先存储的关键字,在所述短消息的正文中查找所述预先存储的文字;如果在所述短消息的正文查找到所述预先存储的关键字,则识别所述短消息为用于更改联系方式的短消息。Wherein, the recognition module includes: a search unit, configured to use a pre-stored keyword to search for the pre-stored text in the text of the short message; if the pre-stored text is found in the text of the short message keyword, then identify the short message as a short message for changing the contact information.

其中,所述提取模块具体用于:如果短消息的内容中有数字,则在短消息的正文中提取姓名信息和联系方式;如果短消息中没有数字,则从短消息的正文中提取姓名,在短消息的发信号码中提取电话号码。Wherein, the extracting module is specifically used for: if there are numbers in the content of the short message, name information and contact information are extracted in the text of the short message; if there are no numbers in the short message, then the name is extracted from the text of the short message, The telephone number is extracted from the signaling code of the short message.

其中,所述保存模块包括:查找单元,用于在通讯录中查找所述姓名信息对应的联系方式;存储单元,与所述查找单元相连,用于如果所述通讯录没有与所述姓名信息对应的联系方式,则在所述通讯录中存储所述姓名信息和所述联系方式。Wherein, the saving module includes: a search unit, used to search the contact information corresponding to the name information in the address book; corresponding contact information, store the name information and the contact information in the address book.

其中,所述保存模块还包括:提示单元,与所述查找单元相连,如果所述通讯录有与所述姓名信息对应的联系方式,则提示是否存储该联系方式;接收单元,与所述提示单元相连,用于接收对提示信息的反馈结果;所述存储单元,与所述接收单元相连,还用于如果所述反馈结果为替换存储,则将所述姓名信息对应的联系方式更换为所述联系方式,如果所述反馈结果为添加存储,则在所述姓名信息对应的原有联系方式上增加所述联系方式;如果所述反馈结果为取消存储,则流程结束。Wherein, the saving module further includes: a prompting unit connected to the search unit, if the address book has a contact information corresponding to the name information, prompting whether to store the contact information; a receiving unit connected to the prompting unit The unit is connected to receive the feedback result of the prompt information; the storage unit is connected to the receiving unit and is also used to replace the contact information corresponding to the name information with the If the feedback result is adding storage, add the contact information to the original contact information corresponding to the name information; if the feedback result is cancel storage, the process ends.

本发明提供实施例,在接收到短消息后,识别该短消息是否为更换联系方式的短消息,当识别结果为更改联系方式的短消息后,自动发起存储操作,实现自动识别和自动存储联系方式的目的,减少了人机交互的次数,缩短了联系方式的存储时间,优化了联系方式的管理流程,降低了联系方式丢失的可能。The present invention provides an embodiment. After receiving a short message, identify whether the short message is a short message for changing the contact method. When the identification result is a short message for changing the contact method, automatically initiate a storage operation to realize automatic identification and automatic storage of the contact. The purpose of the method is to reduce the number of human-computer interactions, shorten the storage time of contact information, optimize the management process of contact information, and reduce the possibility of contact information loss.

附图说明Description of drawings

图1为本发明提供的联系方式的管理方法实施例的流程示意图。FIG. 1 is a schematic flowchart of an embodiment of a method for managing contact information provided by the present invention.

图2为本发明提供的智能识别并存储新联系人的系统和方法流程示意图;FIG. 2 is a schematic flowchart of a system and method for intelligently identifying and storing new contacts provided by the present invention;

图3为本发明提供的自动识别和自动存储的流程示意图;Fig. 3 is a schematic flow chart of automatic identification and automatic storage provided by the present invention;

图4为本发明提供的联系方式的管理装置实施例的结构示意图。FIG. 4 is a schematic structural diagram of an embodiment of a device for managing contact information provided by the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图及具体实施例对本发明作进一步的详细描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

图1为本发明提供的联系方式的管理方法实施例的流程示意图。图1所示方法实施例,包括:FIG. 1 is a schematic flowchart of an embodiment of a method for managing contact information provided by the present invention. The method embodiment shown in Figure 1 includes:

步骤101、在接收到短消息后,识别所述短消息是否为用于更改联系方式的短消息;Step 101, after receiving the short message, identify whether the short message is a short message for changing contact information;

步骤102、如果识别结果为更改联系方式的短消息,则从所述短消息中提取联系方式和姓名信息;Step 102, if the recognition result is a short message for changing contact information, then extract the contact information and name information from the short message;

步骤103、保存所述联系方式和所述姓名信息。Step 103, saving the contact information and the name information.

本发明提供的方法实施例,在接收到短消息后,识别该短消息是否为更换联系方式的短消息,当识别结果为更改联系方式的短消息后,自动发起存储操作,实现自动识别和自动存储联系方式的目的,减少了人机交互的次数,缩短了联系方式的存储时间,优化了联系方式的管理流程,降低了联系方式丢失的可能。In the embodiment of the method provided by the present invention, after receiving a short message, identify whether the short message is a short message for changing contact information, and when the identification result is a short message for changing contact information, automatically initiate a storage operation to realize automatic identification and automatic The purpose of storing contact information is to reduce the number of human-computer interactions, shorten the storage time of contact information, optimize the management process of contact information, and reduce the possibility of contact information loss.

下面对本发明提供的方法实施例作进一步说明:The method embodiment provided by the present invention is described further below:

所述识别所述短消息是否为用于更改联系方式的短消息,包括:The identification of whether the short message is a short message for changing contact information includes:

利用预先存储的关键字,在所述短消息的正文中查找所述预先存储的文字;如果在所述短消息的正文查找到所述预先存储的关键字,则识别所述短消息为用于更改联系方式的短消息。Utilize the pre-stored keywords to search for the pre-stored text in the text of the short message; if the pre-stored keywords are found in the text of the short message, then identify the short message as Short message to change contact details.

其中所述关键字可以为“新号码”、“换号”、“请惠存”。Wherein the keyword can be "new number", "change number", "please save".

具体来说,对该接收的每条短消息的内容进行关键词监测识别,如出现“新号码”、“换号”、“请惠存”等等关键词,就会将该短消息进行标注,识别该短消息为用于更换联系方式的短消息。Specifically, carry out keyword monitoring and identification on the content of each short message received, such as "new number", "change number", "please save" and other keywords, the short message will be marked , identifying the short message as a short message for changing contact information.

通过关键字来识别短消息是否为更换联系方式的短消息,实现自动识别目的,实现简单;且减少了人机交互的时间,优化了联系方式的管理流程。The key word is used to identify whether the short message is a short message for changing contact information, so as to realize the purpose of automatic identification, and the realization is simple; and the time for human-computer interaction is reduced, and the management process of contact information is optimized.

所述从所述短消息中提取联系方式和姓名信息,包括:The extraction of contact information and name information from the short message includes:

如果短消息的内容中有数字,则在短消息的正文中提取姓名信息和联系方式;如果短消息中没有数字,则从短消息的正文中提取姓名,在短消息的发信号码中提取电话号码。If there are numbers in the content of the short message, name information and contact information are extracted from the text of the short message; if there are no numbers in the short message, the name is extracted from the text of the short message, and the phone number is extracted from the signaling number of the short message Number.

具体来说,提取已标注为更换联系方式的短消息,从中得到姓名信息和联系方式,提取采用正则匹配原理进行。基于正则匹配原理进行提取操作,实现了信息的自动采集,减少了人机交互的时间,优化了联系方式的管理流程。Specifically, extract the short messages that have been marked as changing contact information, and obtain name information and contact information from them, and use the regular matching principle for extraction. The extraction operation is based on the principle of regular matching, which realizes the automatic collection of information, reduces the time of human-computer interaction, and optimizes the management process of contact information.

其中,所述联系方式不但可以为手机号码,还可以是其他通讯账号,如微信账号,邮箱账号等。Wherein, the contact method can be not only a mobile phone number, but also other communication accounts, such as WeChat account, email account, etc.

下面对保存所述联系方式和所述姓名信息的步骤进行具体说明,包括:The steps for saving the contact information and the name information are described in detail below, including:

在通讯录中查找所述姓名信息对应的联系方式;Find the contact information corresponding to the name information in the address book;

情况一:如果所述通讯录没有与所述姓名信息对应的联系方式,则在所述通讯录中存储所述姓名信息和所述联系方式。Case 1: If the address book has no contact information corresponding to the name information, then store the name information and the contact information in the address book.

情况二:如果所述通讯录有与所述姓名信息对应的联系方式,则提示是否存储该联系方式;Situation 2: If the address book has a contact method corresponding to the name information, prompt whether to store the contact method;

接收对提示信息的反馈结果;Receive feedback on prompt information;

如果所述反馈结果为替换存储,则将所述姓名信息对应的联系方式更换为所述联系方式,如果所述反馈结果为添加存储,则在所述姓名信息对应的原有联系方式上增加所述联系方式;如果所述反馈结果为取消存储,则流程结束。If the feedback result is replacement storage, replace the contact information corresponding to the name information with the contact information, and if the feedback result is additional storage, add the original contact information corresponding to the name information The above contact information; if the feedback result is cancellation of storage, the process ends.

对提取出的联系方式和姓名进行存储,实现了信息的自动存储,减少了人机交互的时间,优化了联系方式的管理流程。The extracted contact information and name are stored, which realizes the automatic storage of information, reduces the time of human-computer interaction, and optimizes the management process of contact information.

下面以应用实例进行说明:The following is an application example to illustrate:

图2为本发明提供的智能识别并存储新联系人的系统和方法流程示意图,图2所示的方法的具体步骤如下:Fig. 2 is a schematic flow diagram of the system and method for intelligently identifying and storing new contacts provided by the present invention, and the specific steps of the method shown in Fig. 2 are as follows:

步骤201、当系统开关开启后,智能识别并存储新联系人功能才被开启;Step 201, when the system switch is turned on, the function of intelligently identifying and storing new contacts is turned on;

需要说明的是,步骤201是可选的,以方便用户控制是否开启联系方式的管理功能。It should be noted that step 201 is optional to facilitate the user to control whether to enable the management function of contact information.

步骤202、如果判断是需要进行智能识别并存储新联系人,识别模块就会开始对短消息内容进行检测和标记。Step 202, if it is judged that it is necessary to perform intelligent identification and store new contacts, the identification module will start to detect and mark the content of the short message.

步骤203、对被标记的短消息进行姓名和电话号码信息的提取。Step 203, extracting name and phone number information from the marked short message.

步骤204、对提取信息自动填充联系人存储界面,待用户确认后方可存储。Step 204: Automatically fill in the contact storage interface for the extracted information, and store it after confirmation by the user.

图3为本发明提供的自动识别和自动存储的流程示意图。图3所示的方法的具体步骤如下:Fig. 3 is a schematic flow chart of automatic identification and automatic storage provided by the present invention. The specific steps of the method shown in Figure 3 are as follows:

步骤301,该步骤是对短消息的初步识别,对短消息正文内容中进行“新号码”、“换号”、“请惠存”关键词的检测,如果检测到关键词,则会对该短消息进行标记,进入步骤302。Step 301, this step is the preliminary recognition of short message, carries out the detection of " new number ", " change number ", " please benefit deposit " keyword in the text content of short message, if detects keyword, then will this The short message is marked and enters step 302.

步骤302,该步骤为将步骤301中的被标记的短消息进行姓名和电话号码的提取,提取采用正则匹配原则进行,根据短消息正文中是否包含数字进行两种方式提取,提取姓名和电话号码完毕后会进入步骤303。Step 302, this step is to carry out the extraction of name and phone number to the marked short message in step 301, extract and adopt the regular matching principle to carry out, carry out two ways of extraction according to whether numbers are included in the text of the short message, extract name and phone number Will enter step 303 after finishing.

步骤303,该步骤会对步骤302中所提取的姓名和电话号码进行自动填充到存储界面,此时号码存储器会针对姓名对智能终端通讯录进行检索,如果检索后发现本地通信录有和该提取姓名一样的名字,则存储界面会给用户三个选项,分别为替换存储、添加存储、取消存储。如果检索后发现本币通讯录没有和该提取姓名一样的名字,则存储界面会给用户两个选项,分别为添加存储、取消存储。用户点击存储操作,则可以保存新联系人,用户点击取消操作,则可以不进行保存新联系人操作,。Step 303, this step will automatically fill the name and phone number extracted in step 302 into the storage interface. At this time, the number memory will search the smart terminal address book for the name. Names with the same name, the storage interface will give the user three options, namely, replace storage, add storage, and cancel storage. If after searching, it is found that the local currency address book does not have the same name as the extracted name, the storage interface will give the user two options, namely add storage and cancel storage. If the user clicks the save operation, the new contact can be saved, and if the user clicks the cancel operation, the new contact operation does not need to be saved.

本发明实现较为简单,却能给用户带来很大的方便,激发用户的创意性,使用户能够更方便快捷的保存新联系人信息。The invention is relatively simple to implement, but can bring great convenience to users, stimulate creativity of users, and enable users to save new contact information more conveniently and quickly.

图4为本发明提供的联系方式的管理装置实施例的结构示意图。结合图1至3所示的方法,图4所示装置,包括:FIG. 4 is a schematic structural diagram of an embodiment of a device for managing contact information provided by the present invention. In conjunction with the method shown in Figures 1 to 3, the device shown in Figure 4 includes:

识别模块401,用于在接收到短消息后,识别所述短消息是否为用于更改联系方式的短消息;An identification module 401, configured to identify whether the short message is a short message for changing contact information after receiving the short message;

提取模块402,与所述识别模块401相连,用于如果识别结果为更改联系方式的短消息,则从所述短消息中提取联系方式和姓名信息;An extraction module 402, connected to the identification module 401, is used to extract contact information and name information from the short message if the identification result is a short message for changing the contact information;

保存模块403,与所述提取模块402相连,用于保存所述联系方式和所述姓名信息。The saving module 403 is connected with the extracting module 402 and used for saving the contact information and the name information.

其中,所述识别模块401包括:Wherein, the identification module 401 includes:

查找单元,用于利用预先存储的关键字,在所述短消息的正文中查找所述预先存储的文字;A search unit, configured to use pre-stored keywords to search for the pre-stored text in the text of the short message;

如果在所述短消息的正文查找到所述预先存储的关键字,则识别所述短消息为用于更改联系方式的短消息。If the pre-stored keyword is found in the text of the short message, the short message is identified as a short message for changing contact information.

其中,所述提取模块402具体用于:Wherein, the extracting module 402 is specifically used for:

如果短消息的内容中有数字,则在短消息的正文中提取姓名信息和联系方式;如果短消息中没有数字,则从短消息的正文中提取姓名,在短消息的发信号码中提取电话号码。If there are numbers in the content of the short message, name information and contact information are extracted from the text of the short message; if there are no numbers in the short message, the name is extracted from the text of the short message, and the phone number is extracted from the signaling number of the short message Number.

其中,所述保存模块403包括:Wherein, the saving module 403 includes:

查找单元,用于在通讯录中查找所述姓名信息对应的联系方式;A search unit, configured to search the contact information corresponding to the name information in the address book;

存储单元,与所述查找单元相连,用于如果所述通讯录没有与所述姓名信息对应的联系方式,则在所述通讯录中存储所述姓名信息和所述联系方式。A storage unit, connected to the search unit, configured to store the name information and the contact information in the address book if there is no contact information corresponding to the name information in the address book.

其中,所述保存模块403还包括:Wherein, the saving module 403 also includes:

提示单元,与所述查找单元相连,如果所述通讯录有与所述姓名信息对应的联系方式,则提示是否存储该联系方式;A prompting unit, connected to the search unit, if the address book has a contact information corresponding to the name information, prompting whether to store the contact information;

接收单元,与所述提示单元相连,用于接收对提示信息的反馈结果;A receiving unit, connected to the prompting unit, for receiving a feedback result of the prompting information;

所述存储单元,与所述接收单元相连,还用于如果所述反馈结果为替换存储,则将所述姓名信息对应的联系方式更换为所述联系方式,如果所述反馈结果为添加存储,则在所述姓名信息对应的原有联系方式上增加所述联系方式;如果所述反馈结果为取消存储,则流程结束。The storage unit is connected to the receiving unit, and is also used to replace the contact information corresponding to the name information with the contact information if the feedback result is replacement storage, and if the feedback result is additional storage, Then add the contact information to the original contact information corresponding to the name information; if the feedback result is cancellation of storage, the process ends.

下面通过以下实例来进一步阐述本发明提供的装置。The device provided by the present invention will be further described below through the following examples.

本发明提供的装置包括开关模块,识别模块,提取模块,保存模块。其中:The device provided by the invention includes a switch module, an identification module, an extraction module and a storage module. in:

开关模块:与所述的识别模块相连接,当系统开关开启时,则开启了自动识别短消息并存储短消息功能,并通知识别模块开始检测监测识别短消息。Switch module: connected to the identification module, when the system switch is turned on, the function of automatically identifying short messages and storing short messages is opened, and the identification module is notified to start detecting, monitoring and identifying short messages.

识别模块:与开关模块、提取模块相连接,是对短消息中的关键字进行自动检测和识别,如在短消息中检测到“新号码”、“换号”、“请惠存”等等关键词,那么短消息识别器就会将该短消息进行标注,并将标注的短消息传递给提取模块。Identification module: connected with the switch module and the extraction module, it is used to automatically detect and identify the keywords in the short message, such as detecting "new number", "change number", "please save" and so on in the short message keyword, then the short message recognizer will mark the short message, and pass the marked short message to the extraction module.

提取模块:与识别模块、保存模块连接,对识别模块已经标注的短消息进行信息提取,提取采用正则匹配原理进行。提取方式大致分为两种:1.如果短消息中有数字,则在短消息正文中提取姓名和电话号码;2.如果短消息中没有数字,则在短消息正文中提取姓名,在短消息号码中提取电话号码。将提取出来的姓名和电话号码传递给保存模块。Extraction module: connected with the recognition module and the storage module, extracts information from the short messages marked by the recognition module, and uses the regular matching principle for the extraction. The extraction methods are roughly divided into two types: 1. If there are numbers in the short message, then extract the name and phone number in the text of the short message; 2. If there are no numbers in the short message, then extract the name in the text of the short message, Extract the phone number from the number. Pass the extracted name and phone number to the save module.

保存模块:与提取模块相连接,将提取模块传递过来的姓名和电话号码进行保存,保存采用以下原则:将提取模块提取的姓名和电话号码自动填写到存储界面上,此时号码存储器会针对姓名对智能终端通讯录进行检索,如果检索后发现本地通信录有和该提取姓名一样的名字,则存储界面会给用户三个选项,分别为替换存储、添加存储、取消存储。如果检索后发现本币通讯录没有和该提取姓名一样的名字,则存储界面会给用户两个选项,分别为添加存储、取消存储。用户点击存储操作,则可以保存新联系人,用户点击取消操作,则可以不进行保存新联系人操作。Save module: connect with the extraction module, save the name and phone number passed by the extraction module, the following principles are used for saving: automatically fill in the name and phone number extracted by the extraction module on the storage interface, and the number storage will be for the name at this time Retrieve the address book of the smart terminal. If the search finds that the local address book has the same name as the extracted name, the storage interface will give the user three options, namely, replace storage, add storage, and cancel storage. If after searching, it is found that the local currency address book does not have the same name as the extracted name, the storage interface will give the user two options, namely add storage and cancel storage. If the user clicks the save operation, the new contact can be saved, and if the user clicks the cancel operation, the operation of saving the new contact does not need to be performed.

其中,所述开关模块是可选的,以方便用户控制是否开启联系方式的管理功能。Wherein, the switch module is optional, so as to facilitate the user to control whether to enable the management function of the contact information.

由上可以看出,本发明提供的装置实施例,在接收到短消息后,识别该短消息是否为更换联系方式的短消息,当识别结果为更改联系方式的短消息后,自动发起存储操作,实现自动识别和自动存储联系方式的目的,减少了人机交互的次数,缩短了联系方式的存储时间,优化了联系方式的管理流程,降低了联系方式丢失的可能。As can be seen from the above, the device embodiment provided by the present invention, after receiving a short message, identifies whether the short message is a short message for changing contact information, and automatically initiates a storage operation when the identification result is a short message for changing contact information , realize the purpose of automatic identification and automatic storage of contact information, reduce the number of human-computer interaction, shorten the storage time of contact information, optimize the management process of contact information, and reduce the possibility of contact information loss.

本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned embodiments can be implemented using a computer program flow, the computer program can be stored in a computer-readable storage medium, and the computer program can be run on a corresponding hardware platform (such as system, device, device, device, etc.), and when executed, includes one or a combination of the steps of the method embodiment.

可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Optionally, all or part of the steps in the above embodiments can also be implemented using integrated circuits, and these steps can be fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module accomplish. As such, the present invention is not limited to any specific combination of hardware and software.

上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/functional modules/functional units in the above embodiments can be realized by general-purpose computing devices, and they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices.

上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/functional module/functional unit in the above-mentioned embodiments is realized in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope described in the claims.

Claims (10)

1.一种联系方式的管理方法,其特征在于,包括:1. A method for managing contact information, comprising: 在接收到短消息后,识别所述短消息是否为用于更改联系方式的短消息;After receiving the short message, identify whether the short message is a short message for changing contact information; 如果识别结果为更改联系方式的短消息,则从所述短消息中提取联系方式和姓名信息;If the recognition result is a short message for changing contact information, extracting contact information and name information from the short message; 保存所述联系方式和所述姓名信息。Save the contact information and the name information. 2.根据权利要求1所述的方法,其特征在于,所述识别所述短消息是否为用于更改联系方式的短消息,包括:2. The method according to claim 1, wherein the identifying whether the short message is a short message for changing contact information comprises: 利用预先存储的关键字,在所述短消息的正文中查找所述预先存储的文字;using pre-stored keywords to search for the pre-stored text in the text of the short message; 如果在所述短消息的正文查找到所述预先存储的关键字,则识别所述短消息为用于更改联系方式的短消息。If the pre-stored keyword is found in the text of the short message, the short message is identified as a short message for changing contact information. 3.根据权利要求1所述的方法,其特征在于,所述从所述短消息中提取联系方式和姓名信息,包括:3. The method according to claim 1, wherein said extracting contact information and name information from said short message comprises: 如果短消息的内容中有数字,则在短消息的正文中提取姓名信息和联系方式;If there are numbers in the content of the short message, name information and contact information are extracted from the text of the short message; 如果短消息中没有数字,则从短消息的正文中提取姓名,在短消息的发信号码中提取电话号码。If there is no number in the short message, the name is extracted from the text of the short message, and the phone number is extracted from the signaling code of the short message. 4.根据权利要求1所述的方法,其特征在于,所述保存所述联系方式和所述姓名信息,包括:4. The method according to claim 1, wherein said saving said contact information and said name information comprises: 在通讯录中查找所述姓名信息对应的联系方式;Find the contact information corresponding to the name information in the address book; 如果所述通讯录没有与所述姓名信息对应的联系方式,则在所述通讯录中存储所述姓名信息和所述联系方式。If the address book has no contact information corresponding to the name information, then store the name information and the contact information in the address book. 5.根据权利要求4所述的方法,其特征在于,所述保存所述联系方式和所述姓名信息,还包括:5. The method according to claim 4, wherein said storing said contact information and said name information further comprises: 如果所述通讯录有与所述姓名信息对应的联系方式,则提示是否存储该联系方式;If the address book has a contact method corresponding to the name information, prompt whether to store the contact method; 接收对提示信息的反馈结果;Receive feedback on prompt information; 如果所述反馈结果为替换存储,则将所述姓名信息对应的联系方式更换为所述联系方式,如果所述反馈结果为添加存储,则在所述姓名信息对应的原有联系方式上增加所述联系方式;如果所述反馈结果为取消存储,则流程结束。If the feedback result is replacement storage, replace the contact information corresponding to the name information with the contact information, and if the feedback result is additional storage, add the original contact information corresponding to the name information The above contact information; if the feedback result is cancellation of storage, the process ends. 6.一种联系方式的管理装置,其特征在于,包括:6. A management device for contact information, characterized in that it comprises: 识别模块,用于在接收到短消息后,识别所述短消息是否为用于更改联系方式的短消息;An identification module, configured to identify whether the short message is a short message for changing contact information after receiving the short message; 提取模块,与所述识别模块相连,用于如果识别结果为更改联系方式的短消息,则从所述短消息中提取联系方式和姓名信息;An extraction module, connected to the identification module, used to extract contact information and name information from the short message if the identification result is a short message for changing contact information; 保存模块,与所述提取模块相连,用于保存所述联系方式和所述姓名信息。The saving module is connected with the extracting module and is used for saving the contact information and the name information. 7.根据权利要求6所述的装置,其特征在于,所述识别模块包括:7. The device according to claim 6, wherein the identification module comprises: 查找单元,用于利用预先存储的关键字,在所述短消息的正文中查找所述预先存储的文字;A search unit, configured to use pre-stored keywords to search for the pre-stored text in the text of the short message; 如果在所述短消息的正文查找到所述预先存储的关键字,则识别所述短消息为用于更改联系方式的短消息。If the pre-stored keyword is found in the text of the short message, the short message is identified as a short message for changing contact information. 8.根据权利要求6所述的装置,其特征在于,所述提取模块具体用于:8. The device according to claim 6, wherein the extraction module is specifically used for: 如果短消息的内容中有数字,则在短消息的正文中提取姓名信息和联系方式;如果短消息中没有数字,则从短消息的正文中提取姓名,在短消息的发信号码中提取电话号码。If there are numbers in the content of the short message, name information and contact information are extracted from the text of the short message; if there are no numbers in the short message, the name is extracted from the text of the short message, and the phone number is extracted from the signaling number of the short message Number. 9.根据权利要求6所述的装置,其特征在于,所述保存模块包括:9. The device according to claim 6, wherein the saving module comprises: 查找单元,用于在通讯录中查找所述姓名信息对应的联系方式;A search unit, configured to search the contact information corresponding to the name information in the address book; 存储单元,与所述查找单元相连,用于如果所述通讯录没有与所述姓名信息对应的联系方式,则在所述通讯录中存储所述姓名信息和所述联系方式。A storage unit, connected to the search unit, configured to store the name information and the contact information in the address book if there is no contact information corresponding to the name information in the address book. 10.根据权利要求9所述的装置,其特征在于,所述保存模块还包括:10. The device according to claim 9, wherein the saving module further comprises: 提示单元,与所述查找单元相连,如果所述通讯录有与所述姓名信息对应的联系方式,则提示是否存储该联系方式;A prompting unit, connected to the search unit, if the address book has a contact information corresponding to the name information, prompting whether to store the contact information; 接收单元,与所述提示单元相连,用于接收对提示信息的反馈结果;A receiving unit, connected to the prompting unit, for receiving a feedback result of the prompting information; 所述存储单元,与所述接收单元相连,还用于如果所述反馈结果为替换存储,则将所述姓名信息对应的联系方式更换为所述联系方式,如果所述反馈结果为添加存储,则在所述姓名信息对应的原有联系方式上增加所述联系方式;如果所述反馈结果为取消存储,则流程结束。The storage unit is connected to the receiving unit, and is also used to replace the contact information corresponding to the name information with the contact information if the feedback result is replacement storage, and if the feedback result is additional storage, Then add the contact information to the original contact information corresponding to the name information; if the feedback result is cancellation of storage, the process ends.
CN201410843342.XA 2014-12-30 2014-12-30 Method and device for managing contact information Withdrawn CN105812527A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410843342.XA CN105812527A (en) 2014-12-30 2014-12-30 Method and device for managing contact information
PCT/CN2015/076324 WO2016107005A1 (en) 2014-12-30 2015-04-10 Processing method and apparatus for contact information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410843342.XA CN105812527A (en) 2014-12-30 2014-12-30 Method and device for managing contact information

Publications (1)

Publication Number Publication Date
CN105812527A true CN105812527A (en) 2016-07-27

Family

ID=56284065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410843342.XA Withdrawn CN105812527A (en) 2014-12-30 2014-12-30 Method and device for managing contact information

Country Status (2)

Country Link
CN (1) CN105812527A (en)
WO (1) WO2016107005A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786749A (en) * 2017-10-31 2018-03-09 努比亚技术有限公司 A kind of information processing method, terminal and computer-readable recording medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030103611A1 (en) * 1999-12-01 2003-06-05 Paul Lapstun Method and system for telephone control using sensor with identifier
CN102833390A (en) * 2011-06-16 2012-12-19 富泰华工业(深圳)有限公司 Mobile phone and short message processing method thereof
CN102868801A (en) * 2012-08-27 2013-01-09 百度在线网络技术(北京)有限公司 Method and device for updating contact person telephone number, and mobile terminal
CN102970402A (en) * 2012-11-16 2013-03-13 Tcl集团股份有限公司 Method and device for updating contact information of mobile terminal address book
CN103491234A (en) * 2012-06-11 2014-01-01 联想(北京)有限公司 Data processing method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561147A (en) * 2013-10-15 2014-02-05 广东欧珀移动通信有限公司 Address-book updating method and system of mobile equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030103611A1 (en) * 1999-12-01 2003-06-05 Paul Lapstun Method and system for telephone control using sensor with identifier
CN102833390A (en) * 2011-06-16 2012-12-19 富泰华工业(深圳)有限公司 Mobile phone and short message processing method thereof
CN103491234A (en) * 2012-06-11 2014-01-01 联想(北京)有限公司 Data processing method and electronic equipment
CN102868801A (en) * 2012-08-27 2013-01-09 百度在线网络技术(北京)有限公司 Method and device for updating contact person telephone number, and mobile terminal
CN102970402A (en) * 2012-11-16 2013-03-13 Tcl集团股份有限公司 Method and device for updating contact information of mobile terminal address book

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786749A (en) * 2017-10-31 2018-03-09 努比亚技术有限公司 A kind of information processing method, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
WO2016107005A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
CN104320756B (en) A kind of variation and device of account information
US9426289B2 (en) Techniques for topical customer service menu reconfiguration based on social media
US10091643B2 (en) Method and apparatus for displaying associated information in electronic device
CN104575494A (en) Speech processing method and terminal
CN103000175A (en) Voice recognition method and mobile terminal
CN101651731A (en) Method and system for managing address book and mobile terminal
CN106790727B (en) Message push method and device
CN104038630A (en) Speech processing method and device
US11095627B2 (en) Message display method, apparatus, and device
WO2013166897A1 (en) Method, client, server and system for intelligent recognizing contents of short message
CN103281798A (en) Method, device and system for achieving modification synchronization
CN105100518A (en) Speech mailbox realization method and apparatus
CN104618877A (en) Short message arranging method and device
CN103281446A (en) Voice short message sending system and voice short message sending method
CN106682006A (en) Information prompting method and device about communication content
CN104426868A (en) Request processing method and processing apparatus
WO2017059679A1 (en) Account processing method and apparatus
CN103973876A (en) Mobile terminal and tracking method for lost mobile terminal
CN104994223A (en) Text message editing method and device
CN107272460A (en) The intelligent robot and its long-range control method, storage medium controlled based on cloud
CN105407202A (en) Method and terminal for remote query of contact information
WO2017032146A1 (en) File sharing method and apparatus
CN104811560A (en) Message reminder method and device
CN107197074A (en) Book management method, device, storage medium and electronic equipment
CN105812527A (en) Method and device for managing contact information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20160727

WW01 Invention patent application withdrawn after publication