WO2013104145A1 - Short-message-based information saving method and mobile terminal - Google Patents

Short-message-based information saving method and mobile terminal Download PDF

Info

Publication number
WO2013104145A1
WO2013104145A1 PCT/CN2012/072508 CN2012072508W WO2013104145A1 WO 2013104145 A1 WO2013104145 A1 WO 2013104145A1 CN 2012072508 W CN2012072508 W CN 2012072508W WO 2013104145 A1 WO2013104145 A1 WO 2013104145A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
short message
user
phone number
phone book
Prior art date
Application number
PCT/CN2012/072508
Other languages
French (fr)
Chinese (zh)
Inventor
董军波
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013104145A1 publication Critical patent/WO2013104145A1/en

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/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data
    • 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
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for saving information based on a short message and a mobile terminal.
  • mobile phones have become popular, and everyone usually uses mobile phones to communicate with each other.
  • mobile phone users may sometimes have to change their mobile phone number, and the first task after changing the number is to let their friends and family know and update their new ones in the first time. The number, in order to contact in the future. If their friends and family do not save their new number in the first place, it will affect future communication.
  • the existing method of notifying friends and relatives when changing the number of mobile phones is usually to send a new number to the relatives and friends by sending a short message. After receiving the short message, the good friend updates and saves the new number. There are two possible ways to save the current update:
  • the present invention uses the following technical solutions:
  • a method for saving information based on short messages including:
  • the sending end provides a menu for the user to select a short message sending mode, wherein the short message sending mode includes: an information notification mode and a normal short message mode;
  • the sending end sends the information input by the user to the receiving end designated by the user by using a short message; a flag bit of a short message sending mode selected by the user; the information input by the user includes at least contact information;
  • the receiving end determines that the value of the flag bit indicates the information notification mode
  • the receiving end updates the contact information extracted from the short message to the phone book.
  • the information notification manner includes a content push mode
  • the contact information includes a phone number information
  • the information storage manner further includes: after knowing that the user selects the content push mode, the sender further provides an interface for the user to input its new phone number information as the short message content;
  • the step of saving the contact information extracted from the short message to the phone book includes:
  • the terminal uses the new phone number information to update the phone number information of the sending end in the The phone number information in the record corresponding to the phone book.
  • the information notification manner includes the number push mode
  • the contact information includes phone number information
  • the information storage manner further includes: after knowing that the user selects the number push mode, the sending end further provides an interface for the user to input the old phone number information as the short message content;
  • the step of saving the contact information extracted from the short message to the phone book includes:
  • the receiving end When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the current number pushing mode, the receiving end uses the phone number information of the sending end to update the old phone number information in the phone book. The phone number information in the corresponding record.
  • the information input by the user further includes name information
  • the information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the phone number information of the sending end, creating a new one in the phone book, including the name information and the Record of new phone number information.
  • the information input by the user further includes name information
  • the information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the old phone number information, creating a new one in the phone book, including the name information and the sending Record of the phone number information of the terminal.
  • the information notification manner includes: the second information notification manner; the contact information includes second information, where the second information includes: a QQ number, an MSN account, an email address, a microblog account, Any one or any combination of home addresses;
  • the information saving method further includes: after learning that the user selects the second information notification manner, the sending end provides an interface for the user to input new second information as the short message content;
  • the step of saving the contact information extracted from the short message to the phone book includes:
  • the receiving end when receiving the short message, determines that the value of the flag bit indicates the second information In the notification mode, the new second information is used to update the corresponding information item in the record corresponding to the phone number information of the sending end in the phone book.
  • the information input by the user further includes name information
  • the information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the phone number information of the sending end, creating a new one in the phone book, including the name information and the A record of the new second information.
  • the information saving method further includes:
  • the receiving end prompts the user when receiving the short message carrying the flag bit; after confirming that the user selects to save, the contact information extracted from the short message is updated and saved to
  • a mobile terminal as a transmitting end, includes: an interface providing module and a sending module, and the receiving end comprises: a receiving module and a saving module;
  • the interface providing module is configured to: provide a menu for the user to select a short message sending manner, wherein the short message sending manner includes: an information notification manner and a normal short message manner;
  • the sending module is configured to: after the interface providing module knows that the user selects the information notification manner, after confirming that the user completes the input of the short message content, the information input by the user is sent to the receiving end designated by the user by using a short message;
  • the message carries a flag indicating a message transmission mode selected by the user; the information input by the user includes at least contact information; the receiving module is configured to: receive a short message sent by the opposite end;
  • the saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the phone book .
  • the information notification manner includes a content push mode
  • the contact information includes a phone number information
  • the interface providing module is further configured to: after learning that the user selects the content pushing mode, providing an interface for the user to input its new phone number information as the short message content;
  • the saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
  • the phone number information of the sending end is updated by using the new phone number information in the record corresponding to the phone book. Phone number information.
  • the information notification manner includes the number push mode
  • the contact information includes phone number information
  • the interface providing module is further configured to: after learning that the user selects the number pushing mode, providing an interface for the user to input the old phone number information as the short message content;
  • the saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
  • the phone number information of the sending end is used to update the record corresponding to the old phone number information in the phone book. Phone number information.
  • the information input by the user further includes name information
  • the saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new phone number Record of information.
  • the information input by the user further includes name information
  • the saving module is further configured to: when the corresponding record is not found in the phone book according to the old phone number information, create a new phone number in the phone book that includes the name information and the sending end Record of information.
  • the information notification manner includes: the second information notification manner; the contact information includes second information, where the second information includes: a QQ number, an MSN account, an email address, a microblog account, Any one or any combination of home addresses;
  • the interface providing module is further configured to: after knowing that the user selects the second information notification manner, Providing an interface for the user to input new second information as the short message content;
  • the saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
  • the receiving module When it is determined that the value of the flag bit of the short message received by the receiving module indicates the second information notification mode, updating the phone number information of the sending end to correspond to the phone book by using the new second information The corresponding information item in the record.
  • the information input by the user further includes name information
  • the saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new one The record of two information.
  • the mobile terminal further includes a prompting module when it is a receiving end:
  • the prompting module is configured to: prompt the user when receiving the short message carrying the flag bit;
  • the saving module is further configured to: after confirming that the user selects to save, saving the contact information extracted from the short message to the phone book.
  • the steps of saving the new contact information by the user are minimized, for example, the user can save the new number provided by the friends and relatives in the change message.
  • the saving efficiency of the new contact information sent by the friends and relatives of the short message is greatly improved, and no complicated copying process is required, and no complicated process is required.
  • the sending category the sending category will automatically pop up the prompt.
  • the user only needs to confirm and select the save location, which is very convenient and greatly improves the user experience.
  • FIG. 1 is a flowchart of a method for saving information based on a short message
  • FIG. 2 is a flowchart of sending a new number of a short message by a sending terminal according to an embodiment of the present invention:
  • FIG. 3 is a flowchart of receiving and saving a number by a receiving end message according to an embodiment of the present invention. Preferred embodiment of the invention
  • a method for saving information based on a short message includes: Step 10: The sending end provides a menu for the user to select a short message sending manner, where the short message sending manner includes: the information notification manner and the ordinary short message
  • the method of information notification may be: any one of a content push mode, a current number push mode, and a second information push mode;
  • Step 20 If the sending end knows the user selection information notification mode, after confirming that the user completes the input of the short message content, the information input by the user is sent to the receiving end designated by the user by using a short message; wherein the short message carries the identifier Bit, the value of the flag bit indicates the mode of sending the short message selected by the user; in addition, the information input by the user includes at least the contact information;
  • Step 30 When receiving the short message carrying the above-mentioned flag bit, if the receiving terminal determines that the value of the flag bit indicates the information notification mode, according to the name information carried in the short message, the contact information extracted from the short message is obtained. The mode information update is saved to the phone book.
  • the above-mentioned update and save action may be performed after the user at the receiving end confirms, that is, after receiving the short message, the receiving end can determine that the contact information is saved by the flag bit, and then the user can be notified in the form of a pop-up prompt, such as " ***New contact information, please save", and then know that the user confirms the selection and save, execute the above update and save process.
  • the sending and receiving processes of the short message need to be modified, and some function options supporting the above embodiments are added to add the related information items of the short message.
  • the implementation of the present embodiment can be divided into two parts: a sending end sends a new contact method through a short message, and a receiving end receives a contact information through a short message.
  • the short message is The first section of the content is reserved as a flag, as follows:
  • This number push method means that this number for sending SMS is the new number to be used in the future. In this case, you only need to input the original mobile phone number when editing the SMS. Of course, an interface can also be provided for the owner to enter his or her name;
  • the second information push mode means that the short message is sent to the other party to modify the second information, wherein the second information includes: QQ number, MSN account number, email address, microblog account number, home address One or any combination.
  • the specific information also needs to be combined with the contact settings allowed in the phone book in the existing model.
  • the sender sets the value of the corresponding flag bit to a non-zero value, such as 1. 2 or 3.
  • the user wants to send a new contact information to friends and relatives by SMS, the user must first The situation selects one of the above three function items (content push, this number push, second information push), and the sender sets the short message flag to the corresponding value, and enters the edit message page after selecting the function item, if the user If the content push mode is selected, at least the new phone number needs to be entered. If the number push mode is selected, only the phone number can be sent. If the second message push is selected, the new second message needs to be input.
  • the receiving end is mainly responsible for receiving the short message, identifying the corresponding short message sending mode according to the value of the flag bit, and popping up a prompt for the user to select the update and saving, and when the update is saved, the new recording process of the phone book needs to be implemented. Or update the record process as follows:
  • the receiving end when the receiving end receives the short message, it determines whether the value of the flag bit indicates the information notification mode. If not, it processes according to the normal short message receiving process. If yes, the content pushing mode, the number pushing mode, and The second information notification method is distinguished. If the content is pushed, the new phone number is read from the short message. If the number is pushed, the sender number is extracted and the original number is extracted from the short message. The second information notification method extracts the second information from the short message, and then saves it to the temporary variable, and prompts "*** new contact method, please save” in the standby interface, and starts after confirming that the user selects "yes” Update the contact information.
  • the new phone number information is used to update the phone number information in the record corresponding to the phone number information of the sender in the local phone book;
  • the phone number information of the sender is used to update the phone number information in the record corresponding to the old phone number information in the local phone book;
  • the new information is used to update the corresponding information item in the record corresponding to the telephone number information of the sender in the local phone book. That is, if a new QQ number is sent, the QQ number entry in the corresponding record in the phone book is updated.
  • the user can also input his name information through the sending end, and the name information can be sent to the receiving end as the short message content together with the contact information input by the user.
  • the following processes can also be included: (1) If it is a content push mode, if the receiving end cannot find the corresponding record in the local phone book according to the phone number information of the sender, a new information including the name information and the new phone number may be created in the phone book. record of;
  • a mobile terminal as a transmitting end, includes: an interface providing module and a sending module, and the receiving end includes: a receiving module and a saving module;
  • the interface providing module is configured to: provide a menu for the user to select a short message sending manner, wherein the short message sending manner includes: an information notification manner and a normal short message manner;
  • the sending module is configured to: after the interface providing module knows that the user selects the information notification manner, after confirming that the user completes the input of the short message content, the information input by the user is sent to the receiving end designated by the user by using a short message;
  • the message carries a flag indicating a message transmission mode selected by the user; the information input by the user includes at least contact information; the receiving module is configured to: receive a short message sent by the opposite end;
  • the saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the phone book .
  • the information notification manner includes a content pushing manner; the contact information includes a phone number information;
  • the interface providing module is further configured to: after knowing that the user selects the content pushing mode, providing an interface for the user to input its new phone number information as the short message content; the saving module is configured to determine the receiving according to the following manner When the value of the flag bit of the short message received by the module indicates the information notification mode, the contact extracted from the short message Save the mode information to the phone book:
  • the phone number information of the sending end is updated by using the new phone number information in the record corresponding to the phone book. Phone number information.
  • the information notification manner includes the number push mode; the contact information includes phone number information;
  • the interface providing module is further configured to: after learning that the user selects the number pushing mode, providing an interface for the user to input the old phone number information as the short message content;
  • the saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
  • the phone number information of the sending end is used to update the record corresponding to the old phone number information in the phone book. Phone number information.
  • the information input by the user further includes name information
  • the saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new phone number Record of information.
  • the information input by the user further includes name information
  • the saving module is further configured to: when the corresponding record is not found in the phone book according to the old phone number information, create a new phone number in the phone book that includes the name information and the sending end Record of information.
  • the information notification manner includes: the second information notification manner; the contact information packet
  • the second information includes: any one or any combination of a QQ number, an MSN account number, an email address, a microblog account number, and a home address;
  • the interface providing module is further configured to: after knowing that the user selects the second information notification manner, providing an interface for the user to input new second information as the short message content;
  • the saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
  • the receiving module When it is determined that the value of the flag bit of the short message received by the receiving module indicates the second information notification mode, updating the phone number information of the sending end to correspond to the phone book by using the new second information The corresponding information item in the record.
  • the information input by the user further includes name information
  • the saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new one The record of two information.
  • the mobile terminal further includes a prompting module when it is a receiving end:
  • the prompting module is configured to: prompt the user when receiving the short message carrying the flag bit;
  • the saving module is configured to: after confirming that the user selects to save, save the contact information extracted from the short message to the phone book.
  • the sending end sends a new number through SMS, including:
  • Step 101 The user selects a short message sending mode, an optional content pushing mode, and a current number pushing mode according to the current situation;
  • Step 102 Determine whether the user has selected the content push mode, and if yes, execute step 103. Otherwise, step 105 is performed;
  • Step 103 Set the value of the flag bit to 1;
  • Step 104 Provide an interface for the user to edit the short message content, input the name and the new phone number, and continue to perform step 109;
  • Step 105 Determine whether the user has selected the number push mode, if yes, go to step 106, otherwise go to step 108;
  • Step 106 Set the value of the flag bit to 2, and perform step 107;
  • Step 107 providing an interface for the user to edit the short message content, input the name and the old phone number, and continue to perform step 109;
  • Step 108 The default is the normal short message mode, which is performed according to the normal short message process;
  • Step 109 Perform a short message sending process and send a short message.
  • the receiving end updates the process of saving a new number by using a short message, including:
  • Step 201 The receiving end receives the short message
  • Step 202 Read the flag of the short message, determine whether the short message is the content push mode according to the value of the flag bit, if yes, go to step 203, otherwise go to step 204;
  • Step 203 extracting the name and new phone number information from the content of the short message, extracting the sender number information from the sender information of the short message, and continuing to perform step 206;
  • Step 204 Determine, according to the value of the flag bit, whether the short message is the number push mode, if yes, go to step 205, otherwise go to step 213;
  • Step 205 extract the old phone number from the content of the short message, extract the sender number from the sender information of the short message, and continue to step 209;
  • Step 206 The extracted sender number is used as a parameter, and the record in the phone book is cyclically matched to determine whether the matching is successful. If the matching is successful, step 207 is performed, otherwise step 208 is performed;
  • Step 207 Calling the phone book update record function, and updating the number in the record of the sender number of the phone book with the extracted new phone number, and ending;
  • Step 208 Call the phone book new function, and use the extracted name and new phone number to power End a new record in the phone book;
  • Step 209 Perform the loop matching with the record in the phone book by using the extracted old phone number as a parameter to determine whether the matching is successful. If the matching is successful, go to step 210, otherwise go to step 211;
  • Step 210 Calling the phone book update record function, and updating the number in the record of the phone book under the old number with the extracted sender phone number, and ending;
  • Step 211 Call the phone book new function, and use the extracted name and the sender's phone number to end a new record in the phone book;
  • Step 212 According to the normal short message receiving process, there is no need to save the record.
  • the steps of saving the new contact information by the user are minimized, for example, the user can save the new number provided by the friends and relatives in the change message.
  • the saving efficiency of the new contact information sent by the friends and relatives of the short message is greatly improved, and no complicated copying process is required, and no complicated process is required.
  • the sending category the sending category will automatically pop up the prompt.
  • the user only needs to confirm and select the save location, which is very convenient and greatly improves the user experience. Therefore, the present invention has strong industrial applicability.

Abstract

Disclosed are a short-message-based information saving method and mobile terminal, the method comprising: a transmitting terminal provides a menu for a user to select a short message transmitting mode, the short message transmitting mode comprising an information notification mode and a common short message mode; if the user selects the information notification mode, then after confirming that the user has completed inputting the short message content, the transmitting terminal transmits the user-inputted information to a user-specified receiving terminal in the form of a short message, the short message carrying a value representing the flag bit of the user-selected short message transmitting mode, and the user-inputted information containing at least the contact information; after receiving the short message, if the flag bit value is judged to represent the information notification mode, then the receiving terminal updates and saves the contact information extracted from the short message in a telephone directory. The present invention greatly reduces the steps for a user to save new contact information.

Description

一种基于短信的信息保存方法及移动终端  Short message-based information saving method and mobile terminal
技术领域 Technical field
本发明涉及通信技术领域, 尤其涉及一种基于短信的信息保存方法及移 动终端。  The present invention relates to the field of communications technologies, and in particular, to a method for saving information based on a short message and a mobile terminal.
背景技术 Background technique
当前手机已经普及, 平时大家都以手机相互联系。 但由于一些原因 (比 如工作调动、 搬家、 手机丟失等情况) , 手机使用者有时可能不得不更换手 机号码, 而换号后的首要任务就是让其亲朋好友在第一时间知道并更新保存 其新的号码, 以便日后联系。 如果其亲朋好友没有在第一时间保存其新的号 码, 将会影响今后的沟通联系。  At present, mobile phones have become popular, and everyone usually uses mobile phones to communicate with each other. However, for some reasons (such as work transfer, moving, lost mobile phones, etc.), mobile phone users may sometimes have to change their mobile phone number, and the first task after changing the number is to let their friends and family know and update their new ones in the first time. The number, in order to contact in the future. If their friends and family do not save their new number in the first place, it will affect future communication.
现有在手机换号时通知亲朋好友的做法通常是以发送短信的方式将新号 码通知给亲朋好友, 好朋友在收到短信后, 更新保存这个新号码。 当前进行 更新保存的方式可能有如下两种:  The existing method of notifying friends and relatives when changing the number of mobile phones is usually to send a new number to the relatives and friends by sending a short message. After receiving the short message, the good friend updates and saves the new number. There are two possible ways to save the current update:
( 1 )一种方式是手动输入方式, 即将需要保存的号码先记录下来, 然后 再在电话簿中将新号码保存进去。 该种方式很不方便, 一般对手机功能不熟 悉的老人经常这么做;  (1) One method is the manual input method, in which the number to be saved is recorded first, and then the new number is saved in the phone book. This kind of method is very inconvenient, and the elderly who are generally unfamiliar with the function of the mobile phone often do this;
( 2 )另一种方式是用手机提供的号码提取功能来保存这个号码, 步骤如 下: 首先要打开短信, 再打开动作菜单, 选择提取号码, 最后从提取的号码 中选择出要保存的号码进行保存。 这个流程非常的繁瑣, 虽不用向第一种方 式那样手抄号码, 但因复杂的操作流程对一些对手机功能不是很熟悉的用户 来说也非常不方便。  (2) Another way is to save the number by using the number extraction function provided by the mobile phone. The steps are as follows: First, open the short message, then open the action menu, select the extracted number, and finally select the number to be saved from the extracted number. save. This process is very cumbersome. Although it is not necessary to copy the number in the first way, it is very inconvenient for users who are not familiar with the function of the mobile phone due to the complicated operation flow.
总之, 上述两种方式存在如下缺点:  In summary, the above two methods have the following disadvantages:
( 1 )操作方式都比较繁瑣, 第一种方式要手抄号码, 第二种方式操作步 骤过多, 均不便于用户保存他人发来的新号码;  (1) The operation methods are relatively cumbersome. The first method requires manual copying of numbers, and the second method has too many operation steps. It is not convenient for users to save new numbers sent by others;
( 2 )很容易导致遗忘, 因为号码是位于短信中的, 用户需要打开短信才 能进行号码保存, 一旦因为工作忙碌等原因没有在第一时间进行保存, 而后 期又遗忘了, 则当短信条数满时不小心将短信全部删除, 就会导致他人发来 的新号码被删除, 日后想与之联系就会变得很不方便。 (2) It is easy to cause forgetting, because the number is located in the text message, the user needs to open the text message to save the number, and once it is not saved in the first time because of busy work, etc., then The period has been forgotten, and when the number of short messages is full, the text messages are all deleted accidentally, which will cause the new number sent by others to be deleted, and it will be inconvenient to contact them in the future.
同理, 现有很多手机还可在电话簿中保存如 QQ号码、 家庭地址、 固定 电话号码等其他联系方式信息,如用户在使用过程中也更换了上述联系方式, 则要通知其他用户时,也会遇到上述保存手机号码时同样的操作繁瑣的问题。 发明内容  Similarly, many mobile phones can store other contact information such as QQ number, home address, and fixed telephone number in the phone book. If the user replaces the above contact information during use, the other users should be notified. You will also encounter the same cumbersome operation when saving the mobile number. Summary of the invention
本发明的目的在于提供一种基于短信的信息保存方法及移动终端, 以克 服现有在接收到用户换号的短信后要保存新号码的繁瑣步骤。  It is an object of the present invention to provide a method for saving information based on a short message and a mobile terminal, in order to overcome the cumbersome steps of saving a new number after receiving a short message of the user.
为解决上述问题, 本发明釆用如下技术方案:  In order to solve the above problems, the present invention uses the following technical solutions:
一种基于短信的信息保存方法, 包括:  A method for saving information based on short messages, including:
发送端提供菜单供用户选择短信发送方式, 其中, 短信发送方式包括: 信息通知方式及普通短信方式;  The sending end provides a menu for the user to select a short message sending mode, wherein the short message sending mode includes: an information notification mode and a normal short message mode;
若获知用户选择了信息通知方式, 则在确认用户完成短信内容输入后, 所述发送端以短信的方式将用户所输入的信息发送给用户指定的接收端; 其 中, 所述短信中携带值表示用户所选择的短信发送方式的标志位; 所述用户 所输入的信息中至少包括联系方式信息;  If it is known that the user has selected the information notification method, after the user confirms that the user completes the input of the short message content, the sending end sends the information input by the user to the receiving end designated by the user by using a short message; a flag bit of a short message sending mode selected by the user; the information input by the user includes at least contact information;
所述接收端在收到所述短信时,如判断出所述标志位的值表示信息通知 方式, 则将从所述短信中提取出的所述联系方式信息更新保存至电话簿。  When the receiving end determines that the value of the flag bit indicates the information notification mode, the receiving end updates the contact information extracted from the short message to the phone book.
其中: 所述信息通知方式包括内容推送方式; 所述联系方式信息包括电 话号码信息;  Wherein: the information notification manner includes a content push mode; and the contact information includes a phone number information;
该信息保存方式还包括: 在获知用户选择了内容推送方式后, 所述发送 端还提供界面供用户输入其新电话号码信息作为所述短信内容;  The information storage manner further includes: after knowing that the user selects the content push mode, the sender further provides an interface for the user to input its new phone number information as the short message content;
所述接收端在收到所述短信时, 如判断出所述标志位的值表示信息通知 方式, 则将从所述短信中提取出的所述联系方式信息更新保存至电话簿的步 骤包括:  When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the information notification manner, the step of saving the contact information extracted from the short message to the phone book includes:
所述接收端在收到所述短信时, 如判断出所述标志位的值表示内容推送 方式, 则使用所述新电话号码信息更新所述发送端的电话号码信息在所述电 话簿中所对应的记录中的电话号码信息。 When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the content pushing mode, the terminal uses the new phone number information to update the phone number information of the sending end in the The phone number information in the record corresponding to the phone book.
其中: 所述信息通知方式包括本号码推送方式; 所述联系方式信息包括 电话号码信息;  Wherein: the information notification manner includes the number push mode; the contact information includes phone number information;
该信息保存方式还包括: 在获知用户选择了本号码推送方式后, 所述发 送端还提供界面供用户输入其旧电话号码信息作为所述短信内容;  The information storage manner further includes: after knowing that the user selects the number push mode, the sending end further provides an interface for the user to input the old phone number information as the short message content;
所述接收端在收到所述短信时, 如判断出所述标志位的值表示号码通知 方式, 则将从所述短信中提取出的所述联系方式信息更新保存至电话簿的步 骤包括:  When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the number notification mode, the step of saving the contact information extracted from the short message to the phone book includes:
所述接收端在收到所述短信时, 如判断出所述标志位的值表示本号码推 送方式, 则使用所述发送端的电话号码信息更新所述旧电话号码信息在所述 电话簿中所对应的记录中的电话号码信息。  When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the current number pushing mode, the receiving end uses the phone number information of the sending end to update the old phone number information in the phone book. The phone number information in the corresponding record.
其中: 所述用户所输入的信息中还包括姓名信息;  Wherein: the information input by the user further includes name information;
该信息保存方法还包括: 所述接收端若根据所述发送端的电话号码信息 在所述电话簿中查找不到对应的记录, 则在所述电话簿中新建一条包含所述 姓名信息与所述新电话号码信息的记录。  The information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the phone number information of the sending end, creating a new one in the phone book, including the name information and the Record of new phone number information.
其中: 所述用户所输入的信息中还包括姓名信息;  Wherein: the information input by the user further includes name information;
该信息保存方法还包括: 所述接收端若根据所述旧电话号码信息在所述 电话簿中查找不到对应的记录, 则在所述电话簿中新建一条包含所述姓名信 息与所述发送端的电话号码信息的记录。  The information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the old phone number information, creating a new one in the phone book, including the name information and the sending Record of the phone number information of the terminal.
其中, 所述信息通知方式包括: 所述第二信息通知方式; 所述联系方式 信息包括第二信息; 其中, 所述第二信息包括: QQ号码、 MSN账号、 电子 邮件地址、 微博账号、 家庭住址中的任意一种或任意组合;  The information notification manner includes: the second information notification manner; the contact information includes second information, where the second information includes: a QQ number, an MSN account, an email address, a microblog account, Any one or any combination of home addresses;
该信息保存方法还包括: 在获知用户选择了第二信息通知方式后, 所述 发送端提供界面供用户输入新的第二信息作为所述短信内容;  The information saving method further includes: after learning that the user selects the second information notification manner, the sending end provides an interface for the user to input new second information as the short message content;
所述接收端在收到所述短信时, 如判断出所述标志位的值表示信息通知 方式, 则将从所述短信中提取出的所述联系方式信息更新保存至电话簿的步 骤包括:  When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the information notification manner, the step of saving the contact information extracted from the short message to the phone book includes:
所述接收端在收到所述短信时, 如判断出所述标志位的值表示第二信息 通知方式, 则使用所述新的第二信息更新所述发送端的电话号码信息在所述 电话簿中所对应的记录中的相应信息项。 The receiving end, when receiving the short message, determines that the value of the flag bit indicates the second information In the notification mode, the new second information is used to update the corresponding information item in the record corresponding to the phone number information of the sending end in the phone book.
其中, 所述用户所输入的信息中还包括姓名信息;  Wherein, the information input by the user further includes name information;
该信息保存方法还包括: 所述接收端若根据所述发送端的电话号码信息 在所述电话簿中查找不到对应的记录, 则在所述电话簿中新建一条包含所述 姓名信息与所述新的第二信息的记录。  The information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the phone number information of the sending end, creating a new one in the phone book, including the name information and the A record of the new second information.
该信息保存方法还包括:  The information saving method further includes:
所述接收端在收到携带所述标志位的短信时, 向用户进行提示; 在确认 用户选择保存后, 再将从所述短信中提取出的所述联系方式信息更新保存至  The receiving end prompts the user when receiving the short message carrying the flag bit; after confirming that the user selects to save, the contact information extracted from the short message is updated and saved to
一种移动终端, 作为发送端时包括: 界面提供模块及发送模块, 作为接 收端时包括: 接收模块及保存模块; A mobile terminal, as a transmitting end, includes: an interface providing module and a sending module, and the receiving end comprises: a receiving module and a saving module;
所述界面提供模块设置成: 提供菜单供用户选择短信发送方式, 其中, 短信发送方式包括: 信息通知方式及普通短信方式;  The interface providing module is configured to: provide a menu for the user to select a short message sending manner, wherein the short message sending manner includes: an information notification manner and a normal short message manner;
所述发送模块设置成: 在所述界面提供模块获知用户选择了信息通知方 式, 则在确认用户完成短信内容输入后, 以短信的方式将用户所输入的信息 发送给用户指定的接收端; 其中, 所述短信中携带值表示用户所选择的短信 发送方式的标志位; 所述用户所输入的信息中至少包括联系方式信息; 所述接收模块设置成: 收到对端发来的短信;  The sending module is configured to: after the interface providing module knows that the user selects the information notification manner, after confirming that the user completes the input of the short message content, the information input by the user is sent to the receiving end designated by the user by using a short message; The message carries a flag indicating a message transmission mode selected by the user; the information input by the user includes at least contact information; the receiving module is configured to: receive a short message sent by the opposite end;
所述保存模块设置成: 在判断出所述接收模块接收到的所述短信的标志 位的值表示信息通知方式时, 将从所述短信中提取出的所述联系方式信息更 新保存至电话簿。  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the phone book .
其中: 所述信息通知方式包括内容推送方式; 所述联系方式信息包括电 话号码信息;  Wherein: the information notification manner includes a content push mode; and the contact information includes a phone number information;
所述界面提供模块还设置成: 在获知用户选择了内容推送方式后, 提供 界面供用户输入其新电话号码信息作为所述短信内容; 所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿: The interface providing module is further configured to: after learning that the user selects the content pushing mode, providing an interface for the user to input its new phone number information as the short message content; The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示内容推送方 式时, 使用所述新电话号码信息更新所述发送端的电话号码信息在所述电话 簿中所对应的记录中的电话号码信息。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the content pushing mode, the phone number information of the sending end is updated by using the new phone number information in the record corresponding to the phone book. Phone number information.
其中: 所述信息通知方式包括本号码推送方式; 所述联系方式信息包括 电话号码信息;  Wherein: the information notification manner includes the number push mode; the contact information includes phone number information;
所述界面提供模块还设置成: 在获知用户选择了本号码推送方式后, 提 供界面供用户输入其旧电话号码信息作为所述短信内容;  The interface providing module is further configured to: after learning that the user selects the number pushing mode, providing an interface for the user to input the old phone number information as the short message content;
所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿:  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示本号码推送 方式时, 使用所述发送端的电话号码信息更新所述旧电话号码信息在所述电 话簿中所对应的记录中的电话号码信息。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the current number pushing mode, the phone number information of the sending end is used to update the record corresponding to the old phone number information in the phone book. Phone number information.
其中: 所述用户所输入的信息中还包括姓名信息;  Wherein: the information input by the user further includes name information;
所述保存模块还设置成: 在根据所述发送端的电话号码信息在所述电话 簿中查找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与 所述新电话号码信息的记录。  The saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new phone number Record of information.
其中: 所述用户所输入的信息中还包括姓名信息;  Wherein: the information input by the user further includes name information;
所述保存模块还设置成: 在根据所述旧电话号码信息在所述电话簿中查 找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与所述发 送端的电话号码信息的记录。  The saving module is further configured to: when the corresponding record is not found in the phone book according to the old phone number information, create a new phone number in the phone book that includes the name information and the sending end Record of information.
其中, 所述信息通知方式包括: 所述第二信息通知方式; 所述联系方式 信息包括第二信息; 其中, 所述第二信息包括: QQ号码、 MSN账号、 电子 邮件地址、 微博账号、 家庭住址中的任意一种或任意组合;  The information notification manner includes: the second information notification manner; the contact information includes second information, where the second information includes: a QQ number, an MSN account, an email address, a microblog account, Any one or any combination of home addresses;
所述界面提供模块还设置成: 在获知用户选择了第二信息通知方式后, 提供界面供用户输入新的第二信息作为所述短信内容; The interface providing module is further configured to: after knowing that the user selects the second information notification manner, Providing an interface for the user to input new second information as the short message content;
所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿:  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示第二信息通 知方式时, 使用所述新的第二信息更新所述发送端的电话号码信息在所述电 话簿中所对应的记录中的相应信息项。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the second information notification mode, updating the phone number information of the sending end to correspond to the phone book by using the new second information The corresponding information item in the record.
其中, 所述用户所输入的信息中还包括姓名信息;  Wherein, the information input by the user further includes name information;
所述保存模块还设置成: 在根据所述发送端的电话号码信息在所述电话 簿中查找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与 所述新的第二信息的记录。  The saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new one The record of two information.
其中, 所述移动终端在作为接收端时还包括提示模块:  The mobile terminal further includes a prompting module when it is a receiving end:
所述提示模块设置成: 在收到携带所述标志位的短信时, 向用户进行提 示;  The prompting module is configured to: prompt the user when receiving the short message carrying the flag bit;
所述保存模块还设置成: 在确认用户选择保存后, 再将从所述短信中提 取出的所述联系方式信息更新保存至电话簿。  The saving module is further configured to: after confirming that the user selects to save, saving the contact information extracted from the short message to the phone book.
釆用上述技术方案后, 最大限度的减少了用户保存新联系方式的步骤, 如可方便用户保存亲朋好友换号短信中提供的新号码。 通过本发明, 也极大 的提高了保存亲朋好友短信发过来的新联系方式的保存效率, 无需抄写, 也 不需要进行一堆复杂的流程。 只要发送端选择好发送类别, 接收端会自动弹 出提示, 用户只需确认, 选择一下保存位置即可, 非常方便, 极大地提高用 户体验。 After using the above technical solution, the steps of saving the new contact information by the user are minimized, for example, the user can save the new number provided by the friends and relatives in the change message. Through the invention, the saving efficiency of the new contact information sent by the friends and relatives of the short message is greatly improved, and no complicated copying process is required, and no complicated process is required. As long as the sender selects the sending category, the receiving end will automatically pop up the prompt. The user only needs to confirm and select the save location, which is very convenient and greatly improves the user experience.
附图概述 BRIEF abstract
图 1为一种基于短信的信息保存方法的流程图;  FIG. 1 is a flowchart of a method for saving information based on a short message;
图 2为本发明实施例中发送终端短信发送新号码流程:  FIG. 2 is a flowchart of sending a new number of a short message by a sending terminal according to an embodiment of the present invention:
图 3为本发明实施例中接收端短信接收保存号码流程。 本发明的较佳实施方式 FIG. 3 is a flowchart of receiving and saving a number by a receiving end message according to an embodiment of the present invention. Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。 这些组合均在本发明的 保护范围内。  In order to make the objects, the technical solutions and the advantages of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be arbitrarily combined with each other. These combinations are all within the scope of the invention.
在本实施例中, 一种基于短信的信息保存方法, 如图 1所示, 包括: 步骤 10: 发送端提供菜单供用户选择短信发送方式, 其中, 短信发送方 式包括: 信息通知方式及普通短信方式; 信息通知方式可以是: 内容推送方 式、 本号码推送方式及第二信息推送方式中的任意一种;  In this embodiment, a method for saving information based on a short message, as shown in FIG. 1 , includes: Step 10: The sending end provides a menu for the user to select a short message sending manner, where the short message sending manner includes: the information notification manner and the ordinary short message The method of information notification may be: any one of a content push mode, a current number push mode, and a second information push mode;
步骤 20: 发送端若获知用户选择信息通知方式时, 则在确认用户完成短 信内容输入后,以短信的方式将用户所输入的信息发送给用户指定的接收端; 其中, 该短信中携带有标志位, 该标志位的值表示用户所选择的短信发送方 式; 此外, 用户所输入的信息中至少包括联系方式信息;  Step 20: If the sending end knows the user selection information notification mode, after confirming that the user completes the input of the short message content, the information input by the user is sent to the receiving end designated by the user by using a short message; wherein the short message carries the identifier Bit, the value of the flag bit indicates the mode of sending the short message selected by the user; in addition, the information input by the user includes at least the contact information;
步骤 30: 接收端在收到携带上述标志位的短信时, 如判断出该标志位 的值表示信息通知方式, 则根据该短信中携带的姓名信息, 则将从该短信中 提取出的上述联系方式信息更新保存至电话簿。  Step 30: When receiving the short message carrying the above-mentioned flag bit, if the receiving terminal determines that the value of the flag bit indicates the information notification mode, according to the name information carried in the short message, the contact information extracted from the short message is obtained. The mode information update is saved to the phone book.
当然, 上述更新保存的动作可以是在接收端用户确认后进行, 即接收端 在接到短信后, 通过标志位可以判断出是联系方式保存短信, 这时可以弹出 提示的形式通知用户, 如 "***人新联系方式, 请惠存" , 再获知用户确认选 择保存后, 执行上述更新保存流程。  Of course, the above-mentioned update and save action may be performed after the user at the receiving end confirms, that is, after receiving the short message, the receiving end can determine that the contact information is saved by the flag bit, and then the user can be notified in the form of a pop-up prompt, such as " ***New contact information, please save", and then know that the user confirms the selection and save, execute the above update and save process.
为实现上述流程, 需对短信的发送和接收流程进行修改, 增加一些支持 上述实施例的功能选项, 增加短信相关标示项。 具体来说本实施例从实现上 看可以分为发送端通过短信发送新联系方式流程和接收端通过短信接收保存 信联系方式流程两个部分。  In order to implement the above process, the sending and receiving processes of the short message need to be modified, and some function options supporting the above embodiments are added to add the related information items of the short message. Specifically, the implementation of the present embodiment can be divided into two parts: a sending end sends a new contact method through a short message, and a receiving end receives a contact information through a short message.
(一)发送端通过短信发送新联系方式的流程:  (1) The process by which the sender sends a new contact method via SMS:
需要在发送端增加为实现上述实施例功能的菜单选项, 通过这种菜单选 择用户可以发送上述实施例提出的特殊短信, 为了与普通短信区别, 将短信 内容的第一个节字保留作为标志位, 具体如下: It is necessary to add a menu option for implementing the functions of the foregoing embodiment on the sending end, and the user can send the special short message proposed by the above embodiment by using the menu selection, in order to distinguish from the ordinary short message, the short message is The first section of the content is reserved as a flag, as follows:
首先, 为了实现上述功能, 需在发送端增加三个功能菜单选择项: (1 ) 内容推送方式, (2 )本号码推送方式, (3 )第二信息推送方式。 对这三个 菜单功能项解释如下:  First, in order to achieve the above functions, three function menu selection items need to be added at the transmitting end: (1) content pushing mode, (2) the number pushing mode, and (3) the second information pushing mode. Explain the three menu function items as follows:
( 1 )内容推送方式: 是指用原旧卡发送新号码给亲朋好友, 在这种情况 下需要在短信编辑页面中输入具体的新号码即可; 当然, 还可以提供界面供 用户输入其姓名, 以便对方识别;  (1) Content Push Method: It means to send a new number to friends and relatives with the old card. In this case, you need to enter a specific new number in the SMS edit page; of course, you can also provide an interface for the user to enter their name. , so that the other party can identify;
( 2 )本号码推送方式:是指发送短信的这个号码就是今后要使用的新号 码, 在这种情况下在编辑短信时只需要输入原手机号码即可。 当然, 亦可以 提供界面供机主输入其姓名; (2) This number push method means that this number for sending SMS is the new number to be used in the future. In this case, you only need to input the original mobile phone number when editing the SMS. Of course, an interface can also be provided for the owner to enter his or her name;
( 3 )第二信息推送方式:是指发送短信通知对方本机主修改了第二信息, 其中, 第二信息包括: QQ号码、 MSN账号、 电子邮件地址、 微博账号、 家 庭住址中的任意一种或任意组合。 具体信息还需要结合现有机型中电话簿中 所允许添加的联系方式设置。  (3) The second information push mode means that the short message is sent to the other party to modify the second information, wherein the second information includes: QQ number, MSN account number, email address, microblog account number, home address One or any combination. The specific information also needs to be combined with the contact settings allowed in the phone book in the existing model.
其次, 为了实现对上述三种特殊短信的识别, 可通过一种相对简单的方 式实现, 即将短信内容的首字节空出来作为标志位, 用来保存用户发送短信 的类别, 如假设将短信类别定义如表 1所示, 则在发送短信时如果用户选择 了内容推送、 本号码推送、 第二信息推送方式功能项, 则发送端将对应的标 志位的值设置为非 0值, 如 1、 2或 3。  Secondly, in order to realize the identification of the above three special short messages, it can be realized in a relatively simple manner, that is, the first byte of the short message content is vacated as a flag bit, which is used to save the category of the short message sent by the user, for example, assuming the short message category If the definition is as shown in Table 1, if the user selects the content push, the number push, and the second information push mode function items when sending the short message, the sender sets the value of the corresponding flag bit to a non-zero value, such as 1. 2 or 3.
表 1 短信类型及对应值  Table 1 SMS type and corresponding value
Figure imgf000010_0001
如果用户想以短信的形式发送新联系方式给亲朋好友, 则用户首先要依 情况从上述三个功能项 (内容推送、 本号码推送、 第二信息推送) 中选择一 个, 同时发送端会将短信标志位设置为对应的值, 在选择功能项后进入编辑 短信页面, 如果用户选择了内容推送方式则至少需要输入新电话号码, 如果 选择了本号码推送方式则只输入就电话号码即可发送, 如果选择了第二信息 推送, 则需要输入新的第二信息即可。
Figure imgf000010_0001
If the user wants to send a new contact information to friends and relatives by SMS, the user must first The situation selects one of the above three function items (content push, this number push, second information push), and the sender sets the short message flag to the corresponding value, and enters the edit message page after selecting the function item, if the user If the content push mode is selected, at least the new phone number needs to be entered. If the number push mode is selected, only the phone number can be sent. If the second message push is selected, the new second message needs to be input.
(二)接收端接收短信保存号码的流程:  (2) The process of receiving the SMS to save the number at the receiving end:
在上述实施例中, 接收端主要负责接收短信, 根据标志位的值识别出相 应的短信发送方式,并弹出提示,让用户选择更新保存,在进行更新保存时, 需要实现电话簿的新建记录流程或更新记录流程具体如下:  In the above embodiment, the receiving end is mainly responsible for receiving the short message, identifying the corresponding short message sending mode according to the value of the flag bit, and popping up a prompt for the user to select the update and saving, and when the update is saved, the new recording process of the phone book needs to be implemented. Or update the record process as follows:
首先,当接收端接收到短信后,判断标志位的值是否表示信息通知方式, 如果不是, 则按照正常的短信接收流程进行处理, 如果是, 则还要对内容推 送方式、 本号码推送方式及第二信息通知方式进行区分, 如果是内容推送方 式则要从短信中读取出新电话号码, 如果是本号码推送方式, 则要提取出发 送端号码并从短信中提取原号码, 如果是第二信息通知方式, 则从短信中提 取出第二信息, 然后保存到临时变量中, 在待机界面弹出提示 "***人新联系 方式, 请惠存" , 在确认用户选择 "是" 后开始进行联系方式信息的更新保 存。  First, when the receiving end receives the short message, it determines whether the value of the flag bit indicates the information notification mode. If not, it processes according to the normal short message receiving process. If yes, the content pushing mode, the number pushing mode, and The second information notification method is distinguished. If the content is pushed, the new phone number is read from the short message. If the number is pushed, the sender number is extracted and the original number is extracted from the short message. The second information notification method extracts the second information from the short message, and then saves it to the temporary variable, and prompts "*** new contact method, please save" in the standby interface, and starts after confirming that the user selects "yes" Update the contact information.
然后, 进行新联系方式的更新保存流程, 包括:  Then, the update process for the new contact method is completed, including:
( 1 )如果是内容推送方式,则使用新电话号码信息更新发送端的电话号 码信息在本端电话簿中所对应的记录中的电话号码信息;  (1) If it is a content push mode, the new phone number information is used to update the phone number information in the record corresponding to the phone number information of the sender in the local phone book;
( 2 )如果是本号码推送方式,则使用发送端的电话号码信息更新旧电话 号码信息在本端电话簿中所对应的记录中的电话号码信息;  (2) If it is the number push mode, the phone number information of the sender is used to update the phone number information in the record corresponding to the old phone number information in the local phone book;
( 3 )如果是第二信息通知方式,则使用新的第二信息更新发送端的电话 号码信息在本端电话簿中所对应的记录中的相应信息项。 即如果发来的是新 的 QQ号码, 则更新电话本中相应记录中的 QQ号码项。  (3) If it is the second information notification mode, the new information is used to update the corresponding information item in the record corresponding to the telephone number information of the sender in the local phone book. That is, if a new QQ number is sent, the QQ number entry in the corresponding record in the phone book is updated.
此外, 用户通过发送端还可以输入其姓名信息, 该姓名信息可连同用户 输入的联系方式信息一同作为短信内容发到接收端。 在此种情况下, 还可以 包括以下流程: ( 1 )如果是内容推送方式,则接收端若根据发送端的电话号码信息在本 端电话簿中查找不到对应的记录, 则可在该电话簿中新建一条包含该姓名信 息与新电话号码信息的记录; In addition, the user can also input his name information through the sending end, and the name information can be sent to the receiving end as the short message content together with the contact information input by the user. In this case, the following processes can also be included: (1) If it is a content push mode, if the receiving end cannot find the corresponding record in the local phone book according to the phone number information of the sender, a new information including the name information and the new phone number may be created in the phone book. record of;
( 2 )如果是本号码推送方式,则接收端若根据旧电话号码信息在本端电 话簿中查找不到对应的记录, 则可在该电话簿中新建一条包含该姓名信息与 发送端的电话号码信息的记录;  (2) If it is the number push mode, if the receiving end cannot find the corresponding record in the local phone book according to the old phone number information, a new phone number including the name information and the sender may be created in the phone book. Record of information;
( 3 )如果是第二信息通知方式,则接收端若根据发送端的电话号码信息 在本端电话簿中查找不到对应的记录, 则在该电话簿中新建一条包含该姓名 信息与新的第二信息的记录。  (3) If it is the second information notification mode, if the receiving end cannot find the corresponding record in the local phone book according to the phone number information of the sender, a new one in the phone book is included in the phone book and the new number is included. The record of two information.
在本实施例中, 一种移动终端, 作为发送端时包括: 界面提供模块及发 送模块, 作为接收端时包括: 接收模块及保存模块;  In this embodiment, a mobile terminal, as a transmitting end, includes: an interface providing module and a sending module, and the receiving end includes: a receiving module and a saving module;
所述界面提供模块设置成: 提供菜单供用户选择短信发送方式, 其中, 短信发送方式包括: 信息通知方式及普通短信方式;  The interface providing module is configured to: provide a menu for the user to select a short message sending manner, wherein the short message sending manner includes: an information notification manner and a normal short message manner;
所述发送模块设置成: 在所述界面提供模块获知用户选择了信息通知方 式, 则在确认用户完成短信内容输入后, 以短信的方式将用户所输入的信息 发送给用户指定的接收端; 其中, 所述短信中携带值表示用户所选择的短信 发送方式的标志位; 所述用户所输入的信息中至少包括联系方式信息; 所述接收模块设置成: 收到对端发来的短信;  The sending module is configured to: after the interface providing module knows that the user selects the information notification manner, after confirming that the user completes the input of the short message content, the information input by the user is sent to the receiving end designated by the user by using a short message; The message carries a flag indicating a message transmission mode selected by the user; the information input by the user includes at least contact information; the receiving module is configured to: receive a short message sent by the opposite end;
所述保存模块设置成: 在判断出所述接收模块接收到的所述短信的标志 位的值表示信息通知方式时, 将从所述短信中提取出的所述联系方式信息更 新保存至电话簿。  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the phone book .
较佳地,  Preferably,
所述信息通知方式包括内容推送方式; 所述联系方式信息包括电话号码 信息;  The information notification manner includes a content pushing manner; the contact information includes a phone number information;
所述界面提供模块还设置成: 在获知用户选择了内容推送方式后, 提供 界面供用户输入其新电话号码信息作为所述短信内容; 所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿: The interface providing module is further configured to: after knowing that the user selects the content pushing mode, providing an interface for the user to input its new phone number information as the short message content; the saving module is configured to determine the receiving according to the following manner When the value of the flag bit of the short message received by the module indicates the information notification mode, the contact extracted from the short message Save the mode information to the phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示内容推送方 式时, 使用所述新电话号码信息更新所述发送端的电话号码信息在所述电话 簿中所对应的记录中的电话号码信息。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the content pushing mode, the phone number information of the sending end is updated by using the new phone number information in the record corresponding to the phone book. Phone number information.
较佳地,  Preferably,
所述信息通知方式包括本号码推送方式; 所述联系方式信息包括电话号 码信息;  The information notification manner includes the number push mode; the contact information includes phone number information;
所述界面提供模块还设置成: 在获知用户选择了本号码推送方式后, 提 供界面供用户输入其旧电话号码信息作为所述短信内容;  The interface providing module is further configured to: after learning that the user selects the number pushing mode, providing an interface for the user to input the old phone number information as the short message content;
所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿:  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示本号码推送 方式时, 使用所述发送端的电话号码信息更新所述旧电话号码信息在所述电 话簿中所对应的记录中的电话号码信息。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the current number pushing mode, the phone number information of the sending end is used to update the record corresponding to the old phone number information in the phone book. Phone number information.
较佳地,  Preferably,
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
所述保存模块还设置成: 在根据所述发送端的电话号码信息在所述电话 簿中查找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与 所述新电话号码信息的记录。  The saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new phone number Record of information.
较佳地,  Preferably,
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
所述保存模块还设置成: 在根据所述旧电话号码信息在所述电话簿中查 找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与所述发 送端的电话号码信息的记录。  The saving module is further configured to: when the corresponding record is not found in the phone book according to the old phone number information, create a new phone number in the phone book that includes the name information and the sending end Record of information.
较佳地,  Preferably,
所述信息通知方式包括: 所述第二信息通知方式; 所述联系方式信息包 括第二信息; 其中, 所述第二信息包括: QQ号码、 MSN账号、 电子邮件地 址、 微博账号、 家庭住址中的任意一种或任意组合; The information notification manner includes: the second information notification manner; the contact information packet The second information includes: any one or any combination of a QQ number, an MSN account number, an email address, a microblog account number, and a home address;
所述界面提供模块还设置成: 在获知用户选择了第二信息通知方式后, 提供界面供用户输入新的第二信息作为所述短信内容;  The interface providing module is further configured to: after knowing that the user selects the second information notification manner, providing an interface for the user to input new second information as the short message content;
所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿:  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示第二信息通 知方式时, 使用所述新的第二信息更新所述发送端的电话号码信息在所述电 话簿中所对应的记录中的相应信息项。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the second information notification mode, updating the phone number information of the sending end to correspond to the phone book by using the new second information The corresponding information item in the record.
较佳地,  Preferably,
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
所述保存模块还设置成: 在根据所述发送端的电话号码信息在所述电话 簿中查找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与 所述新的第二信息的记录。  The saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new one The record of two information.
较佳地, 所述移动终端在作为接收端时还包括提示模块:  Preferably, the mobile terminal further includes a prompting module when it is a receiving end:
所述提示模块设置成: 在收到携带所述标志位的短信时, 向用户进行提 示;  The prompting module is configured to: prompt the user when receiving the short message carrying the flag bit;
所述保存模块设置成: 在确认用户选择保存后, 再将从所述短信中提取 出的所述联系方式信息更新保存至电话簿。  The saving module is configured to: after confirming that the user selects to save, save the contact information extracted from the short message to the phone book.
下面, 以 CDMA ( Code Division Multiple Access, 码分多址)手机为例 对保存电话号码的方案进行进一步说明。 Next, a scheme for storing a telephone number will be further described by taking a CDMA (Code Division Multiple Access) mobile phone as an example.
如图 2所示, 发送端通过短信发送新号码的流程, 包括:  As shown in Figure 2, the sending end sends a new number through SMS, including:
步骤 101 : 用户依据当前情况选择短信发送方式, 可选内容推送方式和 本号码推送方式;  Step 101: The user selects a short message sending mode, an optional content pushing mode, and a current number pushing mode according to the current situation;
步骤 102: 判断用户是否选择了内容推送方式, 如果是则执行步骤 103 , 否则执行步骤 105; Step 102: Determine whether the user has selected the content push mode, and if yes, execute step 103. Otherwise, step 105 is performed;
步骤 103: 将标志位的值设置为 1 ;  Step 103: Set the value of the flag bit to 1;
步骤 104: 提供界面供用户编辑短信内容, 输入姓名和新电话号码, 继 续执行步骤 109;  Step 104: Provide an interface for the user to edit the short message content, input the name and the new phone number, and continue to perform step 109;
步骤 105:判断用户是否选择了本号码推送方式,如果是则执行步骤 106, 否则执行步骤 108;  Step 105: Determine whether the user has selected the number push mode, if yes, go to step 106, otherwise go to step 108;
步骤 106: 将标志位的值设置为 2, 执行步骤 107;  Step 106: Set the value of the flag bit to 2, and perform step 107;
步骤 107: 提供界面供用户编辑短信内容, 输入姓名及旧电话号码, 继 续执行步骤 109;  Step 107: providing an interface for the user to edit the short message content, input the name and the old phone number, and continue to perform step 109;
步骤 108: 默认为普通短信方式, 按普通短信流程进行;  Step 108: The default is the normal short message mode, which is performed according to the normal short message process;
步骤 109: 执行短信发送流程, 发送短信。  Step 109: Perform a short message sending process and send a short message.
如图 3所示, 接收端通过短信更新保存新号码的流程, 包括:  As shown in FIG. 3, the receiving end updates the process of saving a new number by using a short message, including:
步骤 201 : 接收端收到短信;  Step 201: The receiving end receives the short message;
步骤 202: 读取该短信的标志位, 根据该标志位的值判断该短信是否为 内容推送方式, 如是则执行步骤 203 , 否则执行步骤 204;  Step 202: Read the flag of the short message, determine whether the short message is the content push mode according to the value of the flag bit, if yes, go to step 203, otherwise go to step 204;
步骤 203 : 从该短信的内容中提取出姓名和新电话号码信息, 从短信的 发送方信息中提取出发送方号码信息, 继续执行步骤 206;  Step 203: extracting the name and new phone number information from the content of the short message, extracting the sender number information from the sender information of the short message, and continuing to perform step 206;
步骤 204: 根据该标志位的值判断该短信是否为本号码推送方式, 如果 是则执行步骤 205 , 否则执行步骤 213 ;  Step 204: Determine, according to the value of the flag bit, whether the short message is the number push mode, if yes, go to step 205, otherwise go to step 213;
步骤 205: 从该短信的内容中提取出旧电话号码, 从该短信的发送方信 息中提取出发送方号码, 继续执行步骤 209;  Step 205: extract the old phone number from the content of the short message, extract the sender number from the sender information of the short message, and continue to step 209;
步骤 206: 以提取出的发送方号码为参数, 与电话簿中的记录进行循环 匹配, 判断能否匹配成功, 如果匹配成功, 则执行步骤 207 , 否则执行步骤 208;  Step 206: The extracted sender number is used as a parameter, and the record in the phone book is cyclically matched to determine whether the matching is successful. If the matching is successful, step 207 is performed, otherwise step 208 is performed;
步骤 207: 调用电话簿更新记录功能, 用提取出的新电话号码更新电话 簿此发送方号码所在记录中的号码后结束;  Step 207: Calling the phone book update record function, and updating the number in the record of the sender number of the phone book with the extracted new phone number, and ending;
步骤 208: 调用电话簿新建功能, 用提取出来的姓名和新电话号码在电 话簿中新建一条记录后结束; Step 208: Call the phone book new function, and use the extracted name and new phone number to power End a new record in the phone book;
步骤 209: 以提取出的旧电话号码为参数, 与电话簿中的记录进行循环 匹配, 判断能否匹配成功, 如果匹配成功, 则执行步骤 210, 否则执行步骤 211 ;  Step 209: Perform the loop matching with the record in the phone book by using the extracted old phone number as a parameter to determine whether the matching is successful. If the matching is successful, go to step 210, otherwise go to step 211;
步骤 210: 调用电话簿更新记录功能, 用提取出的发送端电话号码更新 电话簿此旧号码下所在记录中的号码后结束;  Step 210: Calling the phone book update record function, and updating the number in the record of the phone book under the old number with the extracted sender phone number, and ending;
步骤 211 : 调用电话簿新建功能, 用提取出来的姓名和发送端电话号码 在电话簿中新建一条记录后结束;  Step 211: Call the phone book new function, and use the extracted name and the sender's phone number to end a new record in the phone book;
步骤 212: 按照普通短信接收流程处理, 无需保存记录。  Step 212: According to the normal short message receiving process, there is no need to save the record.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并非用于限定本发明的保护范 围。 根据本发明的发明内容, 还可有其他多种实施例, 在不背离本发明精神 改变和变形, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above description is only a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. In view of the present invention, various other modifications, equivalents, improvements, etc., should be made without departing from the spirit and scope of the invention. It is included in the scope of protection of the present invention.
工业实用性 Industrial applicability
釆用上述技术方案后, 最大限度的减少了用户保存新联系方式的步骤, 如可方便用户保存亲朋好友换号短信中提供的新号码。 通过本发明, 也极大 的提高了保存亲朋好友短信发过来的新联系方式的保存效率, 无需抄写, 也 不需要进行一堆复杂的流程。 只要发送端选择好发送类别, 接收端会自动弹 出提示, 用户只需确认, 选择一下保存位置即可, 非常方便, 极大地提高用 户体验。 因此本发明具有很强的工业实用性。  After using the above technical solution, the steps of saving the new contact information by the user are minimized, for example, the user can save the new number provided by the friends and relatives in the change message. Through the invention, the saving efficiency of the new contact information sent by the friends and relatives of the short message is greatly improved, and no complicated copying process is required, and no complicated process is required. As long as the sender selects the sending category, the receiving end will automatically pop up the prompt. The user only needs to confirm and select the save location, which is very convenient and greatly improves the user experience. Therefore, the present invention has strong industrial applicability.

Claims

权 利 要 求 书 Claim
1、 一种基于短信的信息保存方法, 包括:  1. A method for saving information based on a short message, comprising:
发送端提供菜单供用户选择短信发送方式, 其中, 短信发送方式包括: 信息通知方式及普通短信方式;  The sending end provides a menu for the user to select a short message sending mode, wherein the short message sending mode includes: an information notification mode and a normal short message mode;
若获知用户选择了信息通知方式, 则在确认用户完成短信内容输入后, 所述发送端以短信的方式将用户所输入的信息发送给用户指定的接收端; 其 中, 所述短信中携带值表示用户所选择的短信发送方式的标志位; 所述用户 所输入的信息中至少包括联系方式信息;  If it is known that the user has selected the information notification method, after the user confirms that the user completes the input of the short message content, the sending end sends the information input by the user to the receiving end designated by the user by using a short message; a flag bit of a short message sending mode selected by the user; the information input by the user includes at least contact information;
所述接收端在收到所述短信时,如判断出所述标志位的值表示信息通知 方式, 则将从所述短信中提取出的所述联系方式信息更新保存至电话簿。  When the receiving end determines that the value of the flag bit indicates the information notification mode, the receiving end updates the contact information extracted from the short message to the phone book.
2、 如权利要求 1所述的信息保存方法, 其中:  2. The information saving method according to claim 1, wherein:
所述信息通知方式包括内容推送方式; 所述联系方式信息包括电话号码 信息;  The information notification manner includes a content pushing manner; the contact information includes a phone number information;
该信息保存方式还包括: 在获知用户选择了内容推送方式后, 所述发送 端还提供界面供用户输入其新电话号码信息作为所述短信内容;  The information storage manner further includes: after knowing that the user selects the content push mode, the sender further provides an interface for the user to input its new phone number information as the short message content;
所述接收端在收到所述短信时, 如判断出所述标志位的值表示信息通知 方式, 则将从所述短信中提取出的所述联系方式信息更新保存至电话簿的步 骤包括:  When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the information notification manner, the step of saving the contact information extracted from the short message to the phone book includes:
所述接收端在收到所述短信时, 如判断出所述标志位的值表示内容推送 方式, 则使用所述新电话号码信息更新所述发送端的电话号码信息在所述电 话簿中所对应的记录中的电话号码信息。  When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the content pushing mode, the terminal uses the new phone number information to update the phone number information of the sending end corresponding to the phone book. Phone number information in the record.
3、 如权利要求 1所述的信息保存方法, 其中:  3. The information saving method according to claim 1, wherein:
所述信息通知方式包括本号码推送方式; 所述联系方式信息包括电话号 码信息;  The information notification manner includes the number push mode; the contact information includes phone number information;
该信息保存方式还包括: 在获知用户选择了本号码推送方式后, 所述发 送端还提供界面供用户输入其旧电话号码信息作为所述短信内容;  The information storage manner further includes: after knowing that the user selects the number push mode, the sending end further provides an interface for the user to input the old phone number information as the short message content;
所述接收端在收到所述短信时, 如判断出所述标志位的值表示号码通知 方式, 则将从所述短信中提取出的所述联系方式信息更新保存至电话簿的步 骤包括: When receiving the short message, the receiving end determines that the value of the flag bit indicates a number notification The method of saving the contact information extracted from the short message to the phone book includes:
所述接收端在收到所述短信时, 如判断出所述标志位的值表示本号码推 送方式, 则使用所述发送端的电话号码信息更新所述旧电话号码信息在所述 电话簿中所对应的记录中的电话号码信息。  When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the current number pushing mode, the receiving end uses the phone number information of the sending end to update the old phone number information in the phone book. The phone number information in the corresponding record.
4、 如权利要求 2所述的信息保存方法, 其中:  4. The information saving method according to claim 2, wherein:
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
该信息保存方法还包括: 所述接收端若根据所述发送端的电话号码信息 在所述电话簿中查找不到对应的记录, 则在所述电话簿中新建一条包含所述 姓名信息与所述新电话号码信息的记录。  The information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the phone number information of the sending end, creating a new one in the phone book, including the name information and the Record of new phone number information.
5、 如权利要求 3所述的信息保存方法, 其中:  5. The information saving method according to claim 3, wherein:
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
该信息保存方法还包括: 所述接收端若根据所述旧电话号码信息在所述 电话簿中查找不到对应的记录, 则在所述电话簿中新建一条包含所述姓名信 息与所述发送端的电话号码信息的记录。  The information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the old phone number information, creating a new one in the phone book, including the name information and the sending Record of the phone number information of the terminal.
6、 如权利要求 1所述的信息保存方法, 其中,  6. The information saving method according to claim 1, wherein
所述信息通知方式包括: 所述第二信息通知方式; 所述联系方式信息包 括第二信息; 其中, 所述第二信息包括: QQ号码、 MSN账号、 电子邮件地 址、 微博账号、 家庭住址中的任意一种或任意组合;  The information notification manner includes: the second information notification manner; the contact information includes second information, where the second information includes: a QQ number, an MSN account, an email address, a microblog account, and a home address. Any one or any combination of
该信息保存方法还包括: 在获知用户选择了第二信息通知方式后, 所述 发送端提供界面供用户输入新的第二信息作为所述短信内容;  The information saving method further includes: after learning that the user selects the second information notification manner, the sending end provides an interface for the user to input new second information as the short message content;
所述接收端在收到所述短信时, 如判断出所述标志位的值表示信息通知 方式, 则将从所述短信中提取出的所述联系方式信息更新保存至电话簿的步 骤包括:  When the receiving end receives the short message, if it is determined that the value of the flag bit indicates the information notification manner, the step of saving the contact information extracted from the short message to the phone book includes:
所述接收端在收到所述短信时, 如判断出所述标志位的值表示第二信息 通知方式, 则使用所述新的第二信息更新所述发送端的电话号码信息在所述 电话簿中所对应的记录中的相应信息项。 When receiving the short message, if the receiving end determines that the value of the flag bit indicates the second information notification mode, the receiving end updates the phone number information of the sending end in the phone book by using the new second information. The corresponding information item in the record corresponding to it.
7、 如权利要求 6所述的信息保存方法, 其中, 7. The information saving method according to claim 6, wherein
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
该信息保存方法还包括: 所述接收端若根据所述发送端的电话号码信息 在所述电话簿中查找不到对应的记录, 则在所述电话簿中新建一条包含所述 姓名信息与所述新的第二信息的记录。  The information saving method further includes: if the receiving end does not find a corresponding record in the phone book according to the phone number information of the sending end, creating a new one in the phone book, including the name information and the A record of the new second information.
8、 如权利要求 1~7 中任意一项所述的信息保存方法, 该信息保存方法 还包括:  The information saving method according to any one of claims 1 to 7, wherein the information saving method further comprises:
所述接收端在收到携带所述标志位的短信时, 向用户进行提示; 在确认 用户选择保存后, 再将从所述短信中提取出的所述联系方式信息更新保存至 电话簿。  The receiving end prompts the user when receiving the short message carrying the flag bit; after confirming that the user selects to save, the contact information extracted from the short message is updated and saved to the phone book.
9、 一种移动终端, 作为发送端时包括: 界面提供模块及发送模块, 作为 接收端时包括: 接收模块及保存模块;  9. A mobile terminal, as a transmitting end, includes: an interface providing module and a sending module, and the receiving end comprises: a receiving module and a saving module;
所述界面提供模块设置成: 提供菜单供用户选择短信发送方式, 其中, 短信发送方式包括: 信息通知方式及普通短信方式;  The interface providing module is configured to: provide a menu for the user to select a short message sending manner, wherein the short message sending manner includes: an information notification manner and a normal short message manner;
所述发送模块设置成: 在所述界面提供模块获知用户选择了信息通知方 式, 则在确认用户完成短信内容输入后, 以短信的方式将用户所输入的信息 发送给用户指定的接收端; 其中, 所述短信中携带值表示用户所选择的短信 发送方式的标志位; 所述用户所输入的信息中至少包括联系方式信息; 所述接收模块设置成: 收到对端发来的短信;  The sending module is configured to: after the interface providing module knows that the user selects the information notification manner, after confirming that the user completes the input of the short message content, the information input by the user is sent to the receiving end designated by the user by using a short message; The message carries a flag indicating a message transmission mode selected by the user; the information input by the user includes at least contact information; the receiving module is configured to: receive a short message sent by the opposite end;
所述保存模块设置成: 在判断出所述接收模块接收到的所述短信的标志 位的值表示信息通知方式时, 将从所述短信中提取出的所述联系方式信息更 新保存至电话簿。  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the phone book .
10、 如权利要求 9所述的移动终端, 其中:  10. The mobile terminal of claim 9, wherein:
所述信息通知方式包括内容推送方式; 所述联系方式信息包括电话号码 信息;  The information notification manner includes a content pushing manner; the contact information includes a phone number information;
所述界面提供模块还设置成: 在获知用户选择了内容推送方式后, 提供 界面供用户输入其新电话号码信息作为所述短信内容; 所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿: The interface providing module is further configured to: after learning that the user selects the content pushing mode, providing an interface for the user to input its new phone number information as the short message content; The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示内容推送方 式时, 使用所述新电话号码信息更新所述发送端的电话号码信息在所述电话 簿中所对应的记录中的电话号码信息。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the content pushing mode, the phone number information of the sending end is updated by using the new phone number information in the record corresponding to the phone book. Phone number information.
11、 如权利要求 9所述的移动终端, 其中:  11. The mobile terminal of claim 9, wherein:
所述信息通知方式包括本号码推送方式; 所述联系方式信息包括电话号 码信息;  The information notification manner includes the number push mode; the contact information includes phone number information;
所述界面提供模块还设置成: 在获知用户选择了本号码推送方式后, 提 供界面供用户输入其旧电话号码信息作为所述短信内容;  The interface providing module is further configured to: after learning that the user selects the number pushing mode, providing an interface for the user to input the old phone number information as the short message content;
所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿:  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示本号码推送 方式时, 使用所述发送端的电话号码信息更新所述旧电话号码信息在所述电 话簿中所对应的记录中的电话号码信息。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the current number pushing mode, the phone number information of the sending end is used to update the record corresponding to the old phone number information in the phone book. Phone number information.
12、 如权利要求 10所述的移动终端, 其中:  12. The mobile terminal of claim 10, wherein:
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
所述保存模块还设置成: 在根据所述发送端的电话号码信息在所述电话 簿中查找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与 所述新电话号码信息的记录。  The saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new phone number Record of information.
13、 如权利要求 11所述的移动终端, 其中:  13. The mobile terminal of claim 11, wherein:
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
所述保存模块还设置成: 在根据所述旧电话号码信息在所述电话簿中查 找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与所述发 送端的电话号码信息的记录。 The saving module is further configured to: when the corresponding record is not found in the phone book according to the old phone number information, create a new phone number in the phone book that includes the name information and the sending end Record of information.
14、 如权利要求 9所述的移动终端, 其中, 14. The mobile terminal of claim 9, wherein
所述信息通知方式包括: 所述第二信息通知方式; 所述联系方式信息包 括第二信息; 其中, 所述第二信息包括: QQ号码、 MSN账号、 电子邮件地 址、 微博账号、 家庭住址中的任意一种或任意组合;  The information notification manner includes: the second information notification manner; the contact information includes second information, where the second information includes: a QQ number, an MSN account, an email address, a microblog account, and a home address. Any one or any combination of
所述界面提供模块还设置成: 在获知用户选择了第二信息通知方式后, 提供界面供用户输入新的第二信息作为所述短信内容;  The interface providing module is further configured to: after knowing that the user selects the second information notification manner, providing an interface for the user to input new second information as the short message content;
所述保存模块设置成按照以下方式在判断出所述接收模块接收到的所述 短信的标志位的值表示信息通知方式时, 将从所述短信中提取出的所述联系 方式信息更新保存至电话簿:  The saving module is configured to: when it is determined that the value of the flag bit of the short message received by the receiving module indicates the information notification manner, update the contact information extracted from the short message to the Phone book:
在判断出所述接收模块接收到的所述短信的标志位的值表示第二信息通 知方式时, 使用所述新的第二信息更新所述发送端的电话号码信息在所述电 话簿中所对应的记录中的相应信息项。  When it is determined that the value of the flag bit of the short message received by the receiving module indicates the second information notification mode, updating the phone number information of the sending end to correspond to the phone book by using the new second information The corresponding information item in the record.
15、 如权利要求 14所述的移动终端, 其中,  The mobile terminal of claim 14, wherein
所述用户所输入的信息中还包括姓名信息;  The information input by the user further includes name information;
所述保存模块还设置成: 在根据所述发送端的电话号码信息在所述电话 簿中查找不到对应的记录时, 在所述电话簿中新建一条包含所述姓名信息与 所述新的第二信息的记录。  The saving module is further configured to: when the corresponding record is not found in the phone book according to the phone number information of the sending end, create a new one in the phone book to include the name information and the new one The record of two information.
16、 如权利要求 9~15 中任意一项所述的移动终端, 其中, 所述移动终 端在作为接收端时还包括提示模块:  The mobile terminal according to any one of claims 9 to 15, wherein the mobile terminal further includes a prompting module when it is a receiving end:
所述提示模块设置成: 在收到携带所述标志位的短信时, 向用户进行提 示;  The prompting module is configured to: prompt the user when receiving the short message carrying the flag bit;
所述保存模块还设置成: 在确认用户选择保存后, 再将从所述短信中提 取出的所述联系方式信息更新保存至电话簿。  The saving module is further configured to: after confirming that the user selects to save, saving the contact information extracted from the short message to the phone book.
PCT/CN2012/072508 2012-01-10 2012-03-19 Short-message-based information saving method and mobile terminal WO2013104145A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210006061.X 2012-01-10
CN201210006061.XA CN103200301B (en) 2012-01-10 2012-01-10 A kind of information saving method based on note and mobile terminal

Publications (1)

Publication Number Publication Date
WO2013104145A1 true WO2013104145A1 (en) 2013-07-18

Family

ID=48722654

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072508 WO2013104145A1 (en) 2012-01-10 2012-03-19 Short-message-based information saving method and mobile terminal

Country Status (2)

Country Link
CN (1) CN103200301B (en)
WO (1) WO2013104145A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516893B (en) * 2013-09-27 2017-11-14 腾讯科技(深圳)有限公司 Information storage means, device and communicating terminal
CN106331281A (en) * 2016-08-11 2017-01-11 努比亚技术有限公司 Mobile terminal and information processing method
CN108844508B (en) * 2018-07-04 2020-04-14 中北大学 Explosive critical diameter testing device and testing method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050036624A (en) * 2003-10-16 2005-04-20 주식회사 팬택앤큐리텔 Service system for changing the mobile phone number
CN1681277A (en) * 2004-04-09 2005-10-12 乐金电子(中国)研究开发中心有限公司 Guiding method for changing mobile telephone number
CN1933634A (en) * 2006-08-24 2007-03-21 华为技术有限公司 Mobile terminal and person to contact information updating method and system
CN101064747A (en) * 2006-04-27 2007-10-31 环达电脑(上海)有限公司 Method and system for updating address book of mobile communication terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873557B (en) * 2010-06-25 2013-03-20 华为终端有限公司 Method and user terminal for prompting end user to store contact

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050036624A (en) * 2003-10-16 2005-04-20 주식회사 팬택앤큐리텔 Service system for changing the mobile phone number
CN1681277A (en) * 2004-04-09 2005-10-12 乐金电子(中国)研究开发中心有限公司 Guiding method for changing mobile telephone number
CN101064747A (en) * 2006-04-27 2007-10-31 环达电脑(上海)有限公司 Method and system for updating address book of mobile communication terminal
CN1933634A (en) * 2006-08-24 2007-03-21 华为技术有限公司 Mobile terminal and person to contact information updating method and system

Also Published As

Publication number Publication date
CN103200301A (en) 2013-07-10
CN103200301B (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US8737580B2 (en) Toggling voicemail class of service
KR100732560B1 (en) Method and apparatus for data transmission
WO2011000180A1 (en) Method and device for group sending of short message
CN102474540A (en) Systems and methods for disambiguating entries in a contacts list database implemented on a mobile device
WO2012041036A1 (en) Method, device and terminal for replying information
TW200847757A (en) Apparatus and methods of sharing contact information between mobile communication devices using short message service
TWI258299B (en) Method of filtering messages with receiving telephone apparatus
JP2011505725A (en) Method and apparatus for synchronizing contacts stored in a smart card with contacts stored in an internal memory
WO2014101477A1 (en) Near field communication method and device
CN103124307A (en) Ring reminding method, ring reminding device and mobile phone convenient for finding
WO2012100454A1 (en) Mobile terminal and parameter setting method thereof
WO2013104145A1 (en) Short-message-based information saving method and mobile terminal
WO2014094520A1 (en) Method, device, and system for sharing head portrait
WO2011130958A1 (en) Mobile terminal and method for updating contact person information
WO2011015093A1 (en) Mobile phone messages processing method and mobile phone
WO2011130959A1 (en) Mobile terminal and method for adding new contacts information
WO2013174315A1 (en) Text content sending method and device
CN102970401A (en) Method and device for recoding contact information
WO2017032037A1 (en) Text message operating method and terminal
CN101056337B (en) Method and system for integrated representation of the multiple music services
TWI344783B (en) Smart phone providing remote data retrieval service and method of remote data retrieval thereof
WO2009006853A1 (en) Method and device for updating user controlling parameter on user side
JP2008283449A (en) Message transmission method, message server device, program for use in the message server device, and recording medium for the program
CN101355751A (en) Method for rapidly extracting telephone number when transmitting SMS by mobile phone
JP2004362057A (en) Communication terminal, computer program, and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12864722

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12864722

Country of ref document: EP

Kind code of ref document: A1