WO2015081861A1 - Information processing method, device and terminal - Google Patents

Information processing method, device and terminal Download PDF

Info

Publication number
WO2015081861A1
WO2015081861A1 PCT/CN2014/092911 CN2014092911W WO2015081861A1 WO 2015081861 A1 WO2015081861 A1 WO 2015081861A1 CN 2014092911 W CN2014092911 W CN 2014092911W WO 2015081861 A1 WO2015081861 A1 WO 2015081861A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile phone
phone number
message
number change
terminal
Prior art date
Application number
PCT/CN2014/092911
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 WO2015081861A1 publication Critical patent/WO2015081861A1/en

Links

Images

Classifications

    • 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 an information processing method, apparatus, and terminal.
  • the general processing method is that the user manually edits the mobile phone number to change the short message, and sends the short message group to the contact in the address book.
  • the receiving terminal receives the mobile phone number change SMS, the user generally needs to manually modify the phone number according to the mobile phone number change SMS.
  • the solution provided in the prior art enables the user to conveniently send the mobile phone number change short message notification contact number change to the receiving terminal, but for the receiving terminal, after receiving the number change short message, the user also needs to follow the short message. Manually updating the address book is not very convenient.
  • the present invention provides an information processing method, apparatus, and terminal for facilitating a user to update an address book after receiving a number change message.
  • the embodiment of the present invention adopts the following technical solutions:
  • the present invention provides an information processing method, including:
  • the terminal When detecting the mobile phone number change of the terminal, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a mobile phone number before and after the change;
  • a specific mobile phone number change message when detecting that the mobile phone number of the terminal is changed, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a change before and after the change
  • the following mobile numbers include:
  • a Unicode code is added to the mobile phone number change message to generate a specific mobile phone number change message.
  • a specific mobile phone number change message when detecting that the mobile phone number of the terminal is changed, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a change before and after the change
  • the following mobile numbers include:
  • a flag is added to the mobile phone number before the change in the mobile phone number change message, and a specific mobile phone number change message is generated.
  • the specific mobile phone number change message is sent to the terminal of the target contact Before the terminal of the target contact automatically updates the address book according to the specific mobile phone number change message, the method further includes:
  • the present invention provides an information processing method, including:
  • the mobile phone number of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message, where the specific mobile phone number change message includes the sending The mobile number before and after the terminal change.
  • the determining whether the message is a specific mobile phone number change message includes:
  • the protocol reserved field of the message header is modified or that the specific field of the mobile phone number change short message header is modified to be a reserved value, it is determined that the message is a specific mobile number change message.
  • the determining whether the message is a specific mobile phone number change message includes:
  • the determining whether the message is a specific mobile phone number change message includes:
  • the message is a specific mobile phone number change message.
  • the mobile phone of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message.
  • a number, wherein the specific mobile phone number change message includes the mobile phone number before and after the change of the sending terminal includes:
  • the mobile phone number of the contact corresponding to the transmitting terminal is automatically updated before the change of the transmitting terminal and the changed mobile phone number.
  • the method further includes:
  • the specific mobile phone number change message is a message generated to indicate a mobile phone number change according to a predetermined manner, when the message is sent to the terminal of the target contact
  • the terminal of the target contact can perform a series of processing on the message, so that the terminal of the target contact automatically updates the mobile phone number, which is convenient for the user to use.
  • the present invention provides an information processing apparatus, including:
  • a detecting unit configured to detect whether the mobile phone number of the terminal is changed
  • a message generating unit configured to be connected to the detecting unit, configured to generate a specific mobile phone number change message according to a predetermined manner when the detecting unit detects that the mobile phone number of the terminal is changed, where the specific mobile phone number change message includes a change And the changed mobile number;
  • a sending unit configured to send, to the terminal of the target contact, a specific mobile phone number change message generated by the message generating unit, so that the terminal of the target contact automatically changes the message according to the specific mobile phone number Update your contacts.
  • the message generating unit includes:
  • An acquiring module configured to acquire a mobile phone number change short message when the mobile phone number of the terminal is changed, where the mobile phone number change short message includes a mobile phone number before and after the change;
  • the processing module is connected to the acquiring module, configured to: modify a protocol reservation field of the mobile phone number change short message header or modify a specific field of the mobile phone number change short message header to a reserved value, and generate a specific mobile phone number change message. Or for: adding a Unicode in the mobile phone number change message acquired by the obtaining module to generate a specific mobile phone number change message; or for: changing the mobile phone number obtained by the obtaining module before the change in the short message Add a logo to the changed mobile phone number to generate a specific mobile number change message.
  • the device further includes:
  • the selecting unit is connected to the message generating unit and the sending unit, and is configured to select the target contact in an address book of the terminal.
  • the present invention provides an information processing apparatus, including:
  • a receiving unit configured to receive a message sent by the sending terminal, where the message is sent by the sending terminal Sent when the mobile number is changed;
  • a determining unit configured to be connected to the receiving unit, configured to determine whether the message received by the receiving unit is a specific mobile phone number change message
  • An update unit configured to be connected to the determining unit, configured to automatically update a contact corresponding to the sending terminal according to the specific mobile phone number change message when the determining unit determines that the message is the specific mobile phone number change message
  • the mobile phone number wherein the specific mobile phone number change message includes the mobile phone number before and after the change of the sending terminal.
  • the determining unit is specifically configured to: if it is detected that a protocol reserved field of the message header is modified or that a specific field of the mobile phone number change short message header is detected Modifying to a reserved value, determining that the message is a specific mobile phone number change message; or for: determining that the message is a specific mobile phone number change message if the message is detected in the message; or for: detecting If there is a mobile phone number with the identifier in the message, it is determined that the message is a specific mobile phone number change message.
  • the updating unit includes:
  • the parsing module is configured to parse the specific mobile phone number change message, and obtain the mobile phone number before and after the change of the sending terminal;
  • the update module is connected to the parsing module, and is configured to automatically update the mobile phone number of the contact corresponding to the sending terminal according to the mobile phone number before and after the change of the sending terminal acquired by the parsing module.
  • the device further includes:
  • the obtaining unit is connected to the determining unit and the updating unit, and is configured to acquire a prompt for automatically updating a mobile phone number of a contact corresponding to the sending terminal.
  • the terminal of the target contact determines whether the received message is a specific mobile phone number change message, and after determining that the received message is a specific mobile phone number change message, After a series of processing, the address book can be automatically updated. Therefore, the solution of the embodiment of the present invention overcomes the cumbersome trouble of the user manually updating the address book in the prior art, and facilitates the user to update the address book after receiving the mobile phone number change information.
  • the present invention provides a terminal comprising the information processing apparatus of any of the preceding claims, which enables a terminal that receives a specific mobile number change message to automatically update an address book.
  • FIG. 1 is a flowchart of an information processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a specific mobile phone number change message according to an embodiment of the present invention.
  • FIG. 3 is another schematic diagram of a specific mobile phone number change message according to an embodiment of the present invention.
  • FIG. 4 is still another schematic diagram of a specific mobile phone number change message according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of an information processing method according to Embodiment 2 of the present invention.
  • FIG. 6 is a flowchart of step 23 in an information processing method according to Embodiment 2 of the present invention.
  • FIG. 7 is a flowchart of a method for processing information according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic diagram of a third embodiment of the present invention prompting a user whether to send a specific mobile phone number change message
  • FIG. 9 is a schematic diagram of a prompting interface for prompting a user to select a target contact according to Embodiment 3 of the present invention.
  • FIG. 10 is a structural diagram of an information processing apparatus according to Embodiment 4 of the present invention.
  • FIG. 11 is a structural diagram of a message generating unit in an information processing apparatus according to Embodiment 4 of the present invention.
  • FIG. 12 is a schematic diagram of an information processing apparatus according to Embodiment 4 of the present invention.
  • FIG. 13 is a structural diagram of an information processing apparatus according to Embodiment 5 of the present invention.
  • FIG. 14 is a schematic diagram of an information processing apparatus according to Embodiment 5 of the present invention.
  • FIG. 15 is another schematic diagram of an information processing apparatus according to Embodiment 5 of the present invention.
  • FIG. 16 is a schematic structural diagram of an information processing device according to Embodiment 6 of the present invention.
  • the first embodiment of the present invention provides an information processing method, including:
  • Step 11 Check whether the mobile phone number of the terminal is changed.
  • this step may be specifically: when the user inserts the mobile phone card each time, the mobile phone number is extracted, and the mobile phone number is stored to the predetermined location of the mobile phone.
  • the predetermined location may be a configuration file or a registry of the mobile phone.
  • the predetermined location is not limited herein, as long as the mobile phone number can be saved and the mobile phone number can be obtained when used.
  • the predetermined location may be a non-volatile storage location for information on the handset.
  • the mobile phone number may be extracted from an MSISDN (Mobile Subscriber International ISDN/PSTN number) of the mobile phone card.
  • MSISDN Mobile Subscriber International ISDN/PSTN number
  • Step 12 When the terminal detects that the mobile phone number of the terminal is changed, the specific mobile phone number change message is generated according to a predetermined manner, and the specific mobile phone number change message includes the mobile phone number before and after the change.
  • the predetermined manner refers to a special processing manner applied to the message of the terminal according to the message that the mobile terminal number is changed according to the message sent by the terminal.
  • the specific mobile phone number change message sent by the terminal may be a short message or a multimedia message. In the embodiment of the present invention, a short message is taken as an example for description.
  • the specific mobile phone number change message (User Data) includes a mobile phone number change short message and a mark for the mobile phone number change short message.
  • the predetermined manner may be in various forms, such as modifying a protocol reservation field of the mobile phone number change short message header or modifying a specific field of the mobile phone number change short message header to a reserved value, in the Add a Unicode code to the mobile phone number change message or add a logo to the changed mobile phone number before the change in the mobile phone number change message.
  • the step may include: When the mobile phone number of the terminal is changed, the mobile phone number change short message is obtained, where the mobile phone number change short message includes the mobile phone number before and after the change. Then, modify the protocol reservation field of the mobile phone number change short message header or modify the specific field of the mobile phone number change short message header to a reserved value to generate a specific mobile phone number change message.
  • the 3GPP 23040 protocol specifies that the E0-FF field of the short message header is a reserved field, these reserved fields are not utilized. Therefore, a reserved field may be selected in the reserved fields for use, that is, The protocol retains the field for modification. For example, the value of the E0 field of the mobile phone number change message header can be changed to "123456789", and then a specific mobile phone number change message is generated.
  • the reserved value of a non-reserved field may be modified, for example, the source address port number and the destination address port number of the mobile phone number change short message header may be modified.
  • the method for modifying the source address port number and the destination address port number of the short message header is modified in the embodiment of the present invention.
  • the source address port number and the destination address port number of the short message header may use an 8-bit or 16-bit source address and a destination address port. number.
  • the source address port number and destination address port number can be defined in the range of 240 to 255 (using 8-bit source and destination addresses) or in the range of 16000 to 16999 (using 16-bit source and destination addresses) .
  • one of the port numbers can be selected as the source address and the destination address port number of the specific number change message in the present invention (the selected port number is different from the port number used for other ordinary short message registration).
  • the structure of the specific mobile number change message is as shown in FIG. 2.
  • the step may include: when detecting the mobile phone number change of the terminal, first acquiring a mobile phone number change short message, the mobile phone The number change message includes the mobile number before and after the change. Then, a Unicode code is added to the mobile phone number change message to generate a specific mobile phone number change message.
  • the Unicode code may be a special character selected from the Unicode encoding table.
  • the special characters cannot be input on the display interface of the user, and cannot be directly displayed on the display interface, but the specific mobile phone number is received.
  • the terminal that changes the message can be detected.
  • the Unicode may be added at any position of the number change SMS, including The number changes the head, middle or end of the text message.
  • a hexadecimal Unicode (Unicode) special character hexadecimal code stream such as 000000010002, can be selected. If the hexadecimal code stream is added to the header of the number change message, in this case, the structure of the specific mobile number change message is as shown in FIG.
  • the step may include: when detecting the mobile phone number change of the terminal, first obtaining the mobile phone number change.
  • the short message the mobile phone number change message includes the mobile phone number before and after the change. Then, an identifier is added to the mobile phone number before and after the change in the mobile phone number change message, and a specific mobile phone number change message is generated.
  • the identifier may be a special symbol or the like, such as "" (or %%), etc., at this time, the mobile phone number before and after the change is represented in the mobile phone number change message as "137XXXXXXX" (or %137XXXXXXX%) in the form.
  • the content of the short message of the specific mobile number change message is as shown in FIG.
  • Step 13 The terminal sends the specific mobile phone number change message to the terminal of the target contact, so that the terminal of the target contact automatically updates the address book according to the specific mobile phone number change message.
  • the terminal of the target contact determines that the message sent by the terminal is a mobile phone number change message, and performs corresponding processing, so that the address book can be automatically updated according to the specific mobile phone number change message. For example, the terminal of the target contact may analyze the mobile phone number change message, extract the mobile phone number before and after the change, and then obtain the contact related to the mobile phone number before the change according to the mobile phone number before the change, and use the change. The subsequent mobile number automatically updates the mobile number of the associated contact.
  • the specific mobile phone number change message is a message generated to indicate a mobile phone number change according to a predetermined manner
  • the terminal of the target contact can perform a series of processing on the message, so that the terminal of the target contact automatically updates the mobile phone number, so that the user can update the communication after receiving the number change information. record.
  • the second embodiment of the present invention provides an information processing method, including:
  • Step 21 The terminal of the target contact receives the message sent by the sending terminal, where the message is Sent when the mobile phone number of the sending terminal is changed.
  • the message may be a normal short message, a multimedia message, or a special short message sent by the sending terminal (such as adding a special marked short message).
  • the message can be changed to a mobile phone number with a special tag "": "Hello, I am XXX, my original mobile number "137XXXXXX" is no longer used, the new mobile number is "131XXXXXXX".”
  • Step 22 The terminal of the target contact determines whether the message is a specific mobile phone number change message.
  • the specific mobile phone number change message is generated after the protocol reservation field of the mobile phone number change short message header is modified or the specific field of the mobile phone number change short message header is modified to a reserved value.
  • the message is a message for adding a Unicode code to the mobile phone number change message, or a message for adding a logo to the changed mobile phone number before the change in the mobile phone number change message.
  • the step may specifically include: if it is detected that the protocol reserved field of the message header is modified or detecting that the specific field of the mobile phone number change short message header is modified to a reserved value, determining that the message is changed for a specific mobile phone number Message.
  • the step may specifically include: if it is detected that the message has a Unicode code, The message is determined to be a change message for a particular mobile number.
  • a Unicode Unicode
  • the step may specifically include: if it is detected that the message has an identifier The mobile phone number determines that the message is a change message for a particular mobile number.
  • the reserved field of the mobile phone number change short message header and the reserved value of the specific field, the Unicode code or the identifier may refer to the description in step 12 of the embodiment of the present invention, and details are not described herein again.
  • the new mobile number is "131XXXXXXXX”.
  • the mobile phone number in "" is marked with a special identifier "”. Therefore, the message can be determined to be a specific mobile number change message according to the special identifier "".
  • Step 23 If the message is the specific mobile phone number change message, the terminal of the target contact automatically updates the mobile phone number of the contact corresponding to the sending terminal according to the specific mobile phone number change message.
  • the specific mobile phone number change message includes the mobile phone number before and after the change of the sending terminal.
  • the step specifically includes:
  • Step 231 The terminal of the target contact parses the specific mobile phone number change message.
  • Step 232 The terminal of the target contact acquires the mobile phone number before and after the change of the sending terminal.
  • Step 233 The terminal of the target contact automatically updates the mobile phone number of the contact corresponding to the sending terminal according to the mobile phone number before and after the change of the sending terminal.
  • the terminal of the target contact parses the mobile phone number change short message, and extracts the mobile phone number change short message (refer to the short message in FIG. 4)
  • the mobile number included, the first number is the mobile number before the change
  • the second number is the changed mobile number.
  • the terminal that receives the number change message automatically uses the number before the change in the user contact to perform contact matching in the background. If a contact can be matched, the number before the change is automatically replaced with the changed number, thereby automatically updating the mobile number of the contact corresponding to the transmitting terminal.
  • the receiving terminal receives the mobile phone number change message: "Hello, I am XXX, my original mobile phone number "137XXXXXX" is no longer used, the new mobile phone number is "131XXXXXXX"."
  • the mobile number Change the SMS to analyze and extract the mobile phone numbers included in the SMS: 137XXXXXXXX and 131XXXXXXX, where the previous number 137XXXXXXXX is the mobile phone number before the change, and the latter mobile phone number 131XXXXXXXX is the changed mobile phone number.
  • the terminal receiving the number change message automatically performs contact matching in the user contact in the background by using the number 137XXXXXXXX before the change.
  • the terminal receiving the number change message determines the mobile phone number before the change. If 137XXXXXXXX matches the contact A, the number 137XXXXXXXX before the change is automatically replaced by the changed number 131XXXXXXX, so that the mobile phone number of the contact A corresponding to the sending terminal is automatically updated.
  • the target contact after receiving the message sent by the sending terminal, determines whether the received message is a specific mobile phone number change message, and determines that the received message is a specific mobile phone number.
  • the address book After changing the message, the address book is automatically updated after a series of processing.
  • the user may be prompted to "create a new contact" on the interface.
  • the method for prompting the user to “create a new contact” in the prior art can be utilized.
  • the terminal of the target contact receives the number change message, the user is prompted whether to perform the number update, and the opportunity for the user to manually modify the number is provided. Therefore, by using the information processing method provided by the embodiment of the present invention, the user can be more autonomous when the mobile phone number change needs to notify the contact.
  • the third embodiment of the present invention provides an information processing method, including:
  • Step 31 The sending terminal detects whether the mobile phone number of the sending terminal is changed.
  • Step 32 When the sending terminal detects that the mobile phone number of the sending terminal is changed, the specific mobile phone number change message is generated according to a predetermined manner, and the specific mobile phone number change message includes the mobile phone number before and after the change.
  • the specific mobile phone number change message includes the mobile phone number before and after the change.
  • Step 33 The sending terminal prompts the user whether to determine to send the specific mobile number change message to all contact groups. If the user determines to send the specific mobile number change message to all contact groups, step 34 is performed, otherwise step 35 may be performed to prompt the user to select a contact who needs to send the number change message.
  • Step 34 The sending terminal sends the specific mobile phone number change message to the terminals of all contacts. At this point, all contacts are the target contacts. After this step, go to step 37.
  • Step 35 Select the target contact in an address book of the sending terminal.
  • Step 36 Send the specific mobile phone number change message to the terminal of the target contact.
  • the sending terminal sends the specific mobile number change message to all contacts; if the user selects “No”, the prompt is prompted.
  • the user selects the group to send the contact of the specific mobile phone number change message (as shown in FIG. 9 ).
  • the user can send a short message to the contact to notify them of the mobile phone number change.
  • the "Cancel" button (not shown in FIG. 8) can also be set on the prompt interface shown in FIG. 8.
  • the transmitting terminal does not send the message to the terminal of any contact.
  • a specific mobile number change message indicating that the user does not want to notify the contact of the mobile number change message.
  • Step 37 The terminal of the target contact receives the message sent by the sending terminal.
  • the target contact may be all the contacts in step 34, or may be the target contact selected in step 35.
  • Step 38 The terminal of the target contact determines whether the message is a specific mobile number change message. If it is determined that the message is a specific mobile number change message, step 39 is performed, otherwise step 310 is performed.
  • Step 39 The terminal of the target contact prompts the user whether to automatically update the mobile phone number of the contact corresponding to the sending terminal. If the user chooses to automatically update the mobile phone number of the contact corresponding to the sending terminal, step 310 is performed; otherwise, step 311 is performed.
  • the user may be prompted to perform number substitution on the mobile phone interface of the target contact, and the user may determine to automatically update or manually update the mobile phone number of the contact corresponding to the sending terminal.
  • Step 310 The terminal of the target contact automatically updates the mobile phone number of the contact corresponding to the sending terminal according to the specific mobile phone number change message.
  • the step specifically includes: parsing the specific mobile phone number change message; acquiring the mobile phone number before and after the change of the sending terminal; automatically updating and transmitting the mobile phone number before and after the change of the sending terminal The mobile number of the corresponding contact.
  • Step 311 Display the message in the inbox according to a normal short message. The user can manually update the address book based on the normal text message.
  • the terminal that receives the specific number change message can not only automatically update the address book automatically, but also provides the user with the opportunity to manually update the address book, so that the user More autonomy.
  • the fourth embodiment of the present invention provides an information processing apparatus, including:
  • the detecting unit 41 is configured to detect whether the mobile phone number of the terminal is changed.
  • the message generating unit 42 is connected to the detecting unit 41, and configured to generate, according to a predetermined manner, when the detecting unit 41 detects that the mobile phone number of the terminal is changed. a specific mobile phone number change message, wherein the specific mobile phone number change message includes a mobile phone number before and after the change;
  • the sending unit 43 is connected to the message generating unit 42 and configured to send the message to the terminal of the target contact.
  • the specific mobile number change message generated by the unit 42 causes the terminal of the target contact to automatically update the address book according to the specific mobile number change message.
  • the specific mobile phone number change message generated by the message generating unit 42 according to the predetermined manner includes a mobile phone number change short message and a mark for the mobile phone number change short message, where the specific mobile phone number change message is used to indicate the message sent by the terminal. Change the message for the phone number instead of the regular text message.
  • the specific mobile phone number change message may be marked in various forms, such as modifying a protocol reservation field of the mobile phone number change short message header or modifying a specific field of the mobile phone number change short message header to be reserved. The value is added to the mobile phone number change message to add a Unicode code or to add a logo to the changed mobile phone number before the change in the mobile phone number change message.
  • the message generating unit 42 includes: an obtaining module 421, configured to acquire a mobile phone number change short message when the mobile phone number of the terminal is changed, where the mobile phone number change message includes a change And the changed mobile phone number; the processing module 422 is connected to the acquiring module 421, configured to: modify the protocol reserved field of the mobile phone number change short message header acquired by the obtaining module 421 or change the mobile phone number to change the short message header
  • the specific field is modified to a reserved value to generate a specific mobile phone number change message; or is used to: add a Unicode code to the mobile phone number change short message acquired by the obtaining module 421, and generate a specific mobile phone number change message;
  • the method adds a flag to the mobile phone number before the change in the mobile phone number change message acquired by the acquisition module 421, and generates a specific mobile phone number change message.
  • the message generating unit can generate a mobile phone number change message for indicating the change of the mobile phone number in a predetermined manner, and send the message to the terminal of the target contact.
  • the terminal of the target contact can perform a series of processing on the specific mobile phone number change message, so that the terminal of the target contact automatically updates the mobile phone number, so that the user can receive the mobile phone number. Update the address book after the number change information.
  • the apparatus further includes: a selecting unit 44, connected to the message generating unit 42 and the sending unit 43, and configured to select the target contact in an address book of the terminal.
  • a selecting unit 44 connected to the message generating unit 42 and the sending unit 43, and configured to select the target contact in an address book of the terminal.
  • the terminal only needs to send a mobile phone number change message to the selected target contact.
  • the user may also be prompted to determine whether to send the specific mobile phone number change message.
  • the user can select the contact who wants to send the mobile phone number change message to himself according to his or her own desire, and can also choose whether to send the specific mobile phone number change message. Therefore, with the information processing apparatus provided in the fourth embodiment of the present invention, the user can be more autonomous when the mobile phone number change needs to notify the contact.
  • the fifth embodiment of the present invention provides an information processing apparatus, including: a receiving unit 51, configured to receive a message sent by a sending terminal, where the message is sent when the mobile phone number of the sending terminal is changed; a determining unit 52, configured to be connected to the receiving unit 51, configured to determine whether the message received by the receiving unit is a specific mobile number change message; and the updating unit 53 is connected to the determining unit 52, and configured to determine at the determining unit When the message is the specific mobile phone number change message, the mobile phone number of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message, where the specific mobile phone number change message includes the sending terminal The mobile number before and after the change.
  • the determining unit 52 is specifically configured to: if it is detected that the protocol reserved field of the message header is modified or that the specific field of the mobile phone number change short message header is modified to a reserved value, Determining, by the determining unit 52, that the message is a specific mobile phone number change message; or The unit 52 is specifically configured to determine that the message is a specific mobile phone number change message if it is detected that the mobile phone number having the identifier exists in the message.
  • the updating unit 53 includes: a parsing module 531, configured to parse the specific mobile phone number change message, and obtain the mobile phone number before and after the change of the sending terminal; and the update module 532
  • the analysis module 531 is connected to automatically update the mobile phone number of the contact corresponding to the transmitting terminal before and after the change of the transmitting terminal acquired by the analyzing module 531.
  • the determining unit determines whether the received message is a specific mobile phone number change message, and determines that the received message is a specific mobile phone number change.
  • the update unit can automatically update the address book after a series of processing.
  • the apparatus further includes: an obtaining unit 54, connected to the determining unit 52 and the updating unit 53, and configured to acquire whether to automatically update a mobile phone number of a contact corresponding to the sending terminal. Tips.
  • the acquiring unit acquires a prompt for whether to update the number, and provides an opportunity for the user to manually modify the number. Therefore, with the information processing apparatus provided in Embodiment 5 of the present invention, it is possible to make the user more autonomous when the mobile phone number change needs to notify the contact.
  • FIG. 16 is a schematic structural diagram of an information processing device according to Embodiment 6 of the present invention.
  • the information processing apparatus of this embodiment includes at least one processor 1601, a memory 1602, a communication interface 1603, and a bus.
  • the processor 1601, the memory 1602, and the communication interface 1603 are connected and completed through a bus. Communication with each other.
  • the bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 16, but it does not mean that there is only one bus or one type of bus. among them:
  • the memory 1602 is for storing executable program code, the program code including computer operating instructions.
  • the memory 1602 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 1601 runs a program corresponding to the executable program code by reading executable program code stored in the memory 1602 for:
  • the terminal When detecting the mobile phone number change of the terminal, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a mobile phone number before and after the change;
  • the processor 1601 runs a program corresponding to the executable program code by reading executable program code stored in the memory 1602 for:
  • the mobile phone number of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message, where the specific mobile phone number change message includes the sending The mobile number before and after the terminal change.
  • the processor 1601 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • processor 1601 can be used to perform the foregoing, in addition to the foregoing functions. Other processes in the method embodiments are not described herein again.
  • the communication interface 1603 is mainly used to implement communication between the information processing device of the present embodiment and other devices or devices.
  • Embodiment 7 of the present invention further provides a terminal, including the information processing apparatus shown in any of FIGs. 9 to 15.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

Disclosed are an information processing method, device and terminal, and the present invention relates to the technical field of communications. The present invention is invented in order to help a user update an address list after receiving a number changing message. The method comprises: detecting whether the cell phone number of a terminal is changed; generating a specific cell phone number changing message according to a preset mode when it is detected that the cell phone number of the terminal is changed, the specific cell phone number changing message comprising cell phone numbers before and after the changing; and sending the specific cell phone number changing message to a terminal of a target contact person, so that the terminal of the target contact person updates an address list automatically according to the specific cell phone number changing message. The present invention can be applied to terminals.

Description

一种信息处理方法、装置及终端Information processing method, device and terminal
本申请要求于2013年12月03日提交中国专利局、申请号为201310641848.8、发明名称为“一种信息处理方法、装置及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201310641848.8, entitled "Information Processing Method, Apparatus and Terminal", filed on December 3, 2013, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种信息处理方法、装置及终端。The present invention relates to the field of communications technologies, and in particular, to an information processing method, apparatus, and terminal.
背景技术Background technique
目前,当用户的手机号码变更需要通知联系人时,一般的处理方式是用户手动编辑手机号码变更短信,并将该短信群发给通讯录中的联系人。当接收终端收到手机号码变更短信,用户一般需根据该手机号码变更短信手动修改电话号码。At present, when the user's mobile phone number change needs to notify the contact, the general processing method is that the user manually edits the mobile phone number to change the short message, and sends the short message group to the contact in the address book. When the receiving terminal receives the mobile phone number change SMS, the user generally needs to manually modify the phone number according to the mobile phone number change SMS.
在实现本发明的过程中,发明人发现现有技术中至少存在如下问题:In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art:
现有技术中提供的解决方案虽能使用户比较方便地向接收终端发送手机号码变更短信通知联系人号码变更,但是对于接收终端来说,在接收到号码变更短信后还需要用户按照短信中的号码手动更新通讯录,操作起来也不是非常方便。The solution provided in the prior art enables the user to conveniently send the mobile phone number change short message notification contact number change to the receiving terminal, but for the receiving terminal, after receiving the number change short message, the user also needs to follow the short message. Manually updating the address book is not very convenient.
发明内容Summary of the invention
有鉴于此,本发明提供一种信息处理方法、装置及终端,以方便用户在接收到号码变更消息后更新通讯录。In view of this, the present invention provides an information processing method, apparatus, and terminal for facilitating a user to update an address book after receiving a number change message.
为达到上述目的,本发明实施例采用如下技术方案:To achieve the above objective, the embodiment of the present invention adopts the following technical solutions:
第一方面,本发明提供了一种信息处理方法,包括:In a first aspect, the present invention provides an information processing method, including:
检测终端的手机号码是否变更;Check if the mobile phone number of the terminal is changed;
当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a mobile phone number before and after the change;
向目标联系人的终端发送所述特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录。 Transmitting the specific mobile phone number change message to the terminal of the target contact, so that the terminal of the target contact automatically updates the address book according to the specific mobile phone number change message.
在第一方面的第一种可能实现方式中,所述当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码包括:In a first possible implementation manner of the first aspect, when detecting that the mobile phone number of the terminal is changed, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a change before and after the change The following mobile numbers include:
当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, acquiring a mobile phone number change short message, where the mobile phone number change short message includes a mobile phone number before and after the change;
修改所述手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值,生成特定手机号码变更消息。Modifying the protocol reservation field of the mobile phone number change short message header or modifying a specific field of the mobile phone number change short message header to a reserved value to generate a specific mobile phone number change message.
在第一方面的第二种可能实现方式中,所述当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码包括:In a second possible implementation manner of the first aspect, when detecting that the mobile phone number of the terminal is changed, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a change before and after the change The following mobile numbers include:
当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, acquiring a mobile phone number change short message, where the mobile phone number change short message includes a mobile phone number before and after the change;
在所述手机号码变更短信中添加统一码,生成特定手机号码变更消息。A Unicode code is added to the mobile phone number change message to generate a specific mobile phone number change message.
在第一方面的第三种可能实现方式中,所述当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码包括:In a third possible implementation manner of the first aspect, when detecting that the mobile phone number of the terminal is changed, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a change before and after the change The following mobile numbers include:
当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, acquiring a mobile phone number change short message, where the mobile phone number change short message includes a mobile phone number before and after the change;
对所述手机号码变更短信中的变更前与变更后的手机号码添加标识,生成特定手机号码变更消息。A flag is added to the mobile phone number before the change in the mobile phone number change message, and a specific mobile phone number change message is generated.
结合第一方面以及第一方面的第一至第三种任一种可能实现方式,在第一方面的第四种可能实现方式中,在向目标联系人的终端发送所述特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录前,所述方法还包括:With reference to the first aspect, and the first to third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the specific mobile phone number change message is sent to the terminal of the target contact Before the terminal of the target contact automatically updates the address book according to the specific mobile phone number change message, the method further includes:
在所述终端的通讯录中选取所述目标联系人。Selecting the target contact in an address book of the terminal.
第二方面,本发明提供了一种信息处理方法,包括:In a second aspect, the present invention provides an information processing method, including:
接收由发送终端发送的消息,所述消息为所述发送终端的手机号码变更时发送; Receiving a message sent by the sending terminal, where the message is sent when the mobile phone number of the sending terminal is changed;
确定所述消息是否为特定手机号码变更消息;Determining whether the message is a specific mobile number change message;
若所述消息为所述特定手机号码变更消息,则根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码,其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码。And if the message is the specific mobile phone number change message, the mobile phone number of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message, where the specific mobile phone number change message includes the sending The mobile number before and after the terminal change.
在第二方面的第一种可能实现方式中,所述确定所述消息是否为特定手机号码变更消息包括:In a first possible implementation manner of the second aspect, the determining whether the message is a specific mobile phone number change message includes:
若检测到所述消息头部的协议保留字段被修改或者检测到所述手机号码变更短信头部的特定字段被修改为保留值,则确定所述消息为特定手机号码变更消息。If it is detected that the protocol reserved field of the message header is modified or that the specific field of the mobile phone number change short message header is modified to be a reserved value, it is determined that the message is a specific mobile number change message.
在第二方面的第二种可能实现方式中,所述确定所述消息是否为特定手机号码变更消息包括:In a second possible implementation manner of the second aspect, the determining whether the message is a specific mobile phone number change message includes:
若检测到所述消息中具有统一码,则确定所述消息为特定手机号码变更消息。If it is detected that the message has a Unicode, it is determined that the message is a specific mobile number change message.
在第二方面的第三种可能实现方式中,所述确定所述消息是否为特定手机号码变更消息包括:In a third possible implementation manner of the second aspect, the determining whether the message is a specific mobile phone number change message includes:
若检测到所述消息中存在具有标识的手机号码,则确定所述消息为特定手机号码变更消息。If it is detected that the mobile phone number with the identifier exists in the message, it is determined that the message is a specific mobile phone number change message.
在第二方面的第四种可能实现方式中,所述若所述消息为所述特定手机号码变更消息,则根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码,其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码包括:In a fourth possible implementation manner of the second aspect, if the message is the specific mobile phone number change message, the mobile phone of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message. a number, wherein the specific mobile phone number change message includes the mobile phone number before and after the change of the sending terminal includes:
解析所述特定手机号码变更消息,获取所述发送终端变更前与变更后的手机号码;Parsing the specific mobile phone number change message, and acquiring the mobile phone number before and after the change of the sending terminal;
根据所述发送终端变更前与变更后的手机号码自动更新与所述发送终端对应的联系人的手机号码。The mobile phone number of the contact corresponding to the transmitting terminal is automatically updated before the change of the transmitting terminal and the changed mobile phone number.
结合第二方面的第四种可能实现方式,在第二方面的第五种可能实现方式中,所述确定所述消息是否为特定手机号码变更消息后,所述方法还包括:With the fourth possible implementation of the second aspect, in a fifth possible implementation manner of the second aspect, after the determining whether the message is a specific mobile phone number change message, the method further includes:
获取是否自动更新与所述发送终端对应的联系人的手机号码的提示。 Obtaining a prompt for automatically updating the mobile phone number of the contact corresponding to the sending terminal.
本发明实施例提供的信息处理方法及装置,在发送终端中,由于所述特定手机号码变更消息是按照预定方式生成的用来表明手机号码变更的消息,当向目标联系人的终端发送所述特定手机号码变更消息后,所述目标联系人的终端就可对该消息进行一系列的处理,从而使所述目标联系人的终端自动更新手机号码,方便了用户使用。The information processing method and apparatus provided by the embodiment of the present invention, in the sending terminal, because the specific mobile phone number change message is a message generated to indicate a mobile phone number change according to a predetermined manner, when the message is sent to the terminal of the target contact After the specific mobile phone number change message, the terminal of the target contact can perform a series of processing on the message, so that the terminal of the target contact automatically updates the mobile phone number, which is convenient for the user to use.
第三方面,本发明提供了一种信息处理装置,包括:In a third aspect, the present invention provides an information processing apparatus, including:
检测单元,用于检测终端的手机号码是否变更;a detecting unit, configured to detect whether the mobile phone number of the terminal is changed;
消息生成单元,与所述检测单元连接,用于当所述检测单元检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码;a message generating unit, configured to be connected to the detecting unit, configured to generate a specific mobile phone number change message according to a predetermined manner when the detecting unit detects that the mobile phone number of the terminal is changed, where the specific mobile phone number change message includes a change And the changed mobile number;
发送单元,与所述消息生成单元连接,用于向目标联系人的终端发送所述消息生成单元生成的特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录。a sending unit, configured to send, to the terminal of the target contact, a specific mobile phone number change message generated by the message generating unit, so that the terminal of the target contact automatically changes the message according to the specific mobile phone number Update your contacts.
在第三方面的第一种可能实现方式中,所述消息生成单元包括:In a first possible implementation manner of the third aspect, the message generating unit includes:
获取模块,用于当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;An acquiring module, configured to acquire a mobile phone number change short message when the mobile phone number of the terminal is changed, where the mobile phone number change short message includes a mobile phone number before and after the change;
处理模块,与所述获取模块连接,用于:修改所述手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值,生成特定手机号码变更消息;或者用于:在所述获取模块获取的所述手机号码变更短信中添加统一码,生成特定手机号码变更消息;或者用于:对所述获取模块获取的手机号码变更短信中的变更前与变更后的手机号码添加标识,生成特定手机号码变更消息。The processing module is connected to the acquiring module, configured to: modify a protocol reservation field of the mobile phone number change short message header or modify a specific field of the mobile phone number change short message header to a reserved value, and generate a specific mobile phone number change message. Or for: adding a Unicode in the mobile phone number change message acquired by the obtaining module to generate a specific mobile phone number change message; or for: changing the mobile phone number obtained by the obtaining module before the change in the short message Add a logo to the changed mobile phone number to generate a specific mobile number change message.
结合第三方面以及第三方面的第一种可能实现方式,在第三方面的第二种可能实现方式中,所述装置还包括:With reference to the third aspect, and the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the device further includes:
选取单元,与所述消息生成单元和所述发送单元连接,用于在所述终端的通讯录中选取所述目标联系人。The selecting unit is connected to the message generating unit and the sending unit, and is configured to select the target contact in an address book of the terminal.
第四方面,本发明提供了一种信息处理装置,包括:In a fourth aspect, the present invention provides an information processing apparatus, including:
接收单元,用于接收由发送终端发送的消息,所述消息为所述发送终端的 手机号码变更时发送;a receiving unit, configured to receive a message sent by the sending terminal, where the message is sent by the sending terminal Sent when the mobile number is changed;
确定单元,与所述接收单元连接,用于确定所述接收单元接收的消息是否为特定手机号码变更消息;a determining unit, configured to be connected to the receiving unit, configured to determine whether the message received by the receiving unit is a specific mobile phone number change message;
更新单元,与所述确定单元连接,用于在所述确定单元确定所述消息为所述特定手机号码变更消息时,根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码,其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码。An update unit, configured to be connected to the determining unit, configured to automatically update a contact corresponding to the sending terminal according to the specific mobile phone number change message when the determining unit determines that the message is the specific mobile phone number change message The mobile phone number, wherein the specific mobile phone number change message includes the mobile phone number before and after the change of the sending terminal.
在第四方面的第一种可能实现方式中,所述确定单元具体用于:若检测到所述消息头部的协议保留字段被修改或者检测到所述手机号码变更短信头部的特定字段被修改为保留值,则确定所述消息为特定手机号码变更消息;或者用于:若检测到所述消息中具有统一码,则确定所述消息为特定手机号码变更消息;或者用于:若检测到所述消息中存在具有标识的手机号码,则确定所述消息为特定手机号码变更消息。In a first possible implementation manner of the fourth aspect, the determining unit is specifically configured to: if it is detected that a protocol reserved field of the message header is modified or that a specific field of the mobile phone number change short message header is detected Modifying to a reserved value, determining that the message is a specific mobile phone number change message; or for: determining that the message is a specific mobile phone number change message if the message is detected in the message; or for: detecting If there is a mobile phone number with the identifier in the message, it is determined that the message is a specific mobile phone number change message.
在第四方面的第二种可能实现方式中,所述更新单元包括:In a second possible implementation manner of the fourth aspect, the updating unit includes:
解析模块,用于解析所述特定手机号码变更消息,获取所述发送终端变更前与变更后的手机号码;The parsing module is configured to parse the specific mobile phone number change message, and obtain the mobile phone number before and after the change of the sending terminal;
更新模块,与所述解析模块连接,用于根据所述解析模块获取的发送终端变更前与变更后的手机号码自动更新与所述发送终端对应的联系人的手机号码。The update module is connected to the parsing module, and is configured to automatically update the mobile phone number of the contact corresponding to the sending terminal according to the mobile phone number before and after the change of the sending terminal acquired by the parsing module.
结合第四方面的以及第四方面的第一或第二种可能实现方式,在第四方面的第三种可能实现方式中,所述装置还包括:With reference to the fourth aspect, and the first or second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the device further includes:
获取单元,与所述确定单元和所述更新单元连接,用于获取是否自动更新与所述发送终端对应的联系人的手机号码的提示。The obtaining unit is connected to the determining unit and the updating unit, and is configured to acquire a prompt for automatically updating a mobile phone number of a contact corresponding to the sending terminal.
本发明实施例提供的信息处理方法及装置,当目标联系人的终端接收发送终端发送的消息之后,确定接收的消息是否为特定手机号码变更消息,当确定接收的消息为特定手机号码变更消息后,经过一系列的处理能够自动更新通讯录。从而利用本发明实施例的方案克服了现有技术中用户手动更新通讯录比较麻烦的缺陷,方便了用户在接收到手机号码变更信息后更新通讯录。 The information processing method and device provided by the embodiment of the present invention, after receiving the message sent by the sending terminal, the terminal of the target contact determines whether the received message is a specific mobile phone number change message, and after determining that the received message is a specific mobile phone number change message, After a series of processing, the address book can be automatically updated. Therefore, the solution of the embodiment of the present invention overcomes the cumbersome trouble of the user manually updating the address book in the prior art, and facilitates the user to update the address book after receiving the mobile phone number change information.
第五方面,本发明提供了一种终端,包括前面任一所述的信息处理装置,能够使接收特定手机号码变更消息的终端自动更新通讯录。According to a fifth aspect, the present invention provides a terminal comprising the information processing apparatus of any of the preceding claims, which enables a terminal that receives a specific mobile number change message to automatically update an address book.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, a brief description of the drawings used in the description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1为本发明实施例一信息处理方法的流程图;1 is a flowchart of an information processing method according to an embodiment of the present invention;
图2为本发明实施例一特定手机号码变更消息的一个示意图;2 is a schematic diagram of a specific mobile phone number change message according to an embodiment of the present invention;
图3为本发明实施例一特定手机号码变更消息的另一个示意图;3 is another schematic diagram of a specific mobile phone number change message according to an embodiment of the present invention;
图4为本发明实施例一特定手机号码变更消息的又一个示意图;4 is still another schematic diagram of a specific mobile phone number change message according to an embodiment of the present invention;
图5为本发明实施例二信息处理方法的流程图;FIG. 5 is a flowchart of an information processing method according to Embodiment 2 of the present invention;
图6为本发明实施例二信息处理方法中步骤23的流程图;6 is a flowchart of step 23 in an information processing method according to Embodiment 2 of the present invention;
图7为本发明实施例三信息处理方法的流程图;FIG. 7 is a flowchart of a method for processing information according to Embodiment 3 of the present invention; FIG.
图8为本发明实施例三提示用户是否群发特定手机号码变更消息的示意图;FIG. 8 is a schematic diagram of a third embodiment of the present invention prompting a user whether to send a specific mobile phone number change message;
图9为本发明实施例三提示用户选取目标联系人的提示界面示意图;FIG. 9 is a schematic diagram of a prompting interface for prompting a user to select a target contact according to Embodiment 3 of the present invention;
图10为本发明实施例四信息处理装置的结构图;FIG. 10 is a structural diagram of an information processing apparatus according to Embodiment 4 of the present invention; FIG.
图11为本发明实施例四信息处理装置中消息生成单元的结构图;11 is a structural diagram of a message generating unit in an information processing apparatus according to Embodiment 4 of the present invention;
图12为本发明实施例四信息处理装置的示意图;FIG. 12 is a schematic diagram of an information processing apparatus according to Embodiment 4 of the present invention; FIG.
图13为本发明实施例五信息处理装置的结构图;FIG. 13 is a structural diagram of an information processing apparatus according to Embodiment 5 of the present invention; FIG.
图14为本发明实施例五信息处理装置的一个示意图;FIG. 14 is a schematic diagram of an information processing apparatus according to Embodiment 5 of the present invention; FIG.
图15为本发明实施例五信息处理装置的另一个示意图;15 is another schematic diagram of an information processing apparatus according to Embodiment 5 of the present invention;
图16为本发明实施例六的信息处理设备的结构示意图。FIG. 16 is a schematic structural diagram of an information processing device according to Embodiment 6 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为了方便用户在接收到号码变更信息后更新通讯录,如图1所示,本发明实施例一提供了一种信息处理方法,包括:In order to facilitate the user to update the address book after receiving the number change information, as shown in FIG. 1 , the first embodiment of the present invention provides an information processing method, including:
步骤11、检测终端的手机号码是否变更。Step 11: Check whether the mobile phone number of the terminal is changed.
在实际应用中,此步骤可以具体为:当用户每次插入手机卡时,提取手机号码,并且将手机号码存储至手机的预定位置。所述预定位置可以为所述手机的配置文件或注册表等,这里对所述预定位置不做限定,只要能够保存手机号码且使用时可以获得所述手机号码即可。然而,优选地,所述预定位置可以为手机上的信息非易失的存储位置。当下次插入手机卡时,获取当前的手机号码,然后将当前的手机号码与手机中已经存储的手机号码进行比较。若当前的手机号码与已经存储的手机号码都不相同,则表明手机号码有所变更,若当前的手机号码与已经存储的手机号码有相同的,则表明手机号码未变更。In an actual application, this step may be specifically: when the user inserts the mobile phone card each time, the mobile phone number is extracted, and the mobile phone number is stored to the predetermined location of the mobile phone. The predetermined location may be a configuration file or a registry of the mobile phone. The predetermined location is not limited herein, as long as the mobile phone number can be saved and the mobile phone number can be obtained when used. Preferably, however, the predetermined location may be a non-volatile storage location for information on the handset. When the mobile phone card is inserted next time, the current mobile phone number is obtained, and then the current mobile phone number is compared with the mobile phone number already stored in the mobile phone. If the current mobile phone number is different from the already stored mobile phone number, it indicates that the mobile phone number has changed. If the current mobile phone number is the same as the already stored mobile phone number, the mobile phone number has not changed.
其中,所述手机号码可从所述手机卡的MSISDN(Mobile Subscriber International ISDN/PSTN number,移动用户国际综合业务数字网/公用开关电话网络号码)中提取。The mobile phone number may be extracted from an MSISDN (Mobile Subscriber International ISDN/PSTN number) of the mobile phone card.
步骤12、当所述终端检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码。Step 12: When the terminal detects that the mobile phone number of the terminal is changed, the specific mobile phone number change message is generated according to a predetermined manner, and the specific mobile phone number change message includes the mobile phone number before and after the change.
其中,按照预定方式是指按照为了标识终端发送的消息为手机号码变更的消息而对终端的消息采用的特殊处理方式。其中,所述终端发送的特定手机号码变更消息可以为短信或者彩信等。本发明实施例中均以短信为例进行描述。The predetermined manner refers to a special processing manner applied to the message of the terminal according to the message that the mobile terminal number is changed according to the message sent by the terminal. The specific mobile phone number change message sent by the terminal may be a short message or a multimedia message. In the embodiment of the present invention, a short message is taken as an example for description.
所述特定手机号码变更消息(User Data)中包含手机号码变更短信以及对所述手机号码变更短信进行的标记。在具体应用中,所述预定方式可以有多种形式,例如修改所述手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值、在所述手机号码变更短信中添加统一码(Unicode)或者对所述手机号码变更短信中的变更前与变更后的手机号码添加标识等。The specific mobile phone number change message (User Data) includes a mobile phone number change short message and a mark for the mobile phone number change short message. In a specific application, the predetermined manner may be in various forms, such as modifying a protocol reservation field of the mobile phone number change short message header or modifying a specific field of the mobile phone number change short message header to a reserved value, in the Add a Unicode code to the mobile phone number change message or add a logo to the changed mobile phone number before the change in the mobile phone number change message.
例如,当采用修改所述手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值这一方式时,此步骤可包括: 当检测到所述终端的手机号码变更时,获取手机号码变更短信,其中所述手机号码变更短信中包括变更前与变更后的手机号码。然后修改所述手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值,生成特定手机号码变更消息。For example, when the protocol reservation field of modifying the mobile phone number is changed or the specific field of the mobile phone number change short message header is modified to a reserved value, the step may include: When the mobile phone number of the terminal is changed, the mobile phone number change short message is obtained, where the mobile phone number change short message includes the mobile phone number before and after the change. Then, modify the protocol reservation field of the mobile phone number change short message header or modify the specific field of the mobile phone number change short message header to a reserved value to generate a specific mobile phone number change message.
其中,在具体应用中,由于3GPP 23040协议规定短信头部的E0-FF字段为保留字段,这些保留字段未加以利用,因此,可以在这些保留字段中选取某个保留字段加以利用,即可以对协议保留字段进行修改。例如:可以将手机号码变更短信头部的E0字段的值改为“123456789”,之后生成特定手机号码变更消息。In the specific application, because the 3GPP 23040 protocol specifies that the E0-FF field of the short message header is a reserved field, these reserved fields are not utilized. Therefore, a reserved field may be selected in the reserved fields for use, that is, The protocol retains the field for modification. For example, the value of the E0 field of the mobile phone number change message header can be changed to "123456789", and then a specific mobile phone number change message is generated.
或者在具体应用中,可以将某个非保留字段(即所述特定字段)的保留值进行修改,如可修改所述手机号码变更短信头部的源地址端口号和目的地址端口号。其中,本发明实施例中采用修改所述手机号码变更短信头部的源地址端口号和目的地址端口号的方式。当采用修改所述手机号码变更短信头部的源地址端口号和目的地址端口号这一方式时,所述源地址端口号和目的地址端口号可使用8bit或16 bit的源地址和目的地址端口号。根据3GPP 23040协议规定,可将源地址端口号和目的地址端口号定义在240~255范围内(采用8bit的源地址和目的地址)或者16000~16999范围内(采用16bit的源地址和目的地址)。在这种情况下,可以选取其中一个端口号作为本发明中特定号码变更消息的源地址和目的地址端口号(选取的端口号与其他普通短信注册所用的端口号要有所区别)。在这种情况下,所述特定手机号码变更消息的结构如图2所示。Or in a specific application, the reserved value of a non-reserved field (that is, the specific field) may be modified, for example, the source address port number and the destination address port number of the mobile phone number change short message header may be modified. The method for modifying the source address port number and the destination address port number of the short message header is modified in the embodiment of the present invention. When the source address port number and the destination address port number of the short message header are changed by modifying the mobile phone number, the source address port number and the destination address port number may use an 8-bit or 16-bit source address and a destination address port. number. According to the 3GPP 23040 protocol, the source address port number and destination address port number can be defined in the range of 240 to 255 (using 8-bit source and destination addresses) or in the range of 16000 to 16999 (using 16-bit source and destination addresses) . In this case, one of the port numbers can be selected as the source address and the destination address port number of the specific number change message in the present invention (the selected port number is different from the port number used for other ordinary short message registration). In this case, the structure of the specific mobile number change message is as shown in FIG. 2.
例如,当采用在所述手机号码变更短信中添加统一码(Unicode)这一方式时,此步骤可包括:当检测到所述终端的手机号码变更时,首先获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码。然后在所述手机号码变更短信中添加统一码(Unicode),生成特定手机号码变更消息。For example, when the Unicode is added to the mobile phone number change message, the step may include: when detecting the mobile phone number change of the terminal, first acquiring a mobile phone number change short message, the mobile phone The number change message includes the mobile number before and after the change. Then, a Unicode code is added to the mobile phone number change message to generate a specific mobile phone number change message.
其中,所述统一码(Unicode)可以为从Unicode编码表中选取的特殊字符,这些特殊字符在用户的显示界面无法输入,而且在显示界面上也无法直接显示出来,但是接收所述特定手机号码变更消息的终端可以检测出来。在实际应用中,所述统一码(Unicode)可以添加在所述号码变更短信的任意位置,包括所 述号码变更短信的头部、当中或者末尾等。例如可选取16进制统一码(Unicode)特殊字符16进制码流,如000000010002。若是在所述号码变更短信的头部添加上述16进制码流,那么在这种情况下,所述特定手机号码变更消息的结构如图3所示。The Unicode code may be a special character selected from the Unicode encoding table. The special characters cannot be input on the display interface of the user, and cannot be directly displayed on the display interface, but the specific mobile phone number is received. The terminal that changes the message can be detected. In practical applications, the Unicode (Unicode) may be added at any position of the number change SMS, including The number changes the head, middle or end of the text message. For example, a hexadecimal Unicode (Unicode) special character hexadecimal code stream, such as 000000010002, can be selected. If the hexadecimal code stream is added to the header of the number change message, in this case, the structure of the specific mobile number change message is as shown in FIG.
例如,当采用对所述手机号码变更短信中的变更前与变更后的手机号码添加标识这一方式时,此步骤可包括:当检测到所述终端的手机号码变更时,首先获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码。然后对所述手机号码变更短信中的变更前与变更后的手机号码添加标识,生成特定手机号码变更消息。For example, when the method of adding the identifier to the mobile phone number after the change in the mobile phone number change message is used, the step may include: when detecting the mobile phone number change of the terminal, first obtaining the mobile phone number change. The short message, the mobile phone number change message includes the mobile phone number before and after the change. Then, an identifier is added to the mobile phone number before and after the change in the mobile phone number change message, and a specific mobile phone number change message is generated.
其中,所述标识可以为特殊的符号等,如《》(或者%%)等,此时,所述变更前后的手机号码在所述手机号码变更短信中的表现形式为如《137XXXXXXXX》(或者%137XXXXXXXX%)的形式。在这种情况下,所述特定手机号码变更消息的短信的内容如图4所示。The identifier may be a special symbol or the like, such as "" (or %%), etc., at this time, the mobile phone number before and after the change is represented in the mobile phone number change message as "137XXXXXXXX" (or %137XXXXXXXX%) in the form. In this case, the content of the short message of the specific mobile number change message is as shown in FIG.
步骤13、所述终端向目标联系人的终端发送所述特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录。Step 13: The terminal sends the specific mobile phone number change message to the terminal of the target contact, so that the terminal of the target contact automatically updates the address book according to the specific mobile phone number change message.
其中,所述目标联系人的终端确定所述终端发送的消息是手机号码变更消息后,进行相应的处理,从而能够根据所述特定手机号码变更消息自动更新通讯录。例如目标联系人的终端可以对所述手机号码变更消息进行解析,从中提取出变更前与变更后的手机号码,然后根据变更前的手机号码获取与变更前的手机号码相关的联系人,利用变更后的手机号码自动更新所述相关的联系人的手机号码。The terminal of the target contact determines that the message sent by the terminal is a mobile phone number change message, and performs corresponding processing, so that the address book can be automatically updated according to the specific mobile phone number change message. For example, the terminal of the target contact may analyze the mobile phone number change message, extract the mobile phone number before and after the change, and then obtain the contact related to the mobile phone number before the change according to the mobile phone number before the change, and use the change. The subsequent mobile number automatically updates the mobile number of the associated contact.
由上可以看出,本发明实施例一的信息处理方法,由于所述特定手机号码变更消息是按照预定方式生成的用来表明手机号码变更的消息,当向目标联系人的终端发送所述特定手机号码变更消息后,所述目标联系人的终端就可对该消息进行一系列的处理,从而使所述目标联系人的终端自动更新手机号码,方便了用户在接收到号码变更信息后更新通讯录。As can be seen from the above, in the information processing method of the first embodiment of the present invention, since the specific mobile phone number change message is a message generated to indicate a mobile phone number change according to a predetermined manner, when the specific message is sent to the terminal of the target contact After the mobile phone number change message, the terminal of the target contact can perform a series of processing on the message, so that the terminal of the target contact automatically updates the mobile phone number, so that the user can update the communication after receiving the number change information. record.
如图5所示,本发明实施例二提供了一种信息处理方法,包括:As shown in FIG. 5, the second embodiment of the present invention provides an information processing method, including:
步骤21、目标联系人的终端接收由发送终端发送的消息,所述消息为所述 发送终端的手机号码变更时发送。Step 21: The terminal of the target contact receives the message sent by the sending terminal, where the message is Sent when the mobile phone number of the sending terminal is changed.
其中,所述消息可以是发送终端发送的普通短信、彩信或者特殊短信(如添加特殊标记的短信)等。The message may be a normal short message, a multimedia message, or a special short message sent by the sending terminal (such as adding a special marked short message).
例如,所述消息可以为添加特殊标记《》的手机号码变更短信:“你好,我是XXX,我的原手机号码《137XXXXXXXX》已经不再使用,新的手机号码为《131XXXXXXXX》。”For example, the message can be changed to a mobile phone number with a special tag "": "Hello, I am XXX, my original mobile number "137XXXXXXXX" is no longer used, the new mobile number is "131XXXXXXXX"."
步骤22、所述目标联系人的终端确定所述消息是否为特定手机号码变更消息。Step 22: The terminal of the target contact determines whether the message is a specific mobile phone number change message.
其中,在实际应用中,所述特定手机号码变更消息指的是在手机号码变更短信头部的协议保留字段被修改或者所述手机号码变更短信头部的特定字段被修改为保留值后生成的消息、或者为在所述手机号码变更短信中添加统一码(Unicode)的消息、或者为对所述手机号码变更短信中的变更前与变更后的手机号码添加标识的消息等。In the actual application, the specific mobile phone number change message is generated after the protocol reservation field of the mobile phone number change short message header is modified or the specific field of the mobile phone number change short message header is modified to a reserved value. The message is a message for adding a Unicode code to the mobile phone number change message, or a message for adding a logo to the changed mobile phone number before the change in the mobile phone number change message.
例如,当所述特定手机号码变更消息为在所述手机号码变更短信头部的协议保留字段被修改或者所述手机号码变更短信头部的特定字段被修改为保留值后生成的消息时,此步骤具体可包括:若检测到所述消息头部的协议保留字段被修改或者检测到所述手机号码变更短信头部的特定字段被修改为保留值,则确定所述消息是为特定手机号码变更消息。For example, when the specific mobile number change message is a message generated after the protocol reservation field of the mobile phone number change short message header is modified or the specific field of the mobile phone number change short message header is modified to a reserved value, The step may specifically include: if it is detected that the protocol reserved field of the message header is modified or detecting that the specific field of the mobile phone number change short message header is modified to a reserved value, determining that the message is changed for a specific mobile phone number Message.
例如,当所述特定手机号码变更消息为在所述手机号码变更短信中添加统一码(Unicode)的消息时,此步骤具体可包括:若检测到所述消息中具有统一码(Unicode),则确定所述消息是为特定手机号码变更消息。For example, when the specific mobile phone number change message is a message that adds a Unicode (Unicode) to the mobile phone number change short message, the step may specifically include: if it is detected that the message has a Unicode code, The message is determined to be a change message for a particular mobile number.
例如,当所述特定手机号码变更消息为对所述手机号码变更短信中的变更前与变更后的手机号码添加标识的消息时,此步骤具体可包括:若检测到所述消息中存在具有标识的手机号码,则确定所述消息是为特定手机号码变更消息。For example, when the specific mobile phone number change message is a message that adds an identifier to the changed mobile phone number before the change in the mobile phone number change message, the step may specifically include: if it is detected that the message has an identifier The mobile phone number determines that the message is a change message for a particular mobile number.
其中,所述手机号码变更短信头部的保留字段以及特定字段的保留值、统一码(Unicode)或者标识可参照本发明实施例一步骤12中的描述,在此不再赘述。For example, the reserved field of the mobile phone number change short message header and the reserved value of the specific field, the Unicode code or the identifier may refer to the description in step 12 of the embodiment of the present invention, and details are not described herein again.
例如,由于消息“你好,我是XXX,我的原手机号码《137XXXXXXXX》已经 不再使用,新的手机号码为《131XXXXXXXX》。”中的手机号码用特殊标识《》进行了标记。因此,可以根据特殊标识“《》”确定所述消息为特定手机号码变更消息。For example, due to the message "Hello, I am XXX, my original mobile number "137XXXXXXXX" has been No longer used, the new mobile number is "131XXXXXXXX". The mobile phone number in "" is marked with a special identifier "". Therefore, the message can be determined to be a specific mobile number change message according to the special identifier "".
步骤23、若所述消息为所述特定手机号码变更消息,所述目标联系人的终端则根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码。其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码。Step 23: If the message is the specific mobile phone number change message, the terminal of the target contact automatically updates the mobile phone number of the contact corresponding to the sending terminal according to the specific mobile phone number change message. The specific mobile phone number change message includes the mobile phone number before and after the change of the sending terminal.
其中,如图6所示,此步骤具体包括:Wherein, as shown in FIG. 6, the step specifically includes:
步骤231、所述目标联系人的终端解析所述特定手机号码变更消息。Step 231: The terminal of the target contact parses the specific mobile phone number change message.
步骤232、所述目标联系人的终端获取所述发送终端变更前与变更后的手机号码。Step 232: The terminal of the target contact acquires the mobile phone number before and after the change of the sending terminal.
步骤233、所述目标联系人的终端根据所述发送终端变更前与变更后的手机号码自动更新与所述发送终端对应的联系人的手机号码。Step 233: The terminal of the target contact automatically updates the mobile phone number of the contact corresponding to the sending terminal according to the mobile phone number before and after the change of the sending terminal.
在具体应用中,如果确定所述消息为手机号码变更消息,则所述目标联系人的终端会解析所述手机号码变更短信,提取所述手机号码变更短信(可参照图4中的短信)中包含的手机号码,第一个号码为变更前的手机号码,第二个号码为变更后的手机号码。之后,所述接收号码变更消息的终端会在后台自动在用户联系人中利用变更前的号码进行联系人匹配。如果能够有联系人与之匹配,则自动利用变更后的号码替换变更前的号码,从而自动更新与所述发送终端对应的联系人的手机号码。In a specific application, if it is determined that the message is a mobile phone number change message, the terminal of the target contact parses the mobile phone number change short message, and extracts the mobile phone number change short message (refer to the short message in FIG. 4) The mobile number included, the first number is the mobile number before the change, and the second number is the changed mobile number. Thereafter, the terminal that receives the number change message automatically uses the number before the change in the user contact to perform contact matching in the background. If a contact can be matched, the number before the change is automatically replaced with the changed number, thereby automatically updating the mobile number of the contact corresponding to the transmitting terminal.
例如,接收终端收到所述手机号码变更短信:“你好,我是XXX,我的原手机号码《137XXXXXXXX》已经不再使用,新的手机号码为《131XXXXXXXX》。”后,对该手机号码变更短信进行解析,提取该短信中包含的手机号码:137XXXXXXXX和131XXXXXXXX,其中前一个号码137XXXXXXXX为变更前的手机号码,后一个手机号码131XXXXXXXX为变更后的手机号码。之后,所述接收号码变更消息的终端会在后台自动在用户联系人中利用变更前的号码137XXXXXXXX进行联系人匹配。如果在所述接收号码变更消息的终端中有联系人A,他的手机号码为137XXXXXXXX,则所述接收号码变更消息的终端确定变更前的手机号码 137XXXXXXXX与联系人A匹配,则自动利用变更后的号码131XXXXXXXX替换变更前的号码137XXXXXXXX,从而自动更新与所述发送终端对应的联系人A的手机号码。For example, the receiving terminal receives the mobile phone number change message: "Hello, I am XXX, my original mobile phone number "137XXXXXXXX" is no longer used, the new mobile phone number is "131XXXXXXXX".", the mobile number Change the SMS to analyze and extract the mobile phone numbers included in the SMS: 137XXXXXXXX and 131XXXXXXXX, where the previous number 137XXXXXXXX is the mobile phone number before the change, and the latter mobile phone number 131XXXXXXXX is the changed mobile phone number. Thereafter, the terminal receiving the number change message automatically performs contact matching in the user contact in the background by using the number 137XXXXXXXX before the change. If there is a contact A in the terminal receiving the number change message and his mobile phone number is 137XXXXXXXX, the terminal receiving the number change message determines the mobile phone number before the change. If 137XXXXXXXX matches the contact A, the number 137XXXXXXXX before the change is automatically replaced by the changed number 131XXXXXXXX, so that the mobile phone number of the contact A corresponding to the sending terminal is automatically updated.
由上可以看出,本发明实施例二的信息处理方法,所述目标联系人接收发送终端发送的消息后,确定接收的消息是否为特定手机号码变更消息,当确定接收的消息为特定手机号码变更消息后,经过一系列的处理能够自动更新通讯录。从而克服了现有技术中用户手动更新通讯录比较麻烦的缺陷,方便了用户在接收到号码变更信息后更新通讯录。It can be seen that, in the information processing method of the second embodiment of the present invention, after receiving the message sent by the sending terminal, the target contact determines whether the received message is a specific mobile phone number change message, and determines that the received message is a specific mobile phone number. After changing the message, the address book is automatically updated after a series of processing. Thereby, the defect that the user manually updates the address book is more troublesome in the prior art, and the user is convenient to update the address book after receiving the number change information.
除此之外,在所述目标联系人的终端中如果没有联系人能够与所述变更前的手机号码匹配,则可在界面上提示用户是否“新建联系人”。具体可利用现有技术中提示用户“新建联系人”的方法实现。In addition, if there is no contact in the terminal of the target contact that can match the mobile phone number before the change, the user may be prompted to "create a new contact" on the interface. Specifically, the method for prompting the user to “create a new contact” in the prior art can be utilized.
由上可以看出,当所述目标联系人的终端接收到号码变更消息后,会提示用户是否进行号码更新,提供了用户手动修改号码的机会。因此,利用本发明实施例提供的信息处理方法,能够在手机号码变更需要通知联系人时使用户更有自主性。It can be seen from the above that when the terminal of the target contact receives the number change message, the user is prompted whether to perform the number update, and the opportunity for the user to manually modify the number is provided. Therefore, by using the information processing method provided by the embodiment of the present invention, the user can be more autonomous when the mobile phone number change needs to notify the contact.
如图7所示,本发明实施例三提供了一种信息处理方法,包括:As shown in FIG. 7, the third embodiment of the present invention provides an information processing method, including:
步骤31、发送终端检测发送终端的手机号码是否变更。Step 31: The sending terminal detects whether the mobile phone number of the sending terminal is changed.
步骤32、当所述发送终端检测到所述发送终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码。其中,此步骤具体可参照本发明实施例一步骤12中的描述,在此不再赘述。Step 32: When the sending terminal detects that the mobile phone number of the sending terminal is changed, the specific mobile phone number change message is generated according to a predetermined manner, and the specific mobile phone number change message includes the mobile phone number before and after the change. For details, refer to the description in step 12 of the embodiment of the present invention, and details are not described herein again.
步骤33、所述发送终端提示用户是否确定向所有联系人群发所述特定手机号码变更消息。如果用户确定向所有联系人群发所述特定手机号码变更消息,则执行步骤34,否则可执行步骤35提示用户选择需要发送所述号码变更消息的联系人。Step 33: The sending terminal prompts the user whether to determine to send the specific mobile number change message to all contact groups. If the user determines to send the specific mobile number change message to all contact groups, step 34 is performed, otherwise step 35 may be performed to prompt the user to select a contact who needs to send the number change message.
步骤34、所述发送终端向所有联系人的终端发送所述特定手机号码变更消息。此时,所有的联系人都是所述目标联系人。此步骤之后执行步骤37。Step 34: The sending terminal sends the specific mobile phone number change message to the terminals of all contacts. At this point, all contacts are the target contacts. After this step, go to step 37.
步骤35、在所述发送终端的通讯录中选取所述目标联系人。 Step 35: Select the target contact in an address book of the sending terminal.
步骤36、向所述目标联系人的终端发送所述特定手机号码变更消息。Step 36: Send the specific mobile phone number change message to the terminal of the target contact.
下面举例对步骤33至步骤36进行说明,如图8所示,如果用户选择“是”,则发送终端会向所有联系人发送所述特定手机号码变更消息;如果用户选择“否”则会提示用户选择群发所述特定手机号码变更消息的联系人(如图9所示),用户选择了群发所述特定手机号码变更消息的联系人之后,就可以向这些联系人发送短信告知他们手机号码变更的消息。当然,还可在图8所示的提示界面上设置“取消”键(图8中未显示),当用户选择“取消”时,所述发送终端就不会向任何联系人的终端发送所述特定手机号码变更消息,表明用户不想通知联系人手机号码变更的消息。The following describes the steps 33 to 36. As shown in FIG. 8, if the user selects “Yes”, the sending terminal sends the specific mobile number change message to all contacts; if the user selects “No”, the prompt is prompted. The user selects the group to send the contact of the specific mobile phone number change message (as shown in FIG. 9 ). After the user selects the contact group that sends the specific mobile phone number change message, the user can send a short message to the contact to notify them of the mobile phone number change. Message. Of course, the "Cancel" button (not shown in FIG. 8) can also be set on the prompt interface shown in FIG. 8. When the user selects "Cancel", the transmitting terminal does not send the message to the terminal of any contact. A specific mobile number change message indicating that the user does not want to notify the contact of the mobile number change message.
步骤37、所述目标联系人的终端接收由所述发送终端发送的消息。其中,所述目标联系人可以为步骤34中的所有联系人,也可以为步骤35中选取的目标联系人。Step 37: The terminal of the target contact receives the message sent by the sending terminal. The target contact may be all the contacts in step 34, or may be the target contact selected in step 35.
步骤38、所述目标联系人的终端确定所述消息是否为特定手机号码变更消息。若确定所述消息是特定手机号码变更消息,则执行步骤39,否则执行步骤310。Step 38: The terminal of the target contact determines whether the message is a specific mobile number change message. If it is determined that the message is a specific mobile number change message, step 39 is performed, otherwise step 310 is performed.
步骤39、所述目标联系人的终端提示用户是否自动更新与所述发送终端对应的联系人的手机号码。若用户选择自动更新与所述发送终端对应的联系人的手机号码,则执行步骤310,否则执行步骤311。Step 39: The terminal of the target contact prompts the user whether to automatically update the mobile phone number of the contact corresponding to the sending terminal. If the user chooses to automatically update the mobile phone number of the contact corresponding to the sending terminal, step 310 is performed; otherwise, step 311 is performed.
例如,可在目标联系人的手机界面上提示用户是否进行号码替换,用户可据此确定是自动更新或手动更新与所述发送终端对应的联系人的手机号码。For example, the user may be prompted to perform number substitution on the mobile phone interface of the target contact, and the user may determine to automatically update or manually update the mobile phone number of the contact corresponding to the sending terminal.
步骤310、所述目标联系人的终端则根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码。Step 310: The terminal of the target contact automatically updates the mobile phone number of the contact corresponding to the sending terminal according to the specific mobile phone number change message.
其中,此步骤具体包括:解析所述特定手机号码变更消息;获取所述发送终端变更前与变更后的手机号码;根据所述发送终端变更前与变更后的手机号码自动更新与所述发送终端对应的联系人的手机号码。此步骤具体可参照本发明实施例二步骤23中的描述,在此不再赘述。The step specifically includes: parsing the specific mobile phone number change message; acquiring the mobile phone number before and after the change of the sending terminal; automatically updating and transmitting the mobile phone number before and after the change of the sending terminal The mobile number of the corresponding contact. For details, refer to the description in step 23 of Embodiment 2 of the present invention, and details are not described herein again.
步骤311、在收件箱中将所述消息按照普通短信的方式显示。用户可根据该普通短信手动更新通讯录。 Step 311: Display the message in the inbox according to a normal short message. The user can manually update the address book based on the normal text message.
由上可以看出,利用本发明实施例三提供的信息处理方法,接收所述特定号码变更消息的终端不仅可以方便地自动更新通讯录,而且为用户提供了手动更新通讯录的机会,使用户更具有自主性。As can be seen from the above, with the information processing method provided by Embodiment 3 of the present invention, the terminal that receives the specific number change message can not only automatically update the address book automatically, but also provides the user with the opportunity to manually update the address book, so that the user More autonomy.
如图10所示,本发明实施例四提供了一种信息处理装置,包括:As shown in FIG. 10, the fourth embodiment of the present invention provides an information processing apparatus, including:
检测单元41,用于检测终端的手机号码是否变更;消息生成单元42,与所述检测单元41连接,用于当所述检测单元41检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码;发送单元43,与所述消息生成单元42连接,用于向目标联系人的终端发送所述消息生成单元42生成的特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录。The detecting unit 41 is configured to detect whether the mobile phone number of the terminal is changed. The message generating unit 42 is connected to the detecting unit 41, and configured to generate, according to a predetermined manner, when the detecting unit 41 detects that the mobile phone number of the terminal is changed. a specific mobile phone number change message, wherein the specific mobile phone number change message includes a mobile phone number before and after the change; the sending unit 43 is connected to the message generating unit 42 and configured to send the message to the terminal of the target contact. The specific mobile number change message generated by the unit 42 causes the terminal of the target contact to automatically update the address book according to the specific mobile number change message.
其中,所述消息生成单元42按照预定方式生成的特定手机号码变更消息中包含手机号码变更短信以及对所述手机号码变更短信进行的标记,该特定手机号码变更消息是用来表明终端发送的消息为手机号码变更的消息,而不是普通的短信。在具体应用中,所述特定手机号码变更消息可以通过多种形式进行标记,例如修改所述手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值、在所述手机号码变更短信中添加统一码(Unicode)或者对所述手机号码变更短信中的变更前与变更后的手机号码添加标识等。The specific mobile phone number change message generated by the message generating unit 42 according to the predetermined manner includes a mobile phone number change short message and a mark for the mobile phone number change short message, where the specific mobile phone number change message is used to indicate the message sent by the terminal. Change the message for the phone number instead of the regular text message. In a specific application, the specific mobile phone number change message may be marked in various forms, such as modifying a protocol reservation field of the mobile phone number change short message header or modifying a specific field of the mobile phone number change short message header to be reserved. The value is added to the mobile phone number change message to add a Unicode code or to add a logo to the changed mobile phone number before the change in the mobile phone number change message.
因此,如图11所示,所述消息生成单元42包括:获取模块421,用于当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;处理模块422,与所述获取模块421连接,用于:修改所述获取模块421获取的手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值,生成特定手机号码变更消息;或者用于:在所述获取模块421获取的所述手机号码变更短信中添加统一码(Unicode),生成特定手机号码变更消息;或者用于:对获取模块421获取的手机号码变更短信中的变更前与变更后的手机号码添加标识,生成特定手机号码变更消息。 Therefore, as shown in FIG. 11, the message generating unit 42 includes: an obtaining module 421, configured to acquire a mobile phone number change short message when the mobile phone number of the terminal is changed, where the mobile phone number change message includes a change And the changed mobile phone number; the processing module 422 is connected to the acquiring module 421, configured to: modify the protocol reserved field of the mobile phone number change short message header acquired by the obtaining module 421 or change the mobile phone number to change the short message header The specific field is modified to a reserved value to generate a specific mobile phone number change message; or is used to: add a Unicode code to the mobile phone number change short message acquired by the obtaining module 421, and generate a specific mobile phone number change message; The method adds a flag to the mobile phone number before the change in the mobile phone number change message acquired by the acquisition module 421, and generates a specific mobile phone number change message.
其中,所述的装置的工作原理可参照前述方法实施例一的描述,在此不再赘述。For the working principle of the device, reference may be made to the description of the first embodiment of the foregoing method, and details are not described herein again.
由上可以看出,在本发明实施例四的信息处理装置中,由于所述消息生成单元可按照预定方式生成用来表明手机号码变更的手机号码变更消息,当向目标联系人的终端发送所述特定手机号码变更消息后,所述目标联系人的终端就可对该特定手机号码变更消息进行一系列的处理,从而使所述目标联系人的终端自动更新手机号码,方便了用户在接收到号码变更信息后更新通讯录。As can be seen from the above, in the information processing apparatus of the fourth embodiment of the present invention, the message generating unit can generate a mobile phone number change message for indicating the change of the mobile phone number in a predetermined manner, and send the message to the terminal of the target contact. After the specific mobile phone number change message is described, the terminal of the target contact can perform a series of processing on the specific mobile phone number change message, so that the terminal of the target contact automatically updates the mobile phone number, so that the user can receive the mobile phone number. Update the address book after the number change information.
另外,如图12所示,所述装置还包括:选取单元44,与所述消息生成单元42和所述发送单元43连接,用于在所述终端的通讯录中选取所述目标联系人。此时,终端只需向选取的目标联系人发送手机号码变更消息即可。同时,在向目标联系人的终端发送所述特定手机号码变更消息之前,还可提示用户是否确定群发所述特定手机号码变更消息。In addition, as shown in FIG. 12, the apparatus further includes: a selecting unit 44, connected to the message generating unit 42 and the sending unit 43, and configured to select the target contact in an address book of the terminal. At this point, the terminal only needs to send a mobile phone number change message to the selected target contact. At the same time, before sending the specific mobile phone number change message to the terminal of the target contact, the user may also be prompted to determine whether to send the specific mobile phone number change message.
其中,所述的装置的工作原理可参照前述方法实施例一的描述,在此不再赘述。For the working principle of the device, reference may be made to the description of the first embodiment of the foregoing method, and details are not described herein again.
由上可以看出,在手机号码变更时,用户可根据自己的意愿自主选择想要向其发送手机号码变更消息的联系人,并且也可自主选择是否群发所述特定手机号码变更消息。因此,利用本发明实施例四提供的信息处理装置,能够在手机号码变更需要通知联系人时使用户更有自主性。It can be seen from the above that when the mobile phone number is changed, the user can select the contact who wants to send the mobile phone number change message to himself according to his or her own desire, and can also choose whether to send the specific mobile phone number change message. Therefore, with the information processing apparatus provided in the fourth embodiment of the present invention, the user can be more autonomous when the mobile phone number change needs to notify the contact.
如图13所示,本发明实施例五提供了一种信息处理装置,包括:接收单元51,用于接收由发送终端发送的消息,所述消息为所述发送终端的手机号码变更时发送;确定单元52,与所述接收单元51连接,用于确定所述接收单元接收的消息是否为特定手机号码变更消息;更新单元53,与所述确定单元52连接,用于在所述确定单元确定所述消息为所述特定手机号码变更消息时,根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码,其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码。As shown in FIG. 13, the fifth embodiment of the present invention provides an information processing apparatus, including: a receiving unit 51, configured to receive a message sent by a sending terminal, where the message is sent when the mobile phone number of the sending terminal is changed; a determining unit 52, configured to be connected to the receiving unit 51, configured to determine whether the message received by the receiving unit is a specific mobile number change message; and the updating unit 53 is connected to the determining unit 52, and configured to determine at the determining unit When the message is the specific mobile phone number change message, the mobile phone number of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message, where the specific mobile phone number change message includes the sending terminal The mobile number before and after the change.
其中,所述确定单元52具体用于若检测到所述消息头部的协议保留字段被修改或者检测到所述手机号码变更短信头部的特定字段被修改为保留值,则确 定所述消息为特定手机号码变更消息;或者所述确定单元52具体用于若检测到所述消息中具有统一码(Unicode),则确定所述消息为特定手机号码变更消息;或者所述确定单元52具体用于若检测到所述消息中存在具有标识的手机号码,则确定所述消息为特定手机号码变更消息。The determining unit 52 is specifically configured to: if it is detected that the protocol reserved field of the message header is modified or that the specific field of the mobile phone number change short message header is modified to a reserved value, Determining, by the determining unit 52, that the message is a specific mobile phone number change message; or The unit 52 is specifically configured to determine that the message is a specific mobile phone number change message if it is detected that the mobile phone number having the identifier exists in the message.
其中,如图14所示,所述更新单元53包括:解析模块531,用于解析所述特定手机号码变更消息,获取所述发送终端变更前与变更后的手机号码;更新模块532,与所述解析模块531连接,用于根据所述解析模块531获取的发送终端变更前与变更后的手机号码自动更新与所述发送终端对应的联系人的手机号码。As shown in FIG. 14, the updating unit 53 includes: a parsing module 531, configured to parse the specific mobile phone number change message, and obtain the mobile phone number before and after the change of the sending terminal; and the update module 532 The analysis module 531 is connected to automatically update the mobile phone number of the contact corresponding to the transmitting terminal before and after the change of the transmitting terminal acquired by the analyzing module 531.
其中,所述的装置的工作原理可参照前述方法实施例二的描述,在此不再赘述。For the working principle of the device, reference may be made to the description of the foregoing method embodiment 2, and details are not described herein again.
由上可以看出,本发明实施例五的信息处理装置,接收单元接收发送终端发送的消息后,确定单元确定接收的消息是否为特定手机号码变更消息,当确定接收的消息为特定手机号码变更消息后,更新单元经过一系列的处理能够自动更新通讯录。从而克服了现有技术中用户手动更新通讯录比较麻烦的缺陷,方便了用户在接收到号码变更信息后更新通讯录。As can be seen from the above, in the information processing apparatus of the fifth embodiment of the present invention, after the receiving unit receives the message sent by the transmitting terminal, the determining unit determines whether the received message is a specific mobile phone number change message, and determines that the received message is a specific mobile phone number change. After the message, the update unit can automatically update the address book after a series of processing. Thereby, the defect that the user manually updates the address book is more troublesome in the prior art, and the user is convenient to update the address book after receiving the number change information.
另外,如图15所示,所述装置还包括:获取单元54,与所述确定单元52和所述更新单元53连接,用于获取是否自动更新与所述发送终端对应的联系人的手机号码的提示。In addition, as shown in FIG. 15, the apparatus further includes: an obtaining unit 54, connected to the determining unit 52 and the updating unit 53, and configured to acquire whether to automatically update a mobile phone number of a contact corresponding to the sending terminal. Tips.
其中,所述的装置的工作原理可参照前述方法实施例二的描述,在此不再赘述。For the working principle of the device, reference may be made to the description of the foregoing method embodiment 2, and details are not described herein again.
由上可以看出,当接收单元接收发送终端发送的到号码变更消息后,获取单元会获取是否进行号码更新的提示,提供了用户手动修改号码的机会。因此,利用本发明实施例五提供的信息处理装置,能够在手机号码变更需要通知联系人时使用户更有自主性。It can be seen from the above that after the receiving unit receives the number change message sent by the sending terminal, the acquiring unit acquires a prompt for whether to update the number, and provides an opportunity for the user to manually modify the number. Therefore, with the information processing apparatus provided in Embodiment 5 of the present invention, it is possible to make the user more autonomous when the mobile phone number change needs to notify the contact.
图16为本发明实施例六提供的信息处理设备的结构示意图。如图16所示,本实施例的信息处理设备包括:至少一个处理器1601、存储器1602、通信接口1603和总线。处理器1601、存储器1602和通信接口1603通过总线连接并完成 相互间的通信。所述总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图16中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中:FIG. 16 is a schematic structural diagram of an information processing device according to Embodiment 6 of the present invention. As shown in FIG. 16, the information processing apparatus of this embodiment includes at least one processor 1601, a memory 1602, a communication interface 1603, and a bus. The processor 1601, the memory 1602, and the communication interface 1603 are connected and completed through a bus. Communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 16, but it does not mean that there is only one bus or one type of bus. among them:
存储器1602用于存储可执行程序代码,该程序代码包括计算机操作指令。存储器1602可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1602 is for storing executable program code, the program code including computer operating instructions. The memory 1602 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
在一个实施例中,处理器1601通过读取存储器1602中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:In one embodiment, the processor 1601 runs a program corresponding to the executable program code by reading executable program code stored in the memory 1602 for:
检测终端的手机号码是否变更;Check if the mobile phone number of the terminal is changed;
当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a mobile phone number before and after the change;
向目标联系人的终端发送所述特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录。Transmitting the specific mobile phone number change message to the terminal of the target contact, so that the terminal of the target contact automatically updates the address book according to the specific mobile phone number change message.
在另一个实施例中,处理器1601通过读取存储器1602中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:In another embodiment, the processor 1601 runs a program corresponding to the executable program code by reading executable program code stored in the memory 1602 for:
接收由发送终端发送的消息,所述消息为所述发送终端的手机号码变更时发送;Receiving a message sent by the sending terminal, where the message is sent when the mobile phone number of the sending terminal is changed;
确定所述消息是否为特定手机号码变更消息;Determining whether the message is a specific mobile number change message;
若所述消息为所述特定手机号码变更消息,则根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码,其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码。And if the message is the specific mobile phone number change message, the mobile phone number of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message, where the specific mobile phone number change message includes the sending The mobile number before and after the terminal change.
处理器1601可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1601 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
需说明的是,上述处理器1601除了具有上述功能之外,还可用于执行上述 方法实施例中的其他流程,在此不再赘述。It should be noted that the foregoing processor 1601 can be used to perform the foregoing, in addition to the foregoing functions. Other processes in the method embodiments are not described herein again.
通信接口1603主要用于实现本实施例的信息处理设备与其他设备或装置之间的通信。The communication interface 1603 is mainly used to implement communication between the information processing device of the present embodiment and other devices or devices.
此外,本发明实施例七还提供了一种终端,包括图9至图15任一所示的信息处理装置。In addition, Embodiment 7 of the present invention further provides a terminal, including the information processing apparatus shown in any of FIGs. 9 to 15.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (20)

  1. 一种信息处理方法,其特征在于,包括:An information processing method, comprising:
    检测终端的手机号码是否变更;Check if the mobile phone number of the terminal is changed;
    当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, generating a specific mobile phone number change message according to a predetermined manner, where the specific mobile phone number change message includes a mobile phone number before and after the change;
    向目标联系人的终端发送所述特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录。Transmitting the specific mobile phone number change message to the terminal of the target contact, so that the terminal of the target contact automatically updates the address book according to the specific mobile phone number change message.
  2. 根据权利要求1所述的信息处理方法,其特征在于,所述当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码包括:The information processing method according to claim 1, wherein when the mobile phone number of the terminal is detected to be changed, a specific mobile phone number change message is generated according to a predetermined manner, and the specific mobile phone number change message includes a change before The mobile number with the change includes:
    当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, acquiring a mobile phone number change short message, where the mobile phone number change short message includes a mobile phone number before and after the change;
    修改所述手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值,生成特定手机号码变更消息。Modifying the protocol reservation field of the mobile phone number change short message header or modifying a specific field of the mobile phone number change short message header to a reserved value to generate a specific mobile phone number change message.
  3. 根据权利要求1所述的信息处理方法,其特征在于,所述当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码包括:The information processing method according to claim 1, wherein when the mobile phone number of the terminal is detected to be changed, a specific mobile phone number change message is generated according to a predetermined manner, and the specific mobile phone number change message includes a change before The mobile number with the change includes:
    当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, acquiring a mobile phone number change short message, where the mobile phone number change short message includes a mobile phone number before and after the change;
    在所述手机号码变更短信中添加统一码,生成特定手机号码变更消息。A Unicode code is added to the mobile phone number change message to generate a specific mobile phone number change message.
  4. 根据权利要求1所述的信息处理方法,其特征在于,所述当检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码包括:The information processing method according to claim 1, wherein when the mobile phone number of the terminal is detected to be changed, a specific mobile phone number change message is generated according to a predetermined manner, and the specific mobile phone number change message includes a change before The mobile number with the change includes:
    当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;When detecting the mobile phone number change of the terminal, acquiring a mobile phone number change short message, where the mobile phone number change short message includes a mobile phone number before and after the change;
    对所述手机号码变更短信中的变更前与变更后的手机号码添加标识,生成特定手机号码变更消息。A flag is added to the mobile phone number before the change in the mobile phone number change message, and a specific mobile phone number change message is generated.
  5. 根据权利要求1-4任一所述的信息处理方法,其特征在于,在向目标联 系人的终端发送所述特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录前,所述方法还包括:The information processing method according to any one of claims 1 to 4, characterized in that The terminal of the user sends the specific mobile phone number change message, so that the terminal of the target contact automatically updates the address book according to the specific mobile phone number change message, the method further includes:
    在所述终端的通讯录中选取所述目标联系人。Selecting the target contact in an address book of the terminal.
  6. 一种信息处理方法,其特征在于,包括:An information processing method, comprising:
    接收由发送终端发送的消息,所述消息为所述发送终端的手机号码变更时发送;Receiving a message sent by the sending terminal, where the message is sent when the mobile phone number of the sending terminal is changed;
    确定所述消息是否为特定手机号码变更消息;Determining whether the message is a specific mobile number change message;
    若所述消息为所述特定手机号码变更消息,则根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码,其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码。And if the message is the specific mobile phone number change message, the mobile phone number of the contact corresponding to the sending terminal is automatically updated according to the specific mobile phone number change message, where the specific mobile phone number change message includes the sending The mobile number before and after the terminal change.
  7. 根据权利要求6所述的信息处理方法,其特征在于,所述确定所述消息是否为特定手机号码变更消息包括:The information processing method according to claim 6, wherein the determining whether the message is a specific mobile number change message comprises:
    若检测到所述消息头部的协议保留字段被修改或者检测到所述手机号码变更短信头部的特定字段被修改为保留值,则确定所述消息为特定手机号码变更消息。If it is detected that the protocol reserved field of the message header is modified or that the specific field of the mobile phone number change short message header is modified to be a reserved value, it is determined that the message is a specific mobile number change message.
  8. 根据权利要求6所述的信息处理方法,其特征在于,所述确定所述消息是否为特定手机号码变更消息包括:The information processing method according to claim 6, wherein the determining whether the message is a specific mobile number change message comprises:
    若检测到所述消息中具有统一码,则确定所述消息为特定手机号码变更消息。If it is detected that the message has a Unicode, it is determined that the message is a specific mobile number change message.
  9. 根据权利要求6所述的信息处理方法,其特征在于,所述确定所述消息是否为特定手机号码变更消息包括:The information processing method according to claim 6, wherein the determining whether the message is a specific mobile number change message comprises:
    若检测到所述消息中存在具有标识的手机号码,则确定所述消息为特定手机号码变更消息。If it is detected that the mobile phone number with the identifier exists in the message, it is determined that the message is a specific mobile phone number change message.
  10. 根据权利要求6所述的信息处理方法,其特征在于,所述若所述消息为所述特定手机号码变更消息,则根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码,其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码包括:The information processing method according to claim 6, wherein if the message is the specific mobile number change message, the contact corresponding to the sending terminal is automatically updated according to the specific mobile number change message The mobile phone number, wherein the specific mobile phone number change message includes the mobile phone number before and after the change of the sending terminal includes:
    解析所述特定手机号码变更消息,获取所述发送终端变更前与变更后的手 机号码;Parsing the specific mobile phone number change message, and obtaining the hand before and after the change of the sending terminal Machine number
    根据所述发送终端变更前与变更后的手机号码自动更新与所述发送终端对应的联系人的手机号码。The mobile phone number of the contact corresponding to the transmitting terminal is automatically updated before the change of the transmitting terminal and the changed mobile phone number.
  11. 根据权利要求10所述的信息处理方法,其特征在于,所述确定所述消息是否为特定手机号码变更消息后,所述方法还包括:The information processing method according to claim 10, wherein after the determining whether the message is a specific mobile number change message, the method further comprises:
    获取是否自动更新与所述发送终端对应的联系人的手机号码的提示。Obtaining a prompt for automatically updating the mobile phone number of the contact corresponding to the sending terminal.
  12. 一种信息处理装置,其特征在于,包括:An information processing apparatus, comprising:
    检测单元,用于检测终端的手机号码是否变更;a detecting unit, configured to detect whether the mobile phone number of the terminal is changed;
    消息生成单元,与所述检测单元连接,用于当所述检测单元检测到所述终端的手机号码变更时,按照预定方式生成特定手机号码变更消息,所述特定手机号码变更消息中包括变更前与变更后的手机号码;a message generating unit, configured to be connected to the detecting unit, configured to generate a specific mobile phone number change message according to a predetermined manner when the detecting unit detects that the mobile phone number of the terminal is changed, where the specific mobile phone number change message includes a change And the changed mobile number;
    发送单元,与所述消息生成单元连接,用于向目标联系人的终端发送所述消息生成单元生成的特定手机号码变更消息,使得所述目标联系人的终端根据所述特定手机号码变更消息自动更新通讯录。a sending unit, configured to send, to the terminal of the target contact, a specific mobile phone number change message generated by the message generating unit, so that the terminal of the target contact automatically changes the message according to the specific mobile phone number Update your contacts.
  13. 根据权利要求12所述的信息处理装置,其特征在于,所述消息生成单元包括:The information processing apparatus according to claim 12, wherein the message generating unit comprises:
    获取模块,用于当检测到所述终端的手机号码变更时,获取手机号码变更短信,所述手机号码变更短信中包括变更前与变更后的手机号码;An acquiring module, configured to acquire a mobile phone number change short message when the mobile phone number of the terminal is changed, where the mobile phone number change short message includes a mobile phone number before and after the change;
    处理模块,与所述获取模块连接,用于:修改所述获取模块获取的手机号码变更短信头部的协议保留字段或者将所述手机号码变更短信头部的特定字段修改为保留值,生成特定手机号码变更消息;或者用于:在所述获取模块获取的所述手机号码变更短信中添加统一码,生成特定手机号码变更消息;或者用于:对所述获取模块获取的手机号码变更短信中的变更前与变更后的手机号码添加标识,生成特定手机号码变更消息。The processing module is connected to the acquiring module, configured to: modify a protocol reservation field of the mobile phone number change short message header obtained by the obtaining module, or modify a specific field of the mobile phone number change short message header to a reserved value, and generate a specific The mobile phone number change message is used to: add a Unicode code to the mobile phone number change short message obtained by the obtaining module, generate a specific mobile phone number change message; or: use the mobile phone number change message obtained by the obtaining module Add a logo to the changed mobile phone number before the change, and generate a specific mobile phone number change message.
  14. 根据权利要求12或13所述的信息处理装置,其特征在于,所述装置还包括:The information processing device according to claim 12 or 13, wherein the device further comprises:
    选取单元,与所述消息生成单元和所述发送单元连接,用于在所述终端的通讯录中选取所述目标联系人。 The selecting unit is connected to the message generating unit and the sending unit, and is configured to select the target contact in an address book of the terminal.
  15. 一种信息处理装置,其特征在于,包括:An information processing apparatus, comprising:
    接收单元,用于接收由发送终端发送的消息,所述消息为所述发送终端的手机号码变更时发送;a receiving unit, configured to receive a message sent by the sending terminal, where the message is sent when the mobile phone number of the sending terminal is changed;
    确定单元,与所述接收单元连接,用于确定所述接收单元接收的消息是否为特定手机号码变更消息;a determining unit, configured to be connected to the receiving unit, configured to determine whether the message received by the receiving unit is a specific mobile phone number change message;
    更新单元,与所述确定单元连接,用于在所述确定单元确定所述消息为所述特定手机号码变更消息时,根据所述特定手机号码变更消息自动更新与所述发送终端对应的联系人的手机号码,其中所述特定手机号码变更消息中包括所述发送终端变更前与变更后的手机号码。An update unit, configured to be connected to the determining unit, configured to automatically update a contact corresponding to the sending terminal according to the specific mobile phone number change message when the determining unit determines that the message is the specific mobile phone number change message The mobile phone number, wherein the specific mobile phone number change message includes the mobile phone number before and after the change of the sending terminal.
  16. 根据权利要求15所述的信息处理装置,其特征在于,The information processing device according to claim 15, wherein
    所述确定单元具体用于:若检测到所述消息头部的协议保留字段被修改或者检测到所述手机号码变更短信头部的特定字段被修改为保留值,则确定所述消息为特定手机号码变更消息;The determining unit is specifically configured to: if it is detected that the protocol reserved field of the message header is modified or that the specific field of the mobile phone number change short message header is modified to a reserved value, determining that the message is a specific mobile phone Number change message;
    或者所述确定单元具体用于:若检测到所述消息中具有统一码,则确定所述消息为特定手机号码变更消息;Or the determining unit is specifically configured to: if it is detected that the message has a Unicode, determine that the message is a specific mobile phone number change message;
    或者所述确定单元具体用于:若检测到所述消息中存在具有标识的手机号码,则确定所述消息为特定手机号码变更消息。Or the determining unit is specifically configured to: if it is detected that the mobile phone number having the identifier exists in the message, determine that the message is a specific mobile phone number change message.
  17. 根据权利要求15所述的信息处理装置,其特征在于,所述更新单元包括:The information processing device according to claim 15, wherein the updating unit comprises:
    解析模块,用于解析所述特定手机号码变更消息,获取所述发送终端变更前与变更后的手机号码;The parsing module is configured to parse the specific mobile phone number change message, and obtain the mobile phone number before and after the change of the sending terminal;
    更新模块,与所述解析模块连接,用于根据所述解析模块获取的发送终端变更前与变更后的手机号码自动更新与所述发送终端对应的联系人的手机号码。The update module is connected to the parsing module, and is configured to automatically update the mobile phone number of the contact corresponding to the sending terminal according to the mobile phone number before and after the change of the sending terminal acquired by the parsing module.
  18. 根据权利要求15-17任一所述的信息处理装置,其特征在于,所述装置还包括:The information processing device according to any one of claims 15-17, wherein the device further comprises:
    获取单元,与所述确定单元和所述更新单元连接,用于获取是否自动更新与所述发送终端对应的联系人的手机号码的提示。 The obtaining unit is connected to the determining unit and the updating unit, and is configured to acquire a prompt for automatically updating a mobile phone number of a contact corresponding to the sending terminal.
  19. 一种终端,包括权利要求12-14任一所述的信息处理装置。A terminal comprising the information processing apparatus according to any one of claims 12-14.
  20. 一种终端,包括权利要求15-18任一所述的信息处理装置。 A terminal comprising the information processing apparatus according to any one of claims 15-18.
PCT/CN2014/092911 2013-12-03 2014-12-03 Information processing method, device and terminal WO2015081861A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310641848.8 2013-12-03
CN201310641848.8A CN103686638A (en) 2013-12-03 2013-12-03 Information processing method, device and terminal

Publications (1)

Publication Number Publication Date
WO2015081861A1 true WO2015081861A1 (en) 2015-06-11

Family

ID=50322662

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092911 WO2015081861A1 (en) 2013-12-03 2014-12-03 Information processing method, device and terminal

Country Status (2)

Country Link
CN (1) CN103686638A (en)
WO (1) WO2015081861A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501386A (en) * 2022-03-28 2022-05-13 联通智网科技股份有限公司 APN changing method, device and system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686638A (en) * 2013-12-03 2014-03-26 华为终端有限公司 Information processing method, device and terminal
CN104883452A (en) * 2015-06-16 2015-09-02 四川长虹通信科技有限公司 Mobile terminal and method for automatically updating information of contact person
CN105306346B (en) * 2015-10-14 2019-07-12 深圳市金立通信设备有限公司 A kind of notification method and terminal of information change
CN105376403B (en) * 2015-10-14 2018-12-18 小米科技有限责任公司 Information cuing method and device
CN106302920B (en) * 2016-08-15 2019-06-04 北京京东尚科信息技术有限公司 A kind of method and apparatus updating contact person in address list phone number

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933643A (en) * 2005-09-13 2007-03-21 乐金电子(中国)研究开发中心有限公司 Method for managing image file in mobile phone and mobile phone thereof
CN103179531A (en) * 2013-03-04 2013-06-26 华为技术有限公司 Method and device for updating contact numbers
CN103686638A (en) * 2013-12-03 2014-03-26 华为终端有限公司 Information processing method, device and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052167A (en) * 2007-02-14 2007-10-10 乔超 Automatic renewing system for communication number and its realizing method
CN102833390B (en) * 2011-06-16 2016-07-06 富泰华工业(深圳)有限公司 Mobile phone and SMS processing thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933643A (en) * 2005-09-13 2007-03-21 乐金电子(中国)研究开发中心有限公司 Method for managing image file in mobile phone and mobile phone thereof
CN103179531A (en) * 2013-03-04 2013-06-26 华为技术有限公司 Method and device for updating contact numbers
CN103686638A (en) * 2013-12-03 2014-03-26 华为终端有限公司 Information processing method, device and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501386A (en) * 2022-03-28 2022-05-13 联通智网科技股份有限公司 APN changing method, device and system
CN114501386B (en) * 2022-03-28 2022-06-14 联通智网科技股份有限公司 APN changing method, device and system

Also Published As

Publication number Publication date
CN103686638A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
WO2015081861A1 (en) Information processing method, device and terminal
US11676605B2 (en) Method, interaction device, server, and system for speech recognition
US9237231B2 (en) Providing a predictive response feature for messaging applications by analyzing the text of a message using text recognition logic
KR101667946B1 (en) Determining additional information associated with geographic location information
US20170199941A1 (en) Method and device for residing short message verification code
WO2015101195A1 (en) Status information update method and mobile terminal
WO2016110217A1 (en) Method, apparatus, terminal and storage medium for saving number during call
WO2012163044A1 (en) Contact photo providing method, management platform and user terminal
WO2014059655A1 (en) Terminal and method for pasting
EP3627864A1 (en) Method for sending message, method for reading and notifying message, method for receiving message, and apparatus
US20140379328A1 (en) Apparatus and method for outputting image according to text input in real time
WO2015131593A1 (en) Display style adjustment method, device, and system
JP2015210683A (en) Information processing system, information processor, information processing method, and program
WO2018188373A1 (en) Page sharing method and apparatus, server and storage medium
CN107370662B (en) Instant message sending method and device
WO2012100409A1 (en) Method and apparatus for adding recipient information
WO2017071102A1 (en) A calling method, system and smart terminal
US20230006953A1 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium
WO2017016384A1 (en) Short message processing method, information processing method and device, mobile terminal and storage medium
WO2017097122A1 (en) Information processing method, apparatus and system, and terminal device
US20220005483A1 (en) Group Chat Voice Information Processing Method and Apparatus, Storage Medium, and Server
US20170013430A1 (en) User classification method, apparatus, and server
WO2015123923A1 (en) Mobile terminal, and method and storage medium thereof for control of a message service
CN106878145B (en) Display method, display device and display system of user-defined picture
WO2014101413A1 (en) Contact information processing method and apparatus

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: 14867174

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: 14867174

Country of ref document: EP

Kind code of ref document: A1