WO2017107681A1 - Automatic binding method, device and smart terminal - Google Patents

Automatic binding method, device and smart terminal Download PDF

Info

Publication number
WO2017107681A1
WO2017107681A1 PCT/CN2016/104572 CN2016104572W WO2017107681A1 WO 2017107681 A1 WO2017107681 A1 WO 2017107681A1 CN 2016104572 W CN2016104572 W CN 2016104572W WO 2017107681 A1 WO2017107681 A1 WO 2017107681A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart terminal
message
communication
identifier
terminal
Prior art date
Application number
PCT/CN2016/104572
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 WO2017107681A1 publication Critical patent/WO2017107681A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • H04W8/265Network addressing or numbering for mobility support for initial activation of new user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]

Definitions

  • the present invention relates to the field of smart device applications, and in particular, to an automatic binding method, device, and intelligent terminal.
  • Such smart terminals generally have mobile terminals bound to them.
  • such smart terminals generally have the function of answering a call.
  • a newly purchased smart terminal such as a smart watch
  • the mobile terminal can be called to make a call.
  • the mobile terminal does not know the phone number of the calling card on the smart watch before making the call.
  • the smart watch also cannot recognize the phone number of the phone card installed on it, so that the phone number cannot be notified to the mobile terminal.
  • the present invention provides an automatic binding method, an apparatus, and an intelligent terminal, which can automatically establish a correspondence between an identifier of the intelligent terminal and a communication number of the intelligent terminal according to a message sent by the intelligent terminal, thereby implementing intelligence.
  • the identity of the terminal is automatically bound to the communication number.
  • the present invention provides the following technical solutions:
  • the present invention provides an automatic binding method, including: receiving a message sent by an intelligent terminal through a communication server, where the message includes: an identifier of the smart terminal; and determining a corresponding communication number according to the message; Establishing a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  • the present invention further provides an automatic binding method, including: detecting, by the intelligent terminal, whether the smart terminal inserts a communication card or replaces a communication card for the first time; if yes, the smart Sending, by the communication server, a message including the identifier of the smart terminal to the target server, so that the target server determines a corresponding communication number according to the message, and establishes a correspondence between the identifier of the smart terminal and the communication number. , to achieve automatic binding.
  • the present invention further provides an automatic binding apparatus, comprising: a receiving unit, configured to receive a message sent by an intelligent terminal by using a communication server, where the message includes: an identifier of the intelligent terminal; Determining a corresponding communication number according to the message; a binding unit, configured to establish a correspondence between the identifier of the smart terminal and the communication number, to implement automatic binding.
  • the present invention further provides an intelligent terminal, comprising: a detecting unit, configured to detect whether the smart terminal is inserted into a communication card or replace a communication card for the first time; and a sending unit, configured to determine the smart at the detecting unit
  • the communication server sends a message including the identifier of the smart terminal to the target server, so that the target server determines the corresponding communication number according to the message, and establishes the smart terminal.
  • the correspondence between the identifier and the communication number is implemented automatically.
  • the invention also provides a computer program comprising computer readable code, which when executed on a computing device causes the computing device to perform the method as described above.
  • the invention also provides a computer readable medium storing a computer program as described above.
  • the automatic binding method of the present invention first receives a message sent by an intelligent terminal through a communication server, where the message includes an identifier of the smart terminal, and then determines a corresponding communication number according to the message. And establishing a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding. It can be seen that the automatic binding method of the present invention can automatically establish a correspondence between the identifier of the smart terminal and the communication number of the smart terminal according to the message sent by the smart terminal, and realize the automatic binding of the identifier of the smart terminal and the communication number. set.
  • the corresponding relationship between the identifier of the smart terminal and the communication number can be sent to the mobile terminal having the preset binding relationship with the smart terminal, so that the mobile terminal can dial the communication number and the The smart terminal makes a call.
  • the system prompt message may be sent to the smart terminal according to the corresponding relationship, which facilitates management of the smart terminal.
  • FIG. 1 is a flowchart of an automatic binding method according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of an automatic binding method provided by a second embodiment of the present invention.
  • FIG. 3 is a flowchart of an automatic binding method according to a third embodiment of the present invention.
  • FIG. 4 is a flowchart of an automatic binding method according to a fourth embodiment of the present invention.
  • FIG. 5 is a flowchart of an automatic binding method according to a fifth embodiment of the present invention.
  • FIG. 6 is a flowchart of an automatic binding method provided by a sixth embodiment of the present invention.
  • FIG. 7 is a flowchart of an automatic binding method according to a seventh embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an automatic binding apparatus according to an eighth embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an automatic binding apparatus according to a ninth embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an automatic binding apparatus according to a tenth embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an intelligent terminal according to an eleventh embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a smart terminal according to a twelfth embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a smart terminal according to a thirteenth embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a smart terminal according to a fourteenth embodiment of the present invention.
  • Figure 15 shows a block diagram of a computing device for performing a method in accordance with the present invention
  • Figure 16 shows a schematic diagram of a memory unit for holding or carrying program code implementing a method in accordance with the present invention.
  • FIG. 1 is a flowchart of an automatic binding method according to a first embodiment of the present invention.
  • the automatic binding method provided by the first embodiment of the present invention includes the following steps:
  • Step 101 Receive a message sent by the smart terminal through the communication server, where the message includes: an identifier of the smart terminal.
  • the target server receives the message sent by the smart terminal through the communication server, where the message includes: the identifier of the smart terminal.
  • the target server is a server that has a specific relationship with the smart terminal.
  • smart terminals on the market today such as smart watches
  • applications there are many applications (APPs) on each smart watch.
  • the background maintenance work of these applications is realized by the target server corresponding to the smart watch.
  • each smart watch has a plurality of mobile terminals (such as mobile phones) bound thereto, wherein the binding relationship between the mobile terminal and the smart watch is established by the target server corresponding to the smart watch.
  • the smart watch generally has a positioning function, and the mobile terminal bound to the smart watch can obtain the positioning information of the smart watch, and the positioning information acquired by the mobile terminal is sent through the target server corresponding to the smart watch.
  • the target server After the target server establishes the correspondence between the identifier of the smart terminal and the communication number of the smart terminal, the communication number of the smart terminal can be sent to multiple mobile terminals bound to the smart terminal, so that the mobile terminal can know the binding with the smart terminal. The communication number of the smart terminal is eliminated, thereby eliminating the manual input work of the mobile terminal user.
  • the message may be sent by the smart terminal when detecting that the communication card is first inserted or replaced, or may be manually received by the smart terminal. Sent when an action is triggered.
  • the manual triggering operation of the user includes the user pressing a specific button on the smart terminal, and the specific button is used to trigger the smart terminal to send the message to the target server through the communication server.
  • the user installs (or replaces) a calling card on a newly purchased smart terminal (such as a smart watch).
  • a smart terminal After detecting the operation, the smart terminal sends a message to the target server through the communication server, where the message carries The identity of the smart terminal.
  • the user replaces the calling card on the smart terminal (such as a smart bracelet)
  • the user presses a specific button on the mobile terminal, and the specific button triggers the smart terminal to send a message to the target server through the communication server, in the message. Carrying the identifier of the smart terminal.
  • the communication server may be any one of a mobile, a communication, and a telecommunication communication server, or may be another communication server that can forward a message.
  • Step 102 Determine a corresponding communication number according to the message.
  • the target server when receiving the message sent by the smart terminal through the communication server, the target server may determine the communication number corresponding to the message according to the message.
  • the communication number is generally the communication number of the communication card installed on the smart terminal.
  • the message here can be SMS, MMS, Fetion SMS and other messages. It is not difficult to understand that when receiving a message such as a short message, the target server can naturally determine the communication number corresponding to the short message.
  • the communication number here generally refers to a telephone number, a mobile number, or other number issued by the communication server that can be used for communication. If the message is a Fetion message, the target server may also determine a mobile phone number corresponding to the Fetion message according to the Fetion message. If the number of the SMS message sent by the Fetion message is obtained, and then the 12520 carried in front of it is removed, the mobile phone number for sending the Fetion text message can be obtained.
  • Step 103 Establish a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  • the target server receives the message sent by the smart terminal, and the message carries the identifier of the smart terminal.
  • the target server also determines a communication number corresponding to the message based on the message. In this way, it is equal to the target server Knowing the identity of the smart terminal and knowing the communication number corresponding to the message sent by the smart terminal, the target server can establish the correspondence between the identifier of the smart terminal and the communication number, so that the target server completes the The identification of the smart terminal is automatically bound to the communication number.
  • the smart terminal in this embodiment includes all smart terminals that can use the communication card, such as smart watches, smart gloves, smart glasses, smart bracelets, smart helmets, and the like.
  • the automatic binding method in this embodiment first receives a message sent by the intelligent terminal through the communication server, where the message includes the identifier of the smart terminal, and then determines a corresponding communication number according to the message, and then establishes the Correspondence between the identifier of the smart terminal and the communication number to implement automatic binding. It can be seen that the automatic binding method in the embodiment can automatically establish the correspondence between the identifier of the smart terminal and the communication number of the smart terminal according to the message sent by the smart terminal, and realize the automatic identification of the smart terminal and the communication number. Bind. In this way, the corresponding relationship between the identifier of the smart terminal and the communication number can be sent to the mobile terminal having the preset binding relationship with the smart terminal, so that the mobile terminal can dial the communication number and the location. The smart terminal makes a call. In addition, after the correspondence between the identifier of the smart terminal and the communication number of the smart terminal is established, the system prompt message may be sent to the smart terminal according to the corresponding relationship, which facilitates management of the smart terminal.
  • the method when the message is an encrypted message encrypted by the smart terminal, referring to FIG. 2, before the step 103 above, the method further includes step 103'.
  • Step 103 Decrypt the message by using a pre-stored key to obtain an identifier of the smart terminal corresponding to the message.
  • the message is an encrypted message encrypted by the smart terminal.
  • the target server cannot directly obtain the identifier of the smart terminal by using the received encrypted message.
  • the target server must decrypt the encrypted message to obtain the identity of the smart terminal.
  • the target server is pre-stored with a predetermined key, and the key is consistent with the key used by the smart terminal for encryption, and the target server uses the pre-stored key pair.
  • the encrypted message is decrypted, so that the identifier of the smart terminal is obtained from the decrypted message.
  • the message can be determined whether the message is a message sent by the smart terminal. For example, when the target server cannot successfully decrypt the message by a pre-stored key, it is proved that the message is not a message sent by the smart terminal (assuming that the smart terminal described above is an A-brand smart watch).
  • the message may be sent by another terminal (such as a mobile phone, phone or ipad) or another smart terminal (such as a B-brand smart watch or an A-brand smart bracelet), at which point the target service will send the message. Ignore it.
  • step 103' is performed to obtain the identifier of the smart terminal
  • step 103 is performed to establish a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  • the method further includes step 104.
  • Step 104 Send the corresponding relationship between the identifier of the smart terminal and the communication number to the preset mobile terminal, where the preset mobile terminal is a mobile terminal that has a preset binding relationship with the smart terminal.
  • the target server may identify the smart terminal according to the locally stored list of mobile terminals corresponding to the smart terminal (the mobile terminal in the list has a binding relationship with the smart terminal)
  • the correspondence between the communication numbers is sent to some or all of the mobile terminals in the mobile terminal list, so that the mobile terminal can know the communication number of the smart terminal or the replaced communication number in time.
  • the user of the mobile terminal is no longer required to manually input the communication number of the smart terminal or the replaced communication number on the mobile terminal.
  • a fourth embodiment of the present invention provides another automatic binding method.
  • the automatic binding method includes the following steps:
  • Step 201 The smart terminal detects whether the smart terminal inserts a communication card or replaces a communication card for the first time.
  • the smart terminal is responsible for detecting whether the smart terminal inserts the communication card or replaces the communication card for the first time. If the smart terminal detects that the smart terminal first inserts the communication card or replaces the communication card, the following step 202 is performed.
  • the communication card may be a SIM card of a mobile or Unicom, a UIM card of a telecommunications, and the like, and other communication cards that can be used for communication.
  • Step 202 The smart terminal sends a message including the identifier of the smart terminal to the target server by using the communication server, so that the target server determines a corresponding communication number according to the message, and establishes an identifier of the smart terminal and the communication.
  • the correspondence of numbers is implemented automatically.
  • the smart terminal when the smart terminal detects that the smart terminal first inserts the communication card or replaces the communication card, the smart terminal sends a message to the target server, so that the target server establishes the correspondence between the identifier of the smart terminal and the new communication number, thereby automatically binding. set.
  • the smart terminal is a message sent by the communication server to the target server, and the target server can directly obtain the communication number corresponding to the message according to the message when receiving the message.
  • the target server since the identifier of the smart terminal is carried in the message, the target server can establish the correspondence between the identifier of the smart terminal and the communication number, and implement automatic binding.
  • the communication server may be any one of a mobile, a communication, and a telecommunication communication server, or may be another communication server that can forward a message.
  • the smart terminal detects whether the smart terminal inserts the communication card or replaces the communication card for the first time.
  • the smart terminal passes the communication server. Sending a message including the identifier of the smart terminal to the target server, so that the target server determines a corresponding communication number according to the message, and establishes a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding. set.
  • the smart terminal detects whether there is a situation in which the communication card is first inserted or replaced, and if the smart terminal If the presence of the smart terminal is detected, the message is sent to the target server by the communication server, where the message carries the identifier of the smart terminal, so that the target server determines the corresponding communication number according to the message, and establishes the smart terminal.
  • the identifier and the correspondence between the communication numbers are implemented, and the identifier of the smart terminal and the communication number are automatically bound. In this way, the target server can send the corresponding relationship between the identifier of the smart terminal and the communication number to the mobile terminal having the preset binding relationship with the smart terminal, so that the mobile terminal can dial the communication number.
  • the system may send a system prompt message to the smart terminal according to the corresponding relationship, which facilitates the target server to the smart terminal. Management.
  • the above step 201 specifically includes the following sub-steps a-c2.
  • Step a The smart terminal reads the hardware identification number of the current communication card.
  • Step b The smart terminal checks whether there is an identifier matching the read hardware identification number in the preset storage space. If not, step c1 is performed, and if yes, step c2 is performed.
  • Step c1 It is determined that the smart terminal inserts the communication card or replaces the communication card for the first time.
  • Step c2 It is determined that the smart terminal does not insert the communication card or replace the communication card for the first time.
  • the smart terminal detects whether the smart terminal is inserted into the communication card or replaces the communication card for the first time.
  • the method includes the following steps: the smart terminal reads the hardware of the current communication card. The identification number (such as iccid), and then check whether there is an identifier matching the read hardware identification number in the local preset storage space. If it does not exist, it proves that the smart terminal inserts the communication card or replaces the communication card for the first time.
  • the identification number such as iccid
  • a random identification number is pre-stored in the preset storage space, or no identification number is stored in the preset space.
  • the smart terminal inserts the communication card for the first time, the smart terminal does not find the identifier matching the current hardware identification number in the preset storage space.
  • the smart terminal sends the identifier including the smart terminal to the target server. a message, so that the target server determines a corresponding communication number according to the message, and establishes a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  • the smart terminal comes with a communication card when the user purchases a smart terminal, and the hardware identification number of the communication card is stored in the preset storage space of the smart terminal.
  • the smart terminal reads the hardware identification number of the current communication card, and then compares with the hardware identification number stored in the preset storage space, and finds that the information is inconsistent.
  • the smart terminal will go to the target server. Sending a message, so that the target server determines a corresponding communication number according to the message, and establishes a new correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  • the new correspondence established by the target server will overwrite the original correspondence to ensure the validity of the data.
  • the step 201 when it is determined in the above step c1 that the smart terminal first inserts the communication card or replaces the communication card, the step 201 further includes the step d.
  • Step d Write the read hardware identification number into the preset storage space.
  • the smart terminal when the smart terminal first inserts the communication card or replaces the communication card, the smart terminal writes the read hardware identification number into the preset storage space for subsequent identification. For example, when the smart terminal detects that the communication card is inserted for the first time or replaces the communication card, the hardware identification number of the communication card is written into the preset storage space, so that when the smart terminal is inserted into the communication card again, the smart terminal reads Taking the hardware identification number of the inserted communication card, and comparing the hardware identification number of the read communication card with the hardware identification number stored in the preset storage space. If they are consistent, the smart terminal is determined to be only The insertion and removal of the original card was carried out, and there was no card change.
  • the smart terminal is determined to have replaced the communication card, so that the smart terminal sends a message including the identifier of the smart terminal to the target server through the communication server, so that the target server determines the corresponding communication according to the message.
  • the number is established, and the identifier of the smart terminal and the new correspondence of the communication number are established to implement automatic binding.
  • the method further includes a step 202'.
  • Step 202 The smart terminal encrypts the message including the identifier of the smart terminal by using a locally stored key to obtain an encrypted message.
  • the above step 202 adaptively becomes: the intelligent terminal sends the encrypted message to the target server through the communication server, so that the target server determines the corresponding communication number according to the message, and establishes the smart terminal.
  • the correspondence between the identifier and the communication number is implemented, and automatic binding is implemented.
  • the smart terminal encrypts the message including the identifier of the smart terminal by using a locally stored key, and sends the encrypted message to the target server through the communication server, so that the target server is pre-agreed according to the agreement.
  • the key (consistent with the password used when the terminal is encrypted) decrypts the encrypted message. If the decryption is successful, it indicates that the message is a message sent by the smart terminal, and the target server determines the corresponding message according to the message.
  • the communication number is established, and the correspondence between the identifier of the smart terminal and the communication number is established according to the identifier of the smart terminal obtained after decryption, so as to implement automatic binding. If the decryption is unsuccessful, it indicates that the message is not a message sent by the smart terminal, and the target service will ignore the message.
  • An eighth embodiment of the present invention provides an automatic binding device. Referring to FIG. 8, the method includes:
  • the receiving unit 81 is configured to receive, by the smart terminal, a message that is sent by the smart terminal, where the message includes: an identifier of the smart terminal;
  • the message is sent by the smart terminal when detecting the first insertion of the communication card or the replacement of the communication card.
  • a determining unit 82 configured to determine a corresponding communication number according to the message
  • the binding unit 83 is configured to establish a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  • the device described in this embodiment may be used to perform the method described in the first embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
  • a further structure of the apparatus when the message is an encrypted message is given.
  • the message is an encrypted message; correspondingly, referring to FIG. 9, the device further includes: a decryption unit 84;
  • the decrypting unit is configured to decrypt the message by using a pre-stored key to obtain an identifier of the smart terminal corresponding to the message.
  • the device described in this embodiment may be used to perform the method described in the foregoing second embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
  • the apparatus further includes:
  • the sending unit 85 is configured to send the corresponding relationship between the identifier of the smart terminal and the communication number to the preset mobile terminal, where the preset mobile terminal is a mobile terminal that has a preset binding relationship with the smart terminal.
  • the device described in this embodiment may be used to perform the method described in the third embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
  • an eleventh embodiment of the present invention provides an intelligent terminal.
  • the smart terminal includes:
  • the detecting unit 111 is configured to detect whether the smart terminal first inserts a communication card or replaces a communication card;
  • the sending unit 112 is configured to: when the detecting unit determines that the smart terminal first inserts the communication card or replaces the communication card, send, by the communication server, a message including the identifier of the smart terminal to the target server, so that the target server is configured according to the target server The message determines a corresponding communication number, and establishes a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  • the intelligent terminal described in this embodiment may be used to perform the method described in the fourth embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
  • the detecting unit 111 further includes: a reading module 1111, a viewing module 1112, and a determining module 1113;
  • the reading module 1111 is configured to read a hardware identification number of a current communication card in the smart terminal;
  • the viewing module 1112 is configured to check whether there is an identifier matching the read hardware identification number in the preset storage space.
  • the determining module 1113 is configured to determine, when the viewing module determines that the identifier that matches the read hardware identification number does not exist in the preset storage space, determine that the smart terminal inserts the communication card for the first time or replaces the communication card.
  • the intelligent terminal described in this embodiment may be used to perform the method described in the foregoing fifth embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
  • the detecting unit 111 further includes: a writing module 1114;
  • the writing module 1114 is configured to write the read hardware identification number into the preset storage space when the determining module determines that the smart terminal first inserts the communication card or replaces the communication card.
  • the smart terminal in this embodiment may be used to perform the method described in the foregoing sixth embodiment, and the principle and technical effect are similar, and are not described in detail herein.
  • the message including the identifier of the smart terminal is a message encrypted by a locally stored key, wherein the target server also stores the key.
  • the smart terminal further includes an encryption unit 113;
  • the encryption unit 113 is configured to encrypt a message including the identifier of the smart terminal.
  • the intelligent terminal described in this embodiment may be used to perform the method described in the foregoing seventh embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the apparatus in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 15 illustrates a computing device that can implement an automatic binding method in accordance with the present invention.
  • the computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
  • Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • Memory 720 has a storage space 730 that stores program code 731 for performing any of the method steps described above.
  • storage space 730 storing program code may store respective program code 731 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit such as that shown in FIG.
  • the storage unit may have a storage segment or storage space or the like arranged similarly to the storage 720 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit stores program code 731' for performing the steps of the method according to the invention, ie program code readable by a processor such as 710, which causes the calculation when the program code is run by the computing device The device performs the various steps in the methods described above.

Abstract

The invention provides an automatic binding method, device and smart terminal. The automatic binding method comprises: receiving a message sent from a smart terminal through a communication server, wherein the message comprises an identifier of the smart terminal; determining a corresponding communication code according to the message; and establishing a relationship between the communication code and the identifier of the smart device, so as to realize automatic binding. The automatic binding method, device and smart terminal of the invention can automatically establish the relationship between the smart terminal communication code and the smart terminal identifier based on the message sent from the smart terminal, thereby realizing the automatic binding between the smart terminal identifier and the communication code.

Description

自动绑定方法、装置及智能终端Automatic binding method, device and intelligent terminal 技术领域Technical field
本发明涉及智能设备应用领域,具体涉及一种自动绑定方法、装置及智能终端。The present invention relates to the field of smart device applications, and in particular, to an automatic binding method, device, and intelligent terminal.
背景技术Background technique
现在市场上出现了很多如智能手表、智能手环类的智能终端,这样的智能终端一般都有与其绑定的移动终端。另外,这样的智能终端一般都具有接打电话的功能。Nowadays, there are many intelligent terminals on the market such as smart watches and smart bracelets. Such smart terminals generally have mobile terminals bound to them. In addition, such smart terminals generally have the function of answering a call.
当新买回来的智能终端(如智能手表)安装上电话卡后,与其绑定移动终端就可以拨打其电话进行通话了。然而,移动终端在拨打电话之前,并不知道智能手表上的电话卡的电话号码。智能手表也无法识别其上安装的电话卡的电话号码,从而无法将电话号码告知移动终端。When a newly purchased smart terminal (such as a smart watch) is installed with a calling card, the mobile terminal can be called to make a call. However, the mobile terminal does not know the phone number of the calling card on the smart watch before making the call. The smart watch also cannot recognize the phone number of the phone card installed on it, so that the phone number cannot be notified to the mobile terminal.
发明内容Summary of the invention
针对现有技术中的缺陷,本发明提供一种自动绑定方法、装置及智能终端,可以根据智能终端发送的消息自动建立所述智能终端的标识与智能终端的通信号码的对应关系,实现智能终端的标识与所述通信号码的自动绑定。The present invention provides an automatic binding method, an apparatus, and an intelligent terminal, which can automatically establish a correspondence between an identifier of the intelligent terminal and a communication number of the intelligent terminal according to a message sent by the intelligent terminal, thereby implementing intelligence. The identity of the terminal is automatically bound to the communication number.
为解决上述技术问题,本发明提供以下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:
第一方面,本发明提供了一种自动绑定方法,包括:接收智能终端通过通信服务器发送的消息,所述消息中包括:所述智能终端的标识;根据所述消息确定对应的通信号码;建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。In a first aspect, the present invention provides an automatic binding method, including: receiving a message sent by an intelligent terminal through a communication server, where the message includes: an identifier of the smart terminal; and determining a corresponding communication number according to the message; Establishing a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
第二方面,本发明还提供了一种自动绑定方法,包括:智能终端检测所述智能终端是否首次插入通信卡或更换通信卡;若是,则智能 终端通过通信服务器向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。In a second aspect, the present invention further provides an automatic binding method, including: detecting, by the intelligent terminal, whether the smart terminal inserts a communication card or replaces a communication card for the first time; if yes, the smart Sending, by the communication server, a message including the identifier of the smart terminal to the target server, so that the target server determines a corresponding communication number according to the message, and establishes a correspondence between the identifier of the smart terminal and the communication number. , to achieve automatic binding.
第三方面,本发明还提供了一种自动绑定装置,包括:接收单元,用于接收智能终端通过通信服务器发送的消息,所述消息中包括:所述智能终端的标识;确定单元,用于根据所述消息确定对应的通信号码;绑定单元,用于建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。In a third aspect, the present invention further provides an automatic binding apparatus, comprising: a receiving unit, configured to receive a message sent by an intelligent terminal by using a communication server, where the message includes: an identifier of the intelligent terminal; Determining a corresponding communication number according to the message; a binding unit, configured to establish a correspondence between the identifier of the smart terminal and the communication number, to implement automatic binding.
第四方面,本发明还提供了一种智能终端,包括:检测单元,用于检测所述智能终端是否首次插入通信卡或更换通信卡;发送单元,用于在所述检测单元确定所述智能终端首次插入通信卡或更换通信卡时,通过通信服务器向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。In a fourth aspect, the present invention further provides an intelligent terminal, comprising: a detecting unit, configured to detect whether the smart terminal is inserted into a communication card or replace a communication card for the first time; and a sending unit, configured to determine the smart at the detecting unit When the terminal first inserts the communication card or replaces the communication card, the communication server sends a message including the identifier of the smart terminal to the target server, so that the target server determines the corresponding communication number according to the message, and establishes the smart terminal. The correspondence between the identifier and the communication number is implemented automatically.
第五方面,本发明还提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行如上文所述的方法。In a fifth aspect, the invention also provides a computer program comprising computer readable code, which when executed on a computing device causes the computing device to perform the method as described above.
第六方面,本发明还提供了一种计算机可读介质,其中存储了如上文所述的计算机程序。In a sixth aspect, the invention also provides a computer readable medium storing a computer program as described above.
由上述技术方案可知,本发明所述的自动绑定方法,首先接收智能终端通过通信服务器发送的消息,所述消息中包括有所述智能终端的标识,然后根据所述消息确定对应的通信号码,再建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。可见,本发明所述的自动绑定方法,可以根据智能终端发送的消息自动建立所述智能终端的标识与智能终端的通信号码的对应关系,实现智能终端的标识与所述通信号码的自动绑定。这样,后期就可以根据需要将智能终端的标识与所述通信号码的对应关系发送给与所述智能终端存在预设绑定关系的移动终端,使得移动终端可以拨打所述通信号码与所述 智能终端进行通话。另外,在建立完所述智能终端的标识与智能终端的通信号码的对应关系后,还可以根据所述对应关系向所述智能终端发送系统提示消息,方便了对所述智能终端的管理。According to the foregoing technical solution, the automatic binding method of the present invention first receives a message sent by an intelligent terminal through a communication server, where the message includes an identifier of the smart terminal, and then determines a corresponding communication number according to the message. And establishing a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding. It can be seen that the automatic binding method of the present invention can automatically establish a correspondence between the identifier of the smart terminal and the communication number of the smart terminal according to the message sent by the smart terminal, and realize the automatic binding of the identifier of the smart terminal and the communication number. set. In this way, the corresponding relationship between the identifier of the smart terminal and the communication number can be sent to the mobile terminal having the preset binding relationship with the smart terminal, so that the mobile terminal can dial the communication number and the The smart terminal makes a call. In addition, after the correspondence between the identifier of the smart terminal and the communication number of the smart terminal is established, the system prompt message may be sent to the smart terminal according to the corresponding relationship, which facilitates management of the smart terminal.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are Some embodiments of the present invention may also be used to obtain other drawings based on these drawings without departing from the art.
图1是本发明第一个实施例提供的自动绑定方法的流程图;1 is a flowchart of an automatic binding method according to a first embodiment of the present invention;
图2是本发明第二个实施例提供的自动绑定方法的流程图;2 is a flowchart of an automatic binding method provided by a second embodiment of the present invention;
图3是本发明第三个实施例提供的自动绑定方法的流程图;3 is a flowchart of an automatic binding method according to a third embodiment of the present invention;
图4是本发明第四个实施例提供的自动绑定方法的流程图;4 is a flowchart of an automatic binding method according to a fourth embodiment of the present invention;
图5是本发明第五个实施例提供的自动绑定方法的流程图;FIG. 5 is a flowchart of an automatic binding method according to a fifth embodiment of the present invention; FIG.
图6是本发明第六个实施例提供的自动绑定方法的流程图;6 is a flowchart of an automatic binding method provided by a sixth embodiment of the present invention;
图7是本发明第七个实施例提供的自动绑定方法的流程图;7 is a flowchart of an automatic binding method according to a seventh embodiment of the present invention;
图8是本发明第八个实施例提供的自动绑定装置的结构示意图;8 is a schematic structural diagram of an automatic binding apparatus according to an eighth embodiment of the present invention;
图9是本发明第九个实施例提供的自动绑定装置的结构示意图;9 is a schematic structural diagram of an automatic binding apparatus according to a ninth embodiment of the present invention;
图10是本发明第十个实施例提供的自动绑定装置的结构示意图;10 is a schematic structural diagram of an automatic binding apparatus according to a tenth embodiment of the present invention;
图11是本发明第十一个实施例提供的智能终端的结构示意图;11 is a schematic structural diagram of an intelligent terminal according to an eleventh embodiment of the present invention;
图12是本发明第十二个实施例提供的智能终端的结构示意图;12 is a schematic structural diagram of a smart terminal according to a twelfth embodiment of the present invention;
图13是本发明第十三个实施例提供的智能终端的结构示意图;FIG. 13 is a schematic structural diagram of a smart terminal according to a thirteenth embodiment of the present invention; FIG.
图14是本发明第十四个实施例提供的智能终端的结构示意图;14 is a schematic structural diagram of a smart terminal according to a fourteenth embodiment of the present invention;
图15示出了用于执行根据本发明的方法的计算设备的框图;以及Figure 15 shows a block diagram of a computing device for performing a method in accordance with the present invention;
图16示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元示意图。Figure 16 shows a schematic diagram of a memory unit for holding or carrying program code implementing a method in accordance with the present invention.
具体实施方式 detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the 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示出了本发明第一个实施例提供的自动绑定方法的流程图,参见图1,本发明第一个实施例提供的自动绑定方法包括如下步骤:FIG. 1 is a flowchart of an automatic binding method according to a first embodiment of the present invention. Referring to FIG. 1, the automatic binding method provided by the first embodiment of the present invention includes the following steps:
步骤101:接收智能终端通过通信服务器发送的消息,所述消息中包括:所述智能终端的标识。Step 101: Receive a message sent by the smart terminal through the communication server, where the message includes: an identifier of the smart terminal.
在本步骤中,目标服务器接收智能终端通过通信服务器发送的消息,所述消息中包括:所述智能终端的标识。In this step, the target server receives the message sent by the smart terminal through the communication server, where the message includes: the identifier of the smart terminal.
其中,目标服务器为与所述智能终端存在特定关系的服务器。比如,对于现在市场上的智能终端,如智能手表来说,每个智能手表上都会有很多的应用程序(APP),这些应用程序的后台维护工作就是由与该智能手表对应的目标服务器实现的。另外,每个智能手表都有其绑定的多个移动终端(如手机),其中,移动终端和智能手表的绑定关系就是由该智能手表对应的目标服务器建立的。又例如智能手表一般都具有定位功能,与其绑定的移动终端就可以获知该智能手表的定位信息,而移动终端获取的这些定位信息,正是通过与所述智能手表对应的目标服务器发送的。当然,目标服务器所做的工作还有很多,比如像本实施例中所述的:建立智能终端的标识与智能终端的通信号码的对应关系。目标服务器在建立完智能终端的标识与智能终端的通信号码的对应关系之后,就可以将智能终端的通信号码发送与智能终端绑定的多个移动终端,这样移动终端就可以知道与其绑定的智能终端的通信号码了,从而省去了移动终端使用者的手动输入工作。The target server is a server that has a specific relationship with the smart terminal. For example, for smart terminals on the market today, such as smart watches, there are many applications (APPs) on each smart watch. The background maintenance work of these applications is realized by the target server corresponding to the smart watch. . In addition, each smart watch has a plurality of mobile terminals (such as mobile phones) bound thereto, wherein the binding relationship between the mobile terminal and the smart watch is established by the target server corresponding to the smart watch. For example, the smart watch generally has a positioning function, and the mobile terminal bound to the smart watch can obtain the positioning information of the smart watch, and the positioning information acquired by the mobile terminal is sent through the target server corresponding to the smart watch. Of course, there are still many tasks performed by the target server, such as the relationship between the identity of the smart terminal and the communication number of the smart terminal, as described in this embodiment. After the target server establishes the correspondence between the identifier of the smart terminal and the communication number of the smart terminal, the communication number of the smart terminal can be sent to multiple mobile terminals bound to the smart terminal, so that the mobile terminal can know the binding with the smart terminal. The communication number of the smart terminal is eliminated, thereby eliminating the manual input work of the mobile terminal user.
这里,所述消息可以由所述智能终端在检测到首次插入通信卡或更换通信卡时发送,或者也可以由所述智能终端在接收到用户的手动 触发操作时发送。其中,用户的手动触发操作包括用户按下智能终端上的特定按键,该特定按键用于触发所述智能终端通过通信服务器向目标服务器发送所述消息。Here, the message may be sent by the smart terminal when detecting that the communication card is first inserted or replaced, or may be manually received by the smart terminal. Sent when an action is triggered. The manual triggering operation of the user includes the user pressing a specific button on the smart terminal, and the specific button is used to trigger the smart terminal to send the message to the target server through the communication server.
例如,用户在新买回的智能终端(如智能手表)上安装了(或更换了)电话卡,智能终端在检测到这一操作后,就通过通信服务器向目标服务器发送消息,所述消息中携带了所述智能终端的标识。For example, the user installs (or replaces) a calling card on a newly purchased smart terminal (such as a smart watch). After detecting the operation, the smart terminal sends a message to the target server through the communication server, where the message carries The identity of the smart terminal.
又如,用户更换了智能终端(如智能手环)上的电话卡后,用户按下移动终端上的特定按键,该特定按键触发所述智能终端通过通信服务器向目标服务器发送消息,所述消息中携带了所述智能终端的标识。For another example, after the user replaces the calling card on the smart terminal (such as a smart bracelet), the user presses a specific button on the mobile terminal, and the specific button triggers the smart terminal to send a message to the target server through the communication server, in the message. Carrying the identifier of the smart terminal.
这里,所述通信服务器可以为移动、联通、电信通信服务器中的任意一种,也可以为其他可以转发消息的通信服务器。Here, the communication server may be any one of a mobile, a communication, and a telecommunication communication server, or may be another communication server that can forward a message.
步骤102:根据所述消息确定对应的通信号码。Step 102: Determine a corresponding communication number according to the message.
在本步骤中,目标服务器在接收到智能终端通过通信服务器发送的消息时,可以根据所述消息确定与消息对应的通信号码。该通信号码一般为智能终端上安装的通信卡的通信号码。In this step, when receiving the message sent by the smart terminal through the communication server, the target server may determine the communication number corresponding to the message according to the message. The communication number is generally the communication number of the communication card installed on the smart terminal.
这里的消息可以为短信、彩信、飞信短信等消息。不难理解,当接收到如短信这样的消息时,目标服务器自然可以确定与该短信对应的通信号码。这里的通信号码一般指电话号码、手机号码或其他由通信服务器颁发的可以用于进行通信的号码。如若所述消息为飞信短信,目标服务器也可以根据该飞信短信确定与该飞信短信对应的手机号码。如获取发送该飞信短信的号码,然后将其前面携带的12520去掉,即可得到发送该飞信短信的手机号码。The message here can be SMS, MMS, Fetion SMS and other messages. It is not difficult to understand that when receiving a message such as a short message, the target server can naturally determine the communication number corresponding to the short message. The communication number here generally refers to a telephone number, a mobile number, or other number issued by the communication server that can be used for communication. If the message is a Fetion message, the target server may also determine a mobile phone number corresponding to the Fetion message according to the Fetion message. If the number of the SMS message sent by the Fetion message is obtained, and then the 12520 carried in front of it is removed, the mobile phone number for sending the Fetion text message can be obtained.
步骤103:建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。Step 103: Establish a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
在本步骤中,由于目标服务器接收了智能终端发送的消息,所述消息中携带有所述智能终端的标识。另外,目标服务器还根据所述消息确定了与所述消息对应的通信号码。这样,就等于目标服务器既获 知了智能终端的标识,又获知了智能终端发送的消息对应的通信号码,那么目标服务器就可以建立所述智能终端的标识与所述通信号码的对应关系了,这样目标服务器就完成了所述智能终端的标识与所述通信号码的自动绑定。In this step, the target server receives the message sent by the smart terminal, and the message carries the identifier of the smart terminal. In addition, the target server also determines a communication number corresponding to the message based on the message. In this way, it is equal to the target server Knowing the identity of the smart terminal and knowing the communication number corresponding to the message sent by the smart terminal, the target server can establish the correspondence between the identifier of the smart terminal and the communication number, so that the target server completes the The identification of the smart terminal is automatically bound to the communication number.
其中,本实施例所述的智能终端包括可以使用通信卡的所有智能终端,如智能手表、智能手套、智能眼镜、智能手环、智能头盔等其他智能终端。The smart terminal in this embodiment includes all smart terminals that can use the communication card, such as smart watches, smart gloves, smart glasses, smart bracelets, smart helmets, and the like.
本实施例所述的自动绑定方法,首先接收智能终端通过通信服务器发送的消息,所述消息中包括有所述智能终端的标识,然后根据所述消息确定对应的通信号码,再建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。可见,本实施例所述的自动绑定方法,可以根据智能终端发送的消息自动建立所述智能终端的标识与智能终端的通信号码的对应关系,实现智能终端的标识与所述通信号码的自动绑定。这样,后期就可以根据需要将智能终端的标识与所述通信号码的对应关系发送给与所述智能终端存在预设绑定关系的移动终端,使得所述移动终端可以拨打所述通信号码与所述智能终端进行通话。另外,在建立完所述智能终端的标识与智能终端的通信号码的对应关系后,还可以根据所述对应关系向所述智能终端发送系统提示消息,方便了对所述智能终端的管理。The automatic binding method in this embodiment first receives a message sent by the intelligent terminal through the communication server, where the message includes the identifier of the smart terminal, and then determines a corresponding communication number according to the message, and then establishes the Correspondence between the identifier of the smart terminal and the communication number to implement automatic binding. It can be seen that the automatic binding method in the embodiment can automatically establish the correspondence between the identifier of the smart terminal and the communication number of the smart terminal according to the message sent by the smart terminal, and realize the automatic identification of the smart terminal and the communication number. Bind. In this way, the corresponding relationship between the identifier of the smart terminal and the communication number can be sent to the mobile terminal having the preset binding relationship with the smart terminal, so that the mobile terminal can dial the communication number and the location. The smart terminal makes a call. In addition, after the correspondence between the identifier of the smart terminal and the communication number of the smart terminal is established, the system prompt message may be sent to the smart terminal according to the corresponding relationship, which facilitates management of the smart terminal.
在本发明第二个实施例中,当所述消息为智能终端加密后的加密消息时,参见图2,在上述步骤103之前,所述方法还包括步骤103’。In the second embodiment of the present invention, when the message is an encrypted message encrypted by the smart terminal, referring to FIG. 2, before the step 103 above, the method further includes step 103'.
步骤103’:通过预先存储的密钥对所述消息进行解密,以获取所述消息对应的所述智能终端的标识。Step 103: Decrypt the message by using a pre-stored key to obtain an identifier of the smart terminal corresponding to the message.
在本步骤中,所述消息为智能终端加密后的加密消息,此时目标服务器通过接收到的加密消息无法直接获得所述智能终端的标识。目标服务器必须对所述加密消息进行解密,以获得所述智能终端的标识。其中,目标服务器中预先存储有约定好的密钥,该密钥与智能终端进行加密时使用的密钥一致,目标服务器通过该预先存储的密钥对所述 加密消息进行解密,从而从解密后的消息中获取所述智能终端的标识。In this step, the message is an encrypted message encrypted by the smart terminal. At this time, the target server cannot directly obtain the identifier of the smart terminal by using the received encrypted message. The target server must decrypt the encrypted message to obtain the identity of the smart terminal. The target server is pre-stored with a predetermined key, and the key is consistent with the key used by the smart terminal for encryption, and the target server uses the pre-stored key pair. The encrypted message is decrypted, so that the identifier of the smart terminal is obtained from the decrypted message.
通过本步骤可以判断出所述消息是否为所述智能终端发送的消息。例如,当目标服务器通过预先存储的密钥无法对所述消息成功解密时,则证明所述消息不是所述智能终端(假设上述的智能终端为A品牌的智能手表)发送的消息。该消息有可能是由别的终端(如手机、电话或ipad)或别的智能终端(如B品牌的智能手表或A品牌的智能手环)发送的信息,此时目标服务将会对该消息不予理睬。Through this step, it can be determined whether the message is a message sent by the smart terminal. For example, when the target server cannot successfully decrypt the message by a pre-stored key, it is proved that the message is not a message sent by the smart terminal (assuming that the smart terminal described above is an A-brand smart watch). The message may be sent by another terminal (such as a mobile phone, phone or ipad) or another smart terminal (such as a B-brand smart watch or an A-brand smart bracelet), at which point the target service will send the message. Ignore it.
在执行完本步骤103’获得所述智能终端的标识之后,再执行上述步骤103建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。After the step 103' is performed to obtain the identifier of the smart terminal, the above step 103 is performed to establish a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
当智能终端新安装电话卡或更换电话卡时,为了能使与所述智能终端绑定的移动终端及时获知该智能终端的通信号码或更换后的通信号码,在本发明第三个实施例中,基于上述第一个或第二个实施例,在上述步骤103之后,参见图3,所述方法还包括步骤104。When the smart terminal newly installs the calling card or replaces the calling card, in order to enable the mobile terminal bound to the smart terminal to know the communication number or the replaced communication number of the smart terminal in time, in the third embodiment of the present invention, based on In the first or second embodiment above, after the above step 103, referring to FIG. 3, the method further includes step 104.
步骤104:将所述智能终端的标识与所述通信号码的对应关系发送给预设移动终端,所述预设移动终端为与所述智能终端存在预设绑定关系的移动终端。Step 104: Send the corresponding relationship between the identifier of the smart terminal and the communication number to the preset mobile terminal, where the preset mobile terminal is a mobile terminal that has a preset binding relationship with the smart terminal.
本实施例中,目标服务器在建立完所述智能终端的标识与所述通信号码的对应关系之后,为了能使与所述智能终端绑定的移动终端及时获知该智能终端的通信号码或更换后的通信号码,目标服务器会根据本地预存的与所述智能终端对应的移动终端列表(该列表中的移动终端均与所述智能终端存在绑定关系),将所述智能终端的标识与所述通信号码的对应关系发送给所述移动终端列表中的部分或全部移动终端,以使所述移动终端可以及时获知该智能终端的通信号码或更换后的通信号码。同时,不再需要所述移动终端的使用者在所述移动终端上手动输入该智能终端的通信号码或更换后的通信号码。In this embodiment, after the target server establishes the correspondence between the identifier of the smart terminal and the communication number, in order to enable the mobile terminal bound to the smart terminal to know the communication number of the smart terminal or replace it in time. The communication number, the target server may identify the smart terminal according to the locally stored list of mobile terminals corresponding to the smart terminal (the mobile terminal in the list has a binding relationship with the smart terminal) The correspondence between the communication numbers is sent to some or all of the mobile terminals in the mobile terminal list, so that the mobile terminal can know the communication number of the smart terminal or the replaced communication number in time. At the same time, the user of the mobile terminal is no longer required to manually input the communication number of the smart terminal or the replaced communication number on the mobile terminal.
本发明第四个实施例提供了另一种自动绑定方法,参见图4,该自动绑定方法包括如下步骤: A fourth embodiment of the present invention provides another automatic binding method. Referring to FIG. 4, the automatic binding method includes the following steps:
步骤201:智能终端检测所述智能终端是否首次插入通信卡或更换通信卡。Step 201: The smart terminal detects whether the smart terminal inserts a communication card or replaces a communication card for the first time.
在本步骤中,智能终端负责检测所述智能终端是否首次插入通信卡或更换通信卡,若智能终端检测所述智能终端首次插入通信卡或更换通信卡,则执行下述步骤202。In this step, the smart terminal is responsible for detecting whether the smart terminal inserts the communication card or replaces the communication card for the first time. If the smart terminal detects that the smart terminal first inserts the communication card or replaces the communication card, the following step 202 is performed.
其中,所述通信卡可以为移动或联通的SIM卡、电信的UIM卡等其他可以用于通信的通信卡。The communication card may be a SIM card of a mobile or Unicom, a UIM card of a telecommunications, and the like, and other communication cards that can be used for communication.
步骤202:智能终端通过通信服务器向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。Step 202: The smart terminal sends a message including the identifier of the smart terminal to the target server by using the communication server, so that the target server determines a corresponding communication number according to the message, and establishes an identifier of the smart terminal and the communication. The correspondence of numbers is implemented automatically.
在本步骤中,智能终端在检测到智能终端首次插入通信卡或更换通信卡时,会向目标服务器发送消息,使得目标服务器建立该智能终端的标识与新的通信号码的对应关系,实现自动绑定。其中,由于智能终端是通过通信服务器向目标服务器发送的消息,那么目标服务器在接收到所述消息时,可以直接根据该消息获取该消息对应的通信号码。另外,由于该消息中携带有智能终端的标识,那么目标服务器就可以建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。In this step, when the smart terminal detects that the smart terminal first inserts the communication card or replaces the communication card, the smart terminal sends a message to the target server, so that the target server establishes the correspondence between the identifier of the smart terminal and the new communication number, thereby automatically binding. set. Wherein, the smart terminal is a message sent by the communication server to the target server, and the target server can directly obtain the communication number corresponding to the message according to the message when receiving the message. In addition, since the identifier of the smart terminal is carried in the message, the target server can establish the correspondence between the identifier of the smart terminal and the communication number, and implement automatic binding.
这里,所述通信服务器可以为移动、联通、电信通信服务器中的任意一种,也可以为其他可以转发消息的通信服务器。Here, the communication server may be any one of a mobile, a communication, and a telecommunication communication server, or may be another communication server that can forward a message.
本实施例所述的自动绑定方法,智能终端检测所述智能终端是否首次插入通信卡或更换通信卡,当检测到所述智能终端首次插入通信卡或更换通信卡时,智能终端通过通信服务器向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。可见,本实施例所述的自动绑定方法,由智能终端检测是否存在首次插入通信卡或更换通信卡的情况,若智能终端 检测到存在,则通过通信服务器向目标服务器发送消息,该消息中携带有所述智能终端的标识,从而以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现所述智能终端的标识及所述通信号码自动绑定。这样,目标服务器后期就可以根据需要将智能终端的标识与所述通信号码的对应关系发送给与所述智能终端存在预设绑定关系的移动终端,使得所述移动终端可以拨打所述通信号码与所述智能终端进行通话。另外,在目标服务器建立完所述智能终端的标识与智能终端的通信号码的对应关系后,还可以根据所述对应关系向所述智能终端发送系统提示消息,方便了目标服务器对所述智能终端的管理。In the automatic binding method of the embodiment, the smart terminal detects whether the smart terminal inserts the communication card or replaces the communication card for the first time. When detecting that the smart terminal first inserts the communication card or replaces the communication card, the smart terminal passes the communication server. Sending a message including the identifier of the smart terminal to the target server, so that the target server determines a corresponding communication number according to the message, and establishes a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding. set. It can be seen that, in the automatic binding method described in this embodiment, the smart terminal detects whether there is a situation in which the communication card is first inserted or replaced, and if the smart terminal If the presence of the smart terminal is detected, the message is sent to the target server by the communication server, where the message carries the identifier of the smart terminal, so that the target server determines the corresponding communication number according to the message, and establishes the smart terminal. The identifier and the correspondence between the communication numbers are implemented, and the identifier of the smart terminal and the communication number are automatically bound. In this way, the target server can send the corresponding relationship between the identifier of the smart terminal and the communication number to the mobile terminal having the preset binding relationship with the smart terminal, so that the mobile terminal can dial the communication number. Talking with the smart terminal. In addition, after the target server establishes the correspondence between the identifier of the smart terminal and the communication number of the smart terminal, the system may send a system prompt message to the smart terminal according to the corresponding relationship, which facilitates the target server to the smart terminal. Management.
在本发明第五个实施例中,给出了上述步骤201的一种具体实现过程。参见图5,上述步骤201具体包括如下子步骤a-c2。In the fifth embodiment of the present invention, a specific implementation process of the above step 201 is given. Referring to FIG. 5, the above step 201 specifically includes the following sub-steps a-c2.
步骤a:智能终端读取当前通信卡的硬件标识号。Step a: The smart terminal reads the hardware identification number of the current communication card.
步骤b:智能终端查看预设存储空间中是否存在与读取的硬件标识号匹配的标识,若否,则执行步骤c1,若是,则执行步骤c2。Step b: The smart terminal checks whether there is an identifier matching the read hardware identification number in the preset storage space. If not, step c1 is performed, and if yes, step c2 is performed.
步骤c1:认定智能终端首次插入通信卡或更换通信卡。Step c1: It is determined that the smart terminal inserts the communication card or replaces the communication card for the first time.
步骤c2:认定智能终端非首次插入通信卡或更换通信卡。Step c2: It is determined that the smart terminal does not insert the communication card or replace the communication card for the first time.
在本实施例中,给出了上述步骤201智能终端检测所述智能终端是否首次插入通信卡或更换通信卡的一种具体实现方式,具体地,包括如下:智能终端读取当前通信卡的硬件标识号(如iccid),然后查看本地预设存储空间中是否存在与读取的硬件标识号匹配的标识,若不存在,则证明智能终端首次插入通信卡或更换通信卡。In this embodiment, a specific implementation manner in which the smart terminal detects whether the smart terminal is inserted into the communication card or replaces the communication card for the first time is provided. Specifically, the method includes the following steps: the smart terminal reads the hardware of the current communication card. The identification number (such as iccid), and then check whether there is an identifier matching the read hardware identification number in the local preset storage space. If it does not exist, it proves that the smart terminal inserts the communication card or replaces the communication card for the first time.
比如,所述预设存储空间内预先存储有一个随机标识号,或所述预设空间中没有存储任何标识号。这样当智能终端首次插入通信卡时,智能终端在所述预设存储空间中查找不到与当前硬件标识号匹配的标识,此时,智能终端会向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。 For example, a random identification number is pre-stored in the preset storage space, or no identification number is stored in the preset space. When the smart terminal inserts the communication card for the first time, the smart terminal does not find the identifier matching the current hardware identification number in the preset storage space. At this time, the smart terminal sends the identifier including the smart terminal to the target server. a message, so that the target server determines a corresponding communication number according to the message, and establishes a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
另外,还存在这样一种情况,比如用户在购买某智能终端时,智能终端自带了一张通信卡,且所述智能终端的预设存储空间内存储有该通信卡的硬件标识号。这样,当用户更换通信卡后,智能终端读取当前通信卡的硬件标识号,然后跟所述预设存储空间中存储的硬件标识号进行对比,发现不一致,此时,智能终端会向目标服务器发送消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的新的对应关系,实现自动绑定。In addition, there is a case where the smart terminal comes with a communication card when the user purchases a smart terminal, and the hardware identification number of the communication card is stored in the preset storage space of the smart terminal. In this way, after the user replaces the communication card, the smart terminal reads the hardware identification number of the current communication card, and then compares with the hardware identification number stored in the preset storage space, and finds that the information is inconsistent. At this time, the smart terminal will go to the target server. Sending a message, so that the target server determines a corresponding communication number according to the message, and establishes a new correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
一般地,目标服务器建立的新的对应关系将会覆盖原有的对应关系,以保证数据的有效性。Generally, the new correspondence established by the target server will overwrite the original correspondence to ensure the validity of the data.
在本发明第六个实施例中,参见图6,在上述步骤c1认定智能终端首次插入通信卡或更换通信卡时,所述步骤201还包括步骤d。In the sixth embodiment of the present invention, referring to FIG. 6, when it is determined in the above step c1 that the smart terminal first inserts the communication card or replaces the communication card, the step 201 further includes the step d.
步骤d:将读取的硬件标识号写入所述预设存储空间中。Step d: Write the read hardware identification number into the preset storage space.
在本实施例中,在上述步骤c1认定智能终端首次插入通信卡或更换通信卡时,智能终端将读取的硬件标识号写入所述预设存储空间中,以便后续认定时使用。例如,当智能终端检测到首次插入通信卡或更换通信卡时,将该通信卡的硬件标识号写入所述预设存储空间中,这样,当智能终端再次插入通信卡时,智能终端会读取该次插入后的通信卡的硬件标识号,并将读取的通信卡的硬件标识号与所述预设存储空间中存储的硬件标识号进行对比,若一致,则认定所述智能终端只是进行了针对原卡的插拔动作,并没有换卡。若不一致,则认定所述智能终端更换了通信卡,从而智能终端将会通过通信服务器向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的新的对应关系,实现自动绑定。In the embodiment, when the smart terminal first inserts the communication card or replaces the communication card, the smart terminal writes the read hardware identification number into the preset storage space for subsequent identification. For example, when the smart terminal detects that the communication card is inserted for the first time or replaces the communication card, the hardware identification number of the communication card is written into the preset storage space, so that when the smart terminal is inserted into the communication card again, the smart terminal reads Taking the hardware identification number of the inserted communication card, and comparing the hardware identification number of the read communication card with the hardware identification number stored in the preset storage space. If they are consistent, the smart terminal is determined to be only The insertion and removal of the original card was carried out, and there was no card change. If not, the smart terminal is determined to have replaced the communication card, so that the smart terminal sends a message including the identifier of the smart terminal to the target server through the communication server, so that the target server determines the corresponding communication according to the message. The number is established, and the identifier of the smart terminal and the new correspondence of the communication number are established to implement automatic binding.
为了确保所述信息是由上述智能终端(假设上述智能终端为A品牌的智能手表)发送的信息,而不是由别的终端(如手机、电话或ipad)或别的智能终端(如B品牌的智能手表或A品牌的智能手环)发送的 信息。在本发明第七个实施例中,基于上述第四个至第六个任一实施例,参见图7,在上述步骤202之前,所述方法还包括步骤202’。In order to ensure that the information is sent by the smart terminal (assuming that the smart terminal is a brand-name smart watch), rather than by another terminal (such as a mobile phone, a phone or an ipad) or another smart terminal (such as a B brand) Smart watch or A brand smart bracelet) information. In a seventh embodiment of the present invention, based on any of the fourth to sixth embodiments described above, referring to Fig. 7, before the step 202 above, the method further includes a step 202'.
步骤202’:所述智能终端通过本地存储的密钥对包括所述智能终端的标识的消息进行加密,得到加密后的消息。Step 202: The smart terminal encrypts the message including the identifier of the smart terminal by using a locally stored key to obtain an encrypted message.
相应地,上述步骤202适应性地变为:智能终端通过通信服务器向目标服务器发送包括加密后的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。Correspondingly, the above step 202 adaptively becomes: the intelligent terminal sends the encrypted message to the target server through the communication server, so that the target server determines the corresponding communication number according to the message, and establishes the smart terminal. The correspondence between the identifier and the communication number is implemented, and automatic binding is implemented.
在本实施例中,所述智能终端通过本地存储的密钥对包括所述智能终端的标识的消息进行加密,并将加密后的消息通过通信服务器发送给目标服务器,从而使得目标服务器根据预先约定的密钥(与所述终端加密时使用的密码一致)对加密后的消息进行解密,若解密成功,则表明所述消息是所述智能终端发送的消息,目标服务器会根据所述消息确定对应的通信号码,并根据解密后获得的所述智能终端的标识,建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。若解密不成功,则表明所述消息不是所述智能终端发送的消息,此时目标服务将会对该消息不予理睬。In this embodiment, the smart terminal encrypts the message including the identifier of the smart terminal by using a locally stored key, and sends the encrypted message to the target server through the communication server, so that the target server is pre-agreed according to the agreement. The key (consistent with the password used when the terminal is encrypted) decrypts the encrypted message. If the decryption is successful, it indicates that the message is a message sent by the smart terminal, and the target server determines the corresponding message according to the message. The communication number is established, and the correspondence between the identifier of the smart terminal and the communication number is established according to the identifier of the smart terminal obtained after decryption, so as to implement automatic binding. If the decryption is unsuccessful, it indicates that the message is not a message sent by the smart terminal, and the target service will ignore the message.
本发明第八个实施例提供了一种自动绑定装置,参见图8,包括:An eighth embodiment of the present invention provides an automatic binding device. Referring to FIG. 8, the method includes:
接收单元81,用于接收智能终端通过通信服务器发送的消息,所述消息中包括:所述智能终端的标识;The receiving unit 81 is configured to receive, by the smart terminal, a message that is sent by the smart terminal, where the message includes: an identifier of the smart terminal;
其中,所述消息由所述智能终端在检测到首次插入通信卡或更换通信卡时发送。The message is sent by the smart terminal when detecting the first insertion of the communication card or the replacement of the communication card.
确定单元82,用于根据所述消息确定对应的通信号码;a determining unit 82, configured to determine a corresponding communication number according to the message;
绑定单元83,用于建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。The binding unit 83 is configured to establish a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
本实施例所述的装置,可以用于执行上述第一个实施例所述的方法,其原理和技术效果类似,此处不再详述。 The device described in this embodiment may be used to perform the method described in the first embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
在本发明第九个实施例中,给出了当所述消息为加密消息时,所述装置的进一步结构。在本实施例中,所述消息为加密的消息;相应地,参见图9,所述装置进一步包括:解密单元84;In a ninth embodiment of the present invention, a further structure of the apparatus when the message is an encrypted message is given. In this embodiment, the message is an encrypted message; correspondingly, referring to FIG. 9, the device further includes: a decryption unit 84;
所述解密单元,用于通过预先存储的密钥对所述消息进行解密,以获取所述消息对应的所述智能终端的标识。The decrypting unit is configured to decrypt the message by using a pre-stored key to obtain an identifier of the smart terminal corresponding to the message.
本实施例所述的装置,可以用于执行上述第二个实施例所述的方法,其原理和技术效果类似,此处不再详述。The device described in this embodiment may be used to perform the method described in the foregoing second embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
在本发明第十个实施例中,参见图10,所述装置进一步包括:In a tenth embodiment of the present invention, referring to FIG. 10, the apparatus further includes:
发送单元85,用于将所述智能终端的标识与所述通信号码的对应关系发送给预设移动终端,所述预设移动终端为与所述智能终端存在预设绑定关系的移动终端。The sending unit 85 is configured to send the corresponding relationship between the identifier of the smart terminal and the communication number to the preset mobile terminal, where the preset mobile terminal is a mobile terminal that has a preset binding relationship with the smart terminal.
本实施例所述的装置,可以用于执行上述第三个实施例所述的方法,其原理和技术效果类似,此处不再详述。The device described in this embodiment may be used to perform the method described in the third embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
本发明第十一个实施例提供了一种智能终端,参见图11,该智能终端,包括:An eleventh embodiment of the present invention provides an intelligent terminal. Referring to FIG. 11, the smart terminal includes:
检测单元111,用于检测所述智能终端是否首次插入通信卡或更换通信卡;The detecting unit 111 is configured to detect whether the smart terminal first inserts a communication card or replaces a communication card;
发送单元112,用于在所述检测单元确定所述智能终端首次插入通信卡或更换通信卡时,通过通信服务器向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。The sending unit 112 is configured to: when the detecting unit determines that the smart terminal first inserts the communication card or replaces the communication card, send, by the communication server, a message including the identifier of the smart terminal to the target server, so that the target server is configured according to the target server The message determines a corresponding communication number, and establishes a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
本实施例所述的智能终端,可以用于执行上述第四个实施例所述的方法,其原理和技术效果类似,此处不再详述。 The intelligent terminal described in this embodiment may be used to perform the method described in the fourth embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
在本发明第十二个实施例中,参见图12,所述检测单元111,进一步包括:读取模块1111、查看模块1112和确定模块1113;In the twelfth embodiment of the present invention, referring to FIG. 12, the detecting unit 111 further includes: a reading module 1111, a viewing module 1112, and a determining module 1113;
所述读取模块1111,用于读取所述智能终端中当前通信卡的硬件标识号;The reading module 1111 is configured to read a hardware identification number of a current communication card in the smart terminal;
所述查看模块1112,用于查看预设存储空间中是否存在与读取的硬件标识号匹配的标识;The viewing module 1112 is configured to check whether there is an identifier matching the read hardware identification number in the preset storage space.
所述确定模块1113,用于在所述查看模块确定所述预设存储空间中不存在与读取的硬件标识号匹配的标识时,确定所述智能终端首次插入通信卡或更换通信卡。The determining module 1113 is configured to determine, when the viewing module determines that the identifier that matches the read hardware identification number does not exist in the preset storage space, determine that the smart terminal inserts the communication card for the first time or replaces the communication card.
本实施例所述的智能终端,可以用于执行上述第五个实施例所述的方法,其原理和技术效果类似,此处不再详述。The intelligent terminal described in this embodiment may be used to perform the method described in the foregoing fifth embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
在本发明第十三个实施例中,参见图13,所述检测单元111还包括:写入模块1114;In the thirteenth embodiment of the present invention, referring to FIG. 13, the detecting unit 111 further includes: a writing module 1114;
所述写入模块1114,用于在所述确定模块确定所述智能终端首次插入通信卡或更换通信卡时,将读取的硬件标识号写入所述预设存储空间中。The writing module 1114 is configured to write the read hardware identification number into the preset storage space when the determining module determines that the smart terminal first inserts the communication card or replaces the communication card.
本实施例所述的智能终端,可以用于执行上述第六个实施例所述的方法,其原理和技术效果类似,此处不再详述。The smart terminal in this embodiment may be used to perform the method described in the foregoing sixth embodiment, and the principle and technical effect are similar, and are not described in detail herein.
在本发明第十四个实施例中,所述包括所述智能终端的标识的消息为通过本地存储的密钥进行加密后的消息,其中,所述目标服务器也存储有所述密钥。In the fourteenth embodiment of the present invention, the message including the identifier of the smart terminal is a message encrypted by a locally stored key, wherein the target server also stores the key.
相应地,参见图14,所述智能终端还包括加密单元113;Correspondingly, referring to FIG. 14, the smart terminal further includes an encryption unit 113;
所述加密单元113,用于对包括所述智能终端的标识的消息进行加密。The encryption unit 113 is configured to encrypt a message including the identifier of the smart terminal.
本实施例所述的智能终端,可以用于执行上述第七个实施例所述的方法,其原理和技术效果类似,此处不再详述。 The intelligent terminal described in this embodiment may be used to perform the method described in the foregoing seventh embodiment, and the principle and technical effects thereof are similar, and are not described in detail herein.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的装置的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of the apparatus in accordance with embodiments of the present invention. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图15示出了可以实现根据本发明的自动绑定方法的计算设备。该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有存储用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,存储程序代码的存储空间730可以存储分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为例如图16所示的便携式或者固定存储单元。该存储单元可以具有与图15的计算设备中的存储器720类似布置的存储段或者存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元存储有用于执行根据本发明的方法步骤的程序代码731’,即可以由例如诸如710之类的处理器读取的程序代码,当这些程序代码由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。For example, Figure 15 illustrates a computing device that can implement an automatic binding method in accordance with the present invention. The computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720. Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Memory 720 has a storage space 730 that stores program code 731 for performing any of the method steps described above. For example, storage space 730 storing program code may store respective program code 731 for implementing various steps in the above methods, respectively. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit such as that shown in FIG. The storage unit may have a storage segment or storage space or the like arranged similarly to the storage 720 in the computing device of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit stores program code 731' for performing the steps of the method according to the invention, ie program code readable by a processor such as 710, which causes the calculation when the program code is run by the computing device The device performs the various steps in the methods described above.
以上实施例仅用于说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员 应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art It should be understood that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. The spirit and scope of the programme.

Claims (18)

  1. 一种自动绑定方法,其特征在于,包括:An automatic binding method, comprising:
    接收智能终端通过通信服务器发送的消息,所述消息中包括:所述智能终端的标识;Receiving, by the smart terminal, a message sent by the communication terminal, where the message includes: an identifier of the smart terminal;
    根据所述消息确定对应的通信号码;Determining a corresponding communication number according to the message;
    建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。Establishing a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  2. 根据权利要求1所述的方法,其特征在于,所述消息由所述智能终端在检测到首次插入通信卡或更换通信卡时发送。The method of claim 1, wherein the message is sent by the smart terminal upon detecting a first insertion of a communication card or a replacement of a communication card.
  3. 根据权利要求1所述的方法,其特征在于,所述消息为加密的消息;The method of claim 1 wherein the message is an encrypted message;
    相应地,在建立所述智能终端的标识与所述通信号码的对应关系之前,所述方法进一步包括:Correspondingly, before the establishing the correspondence between the identifier of the smart terminal and the communication number, the method further includes:
    通过预先存储的密钥对所述消息进行解密,以获取所述消息对应的所述智能终端的标识。The message is decrypted by using a pre-stored key to obtain an identifier of the smart terminal corresponding to the message.
  4. 根据权利要求1~3中任一项所述的方法,其特征在于,所述方法进一步包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    将所述智能终端的标识与所述通信号码的对应关系发送给预设移动终端,所述预设移动终端为与所述智能终端存在预设绑定关系的移动终端。Sending the corresponding relationship between the identifier of the smart terminal and the communication number to the preset mobile terminal, where the preset mobile terminal is a mobile terminal that has a preset binding relationship with the smart terminal.
  5. 一种自动绑定方法,其特征在于,包括:An automatic binding method, comprising:
    智能终端检测所述智能终端是否首次插入通信卡或更换通信卡;The smart terminal detects whether the smart terminal inserts the communication card or replaces the communication card for the first time;
    若是,则智能终端通过通信服务器向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。If yes, the smart terminal sends a message including the identifier of the smart terminal to the target server through the communication server, so that the target server determines a corresponding communication number according to the message, and establishes the identifier of the smart terminal and the communication. The correspondence of numbers is implemented automatically.
  6. 根据权利要求5所述的方法,其特征在于,所述智能终端检测 所述智能终端是否首次插入通信卡或更换通信卡,具体包括:The method according to claim 5, wherein said smart terminal detects Whether the smart terminal inserts the communication card or replaces the communication card for the first time, specifically includes:
    所述智能终端读取当前通信卡的硬件标识号,并查看预设存储空间中是否存在与读取的硬件标识号匹配的标识;The smart terminal reads the hardware identification number of the current communication card, and checks whether there is an identifier matching the read hardware identification number in the preset storage space;
    若否,则认定是首次插入通信卡或更换通信卡。If not, it is determined that the communication card is inserted for the first time or the communication card is replaced.
  7. 根据权利要求6所述的方法,其特征在于,在所述认定是首次插入通信卡或更换通信卡之后,所述方法进一步包括:The method according to claim 6, wherein after the asserting is to insert the communication card for the first time or to replace the communication card, the method further comprises:
    将读取的硬件标识号写入所述预设存储空间中。The read hardware identification number is written into the preset storage space.
  8. 根据权利要求5~7中任一项所述的方法,其特征在于,所述包括所述智能终端的标识的消息为通过本地存储的密钥进行加密后的消息,其中,所述目标服务器也存储有所述密钥。The method according to any one of claims 5 to 7, wherein the message including the identifier of the smart terminal is a message encrypted by a locally stored key, wherein the target server is also The key is stored.
  9. 一种自动绑定装置,其特征在于,包括:An automatic binding device, comprising:
    接收单元,用于接收智能终端通过通信服务器发送的消息,所述消息中包括:所述智能终端的标识;a receiving unit, configured to receive a message sent by the smart terminal by using a communications server, where the message includes: an identifier of the smart terminal;
    确定单元,用于根据所述消息确定对应的通信号码;a determining unit, configured to determine a corresponding communication number according to the message;
    绑定单元,用于建立所述智能终端的标识与所述通信号码的对应关系,以实现自动绑定。The binding unit is configured to establish a correspondence between the identifier of the smart terminal and the communication number to implement automatic binding.
  10. 根据权利要求9所述的装置,其特征在于,所述消息由所述智能终端在检测到首次插入通信卡或更换通信卡时发送。The apparatus according to claim 9, wherein said message is transmitted by said smart terminal upon detecting a first insertion of a communication card or a replacement of a communication card.
  11. 根据权利要求9所述的装置,其特征在于,所述消息为加密的消息;The apparatus according to claim 9, wherein said message is an encrypted message;
    所述装置进一步包括:解密单元,用于通过预先存储的密钥对所述消息进行解密,以获取所述消息对应的所述智能终端的标识。The device further includes: a decryption unit, configured to decrypt the message by using a pre-stored key to obtain an identifier of the smart terminal corresponding to the message.
  12. 根据权利要求9~11中任一项所述的装置,其特征在于,所述装置进一步包括:The device according to any one of claims 9 to 11, wherein the device further comprises:
    发送单元,用于将所述智能终端的标识与所述通信号码的对应关系发送给预设移动终端,所述预设移动终端为与所述智能终端存在预设绑定关系的移动终端。And a sending unit, configured to send a correspondence between the identifier of the smart terminal and the communication number to a preset mobile terminal, where the preset mobile terminal is a mobile terminal that has a preset binding relationship with the smart terminal.
  13. 一种智能终端,其特征在于,包括: An intelligent terminal, comprising:
    检测单元,用于检测所述智能终端是否首次插入通信卡或更换通信卡;a detecting unit, configured to detect whether the smart terminal inserts a communication card or replaces a communication card for the first time;
    发送单元,用于在所述检测单元确定所述智能终端首次插入通信卡或更换通信卡时,通过通信服务器向目标服务器发送包括所述智能终端的标识的消息,以使所述目标服务器根据所述消息确定对应的通信号码,并建立所述智能终端的标识及所述通信号码的对应关系,实现自动绑定。a sending unit, configured to send, by the communication server, a message including an identifier of the smart terminal to the target server, when the detecting unit determines that the smart terminal first inserts the communication card or replaces the communication card, so that the target server according to the The message determines the corresponding communication number, and establishes the correspondence between the identifier of the intelligent terminal and the communication number to implement automatic binding.
  14. 根据权利要求13所述的终端,其特征在于,所述检测单元,进一步包括:读取模块、查看模块和确定模块;The terminal according to claim 13, wherein the detecting unit further comprises: a reading module, a viewing module, and a determining module;
    所述读取模块,用于读取所述智能终端中当前通信卡的硬件标识号;The reading module is configured to read a hardware identification number of a current communication card in the smart terminal;
    所述查看模块,用于查看预设存储空间中是否存在与读取的硬件标识号匹配的标识;The viewing module is configured to check whether there is an identifier matching the read hardware identification number in the preset storage space;
    所述确定模块,用于在所述查看模块确定所述预设存储空间中不存在与读取的硬件标识号匹配的标识时,确定所述智能终端首次插入通信卡或更换通信卡。The determining module is configured to determine, when the viewing module determines that the identifier that matches the read hardware identification number does not exist in the preset storage space, determine that the smart terminal inserts the communication card for the first time or replaces the communication card.
  15. 根据权利要求14所述的终端,其特征在于,所述检测单元还包括:写入模块;The terminal according to claim 14, wherein the detecting unit further comprises: a writing module;
    所述写入模块,用于在所述确定模块确定所述智能终端首次插入通信卡或更换通信卡时,将读取的硬件标识号写入所述预设存储空间中。The writing module is configured to write the read hardware identification number into the preset storage space when the determining module determines that the smart terminal first inserts the communication card or replaces the communication card.
  16. 根据权利要求13~15中任一项所述的终端,其特征在于,所述包括所述智能终端的标识的消息为通过本地存储的密钥进行加密后的消息,其中,所述目标服务器也存储有所述密钥。The terminal according to any one of claims 13 to 15, wherein the message including the identifier of the smart terminal is a message encrypted by a locally stored key, wherein the target server is also The key is stored.
  17. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1-8中的任一项权利要求所述的方法。A computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform the method of any of claims 1-8.
  18. 一种计算机可读介质,其中存储了如权利要求17所述的计算 机程序。 A computer readable medium storing the calculation of claim 17 Machine program.
PCT/CN2016/104572 2015-12-25 2016-11-04 Automatic binding method, device and smart terminal WO2017107681A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510999665.2A CN106921962A (en) 2015-12-25 2015-12-25 Automatic binding method, device and intelligent terminal
CN201510999665.2 2015-12-25

Publications (1)

Publication Number Publication Date
WO2017107681A1 true WO2017107681A1 (en) 2017-06-29

Family

ID=59088962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104572 WO2017107681A1 (en) 2015-12-25 2016-11-04 Automatic binding method, device and smart terminal

Country Status (2)

Country Link
CN (1) CN106921962A (en)
WO (1) WO2017107681A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683372A (en) * 2020-06-11 2020-09-18 上海庆科信息技术有限公司 Processing method and device of attribute information, processor and terminal
CN112512190A (en) * 2020-10-27 2021-03-16 昇辉控股有限公司 Method and system for binding kinetic energy switch and lamp

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167444A (en) * 2011-12-19 2013-06-19 中国电信股份有限公司 Method, system, client and server of acquiring user cell phone number from website
CN104158666A (en) * 2014-08-28 2014-11-19 电子科技大学 Method of implementing binding and authentication of intelligent bracelet and intelligent mobile terminal
US20150072640A1 (en) * 2011-06-29 2015-03-12 Integrity Tracking, Llc Personal Monitoring System and Method
CN104735606A (en) * 2015-02-10 2015-06-24 惠州Tcl移动通信有限公司 Communication method and system based on wearable equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075866B (en) * 2006-12-26 2010-08-18 腾讯科技(深圳)有限公司 Method and system for loading message on Internet
CN101330677B (en) * 2007-06-22 2011-12-28 中兴通讯股份有限公司 Apparatus, method and wireless communication network for implementing binding of dual-mode mobile terminal number
CN101534292B (en) * 2008-03-11 2012-05-02 北京邮电大学 Interconnecting and switching gateway, system and realization method thereof
CN101267638B (en) * 2008-04-16 2011-05-11 中国电信集团公司 A method and system for obtaining CDMA mobile terminal information
CN102469421A (en) * 2010-11-15 2012-05-23 华为技术有限公司 Method and terminal for sending IMSI
CN102547626A (en) * 2011-12-16 2012-07-04 深圳中兴网信科技有限公司 Operation and maintenance monitoring system, device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150072640A1 (en) * 2011-06-29 2015-03-12 Integrity Tracking, Llc Personal Monitoring System and Method
CN103167444A (en) * 2011-12-19 2013-06-19 中国电信股份有限公司 Method, system, client and server of acquiring user cell phone number from website
CN104158666A (en) * 2014-08-28 2014-11-19 电子科技大学 Method of implementing binding and authentication of intelligent bracelet and intelligent mobile terminal
CN104735606A (en) * 2015-02-10 2015-06-24 惠州Tcl移动通信有限公司 Communication method and system based on wearable equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683372A (en) * 2020-06-11 2020-09-18 上海庆科信息技术有限公司 Processing method and device of attribute information, processor and terminal
CN111683372B (en) * 2020-06-11 2023-10-13 上海庆科信息技术有限公司 Attribute information processing method, attribute information processing device, processor and terminal
CN112512190A (en) * 2020-10-27 2021-03-16 昇辉控股有限公司 Method and system for binding kinetic energy switch and lamp
CN112512190B (en) * 2020-10-27 2023-01-06 昇辉控股有限公司 Method and system for binding kinetic energy switch and lamp

Also Published As

Publication number Publication date
CN106921962A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
US10223096B2 (en) Logging operating system updates of a secure element of an electronic device
CN106162517B (en) Virtual SIM card management method and system
US8204484B2 (en) System and method for managing missed calls and unread messages
CN106664545A (en) Method and apparatus for installing profile for euicc
CN109564598A (en) A kind of endpoint detection methods and terminal
CN104462277A (en) Application program installation data statistical method, server and terminal
CN104469714A (en) Short message sending method and device
US10021634B2 (en) Method and device for switching SIM cards of communication terminal and computer storage medium
US20170201378A1 (en) Electronic device and method for authenticating identification information thereof
US9703968B2 (en) Mechanisms for controlling tag personalization
JP6397046B2 (en) Address book protection method, apparatus and communication system
CN108881122B (en) APP information verification method and device
CN107871015B (en) Log data processing method and device, terminal and readable storage medium
WO2017107681A1 (en) Automatic binding method, device and smart terminal
WO2017097258A1 (en) Spam blocking method and apparatus, computer program, and readable medium
CN105282162A (en) Processing method and device for account management business
CN111460473A (en) Data encryption and decryption method, plug-in, data security system and medium
CN104837133A (en) SIM card authentication method and device
CN104284333A (en) Mobile terminal personal data encryption backing-up, recovering and synchronizing controlling method and device
CN104331672A (en) Method and device for performing confidential treatment on pictures upon bracelet
CN101841783A (en) Short message safety communication method, system and device based on STK (SIM Tool Kit) business
CN105915541A (en) Mobile terminal password preservation and recovery processing method based on NFC and system thereof
CN108763976B (en) Information display method based on double screens, mobile terminal and storage medium
CN107463808B (en) Method for calling functional module integrated in operating system
CN116244764A (en) Method and system for generating device unique ID of Android device

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

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

Country of ref document: EP

Kind code of ref document: A1