[go: up one dir, main page]

CN107801174A - Equipment binding method and device - Google Patents

Equipment binding method and device Download PDF

Info

Publication number
CN107801174A
CN107801174A CN201711096675.0A CN201711096675A CN107801174A CN 107801174 A CN107801174 A CN 107801174A CN 201711096675 A CN201711096675 A CN 201711096675A CN 107801174 A CN107801174 A CN 107801174A
Authority
CN
China
Prior art keywords
bound
binding
mobile terminal
terminal
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711096675.0A
Other languages
Chinese (zh)
Inventor
彭婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201711096675.0A priority Critical patent/CN107801174A/en
Publication of CN107801174A publication Critical patent/CN107801174A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例公开了一种设备绑定方法和装置,所述方法包括:当设备绑定终端与移动终端通过本地连接进行连接后,所述设备绑定终端接收所述移动终端发送的连接成功消息;所述设备绑定终端向所述移动终端发送绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定,其中,所述设备绑定终端和所述待绑定设备一一对应。在无需设置网络的条件下实现多个设备间的绑定,保证了设备信息不泄露,提高了安全性。

The embodiment of the present invention discloses a device binding method and apparatus, the method comprising: when a device binding terminal is connected to a mobile terminal through a local connection, the device binding terminal receives a connection success message sent by the mobile terminal; the device binding terminal sends a binding notification to the mobile terminal, the binding notification includes information of a device to be bound, so that the mobile terminal is bound to the device to be bound, wherein the device binding terminal and the device to be bound have a one-to-one correspondence. Binding between multiple devices is achieved without setting up a network, ensuring that device information is not leaked and improving security.

Description

一种设备绑定方法和装置A device binding method and device

技术领域technical field

本发明实施例涉及交互技术,尤其涉及一种设备绑定方法和装置。The embodiments of the present invention relate to interaction technologies, and in particular to a device binding method and device.

背景技术Background technique

为了提高可穿戴设备通信安全,通常将可穿戴设备与其他终端之间进行绑定,绑定之后可穿戴设备与相应的终端之间可以进行快速连接,并且只允许绑定的设备间进行通信。In order to improve the communication security of wearable devices, wearable devices are usually bound to other terminals. After binding, wearable devices can be quickly connected to corresponding terminals, and only bound devices are allowed to communicate.

目前常用的可穿戴设备和终端之间进行绑定的方法通常是通过运营商发送短信验证码进行信息验证绑定,并扫描专用的二维码或手动输入可穿戴设备的绑定号进行相关绑定操作。At present, the commonly used method of binding between wearable devices and terminals is usually to send a SMS verification code through the operator for information verification and binding, and scan the dedicated QR code or manually enter the binding number of the wearable device for related binding. set operation.

上述方法均通过均需要通过第三方运营商才能获取相关绑定信息,容易造成绑定设备信息的泄露。All of the above methods require a third-party operator to obtain relevant binding information, which may easily cause leakage of binding device information.

发明内容Contents of the invention

本发明实施例提供一种设备绑定方法和装置,在无需设置网络的条件下实现多个设备间的绑定,保证了设备信息不泄露,提高了安全性。Embodiments of the present invention provide a device binding method and device, which realize binding among multiple devices without setting up a network, ensure that device information is not leaked, and improve security.

第一方面,本发明实施例提供了一种设备绑定方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a device binding method, the method comprising:

当设备绑定终端与移动终端通过本地连接进行连接后,所述设备绑定终端接收所述移动终端发送的连接成功消息;After the device binding terminal is connected to the mobile terminal through a local connection, the device binding terminal receives a connection success message sent by the mobile terminal;

所述设备绑定终端向所述移动终端发送绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定,其中,所述设备绑定终端和所述待绑定设备一一对应。The device binding terminal sends a binding notification to the mobile terminal, the binding notification includes information about the device to be bound, so that the mobile terminal is bound to the device to be bound, wherein the There is a one-to-one correspondence between the device binding terminal and the device to be bound.

进一步的,所述设备绑定终端向所述移动终端发送绑定通知之前,还包括:Further, before the device binding terminal sends the binding notification to the mobile terminal, it further includes:

所述设备绑定终端根据存储的设备绑定信息确定所述待绑定设备的绑定状态;The device binding terminal determines the binding state of the device to be bound according to the stored device binding information;

若所述待绑定设备处于绑定状态,则根据存储的设备绑定信息确定所述待绑定设备绑定的设备是否为所述移动终端;If the device to be bound is in a binding state, then determine whether the device bound to the device to be bound is the mobile terminal according to the stored device binding information;

相应的,所述设备绑定终端向所述移动终端发送绑定通知,包括:Correspondingly, the device binding terminal sends a binding notification to the mobile terminal, including:

若存储的设备绑定信息中所述待绑定设备绑定的设备不是所述移动终端,则所述设备绑定终端将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系,并向所述移动终端发送所述绑定通知。If the device bound by the device to be bound in the stored device binding information is not the mobile terminal, the device binding terminal updates the stored device binding information to the device to be bound and the mobile terminal. the binding relationship of the terminal, and send the binding notification to the mobile terminal.

进一步的,所述设备绑定终端将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系,包括:Further, the device binding terminal updates the stored device binding information to the binding relationship between the device to be bound and the mobile terminal, including:

当所述设备绑定终端接收到的所述移动终端发送的绑定请求时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系;或者,当所述设备绑定终端在所述设备绑定终端上获取到绑定确认时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系。When the device binding terminal receives the binding request sent by the mobile terminal, update the stored device binding information to the binding relationship between the device to be bound and the mobile terminal; or, when the When the device binding terminal obtains the binding confirmation on the device binding terminal, update the stored device binding information to the binding relationship between the device to be bound and the mobile terminal.

进一步的,所述设备绑定终端根据存储的设备绑定信息确定所述待绑定设备的绑定状态之后,还包括:Further, after the device binding terminal determines the binding status of the device to be bound according to the stored device binding information, it further includes:

若所述待绑定设备处于未绑定状态,则所述设备绑定终端将设备绑定信息存储为所述待绑定设备和所述移动终端的绑定关系。If the device to be bound is in an unbound state, the device binding terminal stores device binding information as a binding relationship between the device to be bound and the mobile terminal.

进一步的,所述设备绑定终端与移动终端通过本地连接进行连接包括:Further, the connection between the device binding terminal and the mobile terminal through a local connection includes:

所述设备绑定终端与移动终端通过USB连接进行连接。The device binding terminal is connected to the mobile terminal through a USB connection.

进一步的,还包括:Further, it also includes:

绑定关系存储模块,用于在所述设备绑定终端根据存储的设备绑定信息确定所述待绑定设备的绑定状态之后,若所述待绑定设备处于未绑定状态,则所述设备绑定终端将设备绑定信息存储为所述待绑定设备和所述移动终端的绑定关系。A binding relationship storage module, configured to, after the device binding terminal determines the binding state of the device to be bound according to the stored device binding information, if the device to be bound is in an unbound state, the The device binding terminal stores device binding information as a binding relationship between the device to be bound and the mobile terminal.

进一步的,所述设备绑定终端与移动终端通过本地连接进行连接包括所述设备绑定终端与移动终端通过USB连接进行连接。Further, the connection between the device binding terminal and the mobile terminal through a local connection includes the connection between the device binding terminal and the mobile terminal through a USB connection.

第二方面,本发明实施例提供了一种设备绑定方法,所述方法包括:In a second aspect, an embodiment of the present invention provides a device binding method, the method comprising:

当设备绑定终端与移动终端通过本地连接进行连接后,所述移动终端向所述设备绑定终端发送连接成功消息;After the device binding terminal is connected to the mobile terminal through a local connection, the mobile terminal sends a connection success message to the device binding terminal;

所述移动终端接收所述设备绑定终端发送的绑定通知,所述绑定通知中包括待绑定设备的信息;The mobile terminal receives a binding notification sent by the device binding terminal, where the binding notification includes information about the device to be bound;

所述移动终端根据所述待绑定设备的信息与所述待绑定设备绑定。The mobile terminal is bound with the device to be bound according to the information of the device to be bound.

第三方面,本发明实施例提供了一种设备绑定装置,应用于设备绑定终端,所述装置包括:In a third aspect, an embodiment of the present invention provides a device binding device, which is applied to a device binding terminal, and the device includes:

消息接收模块,用于当设备绑定终端与移动终端通过本地连接进行连接后,接收所述移动终端发送的连接成功消息;A message receiving module, configured to receive a connection success message sent by the mobile terminal after the device binding terminal is connected to the mobile terminal through a local connection;

通知发送模块,用于向所述移动终端发送绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定。A notification sending module, configured to send a binding notification to the mobile terminal, where the binding notification includes information about the device to be bound, so that the mobile terminal is bound to the device to be bound.

进一步的,还包括:Further, it also includes:

绑定状态确定模块,用于向所述移动终端发送绑定通知之前,根据存储的设备绑定信息确定所述待绑定设备的绑定状态;A binding state determining module, configured to determine the binding state of the device to be bound according to the stored device binding information before sending the binding notification to the mobile terminal;

设备确定模块,用于若所述待绑定设备处于绑定状态,则根据存储的设备绑定信息确定所述待绑定设备绑定的设备是否为所述移动终端;A device determination module, configured to determine whether the device bound to the device to be bound is the mobile terminal according to stored device binding information if the device to be bound is in a bound state;

相应的,所述通知发送模块包括绑定关系更新子模块和绑定通知发送子模块,其中,Correspondingly, the notification sending module includes a binding relationship updating submodule and a binding notification sending submodule, wherein,

所述绑定关系更新子模块用于若存储的设备绑定信息中所述待绑定设备绑定的设备不是所述移动终端,则所述设备绑定终端将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系;The binding relationship updating submodule is configured to update the stored device binding information by the device binding terminal if the device bound to the device to be bound in the stored device binding information is not the mobile terminal the binding relationship between the device to be bound and the mobile terminal;

所述通知发送子模块用于向所述移动终端发送所述绑定通知。The notification sending submodule is configured to send the binding notification to the mobile terminal.

进一步的,所述绑定关系更新子模块具体用于:Further, the binding relationship updating submodule is specifically used for:

当所述设备绑定终端接收到的所述移动终端发送的绑定请求时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系;或者,当所述设备绑定终端在所述设备绑定终端上获取到绑定确认时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系。When the device binding terminal receives the binding request sent by the mobile terminal, update the stored device binding information to the binding relationship between the device to be bound and the mobile terminal; or, when the When the device binding terminal obtains the binding confirmation on the device binding terminal, update the stored device binding information to the binding relationship between the device to be bound and the mobile terminal.

第四方面,本发明实施例提供了一种设备绑定装置,应用于移动终端,所述装置包括:In a fourth aspect, an embodiment of the present invention provides a device binding device, which is applied to a mobile terminal, and the device includes:

消息发送模块,用于当设备绑定终端与移动终端通过本地连接进行连接后,向所述设备绑定终端发送连接成功消息;A message sending module, configured to send a connection success message to the device-bound terminal after the device-bound terminal is connected to the mobile terminal through a local connection;

通知接收模块,用于接收所述设备绑定终端发送的绑定通知,所述绑定通知中包括待绑定设备的信息;A notification receiving module, configured to receive a binding notification sent by the device binding terminal, where the binding notification includes information about the device to be bound;

设备绑定模块,用于根据所述待绑定设备的信息与所述待绑定设备绑定。A device binding module, configured to bind the device to be bound according to the information of the device to be bound.

本发明实施例中,在当设备绑定终端与移动终端通过本地连接进行连接后,所述设备绑定终端接收所述移动终端发送的连接成功消息,所述设备绑定终端向所述移动终端发送绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定。在无需设置网络的条件下实现多个设备间的绑定,保证了设备信息不泄露,提高了安全性。In the embodiment of the present invention, after the device binding terminal is connected to the mobile terminal through a local connection, the device binding terminal receives the connection success message sent by the mobile terminal, and the device binding terminal sends a message to the mobile terminal Sending a binding notification, where the binding notification includes information about the device to be bound, so that the mobile terminal is bound with the device to be bound. The binding between multiple devices is realized without setting up a network, which ensures that device information is not leaked and improves security.

附图说明Description of drawings

图1是本发明实施例一中的一种设备绑定方法的流程图;FIG. 1 is a flow chart of a device binding method in Embodiment 1 of the present invention;

图2是本发明实施例二中的一种设备绑定方法的流程图;FIG. 2 is a flowchart of a device binding method in Embodiment 2 of the present invention;

图3a是本发明实施例三中的一种设备绑定方法的流程图;FIG. 3a is a flow chart of a device binding method in Embodiment 3 of the present invention;

图3b是本发明实施例三种所适用的一种设备绑定终端的结构示意图;FIG. 3b is a schematic structural diagram of a device binding terminal applicable to three types of embodiments of the present invention;

图4是本发明实施例四中的一种设备绑定方法的流程图;FIG. 4 is a flowchart of a device binding method in Embodiment 4 of the present invention;

图5是本发明实施例五中的一种设备绑定装置的结构示意图;Fig. 5 is a schematic structural diagram of a device binding device in Embodiment 5 of the present invention;

图6是本发明实施例六中的一种设备绑定装置的结构示意图。Fig. 6 is a schematic structural diagram of a device binding device in Embodiment 6 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

在本实施例中描述的设备绑定终端、待绑定设备和移动终端构成了一个绑定系统,其中,设备绑定终端作为第三方设备,起到媒介作用,通过设备绑定终端将待绑定设备和移动终端绑定在一起。待绑定设备与移动终端进行绑定后,可以进行数据传输与通信,还可以通过移动终端对待绑定设备进行控制。具体的应用场景中,移动终端以手机为例,待绑定设备以电话手表为例,通过第三方设备将手机和电话手表进行绑定后,手机和电话手表之间可以进行消息的发送等,还可以通过手机实现对电话手表的控制。The device binding terminal described in this embodiment, the device to be bound and the mobile terminal constitute a binding system, wherein the device binding terminal acts as a third-party device and acts as a mediator, and the device binding terminal The fixed device and the mobile terminal are bound together. After the device to be bound is bound with the mobile terminal, data transmission and communication can be performed, and the device to be bound can also be controlled through the mobile terminal. In a specific application scenario, the mobile terminal takes a mobile phone as an example, and the device to be bound takes a phone watch as an example. After the mobile phone and the phone watch are bound through a third-party device, messages can be sent between the phone and the phone watch, etc. It is also possible to control the watch on the phone through the mobile phone.

实施例一Embodiment one

图1为本发明实施例一提供的一种设备绑定方法的流程图,本实施例可适用于没有网络的条件下实现多个设备之间的绑定的情况,该方法可以由本发明是实施例提供的设备绑定装置来执行,该装置可采用软件和/或硬件的方式实现,并一般可以集成在设备绑定终端中与移动终端配合使用。参考图1,该方法具体可以包括如下步骤:Figure 1 is a flow chart of a device binding method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of realizing the binding between multiple devices without a network. This method can be implemented by the present invention The device binding device provided in this example can be implemented, and the device can be implemented in the form of software and/or hardware, and can generally be integrated into a device binding terminal and used in conjunction with a mobile terminal. Referring to Fig. 1, the method specifically may include the following steps:

S110、当设备绑定终端与移动终端通过本地连接进行连接后,所述设备绑定终端接收所述移动终端发送的连接成功消息。S110. After the device binding terminal is connected to the mobile terminal through a local connection, the device binding terminal receives a connection success message sent by the mobile terminal.

具体的,设备绑定终端与移动终端首先建立本地连接,其中,在本地连接完成后,设备绑定终端接收移动终端发送的连接成功的消息。可选的,设备绑定终端可以是具有有线或者无线连接与数据传输功能的设备,移动终端可以是手机或智能平板等。本地连接包括有线连接或无线连接,例如蓝牙连接等。Specifically, the device binding terminal first establishes a local connection with the mobile terminal, wherein, after the local connection is completed, the device binding terminal receives a connection success message sent by the mobile terminal. Optionally, the device binding terminal may be a device with wired or wireless connection and data transmission functions, and the mobile terminal may be a mobile phone or a smart tablet. The local connection includes a wired connection or a wireless connection, such as a Bluetooth connection.

S120、所述设备绑定终端向所述移动终端发送绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定,其中,所述设备绑定终端和所述待绑定设备一一对应。S120. The device binding terminal sends a binding notification to the mobile terminal, where the binding notification includes information about the device to be bound, so that the mobile terminal is bound to the device to be bound, wherein, There is a one-to-one correspondence between the device binding terminal and the device to be bound.

其中,设备绑定终端向移动终端发送绑定通知,绑定通知中包括待绑定设备信息,可选的,待绑定设备可以是可穿戴设备或手机等,例如,儿童电话手表。在一个具体的应用场景中,当移动终端为家长的手机时,待绑定设备为儿童电话手表,在设备绑定终端与家长的手机建立本地连接后,例如,通过蓝牙连接实现,设备绑定终端向家长的手机发送绑定通知,该通知以弹窗的形式显示在家长的手机屏幕上,屏幕显示内容包括电话手表的MAC地址和/或IP地址,家长的手机以广播的形式向将要绑定的电话手表发送广播消息,对应的电话手表收到广播消息并确认后,实现了家长手机和孩子的电话手表之间的绑定,有利于家长通过自己的手机实时监控孩子的位置。Wherein, the device binding terminal sends a binding notification to the mobile terminal, and the binding notification includes the information of the device to be bound. Optionally, the device to be bound may be a wearable device or a mobile phone, for example, a children's phone watch. In a specific application scenario, when the mobile terminal is the parent's mobile phone, the device to be bound is a children's phone watch. After the device binding terminal establishes a local connection with the parent's mobile phone, for example, through Bluetooth connection, the device binding The terminal sends a binding notification to the parent's mobile phone. The notification is displayed on the screen of the parent's mobile phone in the form of a pop-up window. The content displayed on the screen includes the MAC address and/or IP address of the phone watch. The designated phone watch sends a broadcast message, and after the corresponding phone watch receives and confirms the broadcast message, the binding between the parent's mobile phone and the child's phone watch is realized, which is beneficial for parents to monitor the child's location in real time through their mobile phone.

可选的,设备绑定终端具有一定的内存,用来存储待绑定设备的信息和当前的各设备之间的绑定关系,当设备绑定终端具有显示屏时,还可以在显示屏上直接显示相关信息,例如,待绑定设备当前的绑定状态等。Optionally, the device binding terminal has a certain memory, which is used to store the information of the device to be bound and the current binding relationship between each device. When the device binding terminal has a display screen, it can also be displayed on the display screen. Directly display relevant information, for example, the current binding status of the device to be bound, etc.

示例性的,待绑定设备的信息包括待绑定设备的MAC(Media Access Control,媒体访问控制)地址,MAC地址还称为物理地址或硬件地址,用来定义网络设备的位置。以OSI模型(Open Systems Interconnection Reference Model,开放式通信系统互联参考模型)为例,第三层网络层负责IP地址(Internet Protocol Address,互联网协议地址),第二层数据链路层负责MAC地址。因此,每一个主机会有一个MAC地址,通过MAC地址可以唯一确定一个网络设备的位置,进而来确定该网络设备,网络设备在本实施例中为待绑定设备。Exemplarily, the information of the device to be bound includes a MAC (Media Access Control, Media Access Control) address of the device to be bound. The MAC address is also called a physical address or a hardware address, and is used to define the location of the network device. Taking the OSI model (Open Systems Interconnection Reference Model, open communication system interconnection reference model) as an example, the third layer network layer is responsible for the IP address (Internet Protocol Address, Internet Protocol Address), and the second layer data link layer is responsible for the MAC address. Therefore, each host has a MAC address, and the location of a network device can be uniquely determined through the MAC address, and then the network device can be determined. In this embodiment, the network device is the device to be bound.

此外,待绑定设备的信息还包括待绑定设备的序列号或标识码,该序列号或标识码在待绑定设备出厂时设置,出厂后固定不变,可以通过该序列号或识别码确定待绑定设备。In addition, the information of the device to be bound also includes the serial number or identification code of the device to be bound. The serial number or identification code is set when the device leaves the factory and is fixed after leaving the factory. You can pass the serial number or identification code Determine the device to be bound.

本发明实施例中,在当设备绑定终端与移动终端通过本地连接进行连接后,所述设备绑定终端接收所述移动终端发送的连接成功消息,所述设备绑定终端向所述移动终端发送绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定。在无需设置网络的条件下实现多个设备间的绑定,保证了设备信息不泄露,提高了安全性。In the embodiment of the present invention, after the device binding terminal is connected to the mobile terminal through a local connection, the device binding terminal receives the connection success message sent by the mobile terminal, and the device binding terminal sends a message to the mobile terminal Sending a binding notification, where the binding notification includes information about the device to be bound, so that the mobile terminal is bound with the device to be bound. The binding between multiple devices is realized without setting up a network, which ensures that device information is not leaked and improves security.

实施例二Embodiment two

图2为本发明实施例二提供的一种设备绑定方法的流程图,本实施例在上述实施例的基础上实现。参考图2,该方法具体可以包括如下步骤:FIG. 2 is a flow chart of a device binding method provided by Embodiment 2 of the present invention. This embodiment is implemented on the basis of the foregoing embodiments. Referring to Figure 2, the method specifically may include the following steps:

S210、当设备绑定终端与移动终端通过本地连接进行连接后,所述设备绑定终端接收所述移动终端发送的连接成功消息。S210. After the device binding terminal is connected to the mobile terminal through a local connection, the device binding terminal receives a connection success message sent by the mobile terminal.

S220、所述设备绑定终端根据存储的设备绑定信息确定所述待绑定设备的绑定状态。S220. The device binding terminal determines the binding status of the device to be bound according to the stored device binding information.

其中,设备绑定终端中存储的设备绑定信息包括若干对绑定关系,例如:Among them, the device binding information stored in the device binding terminal includes several pairs of binding relationships, for example:

关系一、移动终端A与待绑定设备A1有绑定关系,且待绑定设备A1只与移动终端存在绑定关系;Relationship 1. The mobile terminal A has a binding relationship with the device A1 to be bound, and the device A1 to be bound only has a binding relationship with the mobile terminal;

关系二、移动终端B和移动终端C均与待绑定设备B1有绑定关系;Relationship 2. Both the mobile terminal B and the mobile terminal C have a binding relationship with the device B1 to be bound;

关系三、移动终端D与待绑定设备C1和待绑定设备D1均有绑定关系。Relationship 3: The mobile terminal D has a binding relationship with both the device C1 to be bound and the device D1 to be bound.

一个待绑定设备可以与至少一个移动终端建立绑定关系,多个待绑定设备也可以与同一个移动终端建立绑定关系。在一个具体的应用场景中,当妈妈的手机需要和孩子的电话手表进行绑定时,符合关系一;当爸爸妈妈的手机均和孩子的电话手表进行绑定时,符合关系二;当妈妈的手机和两个孩子的电话手表均进行绑定时,符合关系三。A device to be bound can establish a binding relationship with at least one mobile terminal, and multiple devices to be bound can also establish a binding relationship with the same mobile terminal. In a specific application scenario, when the mother's mobile phone needs to be bound with the child's phone watch, it meets relationship 1; when both parents' mobile phones are bound with the child's phone watch, it meets relationship 2; when the mother's When the mobile phone and the phones and watches of the two children are bound, it meets the relationship three.

设备绑定终端中存储的设备绑定信息还包括待绑定设备的MAC地址、待绑定设备的序列号或识别号等。根据待绑定设备的MAC地址、序列号或识别号可以唯一确定该待绑定设备。根据待绑定设备中存储的若干对绑定关系确定待绑定设备当前的绑定状态,可选的,待绑定设备当前的绑定状态包括该待绑定设备当前绑定的移动终端的个数,且与待绑定设备存在绑定关系的移动终端的设备信息。The device binding information stored in the device binding terminal also includes the MAC address of the device to be bound, the serial number or identification number of the device to be bound, and the like. The device to be bound can be uniquely determined according to the MAC address, serial number or identification number of the device to be bound. Determine the current binding state of the device to be bound according to several pairs of binding relationships stored in the device to be bound. Optionally, the current binding state of the device to be bound includes the mobile terminal to which the device to be bound is currently bound. number, and the device information of the mobile terminal that has a binding relationship with the device to be bound.

S230、若所述待绑定设备处于绑定状态,则根据存储的设备绑定信息确定所述待绑定设备绑定的设备是否为所述移动终端。S230. If the device to be bound is in a binding state, determine whether the device bound to the device to be bound is the mobile terminal according to the stored device binding information.

其中,移动终端指的是与待绑定设备成功进行本地连接的移动终端,当待绑定设备处绑定状态时,根据存储的设备绑定信息确定待绑定设备绑定的设备是否为所述移动终端。下面以两个具体的例子来说明具体的判断方法:Wherein, the mobile terminal refers to a mobile terminal that successfully connects locally with the device to be bound. When the device to be bound is in the binding state, it is determined according to the stored device binding information whether the device bound to the device to be bound is the the mobile terminal. Here are two specific examples to illustrate the specific judgment method:

A、根据存储的设备绑定信息中的若干对存储关系,确定存储关系中的移动终端的MAC地址,判断该MAC地址是否与和待绑定设备成功进行本地连接的移动终端的MAC地址一致,若是,则表明待绑定设备绑定的设备是所述移动终端,若否,则表明待绑定设备绑定的设备不是所述移动终端。A. According to several pairs of storage relationships in the stored device binding information, determine the MAC address of the mobile terminal in the storage relationship, and determine whether the MAC address is consistent with the MAC address of the mobile terminal that successfully performs local connection with the device to be bound, If yes, it indicates that the device bound by the device to be bound is the mobile terminal, and if not, it indicates that the device bound by the device to be bound is not the mobile terminal.

B、每个网络位置会有一个专属的IP地址,IP地址是一种统一的地址格式,它为互联网上的每一个网络和每一台主机分配一个逻辑地址。以OSI模型为例,第三层负责IP地址,因此,每个网络位置会有一个专门属于它的IP地址。根据存储的设备绑定信息中的若干对存储关系,确定存储关系中的移动终端的IP地址,判断该IP地址是否与和待绑定设备成功进行本地连接的移动终端的IP地址一致,若是,则表明待绑定设备绑定的设备是所述移动终端,若否,则表明待绑定设备绑定的设备不是所述移动终端。B. Each network location will have a dedicated IP address. The IP address is a unified address format, which assigns a logical address to each network and each host on the Internet. Taking the OSI model as an example, the third layer is responsible for IP addresses, so each network location will have an IP address dedicated to it. According to several pairs of storage relationships in the stored device binding information, determine the IP address of the mobile terminal in the storage relationship, and determine whether the IP address is consistent with the IP address of the mobile terminal that successfully performs local connection with the device to be bound, and if so, It indicates that the device bound by the device to be bound is the mobile terminal; if not, it indicates that the device bound by the device to be bound is not the mobile terminal.

需要说明的是,上述判断方法A和方法B并不对本方案的具体实现过程起到限定作用,这里只起到解释说明的作用,还可以通过其他的方法进行判断。It should be noted that the above judgment method A and method B do not play a limiting role in the specific implementation process of this solution, but only serve as an explanation here, and other methods can also be used for judgment.

S240、若存储的设备绑定信息中所述待绑定设备绑定的设备不是所述移动终端,则所述设备绑定终端将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系,并向所述移动终端发送所述绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定,其中,所述设备绑定终端和所述待绑定设备一一对应。S240. If the device to be bound by the device to be bound in the stored device binding information is not the mobile terminal, the device binding terminal updates the stored device binding information to the device to be bound and the device to be bound. the binding relationship of the mobile terminal, and send the binding notification to the mobile terminal, the binding notification includes the information of the device to be bound, so that the mobile terminal is bound to the device to be bound , wherein there is a one-to-one correspondence between the device binding terminal and the device to be bound.

具体的,当存储的设备绑定信息中所述待绑定设备绑定的设备不是所述移动终端,在一个具体的例子中,存储在的设备绑定信息中所述待绑定设备绑定的设备为E,与待绑定设备进行本地连接的移动终端为F,待绑定设备记为G,则设备绑定终端将存储的设备绑定信息由设备E与待绑定设备G的绑定关系更新为移动终端F与待绑定设备G的绑定关系,并向移动终端F发送绑定通知。Specifically, when the device to be bound by the device to be bound in the stored device binding information is not the mobile terminal, in a specific example, the device to be bound in the stored device binding information is bound to The device to be bound is E, the mobile terminal locally connected to the device to be bound is F, and the device to be bound is denoted as G, then the device binding terminal will combine the stored device binding information from the binding of device E to the device G to be bound The binding relationship is updated to the binding relationship between the mobile terminal F and the device G to be bound, and a binding notification is sent to the mobile terminal F.

可选的,若存储的设备绑定信息中待绑定设备绑定的设备不是与待绑定设备建立本地连接的移动终端时,也可以首先将当前与待绑定设备绑定的设备与移动终端进行解绑后,再与和待绑定设备建立本地连接的移动终端进行绑定,同时更新绑定关系。Optionally, if the device to be bound to the device to be bound in the stored device binding information is not a mobile terminal that establishes a local connection with the device to be bound, the device that is currently bound to the device to be bound to the mobile terminal may also first be connected to the mobile terminal. After the terminal is unbound, it binds with the mobile terminal that has established a local connection with the device to be bound, and at the same time updates the binding relationship.

可选的,所述设备绑定终端与移动终端通过本地连接进行连接包括:所述设备绑定终端与移动终端通过USB连接进行连接。Optionally, the connecting the device binding terminal and the mobile terminal through a local connection includes: connecting the device binding terminal and the mobile terminal through a USB connection.

其中,设备绑定终端与移动终端通过USB(Universal Serial Bus,通用串行总线)进行连接,USB是一个外部总线标准,用于规范电脑与外部设备或外部设备之间的连接和通讯。也即,设备绑定终端和移动终端分别通过自身的USB接口,通过USB标准的数据线进行连接,实现数据传输或通信的目的。Wherein, the device binding terminal and the mobile terminal are connected through a USB (Universal Serial Bus, Universal Serial Bus). USB is an external bus standard used to regulate the connection and communication between a computer and an external device or between external devices. That is, the device binding terminal and the mobile terminal are respectively connected through their own USB interfaces and USB standard data lines to achieve the purpose of data transmission or communication.

本发明实施例中,设备绑定终端根据存储的设备绑定信息确定所述待绑定设备的绑定状态,当待绑定设备处于绑定状态时,根据存储的设备绑定信息确定所述待绑定设备绑定的设备是否为所述移动终端。通过设备绑定终端存储的设备绑定信息实现了对待绑定设备绑定的设备是否为与待绑定设备建立本地连接的移动终端的确定,为更新绑定关系提供了依据。In the embodiment of the present invention, the device binding terminal determines the binding state of the device to be bound according to the stored device binding information, and determines the binding state of the device to be bound according to the stored device binding information when the device to be bound is in the binding state. Whether the device to be bound is the mobile terminal. The device binding information stored in the device binding terminal realizes the determination of whether the device bound to the device to be bound is a mobile terminal that establishes a local connection with the device to be bound, and provides a basis for updating the binding relationship.

实施例三Embodiment Three

图3a为本发明实施例三提供的一种设备绑定方法的流程图,本实施例在上述实施例的基础上,对“所述设备绑定终端将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系”进行了优化。参考图3a,该方法具体可以包括如下步骤:Fig. 3a is a flow chart of a device binding method provided by Embodiment 3 of the present invention. On the basis of the above embodiments, this embodiment updates the device binding information stored by the device binding terminal to the The "binding relationship between the device to be bound and the mobile terminal" has been optimized. Referring to Figure 3a, the method specifically may include the following steps:

S310、当设备绑定终端与移动终端通过本地连接进行连接后,所述设备绑定终端接收所述移动终端发送的连接成功消息。S310. After the device binding terminal is connected to the mobile terminal through a local connection, the device binding terminal receives a connection success message sent by the mobile terminal.

S320、所述设备绑定终端根据存储的设备绑定信息确定所述待绑定设备的绑定状态。S320. The device binding terminal determines the binding state of the device to be bound according to the stored device binding information.

S330、若所述待绑定设备处于绑定状态,则根据存储的设备绑定信息确定所述待绑定设备绑定的设备是否为所述移动终端。S330. If the device to be bound is in a binding state, determine whether the device bound to the device to be bound is the mobile terminal according to the stored device binding information.

S340、若存储的设备绑定信息中所述待绑定设备绑定的设备不是所述移动终端,则当所述设备绑定终端接收到的所述移动终端发送的绑定请求时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系,并向所述移动终端发送所述绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定,其中,所述设备绑定终端和所述待绑定设备一一对应。S340. If the device to be bound by the device to be bound in the stored device binding information is not the mobile terminal, when the device binding terminal receives the binding request sent by the mobile terminal, it will store updating the binding information of the device to the binding relationship between the device to be bound and the mobile terminal, and sending the binding notification to the mobile terminal, the binding notification including information on the device to be bound, Binding the mobile terminal to the device to be bound, wherein the device binding terminal corresponds to the device to be bound one-to-one.

具体的,如果存储的设备绑定信息中待绑定设备绑定的设备不是与待绑定设备建立本地连接的移动终端,则在设备绑定终端接收到的移动终端发送的绑定请求时,将存储的设备绑定信息更新为待绑定设备和移动终端的绑定关系。Specifically, if the device bound to the device to be bound in the stored device binding information is not a mobile terminal that establishes a local connection with the device to be bound, when the device binding terminal receives the binding request sent by the mobile terminal, The stored device binding information is updated to the binding relationship between the device to be bound and the mobile terminal.

在一个具体的例子中,设备绑定终端接收到的移动终端发送的绑定请求的场景可以是,在接到绑定请求后控制设备绑定终端以振动的形式或发出设定铃声的形式提示用户;还可以是在设备绑定终端的显示屏上弹出一个可选择框,选择框里显示内容为:移动终端X请求与本设备进行绑定。在这个具体的应用场景中,将存储的设备绑定信息更新为待绑定设备与移动终端X的绑定关系。In a specific example, the scene where the binding request sent by the mobile terminal is received by the device binding terminal may be that, after receiving the binding request, the device binding terminal is controlled to vibrate or send out a notification in the form of a set ringtone. The user; it is also possible to pop up an optional box on the display screen of the device binding terminal, and the content displayed in the selection box is: the mobile terminal X requests to bind with the device. In this specific application scenario, the stored device binding information is updated to the binding relationship between the device to be bound and the mobile terminal X.

在上述技术方案的基础上,S340可以替换为:“若存储的设备绑定信息中所述待绑定设备绑定的设备不是所述移动终端,则当所述设备绑定终端在所述设备绑定终端上获取到绑定确认时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系,并向所述移动终端发送所述绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定,其中,所述设备绑定终端和所述待绑定设备一一对应。On the basis of the above technical solution, S340 can be replaced with: "If the device to be bound by the device to be bound in the stored device binding information is not the mobile terminal, when the device is bound to the terminal on the device When the binding confirmation is obtained on the binding terminal, update the stored device binding information to the binding relationship between the device to be bound and the mobile terminal, and send the binding notification to the mobile terminal, so The binding notification includes the information of the device to be bound, so that the mobile terminal is bound to the device to be bound, wherein the device binding terminal corresponds to the device to be bound one by one.

其中,如果存储的设备绑定信息中待绑定设备绑定的设备不是与待绑定设备建立本地连接的移动终端时,当设备绑定终端在设备绑定终端上获取到绑定确认时,将存储的设备绑定信息更新为待绑定设备和与待绑定设备建立本地连接的移动终端的绑定关系。Wherein, if the device bound to the device to be bound in the stored device binding information is not a mobile terminal that establishes a local connection with the device to be bound, when the device binding terminal obtains a binding confirmation on the device binding terminal, The stored device binding information is updated as the binding relationship between the device to be bound and the mobile terminal that establishes a local connection with the device to be bound.

在一个具体的应用场景中,图3b示出了一种设备绑定终端的结构示意图,350表示USB传输接口,用于与其他设备进行连接。设备绑定终端在设备绑定终端上获取到绑定确认可以通过如下方式实现:当以振动或铃声的形式提示待绑定设备有移动终端Y绑定请求时,通过点击待绑定设备上的确认按钮或触摸待绑定设备显示屏上的设定区域的触控按钮(如图3b中的“确认绑定”选项)时,则表明设备绑定终端获取到绑定确认。在这个具体的例子中,将存储的设备绑定信息更新为待绑定设备与移动终端Y的绑定关系。In a specific application scenario, FIG. 3b shows a schematic structural diagram of a device binding terminal, and 350 represents a USB transmission interface for connecting with other devices. The device binding terminal can obtain the binding confirmation on the device binding terminal in the following way: when the device to be bound is prompted to have a mobile terminal Y binding request in the form of vibration or ringtone, click the button on the device to be bound. When the confirmation button or the touch button in the setting area on the display screen of the device to be bound is touched (such as the "confirm binding" option in Figure 3b), it indicates that the device binding terminal has obtained the binding confirmation. In this specific example, the stored device binding information is updated to the binding relationship between the device to be bound and the mobile terminal Y.

本发明实施例中,当所述设备绑定终端接收到的所述移动终端发送的绑定请求时,和/或,当所述设备绑定终端在所述设备绑定终端上获取到绑定确认时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系。在设备绑定终端再次与其他移动终端进行本地连接并有绑定需求时,根据更新后的绑定关系能够确定待绑定设备和移动终端的当前绑定状态。In the embodiment of the present invention, when the device binding terminal receives the binding request sent by the mobile terminal, and/or, when the device binding terminal obtains the binding request on the device binding terminal When confirming, update the stored device binding information to the binding relationship between the device to be bound and the mobile terminal. When the device binding terminal performs local connection with another mobile terminal again and has a binding requirement, the current binding state of the device to be bound and the mobile terminal can be determined according to the updated binding relationship.

可选的,所述设备绑定终端根据存储的设备绑定信息确定所述待绑定设备的绑定状态之后,还包括:若所述待绑定设备处于未绑定状态,则所述设备绑定终端将设备绑定信息存储为所述待绑定设备和所述移动终端的绑定关系。Optionally, after the device binding terminal determines the binding state of the device to be bound according to the stored device binding information, it further includes: if the device to be bound is in an unbound state, the device The binding terminal stores device binding information as a binding relationship between the device to be bound and the mobile terminal.

具体的,当待绑定设备处于未绑定状态时,也即,存储的设备绑定信息中不存在任何与待绑定设备有关的绑定关系,表明待绑定设备没有与任何移动终端进行绑定,则设备绑定终端将设备绑定信息存储为待绑定设备和移动终端的绑定关系。在一个具体的例子中,若待绑定设备M处于未绑定状态,则设备绑定终端将设备绑定信息存储为待绑定设备M和移动终端的绑定关系,其中,移动终端为与待绑定设备建立本地连接的移动终端。实现了在待绑定设备处于未绑定状态时对存储的绑定关系的更新。Specifically, when the device to be bound is in an unbound state, that is, there is no binding relationship related to the device to be bound in the stored device binding information, indicating that the device to be bound has not been connected with any mobile terminal. binding, the device binding terminal stores the device binding information as a binding relationship between the device to be bound and the mobile terminal. In a specific example, if the device M to be bound is in an unbound state, the device binding terminal stores the device binding information as a binding relationship between the device M to be bound and the mobile terminal, where the mobile terminal is The mobile terminal on which the device to be bound establishes a local connection. The update of the stored binding relationship is implemented when the device to be bound is in an unbound state.

实施例四Embodiment four

图4为本发明实施例四提供的一种设备绑定方法的流程图,本实施例可适用于没有网络的条件下实现多个设备之间的绑定的情况,该方法可以由本发明是实施例提供的设备绑定装置来执行,该装置可采用软件和/或硬件的方式实现,并一般可以集成在移动终端中与设备绑定终端配合使用。参考图4,该方法具体可以包括如下步骤:Fig. 4 is a flow chart of a device binding method provided by Embodiment 4 of the present invention. This embodiment is applicable to the situation of realizing the binding between multiple devices without a network. This method can be implemented by the present invention The device binding device provided in this example can be implemented, and the device can be implemented in the form of software and/or hardware, and can generally be integrated into a mobile terminal and used in conjunction with a device binding terminal. Referring to Figure 4, the method specifically may include the following steps:

S410、当设备绑定终端与移动终端通过本地连接进行连接后,所述移动终端向所述设备绑定终端发送连接成功消息。S410. After the device binding terminal is connected to the mobile terminal through a local connection, the mobile terminal sends a connection success message to the device binding terminal.

具体的,在设备绑定终端与移动终端通过本地进行连接后,移动终端向设备绑定终端发送连接成功的消息。可选的,设备绑定终端与移动终端可以通过USB接口进行连接或蓝牙连接等。示例性的,移动终端向设备绑定终端发送连接成功的消息中,消息的形式可以是一条空指令、带有设定标识位的标识符或一条“连接成功”的语音消息等。发送连接成功的消息可以是通过符合USB标准的数据线进行传输或蓝牙传输等。Specifically, after the device binding terminal is connected locally with the mobile terminal, the mobile terminal sends a connection success message to the device binding terminal. Optionally, the device binding terminal and the mobile terminal may be connected through a USB interface or a Bluetooth connection. Exemplarily, when the mobile terminal sends a connection success message to the device-binding terminal, the form of the message may be an empty command, an identifier with a set identification bit, or a voice message of "connection successful". Sending the message that the connection is successful may be through a data cable conforming to the USB standard or Bluetooth transmission.

S420、所述移动终端接收所述设备绑定终端发送的绑定通知,所述绑定通知中包括待绑定设备的信息。S420. The mobile terminal receives a binding notification sent by the device binding terminal, where the binding notification includes information about the device to be bound.

其中,移动终端接收设备绑定终端发送的绑定通知,绑定通知中包括待绑定设备的信息,可选的,待绑定设备的信息包括待绑定设备的MAC地址或待绑定设备出厂时的系列号或标识码等可唯一确定该待绑定设备的信息。Wherein, the mobile terminal receives the binding notification sent by the device binding terminal, the binding notification includes the information of the device to be bound, and optionally, the information of the device to be bound includes the MAC address of the device to be bound or the device to be bound The serial number or identification code at the factory can uniquely identify the information of the device to be bound.

S430、所述移动终端根据所述待绑定设备的信息与所述待绑定设备绑定。S430. The mobile terminal binds the device to be bound according to the information of the device to be bound.

具体的,移动终端根据待绑定设备的信息,例如,待绑定设备的MAC地址,来确定待绑定设备。移动终端与该待绑定设备进行绑定后,可以进行数据传输与通信,例如,移动终端为妈妈的手机,待绑定设备为孩子的电话手表,在手机和电话手表进行绑定后,妈妈可以利用自己的手机向电话手表发送文件或消息等,也可以通过自己的手机远程控制电话手表,例如,在孩子上课的时间段远程开启电话手表的禁用模式。Specifically, the mobile terminal determines the device to be bound according to the information of the device to be bound, for example, the MAC address of the device to be bound. After the mobile terminal is bound with the device to be bound, data transmission and communication can be performed. For example, the mobile terminal is the mother's mobile phone, and the device to be bound is the child's phone watch. After the mobile phone and the phone watch are bound, the mother You can use your mobile phone to send files or messages to the phone watch, and you can also remotely control the phone watch through your mobile phone. For example, you can remotely turn on the disabled mode of the phone watch when your child is in class.

本发明实施例中,当设备绑定终端与移动终端通过本地连接进行连接后,移动终端向所述设备绑定终端发送连接成功消息,并接收所述设备绑定终端发送包括待绑定设备的信息的绑定通知,根据所述待绑定设备的信息与所述待绑定设备绑定。在无需设置网络的条件下实现多个设备间的绑定,保证了设备信息不泄露,提高了安全性。In the embodiment of the present invention, after the device binding terminal is connected to the mobile terminal through a local connection, the mobile terminal sends a connection success message to the device binding terminal, and receives a message including the device to be bound from the device binding terminal. The information binding notification is to bind the device to be bound according to the information of the device to be bound. The binding between multiple devices is realized without setting up a network, which ensures that device information is not leaked and improves security.

实施例五Embodiment five

图5是本发明是实施例五提供的一种设备绑定装置的结构示意图,该装置一般可以集成在待绑定设备中与移动终端配合使用,该装置适用于执行本发明实施例提供给的一种设备绑定方法。如图5所示,该装置具体可以包括:Fig. 5 is a schematic structural diagram of a device binding device provided in Embodiment 5 of the present invention. Generally, the device can be integrated in the device to be bound and used in conjunction with a mobile terminal. The device is suitable for implementing the device provided by the embodiment of the present invention. A device binding method. As shown in Figure 5, the device may specifically include:

消息接收模块510,用于当设备绑定终端与移动终端通过本地连接进行连接后,接收所述移动终端发送的连接成功消息;A message receiving module 510, configured to receive a connection success message sent by the mobile terminal after the device binding terminal is connected to the mobile terminal through a local connection;

通知发送模块520,用于向所述移动终端发送绑定通知,所述绑定通知中包括待绑定设备的信息,以使所述移动终端与所述待绑定设备绑定。A notification sending module 520, configured to send a binding notification to the mobile terminal, where the binding notification includes information about the device to be bound, so that the mobile terminal is bound to the device to be bound.

进一步的,还包括:Further, it also includes:

绑定状态确定模块,用于向所述移动终端发送绑定通知之前,根据存储的设备绑定信息确定所述待绑定设备的绑定状态;A binding state determining module, configured to determine the binding state of the device to be bound according to the stored device binding information before sending the binding notification to the mobile terminal;

设备确定模块,用于若所述待绑定设备处于绑定状态,则根据存储的设备绑定信息确定所述待绑定设备绑定的设备是否为所述移动终端;A device determination module, configured to determine whether the device bound to the device to be bound is the mobile terminal according to stored device binding information if the device to be bound is in a bound state;

相应的,通知发送模块520包括绑定关系更新子模块和绑定通知发送子模块,其中,Correspondingly, the notification sending module 520 includes a binding relationship updating submodule and a binding notification sending submodule, wherein,

所述绑定关系更新子模块用于若存储的设备绑定信息中所述待绑定设备绑定的设备不是所述移动终端,则所述设备绑定终端将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系;The binding relationship updating submodule is configured to update the stored device binding information by the device binding terminal if the device bound to the device to be bound in the stored device binding information is not the mobile terminal the binding relationship between the device to be bound and the mobile terminal;

所述通知发送子模块用于向所述移动终端发送所述绑定通知。The notification sending submodule is configured to send the binding notification to the mobile terminal.

进一步的,所述绑定关系更新子模块具体用于:Further, the binding relationship updating submodule is specifically used for:

当所述设备绑定终端接收到的所述移动终端发送的绑定请求时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系;或者,当所述设备绑定终端在所述设备绑定终端上获取到绑定确认时,将存储的设备绑定信息更新为所述待绑定设备和所述移动终端的绑定关系。When the device binding terminal receives the binding request sent by the mobile terminal, update the stored device binding information to the binding relationship between the device to be bound and the mobile terminal; or, when the When the device binding terminal obtains the binding confirmation on the device binding terminal, update the stored device binding information to the binding relationship between the device to be bound and the mobile terminal.

进一步的,还包括:Further, it also includes:

绑定关系存储模块,用于在所述设备绑定终端根据存储的设备绑定信息确定所述待绑定设备的绑定状态之后,若所述待绑定设备处于未绑定状态,则所述设备绑定终端将设备绑定信息存储为所述待绑定设备和所述移动终端的绑定关系。A binding relationship storage module, configured to, after the device binding terminal determines the binding state of the device to be bound according to the stored device binding information, if the device to be bound is in an unbound state, the The device binding terminal stores device binding information as a binding relationship between the device to be bound and the mobile terminal.

进一步的,所述设备绑定终端与移动终端通过本地连接进行连接包括所述设备绑定终端与移动终端通过USB连接进行连接。Further, the connection between the device binding terminal and the mobile terminal through a local connection includes the connection between the device binding terminal and the mobile terminal through a USB connection.

本发明实施例提供的设备绑定装置可执行本发明任意实施例提供的设备绑定方法,具备执行方法相应的功能模块和有益效果。The device binding device provided in the embodiment of the present invention can execute the device binding method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

实施例六Embodiment six

图6是本发明是实施例六提供的一种设备绑定装置的结构示意图,该装置一般可以集成在移动终端中与待绑定设备配合使用,该装置适用于执行本发明实施例提供给的一种设备绑定方法。如图6所示,该装置具体可以包括:Fig. 6 is a schematic structural diagram of a device binding device provided in Embodiment 6 of the present invention. The device can generally be integrated in a mobile terminal and used in conjunction with a device to be bound. The device is suitable for implementing the device provided by the embodiment of the present invention. A device binding method. As shown in Figure 6, the device may specifically include:

消息发送模块610,用于当设备绑定终端与移动终端通过本地连接进行连接后,向所述设备绑定终端发送连接成功消息;A message sending module 610, configured to send a connection success message to the device-bound terminal after the device-bound terminal is connected to the mobile terminal through a local connection;

通知接收模块620,用于接收所述设备绑定终端发送的绑定通知,所述绑定通知中包括待绑定设备的信息;A notification receiving module 620, configured to receive a binding notification sent by the device binding terminal, where the binding notification includes information about the device to be bound;

设备绑定模块630,用于根据所述待绑定设备的信息与所述待绑定设备绑定。A device binding module 630, configured to bind the device to be bound according to the information of the device to be bound.

本发明实施例提供的设备绑定装置可执行本发明任意实施例提供的设备绑定方法,具备执行方法相应的功能模块和有益效果。The device binding device provided in the embodiment of the present invention can execute the device binding method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (10)

  1. A kind of 1. apparatus bound method, it is characterised in that including:
    After apparatus bound terminal and mobile terminal are attached by locality connection, the apparatus bound terminal receives the shifting The successful connection message that dynamic terminal is sent;
    The apparatus bound terminal sends binding notice to the mobile terminal, and the binding notice includes treating bound device Information, so that the mobile terminal treats that bound device is bound with described, wherein, the apparatus bound terminal and described treat that binding is set It is standby to correspond.
  2. 2. according to the method for claim 1, it is characterised in that the apparatus bound terminal sends to the mobile terminal and tied up Before fixed notice, in addition to:
    The apparatus bound terminal treats the binding state of bound device according to determining the apparatus bound information of storage;
    If described treat that bound device is in binding state, treat that bound device is tied up according to determining the apparatus bound information of storage Whether fixed equipment is the mobile terminal;
    Accordingly, the apparatus bound terminal sends binding notice to the mobile terminal, including:
    If the equipment that bound device binding is treated described in the apparatus bound information of storage is not the mobile terminal, the equipment The apparatus bound information updating of storage is the binding relationship for treating bound device and the mobile terminal by binding terminal, and to The mobile terminal sends the binding notice.
  3. 3. according to the method for claim 2, it is characterised in that the apparatus bound terminal is by the apparatus bound information of storage The binding relationship for treating bound device and the mobile terminal is updated to, including:
    When the bind request that the mobile terminal that the apparatus bound terminal receives is sent, the apparatus bound of storage is believed Breath is updated to the binding relationship for treating bound device and the mobile terminal;Or when the apparatus bound terminal is described It is the bound device and described treated by the apparatus bound information updating of storage when getting binding acknowledgement in apparatus bound terminal The binding relationship of mobile terminal.
  4. 4. according to the method in claim 2 or 3, it is characterised in that the apparatus bound terminal is tied up according to the equipment of storage Determine information determine described in treat the binding state of bound device after, in addition to:
    If described treat that bound device is in unbound state, apparatus bound information is stored as described by the apparatus bound terminal Treat the binding relationship of bound device and the mobile terminal.
  5. 5. according to the method in claim 2 or 3, it is characterised in that the apparatus bound terminal passes through this with mobile terminal Ground connection be attached including:
    The apparatus bound terminal is connected with mobile terminal by USB to be attached.
  6. A kind of 6. apparatus bound method, it is characterised in that including:
    After apparatus bound terminal and mobile terminal are attached by locality connection, the mobile terminal is to the apparatus bound Terminal sends successful connection message;
    The mobile terminal receives the binding notice that the apparatus bound terminal is sent, and the binding notice includes treating that binding is set Standby information;
    The mobile terminal treats that the information of bound device treats that bound device is bound with described according to.
  7. A kind of 7. apparatus bound device, applied to apparatus bound terminal, it is characterised in that including:
    Message reception module, for after apparatus bound terminal and mobile terminal are attached by locality connection, described in reception The successful connection message that mobile terminal is sent;
    Sending module is notified, for sending binding notice to the mobile terminal, the binding notice includes treating bound device Information so that the mobile terminal with it is described treat bound device bind.
  8. 8. device according to claim 7, it is characterised in that also include:
    Binding state determining module, for before sending binding notice to the mobile terminal, being believed according to the apparatus bound of storage The binding state of bound device is treated described in breath determination;
    Equipment determining module, it is true according to the apparatus bound information of storage if treating that bound device is in binding state for described Whether the fixed equipment for treating bound device binding is the mobile terminal;
    Accordingly, the notice sending module includes binding relationship renewal submodule and binding notice sending submodule, wherein,
    If the equipment of bound device binding is treated described in the apparatus bound information that the binding relationship renewal submodule is used to store The mobile terminal, then the apparatus bound terminal by the apparatus bound information updating of storage for it is described treat bound device and The binding relationship of the mobile terminal;
    The notice sending submodule is used to send the binding notice to the mobile terminal.
  9. 9. device according to claim 8, it is characterised in that the binding relationship renewal submodule is specifically used for:
    When the bind request that the mobile terminal that the apparatus bound terminal receives is sent, the apparatus bound of storage is believed Breath is updated to the binding relationship for treating bound device and the mobile terminal;Or when the apparatus bound terminal is described It is the bound device and described treated by the apparatus bound information updating of storage when getting binding acknowledgement in apparatus bound terminal The binding relationship of mobile terminal.
  10. A kind of 10. apparatus bound device, applied to mobile terminal, it is characterised in that including:
    Message transmission module, for after apparatus bound terminal is attached with mobile terminal by locality connection, being set to described Standby binding terminal sends successful connection message;
    Receiving module is notified, the binding notice sent for receiving the apparatus bound terminal, the binding notice includes treating The information of bound device;
    Apparatus bound module, for treating that the information of bound device treats that bound device is bound with described according to.
CN201711096675.0A 2017-11-09 2017-11-09 Equipment binding method and device Pending CN107801174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711096675.0A CN107801174A (en) 2017-11-09 2017-11-09 Equipment binding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711096675.0A CN107801174A (en) 2017-11-09 2017-11-09 Equipment binding method and device

Publications (1)

Publication Number Publication Date
CN107801174A true CN107801174A (en) 2018-03-13

Family

ID=61549498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711096675.0A Pending CN107801174A (en) 2017-11-09 2017-11-09 Equipment binding method and device

Country Status (1)

Country Link
CN (1) CN107801174A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344598A (en) * 2018-09-29 2019-02-15 北京东土科技股份有限公司 Binding between devices and permission control method, device, device and storage medium
CN109903521A (en) * 2019-03-29 2019-06-18 广东小天才科技有限公司 Station entering and exiting monitoring method based on electronic riding information and intelligent wearable equipment
CN112035087A (en) * 2020-08-31 2020-12-04 维沃移动通信有限公司 Information prompting method, device, electronic device and readable storage medium
CN110727678B (en) * 2019-09-25 2021-01-01 湖南新云网科技有限公司 Binding method, device and storage medium of user information and mobile terminal
CN112804651A (en) * 2020-12-29 2021-05-14 武汉联影智融医疗科技有限公司 Binding method and device and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104365173A (en) * 2012-05-26 2015-02-18 高通股份有限公司 Smart pairing using bluetooth technology
CN105022951A (en) * 2014-04-17 2015-11-04 中兴通讯股份有限公司 Information processing method and electronic equipment
CN105376699A (en) * 2015-11-12 2016-03-02 深圳市广和通无线股份有限公司 Safety monitoring system and method based on GPS bracelet
CN105407454A (en) * 2015-11-23 2016-03-16 深圳还是威健康科技有限公司 Binding method and device for wearable device
CN107257536A (en) * 2017-04-19 2017-10-17 上海卓易电子科技有限公司 A kind of binding method and device of mobile terminal and bluetooth equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104365173A (en) * 2012-05-26 2015-02-18 高通股份有限公司 Smart pairing using bluetooth technology
CN105022951A (en) * 2014-04-17 2015-11-04 中兴通讯股份有限公司 Information processing method and electronic equipment
CN105376699A (en) * 2015-11-12 2016-03-02 深圳市广和通无线股份有限公司 Safety monitoring system and method based on GPS bracelet
CN105407454A (en) * 2015-11-23 2016-03-16 深圳还是威健康科技有限公司 Binding method and device for wearable device
CN107257536A (en) * 2017-04-19 2017-10-17 上海卓易电子科技有限公司 A kind of binding method and device of mobile terminal and bluetooth equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344598A (en) * 2018-09-29 2019-02-15 北京东土科技股份有限公司 Binding between devices and permission control method, device, device and storage medium
CN109903521A (en) * 2019-03-29 2019-06-18 广东小天才科技有限公司 Station entering and exiting monitoring method based on electronic riding information and intelligent wearable equipment
CN110727678B (en) * 2019-09-25 2021-01-01 湖南新云网科技有限公司 Binding method, device and storage medium of user information and mobile terminal
CN112035087A (en) * 2020-08-31 2020-12-04 维沃移动通信有限公司 Information prompting method, device, electronic device and readable storage medium
CN112804651A (en) * 2020-12-29 2021-05-14 武汉联影智融医疗科技有限公司 Binding method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN107801174A (en) Equipment binding method and device
CN105139877B (en) Connection method of multimedia playback equipment, main equipment, control terminal and system
AU2011343700B2 (en) Wireless network interface with infrastructure and direct modes
CN103327644B (en) A kind of method and apparatus of wireless connections
WO2019134306A1 (en) Message processing method, device, terminal apparatus, and readable storage medium
CN110769516A (en) A random access method and related equipment
CN104333844A (en) Interconnection method of vehicle-mounted terminal and smart phone
CN105516897A (en) Method and device for one-key establishment of communication connection between Bluetooth devices
US20170171496A1 (en) Method and Electronic Device for Screen Projection
WO2013149491A1 (en) Wireless routing device, mobile terminal, and management system and method
CN104837157B (en) Speaker adding method, device, mobile terminal and intelligent sound box
CN104853449A (en) Networking method of wireless sound box, device and system
CN103491421B (en) Content displaying method, device and intelligent television
CN105743671B (en) Capacity expansion method, controller and system
US20160100021A1 (en) Information processing device, destination information updating method, and record medium
WO2015139401A1 (en) Establishment method and system for wireless network, and wireless routing device
CN110798355A (en) Network distribution method and device for intelligent socket, intelligent socket and storage medium
KR20120001924A (en) Apparatus and method for controlling peripheral nodes in a wireless communication system
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
JP2014049077A (en) Information exchange system, terminal, and stylus pen
CN115037607B (en) Configuration method, device, storage medium and system of Bluetooth mesh network equipment
CN114125990B (en) Networking method and system for equipment
CN116528202A (en) Connection control method, device, electronic equipment and storage medium
CN113035184B (en) Voice interaction method, device, system and storage medium
CN103139723A (en) Method and system of processing multimedia message and multimedia information and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180313

RJ01 Rejection of invention patent application after publication