CN115412920A - Internet of things equipment binding system, method and device and electronic equipment - Google Patents

Internet of things equipment binding system, method and device and electronic equipment Download PDF

Info

Publication number
CN115412920A
CN115412920A CN202210980144.2A CN202210980144A CN115412920A CN 115412920 A CN115412920 A CN 115412920A CN 202210980144 A CN202210980144 A CN 202210980144A CN 115412920 A CN115412920 A CN 115412920A
Authority
CN
China
Prior art keywords
internet
bound
things
verification information
user terminal
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
CN202210980144.2A
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.)
Hangzhou Ezviz Network Co Ltd
Original Assignee
Hangzhou Ezviz Network 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 Hangzhou Ezviz Network Co Ltd filed Critical Hangzhou Ezviz Network Co Ltd
Priority to CN202210980144.2A priority Critical patent/CN115412920A/en
Publication of CN115412920A publication Critical patent/CN115412920A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例提供了一种物联网设备绑定系统、方法、装置及电子设备,涉及物联网技术领域。物联网设备绑定系统包括用户终端、物联网平台和物联网设备。用户终端向物联网平台发送关于临时验证信息的获取请求;接收临时验证信息并利用近场通信方式向待绑定物联网设备发送临时验证信息;物联网平台接收获取请求,生成与登录账号对应的临时验证信息并将临时验证信息反馈给用户终端;接收携带有临时验证信息的绑定请求;对临时验证信息进行验证,并在验证成功时将待绑定物联网设备绑定至登录账号;物联网设备接收用户终端发送的临时验证信息并向物联网平台发送绑定请求。与现有技术相比,应用本发明实施例提供的方案,可以提高物联网设备的运行安全。

Figure 202210980144

Embodiments of the present invention provide an Internet of Things device binding system, method, device, and electronic device, and relate to the technical field of the Internet of Things. The IoT device binding system includes user terminals, IoT platforms and IoT devices. The user terminal sends an acquisition request for temporary verification information to the IoT platform; receives the temporary verification information and uses near-field communication to send the temporary verification information to the IoT device to be bound; the IoT platform receives the acquisition request and generates a password corresponding to the login account. Temporarily verify the information and feed back the temporary verification information to the user terminal; receive the binding request carrying the temporary verification information; verify the temporary verification information, and bind the IoT device to be bound to the login account when the verification is successful; The networked device receives the temporary verification information sent by the user terminal and sends a binding request to the IoT platform. Compared with the prior art, the application of the solution provided by the embodiment of the present invention can improve the operation safety of the IoT device.

Figure 202210980144

Description

一种物联网设备绑定系统、方法、装置及电子设备A system, method, device, and electronic device for binding an Internet of Things device

技术领域technical field

本发明涉及物联网技术领域,特别是涉及一种物联网设备绑定系统、方法、装置及电子设备。The present invention relates to the technical field of the Internet of Things, in particular to an Internet of Things device binding system, method, device and electronic equipment.

背景技术Background technique

随着物联网技术的发展,越来越多电子设备接入物联网平台,以便于用户通过物联网平台实现对电子设备的远程操作。With the development of the Internet of Things technology, more and more electronic devices are connected to the Internet of Things platform, so that users can remotely operate the electronic devices through the Internet of Things platform.

相关技术中,电子设备向物联网平台发送携带自身设备标识的注册请求进行设备注册,并在注册成功后接入物联网平台。这样,具有该电子设备的控制权限的用户便可以利用该电子设备的设备标识将该电子设备绑定到该用户在物联网平台的用户账号下,并在绑定完成后通过物联网平台对该电子设备进行远程操作。In related technologies, the electronic device sends a registration request carrying its own device identification to the Internet of Things platform for device registration, and accesses the Internet of Things platform after successful registration. In this way, the user with the control authority of the electronic device can use the device identification of the electronic device to bind the electronic device to the user account of the user on the Internet of Things platform, and after the binding is completed, the Electronic devices are operated remotely.

然而,在上述相关技术中,存在由于电子设备的设备标识被泄漏,导致不具备电子设备的控制权限的用户盗用电子设备的设备标识,在物联网平台中将电子设备绑定到自身的用户账号下,并对电子设备进行远程操作的风险,进而,影响该电子设备的运行安全。However, in the above-mentioned related technologies, due to the leakage of the device identification of the electronic device, the user who does not have the control authority of the electronic device misappropriates the device identification of the electronic device, and binds the electronic device to his own user account in the Internet of Things platform. risk of remote operation of electronic equipment, which in turn affects the operational safety of the electronic equipment.

发明内容Contents of the invention

本发明实施例的目的在于提供一种物联网设备绑定系统、方法、装置及电子设备,以提高物联网设备的运行安全。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a binding system, method, device and electronic equipment for an Internet of Things device, so as to improve the operation safety of the Internet of Things device. The specific technical scheme is as follows:

第一方面,本发明实施例提供了一种物联网设备绑定系统,所述系统包括用户终端、物联网平台和物联网设备;其中,所述物联网设备已接入所述物联网平台;In the first aspect, an embodiment of the present invention provides an IoT device binding system, the system includes a user terminal, an IoT platform, and an IoT device; wherein, the IoT device has been connected to the IoT platform;

所述用户终端,用于在使用登录账号登录所述物联网平台后,向所述物联网平台发送携带有所述登录账号的关于临时验证信息的获取请求;接收所述物联网平台发送的临时验证信息;基于待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息;其中,所述待绑定物联网设备为所述物联网设备中的任一个设备;The user terminal is configured to, after logging into the IoT platform using a login account, send to the IoT platform an acquisition request for temporary verification information carrying the login account; and receive the temporary verification information sent by the IoT platform. Verification information; based on the device identification of the IoT device to be bound, send the temporary verification information to the IoT device to be bound by using near-field communication; wherein, the IoT device to be bound is the Internet of Things any of the devices;

所述物联网平台,用于接收所述获取请求,生成与所述登录账号对应的临时验证信息,并将所述临时验证信息反馈给所述用户终端;接收所述待绑定物联网设备发送的携带有所述临时验证信息的绑定请求;对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号;The IoT platform is configured to receive the acquisition request, generate temporary verification information corresponding to the login account, and feed back the temporary verification information to the user terminal; receive the information sent by the IoT device to be bound. a binding request carrying the temporary verification information; verifying the temporary verification information in the binding request, and binding the IoT device to be bound to the login account when the verification is successful;

每个物联网设备,用于接收所述用户终端发送的临时验证信息,并向所述物联网平台发送所述绑定请求。Each IoT device is configured to receive the temporary verification information sent by the user terminal, and send the binding request to the IoT platform.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

所述物联网平台,还用于在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送用于表征所述待绑定物联网设备绑定成功的第一推送消息;The IoT platform is further configured to, after binding the IoT device to be bound to the login account, send to the user terminal a first message indicating that the binding of the IoT device to be bound is successful. a push message;

所述用户终端,还用于接收所述第一推送消息,并输出所述第一推送消息。The user terminal is further configured to receive the first push message and output the first push message.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

所述物联网平台,还用于在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送用于表征所述待绑定物联网设备绑定成功的第二推送消息;The IoT platform is further configured to, after binding the IoT device to be bound to the login account, send the IoT device to be bound an A successful second push message;

每个物联网设备,还用于接收所述第二推送消息。Each IoT device is further configured to receive the second push message.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

所述用户终端,还用于向所述物联网平台发送携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求;接收所述物联网平台发送的绑定状态,并输出所述绑定状态;The user terminal is further configured to send to the IoT platform an inquiry request carrying the device identifier about the binding status of the IoT device to be bound; and receive the binding status sent by the IoT platform , and output the binding state;

所述物联网平台,还用于接收所述问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态,并向所述用户终端反馈所述绑定状态。The IoT platform is further configured to receive the query request, query the binding status of the IoT device to be bound based on the device identifier, and feed back the binding status to the user terminal.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

所述用户终端,还用于向所述物联网平台发送携带有所述登录账号的关于绑定设备的查询请求;接收所述物联网平台发送的绑定设备列表,并输出所述绑定设备列表;The user terminal is further configured to send to the Internet of Things platform a query request for binding devices carrying the login account; receive a list of bound devices sent by the Internet of Things platform, and output the bound devices list;

所述物联网平台,还用于接收所述查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表。The IoT platform is further configured to receive the query request, query the bound device list corresponding to the login account, and send the bound device list to the user terminal.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

所述用户终端,还用于向所述待绑定物联网设备发送配网信息;The user terminal is further configured to send network distribution information to the IoT device to be bound;

每个物联网设备,还用于接收所述配网信息,并基于所述配网信息连接网络。Each IoT device is further configured to receive the distribution network information, and connect to the network based on the distribution network information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

第二方面,本发明实施例提供了一种物联网设备绑定方法,应用于物联网设备绑定系统中的用户终端,所述系统还包括物联网平台和物联网设备;其中,所述物联网设备已接入所述物联网平台;所述方法包括:In the second aspect, the embodiment of the present invention provides a method for binding an IoT device, which is applied to a user terminal in an IoT device binding system, and the system also includes an IoT platform and an IoT device; wherein, the IoT The networked device has been connected to the Internet of Things platform; the method includes:

在使用登录账号登录所述物联网平台后,向所述物联网平台发送携带有所述登录账号的关于临时验证信息的获取请求,以使所述物联网平台接收所述获取请求,生成与所述登录账号对应的临时验证信息,并将所述临时验证信息反馈给所述用户终端;After using the login account to log in to the Internet of Things platform, send to the Internet of Things platform an acquisition request for temporary verification information carrying the login account, so that the Internet of Things platform receives the acquisition request, and generates a request related to the Internet of Things. Temporary verification information corresponding to the login account, and feeding back the temporary verification information to the user terminal;

接收所述物联网平台发送的临时验证信息;receiving the temporary verification information sent by the IoT platform;

基于所述待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息,以使所述待绑定物联网设备接收所述用户终端发送的临时验证信息,并向所述物联网平台发送携带有所述临时验证信息的绑定请求,使得所述物联网平台接收所述绑定请求,对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号,其中,所述待绑定物联网设备为所述物联网设备中的任一个设备。Based on the device identifier of the IoT device to be bound, send the temporary verification information to the IoT device to be bound by means of near field communication, so that the IoT device to be bound receives the transmission from the user terminal temporary verification information, and send a binding request carrying the temporary verification information to the Internet of Things platform, so that the Internet of Things platform receives the binding request, and performs the temporary verification information in the binding request Verify, and when the verification is successful, bind the IoT device to be bound to the login account, wherein the IoT device to be bound is any one of the IoT devices.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收用于表征所述待绑定物联网设备绑定成功的第一推送消息,并输出所述第一推送消息,其中,所述第一推送消息是所述物联网平台在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送的。Receiving a first push message indicating that the binding of the IoT device to be bound is successful, and outputting the first push message, wherein the first push message is that the IoT platform binds the IoT device to be bound successfully. After the Internet of Things device is bound to the login account, it is sent to the user terminal.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

向所述物联网平台发送携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求,以使所述物联网平台接收所述问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态并向所述用户终端反馈所述绑定状态;Sending an inquiry request carrying the device identifier about the binding status of the IoT device to be bound to the Internet of Things platform, so that the Internet of Things platform receives the inquiry request, and based on the device identifier Querying the binding state of the IoT device to be bound and feeding back the binding state to the user terminal;

接收所述物联网平台发送的绑定状态,并输出所述绑定状态。Receive the binding status sent by the IoT platform, and output the binding status.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

向所述物联网平台发送携带有所述登录账号的关于绑定设备的查询请求,以使所述物联网平台接收所述查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表;Sending a query request about a bound device carrying the login account to the IoT platform, so that the IoT platform receives the query request, queries the list of bound devices corresponding to the login account, and sends a query to the IoT platform. The user terminal sends the bound device list;

接收所述物联网平台发送的绑定设备列表,并输出所述绑定设备列表。Receive the bound device list sent by the Internet of Things platform, and output the bound device list.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

向所述待绑定物联网设备发送配网信息,以使所述待绑定物联网设备接收所述配网信息,并基于所述配网信息连接网络。Sending network distribution information to the IoT device to be bound, so that the IoT device to be bound receives the network distribution information and connects to a network based on the network distribution information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

第三方面,本发明实施例提供了一种物联网设备绑定方法,应用于物联网设备绑定系统中的物联网平台,所述系统还包括用户终端和物联网设备;其中,所述物联网设备已接入所述物联网平台;所述方法包括:In the third aspect, the embodiment of the present invention provides an IoT device binding method, which is applied to the IoT platform in the IoT device binding system, and the system also includes a user terminal and an IoT device; wherein, the IoT The networked device has been connected to the Internet of Things platform; the method includes:

接收携带有所述用户终端的登录账号的关于临时验证信息的获取请求,生成与所述登录账号对应的临时验证信息,并将所述临时验证信息反馈给所述用户终端,以使所述用户终端接收所述临时验证信息,基于所述待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息,使得所述待绑定物联网设备接收所述临时验证信息,并向所述物联网平台发送携带有所述临时验证信息的绑定请求;其中,所述获取请求是所述用户终端在使用所述登录账号登录所述物联网平台后,向所述物联网平台发送的;所述待绑定物联网设备为所述物联网设备中的任一个设备;receiving an acquisition request for temporary verification information carrying the login account of the user terminal, generating temporary verification information corresponding to the login account, and feeding back the temporary verification information to the user terminal, so that the user The terminal receives the temporary verification information, and based on the device identifier of the IoT device to be bound, sends the temporary verification information to the IoT device to be bound by means of near field communication, so that the IoT device to be bound The device receives the temporary verification information, and sends a binding request carrying the temporary verification information to the Internet of Things platform; wherein, the acquisition request is that the user terminal uses the login account to log in to the Internet of Things platform, sent to the IoT platform; the IoT device to be bound is any one of the IoT devices;

接收所述绑定请求;receiving the binding request;

对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号。Verifying the temporary verification information in the binding request, and binding the IoT device to be bound to the login account when the verification is successful.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送用于表征所述待绑定物联网设备绑定成功的第一推送消息,以使所述用户终端接收所述第一推送消息,并输出所述第一推送消息。After the IoT device to be bound is bound to the login account, a first push message indicating that the IoT device to be bound is successfully bound is sent to the user terminal, so that the user The terminal receives the first push message, and outputs the first push message.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送用于表征所述待绑定物联网设备绑定成功的第二推送消息,以使所述待绑定物联网设备接收所述第二推送消息。After binding the IoT device to be bound to the login account, sending a second push message indicating that the IoT device to be bound is successfully bound to the IoT device to be bound, to enabling the IoT device to be bound to receive the second push message.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收所述用户终端发送的携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态,并向所述用户终端反馈所述绑定状态,以使所述用户终端接收所述绑定状态,并输出所述绑定状态。Receiving an inquiry request about the binding status of the IoT device to be bound sent by the user terminal carrying the device identifier, and querying the binding status of the IoT device to be bound based on the device identifier , and feed back the binding status to the user terminal, so that the user terminal receives the binding status and outputs the binding status.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收所述用户终端发送的携带有所述登录账号的关于绑定设备的查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表,以使所述用户终端接收所述绑定设备列表,并输出所述绑定设备列表。receiving a query request about a bound device that carries the login account sent by the user terminal, querying a list of bound devices corresponding to the login account, and sending the list of bound devices to the user terminal, so that The user terminal receives the bound device list, and outputs the bound device list.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

第四方面,本发明实施例提供了一种物联网设备绑定方法,应用于物联网设备绑定系统中的物联网设备,所述系统还包括用户终端和物联网平台;其中,所述物联网设备已接入所述物联网平台;所述方法包括:In the fourth aspect, the embodiment of the present invention provides an IoT device binding method, which is applied to the IoT device in the IoT device binding system, and the system also includes a user terminal and an IoT platform; wherein, the IoT The networked device has been connected to the Internet of Things platform; the method includes:

接收所述用户终端发送的临时验证信息;其中,所述临时验证信息是所述用户终端在接收到所述物联网平台反馈的临时验证信息之后,基于待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送的;所述物联网平台反馈的临时验证信息是所述物联网平台在接收到所述用户终端发送的携带有所述用户终端的登录账号的关于临时验证信息的获取请求后,生成的与所述登录账号对应的;所述获取请求是所述用户终端在使用所述登录账号登录所述物联网平台后,向所述物联网平台发送的;所述待绑定物联网设备为所述物联网设备中的任一个设备;receiving the temporary verification information sent by the user terminal; wherein the temporary verification information is based on the device identification of the IoT device to be bound after the user terminal receives the temporary verification information fed back by the Internet of Things platform, using The near-field communication method is sent to the IoT device to be bound; the temporary verification information fed back by the IoT platform is the login account carrying the user terminal sent by the IoT platform after receiving the user terminal. After the acquisition request about the temporary verification information, it is generated corresponding to the login account; the acquisition request is sent to the IoT platform by the user terminal after using the login account to log in to the IoT platform The IoT device to be bound is any one of the IoT devices;

向所述物联网平台发送携带有所述临时验证信息的绑定请求,以使所述物联网平台接收所述绑定请求,对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述用户终端的登录账号。Sending a binding request carrying the temporary verification information to the Internet of Things platform, so that the Internet of Things platform receives the binding request, verifies the temporary verification information in the binding request, and If successful, bind the IoT device to be bound to the login account of the user terminal.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收用于表征所述待绑定物联网设备绑定成功的第二推送消息,并输出所述第二推送消息,其中,所述第二推送消息是所述物联网平台在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送的。receiving a second push message indicating that the binding of the IoT device to be bound is successful, and outputting the second push message, wherein the second push message is that the IoT platform binds the IoT device to be bound After the IoT device is bound to the login account, it is sent to the IoT device to be bound.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收所述用户终端发送的配网信息,并基于所述配网信息连接网络。receiving network distribution information sent by the user terminal, and connecting to a network based on the network distribution information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

第五方面,本发明实施例提供了一种物联网设备绑定装置,应用于物联网设备绑定系统中的用户终端,所述系统还包括物联网平台和物联网设备;其中,所述物联网设备已接入所述物联网平台;所述装置包括:In the fifth aspect, the embodiment of the present invention provides an IoT device binding device, which is applied to a user terminal in an IoT device binding system, and the system also includes an IoT platform and an IoT device; wherein, the IoT Networked equipment has been connected to the Internet of Things platform; the device includes:

获取请求发送模块,用于在使用登录账号登录所述物联网平台后,向所述物联网平台发送携带有所述登录账号的关于临时验证信息的获取请求,以使所述物联网平台接收所述获取请求,生成与所述登录账号对应的临时验证信息,并将所述临时验证信息反馈给所述用户终端;An acquisition request sending module, configured to send an acquisition request for temporary verification information carrying the login account to the Internet of Things platform after logging in to the Internet of Things platform using the login account, so that the Internet of Things platform receives the The acquisition request, generating temporary verification information corresponding to the login account, and feeding back the temporary verification information to the user terminal;

第一接收模块,用于接收所述物联网平台发送的临时验证信息;The first receiving module is used to receive the temporary verification information sent by the Internet of Things platform;

发送模块,用于基于所述待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息,以使所述待绑定物联网设备接收所述用户终端发送的临时验证信息,并向所述物联网平台发送携带有所述临时验证信息的绑定请求,使得所述物联网平台接收所述绑定请求,对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号,其中,所述待绑定物联网设备为所述物联网设备中的任一个设备。A sending module, configured to send the temporary verification information to the IoT device to be bound by means of near field communication based on the device identifier of the IoT device to be bound, so that the IoT device to be bound receives The temporary verification information sent by the user terminal, and sending a binding request carrying the temporary verification information to the Internet of Things platform, so that the Internet of Things platform receives the binding request, and sends the binding request to the Internet of Things platform The temporary verification information is verified, and when the verification is successful, the IoT device to be bound is bound to the login account, wherein the IoT device to be bound is any one of the IoT devices equipment.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第二接收模块,用于接收用于表征所述待绑定物联网设备绑定成功的第一推送消息,并输出所述第一推送消息,其中,所述第一推送消息是所述物联网平台在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送的。The second receiving module is configured to receive a first push message indicating that the binding of the IoT device to be bound is successful, and output the first push message, wherein the first push message is the Internet of Things After the platform binds the IoT device to be bound to the login account, it sends it to the user terminal.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

问询请求发送模块,用于向所述物联网平台发送携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求,以使所述物联网平台接收所述问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态并向所述用户终端反馈所述绑定状态;An inquiry request sending module, configured to send an inquiry request carrying the device identifier about the binding status of the IoT device to be bound to the Internet of Things platform, so that the Internet of Things platform receives the inquiry An inquiry request, based on the device identifier, inquires about the binding status of the IoT device to be bound and feeds back the binding status to the user terminal;

状态输出模块,用于接收所述物联网平台发送的绑定状态,并输出所述绑定状态。A state output module, configured to receive the binding state sent by the Internet of Things platform, and output the binding state.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

查询请求发送模块,用于向所述物联网平台发送携带有所述登录账号的关于绑定设备的查询请求,以使所述物联网平台接收所述查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表;A query request sending module, configured to send a query request about a bound device carrying the login account to the Internet of Things platform, so that the Internet of Things platform receives the query request and queries the binding device corresponding to the login account. Determine a device list, and send the bound device list to the user terminal;

列表输出模块,用于接收所述物联网平台发送的绑定设备列表,并输出所述绑定设备列表。A list output module, configured to receive the list of bound devices sent by the Internet of Things platform, and output the list of bound devices.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

配网信息发送模块,用于向所述待绑定物联网设备发送配网信息,以使所述待绑定物联网设备接收所述配网信息,并基于所述配网信息连接网络。A distribution network information sending module, configured to send distribution network information to the IoT device to be bound, so that the IoT device to be bound receives the distribution network information and connects to the network based on the distribution network information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

第六方面,本发明实施例提供了一种物联网设备绑定装置,应用于物联网设备绑定系统中的物联网平台,所述系统还包括用户终端和物联网设备;其中,所述物联网设备已接入所述物联网平台;所述装置包括:In the sixth aspect, the embodiment of the present invention provides an IoT device binding device, which is applied to the IoT platform in the IoT device binding system, and the system also includes a user terminal and an IoT device; wherein, the IoT Networked equipment has been connected to the Internet of Things platform; the device includes:

生成模块,用于接收携带有所述用户终端的登录账号的关于临时验证信息的获取请求,生成与所述登录账号对应的临时验证信息,并将所述临时验证信息反馈给所述用户终端,以使所述用户终端接收所述临时验证信息,基于所述待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息,使得所述待绑定物联网设备接收所述临时验证信息,并向所述物联网平台发送携带有所述临时验证信息的绑定请求;其中,所述获取请求是所述用户终端在使用所述登录账号登录所述物联网平台后,向所述物联网平台发送的;所述待绑定物联网设备为所述物联网设备中的任一个设备;A generating module, configured to receive an acquisition request for temporary verification information carrying the login account of the user terminal, generate temporary verification information corresponding to the login account, and feed back the temporary verification information to the user terminal, In order for the user terminal to receive the temporary verification information, based on the device identifier of the IoT device to be bound, send the temporary verification information to the IoT device to be bound by means of near field communication, so that the The Internet of Things device to be bound receives the temporary verification information, and sends a binding request carrying the temporary verification information to the Internet of Things platform; wherein, the acquisition request is that the user terminal is using the login account After logging into the IoT platform, it is sent to the IoT platform; the IoT device to be bound is any one of the IoT devices;

绑定请求接收模块,用于接收所述绑定请求;A binding request receiving module, configured to receive the binding request;

绑定模块,用于对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号。The binding module is configured to verify the temporary verification information in the binding request, and bind the IoT device to be bound to the login account when the verification is successful.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第一输出模块,用于在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送用于表征所述待绑定物联网设备绑定成功的第一推送消息,以使所述用户终端接收所述第一推送消息,并输出所述第一推送消息。The first output module is configured to, after binding the IoT device to be bound to the login account, send to the user terminal a first push indicating that the binding of the IoT device to be bound is successful message, so that the user terminal receives the first push message and outputs the first push message.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第二输出模块,用于在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送用于表征所述待绑定物联网设备绑定成功的第二推送消息,以使所述待绑定物联网设备接收所述第二推送消息。The second output module is configured to, after binding the IoT device to be bound to the login account, send a message indicating that the IoT device to be bound is successfully bound to the IoT device to be bound. The second push message, so that the IoT device to be bound receives the second push message.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第一查询模块,用于接收所述用户终端发送的携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态,并向所述用户终端反馈所述绑定状态,以使所述用户终端接收所述绑定状态,并输出所述绑定状态。The first query module is configured to receive an inquiry request about the binding state of the IoT device to be bound sent by the user terminal that carries the device identifier, and query the to-be-bound IoT device based on the device identifier The binding state of the IoT device, and feeding back the binding state to the user terminal, so that the user terminal receives the binding state and outputs the binding state.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第二查询模块,用于接收所述用户终端发送的携带有所述登录账号的关于绑定设备的查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表,以使所述用户终端接收所述绑定设备列表,并输出所述绑定设备列表。The second query module is configured to receive the query request about the bound device carrying the login account sent by the user terminal, query the list of bound devices corresponding to the login account, and send the user terminal the binding the device list, so that the user terminal receives the bound device list and outputs the bound device list.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

第七方面,本发明实施例提供了一种物联网设备绑定装置,应用于物联网设备绑定系统中的物联网设备,所述系统还包括用户终端和物联网平台;其中,所述物联网设备已接入所述物联网平台;所述装置包括:In the seventh aspect, the embodiment of the present invention provides an IoT device binding device, which is applied to the IoT device in the IoT device binding system, and the system also includes a user terminal and an IoT platform; wherein, the IoT Networked equipment has been connected to the Internet of Things platform; the device includes:

验证信息接收模块,用于接收所述用户终端发送的临时验证信息;其中,所述临时验证信息是所述用户终端在接收到所述物联网平台反馈的临时验证信息之后,基于待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送的;所述物联网平台反馈的临时验证信息是所述物联网平台在接收到所述用户终端发送的携带有所述用户终端的登录账号的关于临时验证信息的获取请求后,生成的与所述登录账号对应的;所述获取请求是所述用户终端在使用所述登录账号登录所述物联网平台后,向所述物联网平台发送的;所述待绑定物联网设备为所述物联网设备中的任一个设备;The verification information receiving module is configured to receive the temporary verification information sent by the user terminal; wherein, the temporary verification information is based on the user terminal after receiving the temporary verification information fed back by the Internet of Things platform. The device identification of the networked device is sent to the IoT device to be bound by means of near-field communication; the temporary verification information fed back by the IoT platform is that the IoT platform receives the information sent by the user terminal and carries the After the login account of the user terminal obtains a request for temporary verification information, it is generated corresponding to the login account; the acquisition request is after the user terminal logs in to the Internet of Things platform using the login account, sent to the IoT platform; the IoT device to be bound is any one of the IoT devices;

绑定请求发送模块,用于向所述物联网平台发送携带有所述临时验证信息的绑定请求,以使所述物联网平台接收所述绑定请求,对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述用户终端的登录账号。A binding request sending module, configured to send a binding request carrying the temporary verification information to the Internet of Things platform, so that the Internet of Things platform receives the binding request, and the temporary verification information in the binding request The verification information is verified, and when the verification is successful, the IoT device to be bound is bound to the login account of the user terminal.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第三接收模块,用于接收用于表征所述待绑定物联网设备绑定成功的第二推送消息,并输出所述第二推送消息,其中,所述第二推送消息是所述物联网平台在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送的。The third receiving module is configured to receive a second push message indicating that the binding of the IoT device to be bound is successful, and output the second push message, wherein the second push message is the Internet of Things After the platform binds the IoT device to be bound to the login account, it sends it to the IoT device to be bound.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第四接收模块,用于接收所述用户终端发送的配网信息,并基于所述配网信息连接网络。The fourth receiving module is configured to receive the network distribution information sent by the user terminal, and connect to the network based on the network distribution information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

第八方面,本发明实施例提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In an eighth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;

存储器,用于存放计算机程序;memory for storing computer programs;

处理器,用于执行存储器上所存放的程序时,实现上述任一方法实施例的步骤。The processor is configured to implement the steps in any one of the above method embodiments when executing the program stored in the memory.

第九方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法实施例的步骤。In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the above method embodiments are implemented.

第十方面,本发明实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一方法实施例的步骤。In a tenth aspect, the embodiments of the present invention further provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute the steps of any one of the above method embodiments.

本发明实施例有益效果:Beneficial effects of the embodiments of the present invention:

以上可见,应用本发明实施例提供的方案,对于已接入物联网平台的物联网设备,在希望将该物联网设备绑定至某个用户在物联网平台的登录账号时,可以将该物联网设备作为待绑定物联网设备,从而,所希望绑定至的登录账号的用户,便可以在其用户终端通过登录账号登录物联网平台,并向物联网平台发送携带有登录账号的关于临时验证信息的获取请求;这样,物联网平台可以接收上述获取请求,生成与登录账号对应的临时验证信息,并将上述临时验证信息反馈给用户终端。用户终端在接收物联网平台发送的临时验证信息后,可以基于待绑定物联网设备的设备标识,利用近场通信方式向待绑定物联网设备发送上述临时验证信息。从而,待绑定物联网设备可以接收用户终端发送的临时验证信息,并向物联网平台发送携带有临时验证信息的绑定请求。进而,物联网平台可以接收上述绑定请求,对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备绑定至上述登录账号。It can be seen from the above that, applying the solution provided by the embodiment of the present invention, for an IoT device that has been connected to the IoT platform, when it is desired to bind the IoT device to a user's login account on the IoT platform, the IoT device can be The Internet-connected device is the IoT device to be bound. Therefore, the user who wants to bind the login account can log in to the IoT platform through the login account on his user terminal, and send a temporary message carrying the login account to the IoT platform. An acquisition request for verification information; in this way, the Internet of Things platform can receive the above-mentioned acquisition request, generate temporary verification information corresponding to the login account, and feed back the above-mentioned temporary verification information to the user terminal. After receiving the temporary verification information sent by the Internet of Things platform, the user terminal may send the temporary verification information to the Internet of Things device to be bound by means of near-field communication based on the device identifier of the Internet of Things device to be bound. Therefore, the IoT device to be bound can receive the temporary verification information sent by the user terminal, and send a binding request carrying the temporary verification information to the IoT platform. Furthermore, the IoT platform may receive the binding request, verify the temporary verification information in the binding request, and bind the IoT device to be bound to the login account when the verification is successful.

基于此,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。Based on this, the binding of the IoT device to be bound and the user's login account is realized through the IoT platform to verify the temporary verification information sent by the IoT device to be bound, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的实施例。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and those skilled in the art can also obtain other embodiments according to these drawings.

图1为本发明实施例提供的物联网设备绑定系统的一种示意图;FIG. 1 is a schematic diagram of an IoT device binding system provided by an embodiment of the present invention;

图2为本发明实施例提供的物联网设备绑定系统的一种信令交互示意图;FIG. 2 is a schematic diagram of signaling interaction of an IoT device binding system provided by an embodiment of the present invention;

图3为本发明实施例提供的物联网设备绑定系统的具体实例图;FIG. 3 is a diagram of a specific example of an IoT device binding system provided by an embodiment of the present invention;

图4为本发明实施例提供的一种物联网设备绑定方法的流程图;FIG. 4 is a flowchart of a method for binding an Internet of Things device provided by an embodiment of the present invention;

图5为本发明实施例提供的另一种物联网设备绑定方法的流程图;FIG. 5 is a flow chart of another IoT device binding method provided by an embodiment of the present invention;

图6为本发明实施例提供的又一种物联网设备绑定方法的流程图;FIG. 6 is a flow chart of another IoT device binding method provided by an embodiment of the present invention;

图7为本发明实施例提供的一种物联网设备绑定装置的结构示意图;FIG. 7 is a schematic structural diagram of an IoT device binding device provided by an embodiment of the present invention;

图8为本发明实施例提供的一种物联网设备绑定装置的结构示意图;FIG. 8 is a schematic structural diagram of an IoT device binding device provided by an embodiment of the present invention;

图9为本发明实施例提供的又一种物联网设备绑定装置的结构示意图;FIG. 9 is a schematic structural diagram of another IoT device binding device provided by an embodiment of the present invention;

图10为本发明实施例提供的电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员基于本申请所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art based on the present application belong to the protection scope of the present invention.

相关技术中,电子设备向物联网平台发送携带自身设备标识的注册请求进行设备注册,并在注册成功后接入物联网平台。这样,具有该电子设备的控制权限的用户便可以利用该电子设备的设备标识将该电子设备绑定到该用户在物联网平台的用户账号下,并在绑定完成后通过物联网平台对该电子设备进行远程操作。In related technologies, the electronic device sends a registration request carrying its own device identification to the Internet of Things platform for device registration, and accesses the Internet of Things platform after successful registration. In this way, the user with the control authority of the electronic device can use the device identification of the electronic device to bind the electronic device to the user account of the user on the Internet of Things platform, and after the binding is completed, the Electronic devices are operated remotely.

然而,在上述相关技术中,存在由于电子设备的设备标识被泄漏,导致不具备电子设备的控制权限的用户盗用电子设备的设备标识,在物联网平台中将电子设备绑定到自身的用户账号下,并对电子设备进行远程操作的风险,进而,影响该电子设备的运行安全。However, in the above-mentioned related technologies, due to the leakage of the device identification of the electronic device, the user who does not have the control authority of the electronic device misappropriates the device identification of the electronic device, and binds the electronic device to his own user account in the Internet of Things platform. risk of remote operation of electronic equipment, which in turn affects the operational safety of the electronic equipment.

为了解决上述技术问题,本发明实施例提供了一种物联网设备绑定系统,该系统包括用户终端、物联网平台和物联网设备,其中,物联网设备已接入物联网平台。In order to solve the above technical problems, an embodiment of the present invention provides an IoT device binding system, the system includes a user terminal, an IoT platform, and an IoT device, wherein the IoT device has been connected to the IoT platform.

其中,该物联网设备绑定系统适用于存在对物联网设备与用户的登录账号进行绑定的各类场景,例如,在家庭中,用户希望将智能家居设备绑定至用户在物联网平台的登录账号,以通过物联网平台控制实现对智能家居设备的控制;又例如,企业中,工作人员希望将车间内的视频监控设备绑定至企业在物联网平台的登录账号,以通过物联网平台查看每个视频监控设备所采集到的监控视频等。基于此,本发明实施例不对该系统的应用场景进行具体限定。Among them, the IoT device binding system is applicable to various scenarios where IoT devices are bound to the user's login account. Login account to realize the control of smart home devices through the control of the IoT platform; another example, in an enterprise, the staff want to bind the video surveillance equipment in the workshop to the login account of the enterprise on the IoT View the surveillance video collected by each video surveillance device, etc. Based on this, the embodiment of the present invention does not specifically limit the application scenario of the system.

本发明实施例提供的物联网设备绑定系统包括:用户终端、物联网平台和物联网设备。The Internet of Things device binding system provided by the embodiment of the present invention includes: a user terminal, an Internet of Things platform, and an Internet of Things device.

所谓物联网平台是可以提供物联接入、中台服务能力的平台,并且,物联网平台可以是集成有设备绑定功能模块的独立电子设备,也可以是多台电子设备构成的设备集群。The so-called Internet of Things platform is a platform that can provide Internet of Things access and middle-end service capabilities, and the Internet of Things platform can be an independent electronic device integrated with a device binding function module, or a device cluster composed of multiple electronic devices.

所谓物联网设备,是具备整体感知、可靠传输和智能处理能力的各类电子设备,如视频监控类设备、智能家居设备等。The so-called Internet of Things devices are all kinds of electronic devices with overall perception, reliable transmission and intelligent processing capabilities, such as video surveillance equipment, smart home equipment, etc.

在需要接入物联网平台时,物联网设备可以向物联网平台发送携带有自身设备标识的接入请求,这样,物联网平台在接收上述接入请求后,可以根据上述设备标识对上述物联网设备进行校验,并在校验通过后接入上述物联网设备,这样,上述物联网设备即可以通过物联网平台实现与其他终端的通信连接。When it is necessary to access the IoT platform, the IoT device can send an access request carrying its own device identification to the IoT platform. In this way, after receiving the above access request, the IoT platform can use the above device identification to identify the above IoT device. The device is verified and connected to the above-mentioned IoT device after the verification is passed, so that the above-mentioned IoT device can realize communication connection with other terminals through the Internet of Things platform.

可选的,物联网平台可以根据上述设备标识校验上述物联网设备是否为假冒伪劣产品,进而,在上述物联网设备的设备标识表征上述物联网设备不是假冒伪劣产品时,确定上述物联网设备通过校验;Optionally, the IoT platform can verify whether the aforementioned IoT device is a counterfeit or shoddy product based on the aforementioned device identifier, and then determine that the aforementioned IoT device is not a counterfeit or shoddy product when the device identifier of the aforementioned IoT device indicates that the aforementioned IoT device pass verification;

可选的,物联网平台可以根据上述设备标识,确定上述物联网设备是否在预设的使用范围,进而,在校验到上述物联网设备不在上述使用范围内时,确定上述物联网设备未通过校验。Optionally, the Internet of Things platform can determine whether the above-mentioned IoT device is within the preset range of use according to the above-mentioned device identification, and then, when it is verified that the above-mentioned IoT device is not within the above-mentioned range of use, determine that the above-mentioned IoT device has failed check.

上述用户终端可以是各类可以登录物联网平台且与物联网设备近场通信的电子设备,例如,用户使用的手机;又例如,绑定至用户的登录账号的任一物联网设备;并且,为了实现上述物联网设备绑定功能,可以在用户终端中安装具备物联网设备绑定功能的app,也可以在用户终端的功能模块中加一个实现绑定的功能模块;这都是合理的,在本发明实施例中不做具体限定。The above-mentioned user terminal may be various electronic devices that can log in to the IoT platform and communicate with the IoT device in near field, for example, a mobile phone used by the user; another example, any IoT device that is bound to the user's login account; and, In order to realize the above IoT device binding function, an app with IoT device binding function can be installed in the user terminal, or a functional module for realizing binding can be added to the functional module of the user terminal; this is reasonable, It is not specifically limited in the embodiment of the present invention.

通常一个物联网设备可以被绑定至一个登录账号,而每一个登录账号可以绑定多个物联网设备,基于此,可以根据实际需要设置该系统中的用户终端和物联网设备的数量,在本发明实施例中不对上述用户终端和物联网设备的数量进行具体限定。例如,可以将物联网平台中所接入的且未被绑定的全部物联网设备确定为该物联网设备绑定系统中的物联网设备。Usually an IoT device can be bound to a login account, and each login account can be bound to multiple IoT devices. Based on this, the number of user terminals and IoT devices in the system can be set according to actual needs. In the embodiment of the present invention, there is no specific limitation on the quantity of the above-mentioned user terminals and IoT devices. For example, all IoT devices connected to the IoT platform and not bound can be determined as IoT devices in the IoT device binding system.

其中,在本发明实施例提供的物联网设备绑定系统中,Among them, in the IoT device binding system provided by the embodiment of the present invention,

所述用户终端,用于在使用登录账号登录所述物联网平台后,向所述物联网平台发送携带有所述登录账号的关于临时验证信息的获取请求;接收所述物联网平台发送的临时验证信息;基于待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息;其中,所述待绑定物联网设备为所述物联网设备中的任一个设备;The user terminal is configured to, after logging into the IoT platform using a login account, send to the IoT platform an acquisition request for temporary verification information carrying the login account; and receive the temporary verification information sent by the IoT platform. Verification information; based on the device identification of the IoT device to be bound, send the temporary verification information to the IoT device to be bound by using near-field communication; wherein, the IoT device to be bound is the Internet of Things any of the devices;

所述物联网平台,用于接收所述获取请求,生成与所述登录账号对应的临时验证信息,并将所述临时验证信息反馈给所述用户终端;接收所述待绑定物联网设备发送的携带有所述临时验证信息的绑定请求;对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号;The IoT platform is configured to receive the acquisition request, generate temporary verification information corresponding to the login account, and feed back the temporary verification information to the user terminal; receive the information sent by the IoT device to be bound. a binding request carrying the temporary verification information; verifying the temporary verification information in the binding request, and binding the IoT device to be bound to the login account when the verification is successful;

每个物联网设备,用于接收所述用户终端发送的临时验证信息,并向所述物联网平台发送所述绑定请求。Each IoT device is configured to receive the temporary verification information sent by the user terminal, and send the binding request to the IoT platform.

以上可见,应用本发明实施例提供的方案,对于已接入物联网平台的物联网设备,在希望将该物联网设备绑定至某个用户在物联网平台的登录账号时,可以将该物联网设备作为待绑定物联网设备,从而,所希望绑定至的登录账号的用户,便可以在其用户终端通过登录账号登录物联网平台,并向物联网平台发送携带有登录账号的关于临时验证信息的获取请求;这样,物联网平台可以接收上述获取请求,生成与登录账号对应的临时验证信息,并将上述临时验证信息反馈给用户终端。用户终端在接收物联网平台发送的临时验证信息后,可以基于待绑定物联网设备的设备标识,利用近场通信方式向待绑定物联网设备发送上述临时验证信息。从而,待绑定物联网设备可以接收用户终端发送的临时验证信息,并向物联网平台发送携带有临时验证信息的绑定请求。进而,物联网平台可以接收上述绑定请求,对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备绑定至上述登录账号。It can be seen from the above that, applying the solution provided by the embodiment of the present invention, for an IoT device that has been connected to the IoT platform, when it is desired to bind the IoT device to a user's login account on the IoT platform, the IoT device can be The Internet-connected device is the IoT device to be bound. Therefore, the user who wants to bind the login account can log in to the IoT platform through the login account on his user terminal, and send a temporary message carrying the login account to the IoT platform. An acquisition request for verification information; in this way, the Internet of Things platform can receive the above-mentioned acquisition request, generate temporary verification information corresponding to the login account, and feed back the above-mentioned temporary verification information to the user terminal. After receiving the temporary verification information sent by the Internet of Things platform, the user terminal may send the temporary verification information to the Internet of Things device to be bound by means of near-field communication based on the device identifier of the Internet of Things device to be bound. Therefore, the IoT device to be bound can receive the temporary verification information sent by the user terminal, and send a binding request carrying the temporary verification information to the IoT platform. Furthermore, the IoT platform may receive the binding request, verify the temporary verification information in the binding request, and bind the IoT device to be bound to the login account when the verification is successful.

基于此,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。Based on this, the binding of the IoT device to be bound and the user's login account is realized through the IoT platform to verify the temporary verification information sent by the IoT device to be bound, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

下面,结合附图,对本发明实施例提供的一种物联网设备绑定系统进行具体说明。In the following, a system for binding an Internet of Things device provided by an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

图1为本发明实施例提供的一种物联网设备绑定系统的示意图,如图1所示,该系统可以包括用户终端100、物联网平台200和物联网设备300,其中,物联网设备300已接入物联网平台200;FIG. 1 is a schematic diagram of an IoT device binding system provided by an embodiment of the present invention. As shown in FIG. Has been connected to the Internet of Things platform 200;

用户终端100,用于在使用登录账号登录物联网平台200后,向物联网平台200发送携带有登录账号的关于临时验证信息的获取请求;接收物联网平台200发送的临时验证信息;基于待绑定物联网设备300的设备标识,利用近场通信方式向待绑定物联网设备300发送临时验证信息;其中,待绑定物联网设备300为物联网设备300中的任一个设备;The user terminal 100 is used to log in to the Internet of Things platform 200 using the login account, and send to the Internet of Things platform 200 a request for obtaining temporary verification information that carries the login account; receive the temporary verification information sent by the Internet of Things platform 200; Determine the device identification of the Internet of Things device 300, and send temporary verification information to the Internet of Things device 300 to be bound by means of near-field communication; wherein, the Internet of Things device 300 to be bound is any device in the Internet of Things device 300;

物联网平台200,用于接收获取请求,生成与登录账号对应的临时验证信息,并将临时验证信息反馈给用户终端100;接收待绑定物联网设备300发送的携带有临时验证信息的绑定请求;对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备300绑定至登录账号;The Internet of Things platform 200 is configured to receive the acquisition request, generate temporary verification information corresponding to the login account, and feed back the temporary verification information to the user terminal 100; receive the binding information carrying the temporary verification information sent by the IoT device 300 to be bound. request; verify the temporary verification information in the binding request, and bind the IoT device 300 to be bound to the login account when the verification is successful;

每个物联网设备300,用于接收用户终端100发送的临时验证信息,并向物联网平台200发送绑定请求。Each IoT device 300 is configured to receive the temporary verification information sent by the user terminal 100 and send a binding request to the IoT platform 200 .

下面,结合上述物联网设备绑定系统中的用户终端100、物联网平台200和待绑定物联网设备300的信令交互过程,对图1所示的本发明实施例提供的物联网设备绑定系统进行具体说明。Next, in combination with the signaling interaction process of the user terminal 100, the IoT platform 200, and the IoT device 300 to be bound in the above IoT device binding system, the IoT device binding provided by the embodiment of the present invention shown in FIG. 1 The system will be described in detail.

图2为本发明实施例提供的物联网设备绑定系统的一种信令交互示意图,如图2所示,上述物联网设备绑定系统中的用户终端100、物联网平台200和待绑定物联网设备300的交互过程可以包括以下步骤S201-S209。Fig. 2 is a schematic diagram of signaling interaction of the Internet of Things device binding system provided by the embodiment of the present invention. As shown in Fig. 2, the user terminal 100, the Internet of Things platform 200 and the The interaction process of the IoT device 300 may include the following steps S201-S209.

S201:用户终端100在使用登录账号登录物联网平台200后,向物联网平台200发送携带有登录账号的关于临时验证信息的获取请求;S201: After the user terminal 100 logs in to the Internet of Things platform 200 using the login account, it sends to the Internet of Things platform 200 a request for obtaining temporary verification information carrying the login account;

对于用户而言,当希望通过所使用的用户终端100对物联网平台200中已接入的物联网设备300进行控制时,该用户所使用的用户终端100需要首先接入物联网平台200中,因此,用户需要首先在物联网平台100进行注册,并获得登录物联网平台100的登录账号。For the user, when he wants to control the connected IoT device 300 in the IoT platform 200 through the user terminal 100, the user terminal 100 used by the user needs to first access the IoT platform 200, Therefore, the user needs to register on the Internet of Things platform 100 first, and obtain a login account for logging in to the Internet of Things platform 100 .

可选的,上述登录账号中可以包括用户名和/或登录密码。Optionally, the above-mentioned login account may include a user name and/or a login password.

这样,由于用户可以使用用户终端100通过物联网平台200控制的物联网设备300,需要是绑定到自身登录账号下的物联网设备300,因此,当用户想要使用用户终端100对物联网设备300进行控制时,需要首先绑定该物联网设备300。进而,为了实现物联网设备300与自身登录账号的绑定,用户可以使用用户终端100通过登录账号登录物联网平台200,之后,向物联网平台200发送携带有自身登录账号的关于临时验证信息的获取请求。In this way, since the user can use the IoT device 300 controlled by the user terminal 100 through the IoT platform 200, it needs to be bound to the IoT device 300 under his own login account. Therefore, when the user wants to use the user terminal 100 to control the IoT device When the 300 performs control, it needs to bind the IoT device 300 first. Furthermore, in order to realize the binding of the Internet of Things device 300 and its own login account, the user can use the user terminal 100 to log in to the Internet of Things platform 200 through the login account, and then send to the Internet of Things platform 200 a message carrying the temporary verification information of the own login account. Get request.

其中,所谓使用登录账号登录物联网平台是指:使用上述登录账号登录用户终端100上的物联网平台200的APP,和/或,物联网平台200的操作页面,这样,用户可以使用用户终端100通过上述物联网平台200的APP,和/或,物联网平台200的操作页面与物联网平台200进行信令交互。Wherein, the so-called logging into the Internet of Things platform using a login account refers to: using the above-mentioned login account to log in to the APP of the Internet of Things platform 200 on the user terminal 100, and/or, the operation page of the Internet of Things platform 200, so that the user can use the user terminal 100 Signaling interaction with the Internet of Things platform 200 is performed through the APP of the Internet of Things platform 200 and/or the operation page of the Internet of Things platform 200 .

可选的,用户可以在所使用的用户终端100下载物联网平台200的APP(Application,应用程序),之后,使用上述登录账号登录上述APP,并通过该APP向物联网平台200发送携带有登录账号的关于临时验证信息的获取请求。Optionally, the user can download the APP (Application, application program) of the Internet of Things platform 200 on the user terminal 100 used, and then use the above-mentioned login account to log in to the above-mentioned APP, and send a message carrying the login information to the Internet of Things platform 200 through the APP. A request for obtaining temporary verification information of an account.

可选的,用户可以在所使用的用户终端100打开物联网平台的操作页面,之后,使用上述登录账号在上述操作页面进行登录,并通过该操作页面向物联网平台200发送携带有登录账号的关于临时验证信息的获取请求。Optionally, the user can open the operation page of the Internet of Things platform on the user terminal 100 used, and then use the above-mentioned login account to log in on the above-mentioned operation page, and send a message carrying the login account to the Internet of Things platform 200 through the operation page. A request for obtaining temporary authentication information.

S202:物联网平台200接收用户终端100发送的获取请求,生成与登录账号对应的临时验证信息;S202: The Internet of Things platform 200 receives the acquisition request sent by the user terminal 100, and generates temporary verification information corresponding to the login account;

S203:物联网平台200将临时验证信息反馈给用户终端100;S203: The IoT platform 200 feeds back the temporary verification information to the user terminal 100;

物联网平台200可以接收用户终端100发送的上述获取请求,之后,根据上述获取请求中所携带的登录账号,生成与该登录账号相对应的临时验证信息,并将所生成的临时验证信息反馈给用户终端100。The Internet of Things platform 200 may receive the above acquisition request sent by the user terminal 100, and then, according to the login account carried in the above acquisition request, generate temporary verification information corresponding to the login account, and feed back the generated temporary verification information to User terminal 100.

其中,上述临时验证信息用于在将待绑定物联网设备绑定至登录账号时,验证拥有上述登录账号的用户是否拥有上述待绑定物联网设备绑定的控制权限。该临时验证信息可以是与登录账号相对应的用户token(令牌),也可以是与登录账号相对应的动态口令,并且,该临时验证信息在预设时限内有效,上述预设时限可以是2小时,也可以是10分钟,还可以是1天,这都是合理的,在本发明实施例中不对上述临时验证信息的具体类型和有效时限做具体限定。Wherein, the above-mentioned temporary verification information is used to verify whether the user with the above-mentioned login account has the control authority for binding the above-mentioned Internet of Things device to be bound when the IoT device to be bound is bound to the login account. The temporary verification information can be a user token (token) corresponding to the login account, or a dynamic password corresponding to the login account, and the temporary verification information is valid within a preset time limit, and the above-mentioned preset time limit can be 2 hours, 10 minutes, or 1 day are all reasonable. In the embodiment of the present invention, the specific type and effective time limit of the above-mentioned temporary verification information are not specifically limited.

S204:用户终端100接收物联网平台200发送的临时验证信息;S204: The user terminal 100 receives the temporary verification information sent by the IoT platform 200;

S205:用户终端100基于待绑定物联网设备300的设备标识,利用近场通信方式向待绑定物联网设备300发送临时验证信息;S205: Based on the device identification of the IoT device 300 to be bound, the user terminal 100 sends temporary verification information to the IoT device 300 to be bound by means of near field communication;

用户可以通过物联网平台200,确定自身想要绑定且已接入物联网平台200的物联网设备300,作为待绑定物联网设备300,进而,可以确定该待绑定物联网设备300的设备标识。Users can use the IoT platform 200 to determine the IoT device 300 that they want to bind and have access to the IoT platform 200 as the IoT device 300 to be bound, and then determine the IoT device 300 to be bound. Equipment Identity.

可选的,用户可以首先在用户终端100上查看已接入的物联网平台200的物联网设备,之后,可以确定每个物联网设备与该用户所使用的用户终端100之间的距离,进而,在与用户终端100可以进行近场通信的物联网设备300中确定待绑定物联网设备300,并获取该待绑定物联网设备300的设备标识;Optionally, the user can first view the IoT devices connected to the IoT platform 200 on the user terminal 100, and then determine the distance between each IoT device and the user terminal 100 used by the user, and then , determining the IoT device 300 to be bound in the IoT device 300 that can perform near-field communication with the user terminal 100, and acquiring the device identifier of the IoT device 300 to be bound;

可选的,用户可以首先确定可以与所使用的用户终端进行近场通信的设备,之后,查看该设备是否已接入物联网平台200,若该设备已接入物联网平台200,可以将该设备作为待绑定物联网设备,若该设备为接入物联网平台200,可以对该设备执行接入物联网平台200的相关操作,并在该设备接入物联网平台200后,将该设备作为待绑定物联网设备,进而,获取该设备的设备标识。Optionally, the user can first determine the device that can perform near-field communication with the user terminal used, and then check whether the device has been connected to the Internet of Things platform 200. If the device has been connected to the Internet of Things platform 200, the A device is an IoT device to be bound. If the device is connected to the IoT platform 200, related operations for accessing the device to the IoT platform 200 can be performed, and after the device is connected to the IoT platform 200, the device can be As an IoT device to be bound, the device ID of the device is obtained.

这样,用户终端100在接收物联网平台200发送的临时验证信息后,可以通过待绑定物联网设备300的设备标识,利用近场通信方式将上述临时验证信息发送给待绑定物联网设备300。In this way, after receiving the temporary verification information sent by the IoT platform 200, the user terminal 100 can send the temporary verification information to the IoT device 300 to be bound by means of near-field communication through the device identification of the IoT device 300 to be bound. .

其中,上述待绑定物联网设备的设备标识可以是设备名称、设备序列号,也可以是设备通信地址,还可以是设备验证码,这都是合理的,在本发明实施例中不做具体限定。Among them, the device identifier of the above-mentioned IoT device to be bound can be the device name, the device serial number, the device communication address, or the device verification code, which are all reasonable and will not be described in detail in the embodiment of the present invention limited.

可选的,上述近场通信方式可以包括:NFC(Near Field Communication,进场通信技术)、蓝牙传输或局域网通信。Optionally, the foregoing near field communication manner may include: NFC (Near Field Communication, approach communication technology), Bluetooth transmission or local area network communication.

所谓NFC是一种短距离的高频无线通信技术,使用NFC技术的设备可以在彼此靠近的情况下进行数据交换。The so-called NFC is a short-range high-frequency wireless communication technology. Devices using NFC technology can exchange data when they are close to each other.

所谓局域网通信即局域网即时通信,是基于某一空间内部局域网使用的即时通信。The so-called local area network communication is local area network instant communication, which is based on the instant communication used by the internal local area network of a certain space.

其中,当用户终端100和待绑定物联网设备300处于同一局域网时,用户终端100可以待绑定物联网设备300的设备标识,通过该同一局域网将上述临时验证信息发送给待绑定物联网设备300。Wherein, when the user terminal 100 and the IoT device 300 to be bound are in the same local area network, the user terminal 100 can send the above-mentioned temporary verification information to the IoT device to be bound through the same local area network with the device identifier of the IoT device 300 to be bound. device 300.

所谓蓝牙(Bluetooth)是一种无线数据和语音通信开放的全球规范,它是基于低成本的近距离无线连接,为固定和移动设备建立通信环境的一种特殊的近距离无线技术连接。The so-called Bluetooth (Bluetooth) is an open global specification for wireless data and voice communication. It is based on a low-cost short-range wireless connection and a special short-range wireless technology connection for establishing a communication environment for fixed and mobile devices.

其中,可以开启用户终端100和待绑定物联网设备300各自的蓝牙开关,从而,用户终端100在获得待绑定物联网设备300的设备名称,作为待绑定物联网设备300的设备标识后,可以在自身蓝牙可以连接到的设备列表中查找上述设备名称,从而,可以利用蓝牙传输向待绑定物联网设备300发送上述临时验证信息。Wherein, the respective Bluetooth switches of the user terminal 100 and the IoT device 300 to be bound can be turned on, so that after the user terminal 100 obtains the device name of the IoT device 300 to be bound as the device identifier of the IoT device 300 to be bound , the above-mentioned device name can be searched in the device list to which the own Bluetooth can be connected, so that the above-mentioned temporary verification information can be sent to the IoT device 300 to be bound by using Bluetooth transmission.

S206:待绑定物联网设备300接收用户终端100发送的临时验证信息;S206: The IoT device 300 to be bound receives the temporary verification information sent by the user terminal 100;

S207:待绑定物联网设备300向物联网平台200发送绑定请求;S207: The IoT device 300 to be bound sends a binding request to the IoT platform 200;

待绑定物联网设备300接收用户终端100发送的临时验证信息,之后,可以生成携带有上述临时验证信息的绑定请求,并将上述绑定请求发送给物联网平台200。After receiving the temporary verification information sent by the user terminal 100 , the IoT device 300 to be bound may generate a binding request carrying the temporary verification information, and send the binding request to the IoT platform 200 .

例如,待绑定物联网设备300在接收到上述临时验证信息时,可以显示上述临时验证信息,这样,用户可以控制待绑定物联网设备300向物联网平台200发送携带有上述临时验证信息的绑定请求;For example, when the IoT device 300 to be bound receives the temporary verification information, it can display the temporary verification information. In this way, the user can control the IoT device 300 to be bound to send a message carrying the temporary verification information to the IoT platform 200. binding request;

例如,待绑定物联网设备300在接收到上述临时验证信息时,可以无需用户控制,自动向物联网平台200发送携带有上述临时验证信息的绑定请求。For example, when the IoT device 300 to be bound receives the temporary verification information, it may automatically send a binding request carrying the temporary verification information to the IoT platform 200 without user control.

S208:物联网平台200接收待绑定物联网设备300发送的携带有临时验证信息的绑定请求;S208: The IoT platform 200 receives a binding request carrying temporary verification information sent by the IoT device 300 to be bound;

S209:物联网平台200对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备300绑定至登录账号。S209: The IoT platform 200 verifies the temporary verification information in the binding request, and binds the IoT device 300 to be bound to the login account when the verification is successful.

物联网平台200可以接收上述待绑定物联网设备300发送的绑定请求,获取上述绑定请求中的临时验证信息,并对上述绑定请求中的临时验证信息进行验证。之后,在上述临时验证信息验证成功时,将上述待绑定物联网设备300绑定至上述临时验证信息所对应的登录账号下。The IoT platform 200 may receive the binding request sent by the IoT device 300 to be bound, acquire the temporary verification information in the binding request, and verify the temporary verification information in the binding request. Afterwards, when the verification of the temporary verification information is successful, the IoT device 300 to be bound is bound to the login account corresponding to the temporary verification information.

可选的,物联网平台200可以验证该临时验证信息的信息格式是否符合物联网平台200所生产的临时验证信息的格式规范;Optionally, the Internet of Things platform 200 can verify whether the information format of the temporary verification information conforms to the format specification of the temporary verification information produced by the Internet of Things platform 200;

可选的,物联网平台200可以验证该临时验证信息是否因已超过该临时验证信息的预设时限而失效;Optionally, the IoT platform 200 may verify whether the temporary verification information has expired because the preset time limit of the temporary verification information has exceeded;

可选的,物联网平台200在生成每个登录账号对应的临时验证信息时,可以记录该临时验证信息和用户账号的对应关系,并且,在每个临时验证信息失效时删除上述对应关系,这样,在接收到携带有临时验证信息的绑定请求时,可以获取上述临时验证信息,并在所记录的对应关系中,查看是否存在该临时验证信息的对应关系,若存在,则该临时验证信息有效。Optionally, when the Internet of Things platform 200 generates the temporary verification information corresponding to each login account, it can record the corresponding relationship between the temporary verification information and the user account, and delete the above-mentioned corresponding relationship when each temporary verification information becomes invalid. , when a binding request carrying temporary verification information is received, the above temporary verification information can be obtained, and in the recorded correspondence, check whether there is a corresponding relationship of the temporary verification information, and if so, the temporary verification information efficient.

为了使用户可以及时了解待绑定物联网设备300与登录账号的绑定情况,物联网平台200可以在待绑定物联网设备300绑定至上述登录账号后,向用户终端100反馈上述绑定结果。In order for the user to know the binding status of the IoT device 300 to be bound and the login account in a timely manner, the IoT platform 200 may feed back the binding to the user terminal 100 after the IoT device 300 to be bound is bound to the login account. result.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

物联网平台200,还用于在将待绑定物联网设备300绑定至登录账号后,向用户终端100发送用于表征待绑定物联网设备300绑定成功的第一推送消息;The Internet of Things platform 200 is further configured to send a first push message to the user terminal 100 to indicate that the binding of the IoT device 300 to be bound is successful after binding the IoT device 300 to be bound to the login account;

用户终端100,还用于接收第一推送消息,并输出第一推送消息。The user terminal 100 is further configured to receive the first push message and output the first push message.

在本具体实现方式中,物联网平台200在将待绑定物联网设备300绑定至登录账号后,可以向用户终端100发送用于表征待绑定物联网设备300绑定成功的第一推送消息。这样,用户终端100可以接收上述第一推送消息,并输出上述第一推送消息,以提示用户上述待绑定物联网设备300已绑定至上述登录账号下。In this specific implementation, after the IoT platform 200 binds the IoT device 300 to be bound to the login account, it can send the first push notification to the user terminal 100 to indicate that the IoT device 300 to be bound is successfully bound. information. In this way, the user terminal 100 may receive the first push message and output the first push message to remind the user that the IoT device 300 to be bound has been bound to the login account.

其中,上述输出第一推送消息可以是:在用户终端100的显示屏幕上显示上述第一推送消息;也可以是:发出关于上述第一推送消息的提示音,这都是合理的,本发明实施例不做具体限定。Wherein, the above-mentioned outputting the first push message may be: displaying the above-mentioned first push message on the display screen of the user terminal 100; it may also be: sending out a prompt sound about the above-mentioned first push message, which is reasonable, and the implementation of the present invention Examples are not specifically limited.

同样的,在用户使用用户终端100执行其他任务时,为了便于用于在待绑定物联网设备300上及时了解该待绑定物联网设备300的绑定情况,物联网平台200可以在将待绑定物联网设备300绑定至上述登录账号后,向待绑定物联网设备300反馈上述绑定结果。Similarly, when the user uses the user terminal 100 to perform other tasks, in order to know the binding status of the IoT device 300 to be bound in a timely manner, the IoT platform 200 can After the bound IoT device 300 is bound to the above-mentioned login account, the above-mentioned binding result is fed back to the IoT device 300 to be bound.

可选的,另一种具体实现方式中,Optionally, in another specific implementation,

物联网平台200,还用于在将待绑定物联网设备300绑定至登录账号后,向待绑定物联网设备300发送用于表征待绑定物联网设备300绑定成功的第二推送消息;The IoT platform 200 is further configured to, after binding the IoT device 300 to be bound to the login account, send to the IoT device 300 to be bound a second push indicating that the binding of the IoT device 300 to be bound is successful information;

待绑定物联网设备300,还用于接收第二推送消息。The IoT device 300 to be bound is also used to receive the second push message.

在本具体实现方式中,物联网平台200在将待绑定物联网设备300绑定至登录账号后,可以向待绑定物联网设备300发送用于表征待绑定物联网设备300绑定成功的第二推送消息。这样,待绑定物联网设备300可以接收上述第二推送消息。In this specific implementation manner, after the IoT platform 200 binds the IoT device 300 to be bound to the login account, it may send a message indicating that the IoT device 300 to be bound is successfully bound to the IoT device 300 to be bound. The second push message of . In this way, the IoT device 300 to be bound can receive the above-mentioned second push message.

可选的,物联网平台200在将待绑定物联网设备300绑定至登录账号后,可以向待绑定物联网设备300发送用于表征待绑定物联网设备300绑定成功的第二推送消息,从而,待绑定物联网设备300可以接收第二推送消息,并输出上述第二推送消息,以提示用户该待绑定物联网设备300已绑定至登录账号下。Optionally, after the Internet of Things platform 200 binds the IoT device 300 to be bound to the login account, it may send to the IoT device 300 to be bound a second Push the message, so that the IoT device 300 to be bound can receive the second push message and output the second push message to remind the user that the IoT device 300 to be bound has been bound to the login account.

其中,上述输出第二推送消息可以是:在待绑定物联网设备300的显示屏幕上显示上述第二推送消息;也可以是:发出关于上述第二推送消息的提示音,这都是合理的,本发明实施例不做具体限定。Wherein, the above-mentioned outputting the second push message may be: displaying the above-mentioned second push message on the display screen of the IoT device 300 to be bound; it may also be: sending out a prompt sound about the above-mentioned second push message, which is all reasonable , which is not specifically limited in this embodiment of the present invention.

用户终端100在向待绑定物联网设备300发送上述临时验证信息后,为了了解上述待绑定物联网设备300的绑定状态,可以向物联网平台200发送关于待绑定物联网设备300的绑定状态的问询请求。After the user terminal 100 sends the above-mentioned temporary verification information to the IoT device 300 to be bound, in order to understand the binding status of the IoT device 300 to be bound, it may send information about the IoT device 300 to be bound to the IoT platform 200 Inquiry request for binding status.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

用户终端100,还用于向物联网平台200发送携带有设备标识的关于待绑定物联网设备300绑定状态的问询请求;接收物联网平台200发送的绑定状态,并输出绑定状态;The user terminal 100 is also used to send to the IoT platform 200 an inquiry request carrying a device identifier about the binding status of the IoT device 300 to be bound; receive the binding status sent by the IoT platform 200, and output the binding status ;

物联网平台200,还用于接收问询请求,基于设备标识,查询待绑定物联网设备300的绑定状态,并向用户终端100反馈绑定状态。The IoT platform 200 is further configured to receive an inquiry request, query the binding status of the IoT device 300 to be bound based on the device identifier, and feed back the binding status to the user terminal 100 .

在本具体实现方式中,用户终端100可以向物联网平台200发送关于待绑定物联网设备300绑定状态的问询请求,其中,该问询请求中携带有待绑定物联网设备300的设备标识。这样,物联网平台200可以接收上述问询请求,并基于上述待绑定物联网设备300的设备标识,查询该待绑定物联网设备300的是否已绑定至用户终端对应的登录账号下,从而,确定该待绑定物联网设备300的绑定状态,并向用户终端100反馈该待绑定物联网设备300的绑定状态。In this specific implementation, the user terminal 100 may send an inquiry request about the binding status of the IoT device 300 to be bound to the IoT platform 200, wherein the inquiry request carries the device of the IoT device 300 to be bound logo. In this way, the Internet of Things platform 200 can receive the above query request, and based on the device identifier of the IoT device 300 to be bound, query whether the IoT device 300 to be bound has been bound to the login account corresponding to the user terminal, Therefore, the binding status of the IoT device 300 to be bound is determined, and the binding status of the IoT device 300 to be bound is fed back to the user terminal 100 .

进而,用户终端100可以接收物联网平台200发送的待绑定物联网设备300的绑定状态,并输出绑定状态,以提示用户关于待绑定物联网设备300的绑定状态。Furthermore, the user terminal 100 may receive the binding status of the IoT device 300 to be bound sent by the IoT platform 200 , and output the binding status to prompt the user about the binding status of the IoT device 300 to be bound.

其中,上述输出绑定状态可以是在用户终端100的显示屏幕上显示上述绑定状态。Wherein, the above-mentioned outputting the binding state may be displaying the above-mentioned binding state on the display screen of the user terminal 100 .

并且,上述绑定状态可以是已绑定,也可以是未绑定。In addition, the aforementioned binding state may be bound or unbound.

可选的,在上述待绑定物联网设备300未向物联网平台200发送绑定请求时,物联网平台200向用户终端100反馈该待绑定物联网设备300的绑定状态为未绑定;Optionally, when the IoT device 300 to be bound does not send a binding request to the IoT platform 200, the IoT platform 200 feeds back to the user terminal 100 that the binding status of the IoT device 300 to be bound is unbound ;

可选的,在上述待绑定物联网设备300已向物联网平台200发送绑定请求,但上述绑定请求中的临时验证信息未通过验证时,物联网平台200向用户终端100反馈该待绑定物联网设备300的绑定状态为未绑定;Optionally, when the IoT device 300 to be bound has sent a binding request to the IoT platform 200, but the temporary verification information in the binding request has not passed the verification, the IoT platform 200 feeds back the pending IoT device 300 to the user terminal 100. The binding status of the bound IoT device 300 is unbound;

可选的,在上述待绑定物联网设备300已绑定至上述登录账号时,物联网平台200向用户终端100反馈该待绑定物联网设备300的绑定状态为已绑定。Optionally, when the IoT device 300 to be bound has been bound to the login account, the IoT platform 200 feeds back to the user terminal 100 that the binding status of the IoT device 300 to be bound is bound.

基于此,在上述待绑定物联网设备300的绑定状态不同时,物联网平台200反馈给用户终端100的待绑定物联网设备300的绑定状态是不用的,进而,物联网平台200在接收到上述绑定状态后,所输出的待绑定物联网设备300的绑定状态也是不同的,用户可以基于所接受的待绑定物联网设备300的绑定状态,采取不同的处理方式,例如,在所接受到的待绑定物联网设备300的绑定状态为未绑定时,用户可以查看上述待绑定物联网设备300的网络连接是否正常;在所接受到的待绑定物联网设备300的绑定状态为已绑定时,用户可以通过用户终端100对上述待绑定物联网设备300进行远程操作等。Based on this, when the binding statuses of the above-mentioned IoT devices 300 to be bound are different, the binding status of the IoT devices 300 to be bound fed back by the IoT platform 200 to the user terminal 100 is not used. Furthermore, the IoT platform 200 After receiving the above binding status, the output binding status of the IoT device 300 to be bound is also different, and the user can adopt different processing methods based on the accepted binding status of the IoT device 300 to be bound For example, when the received binding state of the IoT device 300 to be bound is unbound, the user can check whether the network connection of the IoT device 300 to be bound is normal; When the binding state of the IoT device 300 is bound, the user may perform remote operations on the aforementioned IoT device 300 to be bound through the user terminal 100 .

这样,相比于物联网平台200在待绑定物联网设备300绑定至用户的登录账号后向用户发送推送消息的方式,用户在需要了解待绑定物联网设备300的绑定状态时,主动向物联网平台问询请求的方式,可以避免用户在操作用户终端处理其他任务时,因被物联网平台推送消息频繁打扰而影响其他任务进度的情况,进而,提升用户的使用体验。In this way, compared to the way in which the IoT platform 200 sends a push message to the user after the IoT device 300 to be bound is bound to the user's login account, when the user needs to know the binding status of the IoT device 300 to be bound, The method of actively asking the IoT platform for requests can avoid the situation that the user is frequently disturbed by the IoT platform push messages when operating the user terminal to process other tasks, thereby affecting the progress of other tasks, thereby improving the user experience.

通常一个登录账号可以绑定多个物联网设备,在物联网设备标识发生变更、平台系统出现bug(故障)等情况下,该登录账号所绑定的物联网设备可能出现变化,此外,在多人对该登录账号具有操作权限的情况,例如,登录账号为家庭账号,家庭中的多个成员均对该账号具有操作权限;又例如,登录账号为企业账号,企业中的多名高级管理人员均对该账号具有操作权限;此时,由于任一人员均可以使用该登录账号对物联网设备进行绑定或解绑,进而,影响其他用户了解该登录账号所绑定的物联网设备的具体情况,例如,家庭成员A使用登录账号绑定了空调设备,此时,家庭成员B尚不了解空调已绑定成功。Usually, one login account can be bound to multiple IoT devices. In the case of changes in the IoT device identification or bugs (faults) in the platform system, the IoT devices bound to the login account may change. The situation that a person has the operation authority to the login account. For example, the login account is a family account, and multiple members of the family have operation authority to the account; All have the operation authority to the account; at this time, since any person can use the login account to bind or unbind the IoT device, which in turn affects other users' understanding of the specific details of the IoT device bound to the login account. Situations, for example, family member A binds the air conditioner with a login account, at this time, family member B does not yet know that the air conditioner has been successfully bound.

基于此,为了便于用户了解该登录账号所绑定的物联网设备的具体情况,用户可以使用用户终端100可以向物联网平台200查询关于该登录账号所绑定设备的设备列表。Based on this, in order for the user to know the specific situation of the IoT device bound to the login account, the user can use the user terminal 100 to query the IoT platform 200 for a list of devices bound to the login account.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

用户终端100,还用于向物联网平台200发送携带有登录账号的关于绑定设备的查询请求;接收物联网平台发送的绑定设备列表,并输出绑定设备列表;The user terminal 100 is also used to send to the Internet of Things platform 200 a query request about the bound device carrying the login account; receive the bound device list sent by the Internet of Things platform, and output the bound device list;

物联网平台200,还用于接收查询请求,查询登录账号对应的绑定设备列表,并向用户终端100发送绑定设备列表。The IoT platform 200 is further configured to receive a query request, query the list of bound devices corresponding to the login account, and send the list of bound devices to the user terminal 100 .

在本具体实现方式中,针对每个登录账号,物联网平台200存储有该登录账号对应的绑定设备的绑定设备列表。In this specific implementation manner, for each login account, the Internet of Things platform 200 stores a bound device list of bound devices corresponding to the login account.

用户终端100可以向物联网平台200发送携带有登录账号的关于绑定设备的查询请求,之后,物联网平台200可以接收上述查询请求,查询该登录账号对应的绑定设备列表,并向用户终端100发送上述绑定设备列表。The user terminal 100 can send a query request about a bound device carrying a login account to the IoT platform 200. After that, the IoT platform 200 can receive the above query request, query the list of bound devices corresponding to the login account, and send the query request to the user terminal. 100 sends the aforementioned bound device list.

这样,用户终端100可以接收物联网平台200发送的上述绑定设备列表,并输出上述绑定设备列表,以提示用户关于该登录账号对应的绑定设备的绑定设备列表。In this way, the user terminal 100 may receive the bound device list sent by the IoT platform 200 and output the bound device list to prompt the user about the bound device list of the bound device corresponding to the login account.

其中,上述输出绑定设备列表可以是在用户终端100的显示屏幕上显示上述绑定设备列表。Wherein, the outputting the bound device list may be displaying the bound device list on the display screen of the user terminal 100 .

可选的,用户终端100可以按照预设时间间隔向物联网平台200发送携带有登录账号的关于绑定设备的查询请求,其中,上述预设时间间隔可以是1天,也可以是10天,这都是合理的,在本发明实施例中不做具体限定。Optionally, the user terminal 100 may send a query request about the bound device carrying a login account to the Internet of Things platform 200 according to a preset time interval, wherein the above-mentioned preset time interval may be 1 day or 10 days, These are all reasonable, and are not specifically limited in this embodiment of the present invention.

可选的,针对自身所存储的绑定设备列表中的绑定设备,用户终端100可以按照预设顺序依次向物联网平台200发送携带有登录账号和每个绑定设备的设备标识的关于该绑定设备的轮询请求,其中,上述预设顺序可以是设备绑定的时间先后顺序,也可以是设备标识的排列顺序,这都是合理的,在本发明实施例中不做具体限定。Optionally, for the bound devices in the bound device list stored by itself, the user terminal 100 may sequentially send information about the bound devices carrying the login account and the device identifier of each bound device to the IoT platform 200 in a preset order. In the polling request for binding devices, the above preset order may be the chronological order of device binding, or the arrangement order of device identifiers, which are all reasonable and are not specifically limited in this embodiment of the present invention.

可选的,用户可以对登录账号所绑定的物联网设备300进行预估,进而,可以将每个物联网设备的设备标识输入到用户终端100中,这样,用户终端100可以向物联网平台200发送携带有登录账号和设备标识的关于该物联网设备的轮询请求,以确定每个物联网设备的真是绑定状态。Optionally, the user can estimate the IoT device 300 bound to the login account, and then, can input the device identification of each IoT device into the user terminal 100, so that the user terminal 100 can report to the IoT platform 200 sends a polling request about the IoT device carrying the login account and the device identifier, so as to determine the true binding status of each IoT device.

上述将待绑定物联网设备300绑定至用户的登录账号的过程是借助于物联网平台200实现的,所以上述待绑定物联网设备300需要连接网络,并与上述物联网平台200进行通信。基于此,为了实现上述待绑定物联网设备300和物联网平台200之间的通信,用户终端100可以向上述待绑定物联网设备300发送配网信息。The above-mentioned process of binding the IoT device 300 to be bound to the user's login account is realized by means of the IoT platform 200, so the IoT device 300 to be bound needs to be connected to the network and communicate with the IoT platform 200 . Based on this, in order to realize the communication between the IoT device 300 to be bound and the IoT platform 200 , the user terminal 100 may send network distribution information to the IoT device 300 to be bound.

可选的,一种具体实现方式中,Optionally, in a specific implementation manner,

用户终端100,还用于向待绑定物联网设备300发送配网信息;The user terminal 100 is also used to send network distribution information to the IoT device 300 to be bound;

每个物联网设备300,还用于接收配网信息,并基于配网信息连接网络。Each IoT device 300 is also used to receive distribution network information and connect to the network based on the distribution network information.

在本具体实现方式中,用户终端100在获取上述待绑定物联网设备300的设备标识后,可以向上述待绑定物联网设备300发送配网信息,这样,待绑定物联网设备300可以接收上述配网信息,从而,基于上述配网信息,连接对应的网络,实现与上述物联网平台200之间的通信。In this specific implementation, after the user terminal 100 obtains the device identifier of the IoT device 300 to be bound, it can send network distribution information to the IoT device 300 to be bound, so that the IoT device 300 to be bound can The above-mentioned distribution network information is received, thereby, based on the above-mentioned distribution network information, a corresponding network is connected to realize communication with the above-mentioned Internet of Things platform 200 .

其中,上述配网信息可以包括网络标识、连接密码等。Wherein, the above-mentioned network distribution information may include a network identifier, a connection password, and the like.

并且,上述临时验证信息是基于待绑定物联网设备的设备标识发送的,因此,上述临时验证信息也是在用户终端100获取待绑定物联网设备300的设备标识之后向待绑定物联网设备300发送的,那么,为了节省时间和算力,用户终端100可以同时向待绑定物联网设备300发送临时验证信息和配网信息,当然,用户终端100也可以分别向待绑定物联网设备300发送上述临时验证信息和配网信息,这都是合理的,在本发明实施例中不做具体限定。Moreover, the above-mentioned temporary verification information is sent based on the device identification of the IoT device to be bound, therefore, the above-mentioned temporary verification information is sent to the IoT device to be bound after the user terminal 100 obtains the device identification of the IoT device 300 to be bound. 300, then, in order to save time and computing power, the user terminal 100 can simultaneously send temporary verification information and distribution network information to the IoT device 300 to be bound, of course, the user terminal 100 can also send the IoT device to be bound 300 sends the above-mentioned temporary verification information and network distribution information, which are all reasonable, and are not specifically limited in this embodiment of the present invention.

可选的,当待绑定物联网设备300均连接有线网络时,则用户终端100无需向待绑定物联网设备300发送上述配网信息。Optionally, when all the IoT devices 300 to be bound are connected to a wired network, the user terminal 100 does not need to send the above network configuration information to the IoT devices 300 to be bound.

为了便于理解上述物联网设备绑定系统中用户终端、物联网平台和物联网设备的交互过程,结合图3对上述用户终端、物联网平台和物联网设备的交互过程进行说明。In order to facilitate understanding of the interaction process between the user terminal, the IoT platform, and the IoT device in the IoT device binding system, the interaction process between the user terminal, the IoT platform, and the IoT device will be described with reference to FIG. 3 .

用户终端使用用户账号登录物联网平台,之后,向物联网平台发送携带有用户账号的关于用户token的获取请求。物联网平台接收上述获取请求,生成与用户账号对应的用户token,并将上述用户token返回给用户终端。这样,用户终端可以接受上述用户token,并获取物联网设备的设备标识,之后,基于物联网设备的设备标识,利用近场通信方式向物联网设备发送上述用户token及配网信息。The user terminal uses the user account to log in to the Internet of Things platform, and then sends an acquisition request for the user token carrying the user account to the Internet of Things platform. The IoT platform receives the acquisition request, generates a user token corresponding to the user account, and returns the user token to the user terminal. In this way, the user terminal can accept the above-mentioned user token and obtain the device identifier of the IoT device, and then, based on the device identifier of the IoT device, send the above-mentioned user token and distribution network information to the IoT device by means of near field communication.

物联网设备接收上述用户token及配网信息,进而,可以基于上述配网信息连接网络,并向物联网平台发送携带设备标识的接入请求和携带用户token的绑定请求。The IoT device receives the above-mentioned user token and distribution network information, and then can connect to the network based on the above-mentioned distribution network information, and sends an access request carrying the device identification and a binding request carrying the user token to the IoT platform.

物联网平台接收上述接入请求和绑定请求,然后,校验上述接入请求,在上述接入请求校验通过时,接入上述物联网设备;校验上述绑定请求,并在上述绑定请求校验成功时,根据用户token,将上述物联网设备绑定至用户token对应的用户账号。The Internet of Things platform receives the above-mentioned access request and binding request, and then verifies the above-mentioned access request, and accesses the above-mentioned Internet of Things device when the above-mentioned access request is verified; When the verification of the specified request is successful, according to the user token, bind the above IoT device to the user account corresponding to the user token.

物联网平台在将上述物联网设备绑定至用户账号后,向上述物联网设备返回该上述物联网设备所绑定的用户账号及表征该物联网设备绑定成功的通知消息。After the Internet of Things platform binds the above-mentioned Internet of Things device to the user account, it returns to the above-mentioned Internet of Things device the user account bound to the above-mentioned Internet of Things device and a notification message indicating that the binding of the Internet of Things device is successful.

之后,针对每个物联网设备,用户终端向物联网平台依次轮询每个物联网设备的设备绑定状态,物联网平台基于用户账号和每个物联网设备的设备标识,确定设备绑定状态,并向用户终端反馈上述设备绑定状态。Afterwards, for each IoT device, the user terminal polls the IoT platform for the device binding status of each IoT device in turn, and the IoT platform determines the device binding status based on the user account and the device identifier of each IoT device , and feed back the above device binding status to the user terminal.

以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。It can be seen from the above that the binding of the IoT device to be bound and the user's login account is realized by verifying the temporary verification information sent by the IoT device to be bound by the IoT platform, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

相应于上述物联网设备绑定系统,本发明实施例还提供了一种物联网设备绑定方法,该方法应用于物联网设备绑定系统中的用户终端;该系统还包括:物联网平台和物联网设备;其中,上述物联网设备已接入上述物联网平台。Corresponding to the above IoT device binding system, an embodiment of the present invention also provides a method for binding IoT devices, which is applied to user terminals in the IoT device binding system; the system also includes: an IoT platform and Internet of Things device; wherein, the above-mentioned Internet of Things device has been connected to the above-mentioned Internet of Things platform.

图4为本发明实施例提供的一种物联网设备绑定方法,如图4所示,该方法可以包括如下步骤S401-S403:FIG. 4 is a method for binding an IoT device provided by an embodiment of the present invention. As shown in FIG. 4, the method may include the following steps S401-S403:

S401:在使用登录账号登录物联网平台后,向物联网平台发送携带有登录账号的关于临时验证信息的获取请求,以使物联网平台接收获取请求,生成与登录账号对应的临时验证信息,并将临时验证信息反馈给用户终端;S401: After using the login account to log in to the Internet of Things platform, send to the Internet of Things platform an acquisition request for temporary verification information carrying the login account, so that the Internet of Things platform receives the acquisition request, generates temporary verification information corresponding to the login account, and Feedback the temporary verification information to the user terminal;

S402:接收物联网平台发送的临时验证信息;S402: Receive temporary verification information sent by the IoT platform;

S403:基于待绑定物联网设备的设备标识,利用近场通信方式向待绑定物联网设备发送临时验证信息,以使待绑定物联网设备接收用户终端发送的临时验证信息,并向物联网平台发送携带有临时验证信息的绑定请求,使得物联网平台接收绑定请求,对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备绑定至登录账号,其中,待绑定物联网设备为物联网设备中的任一个设备。S403: Based on the device identification of the IoT device to be bound, send temporary verification information to the IoT device to be bound by means of near-field communication, so that the IoT device to be bound receives the temporary verification information sent by the user terminal, and sends the temporary verification information to the IoT device to be bound. The networking platform sends a binding request with temporary verification information, so that the IoT platform receives the binding request, verifies the temporary verification information in the binding request, and when the verification is successful, binds the IoT device to be bound to Login account, where the IoT device to be bound is any one of the IoT devices.

以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。It can be seen from the above that the binding of the IoT device to be bound and the user's login account is realized by verifying the temporary verification information sent by the IoT device to be bound by the IoT platform, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收用于表征所述待绑定物联网设备绑定成功的第一推送消息,并输出所述第一推送消息,其中,所述第一推送消息是所述物联网平台在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送的。Receiving a first push message indicating that the binding of the IoT device to be bound is successful, and outputting the first push message, wherein the first push message is that the IoT platform binds the IoT device to be bound successfully. After the Internet of Things device is bound to the login account, it is sent to the user terminal.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

向所述物联网平台发送携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求,以使所述物联网平台接收所述问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态并向所述用户终端反馈所述绑定状态;Sending an inquiry request carrying the device identifier about the binding status of the IoT device to be bound to the Internet of Things platform, so that the Internet of Things platform receives the inquiry request, and based on the device identifier Querying the binding status of the IoT device to be bound and feeding back the binding status to the user terminal;

接收所述物联网平台发送的绑定状态,并输出所述绑定状态。Receive the binding status sent by the IoT platform, and output the binding status.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

向所述物联网平台发送携带有所述登录账号的关于绑定设备的查询请求,以使所述物联网平台接收所述查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表;Sending a query request about a bound device carrying the login account to the IoT platform, so that the IoT platform receives the query request, queries the list of bound devices corresponding to the login account, and sends a query to the IoT platform. The user terminal sends the bound device list;

接收所述物联网平台发送的绑定设备列表,并输出所述绑定设备列表。Receive the bound device list sent by the Internet of Things platform, and output the bound device list.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

向所述待绑定物联网设备发送配网信息,以使所述待绑定物联网设备接收所述配网信息,并基于所述配网信息连接网络。Sending network distribution information to the IoT device to be bound, so that the IoT device to be bound receives the network distribution information and connects to a network based on the network distribution information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

相应于上述物联网设备绑定系统,本发明实施例还提供了一种物联网设备绑定方法,该方法应用于物联网设备绑定系统中的物联网平台;该系统还包括:用户终端和物联网设备;其中,上述物联网设备已接入上述物联网平台。Corresponding to the above IoT device binding system, an embodiment of the present invention also provides a method for binding IoT devices, which is applied to the IoT platform in the IoT device binding system; the system also includes: a user terminal and Internet of Things device; wherein, the above-mentioned Internet of Things device has been connected to the above-mentioned Internet of Things platform.

图5为本发明实施例提供的一种物联网设备绑定方法,如图5所示,该方法可以包括如下步骤S501-S503:FIG. 5 is a method for binding an IoT device provided by an embodiment of the present invention. As shown in FIG. 5, the method may include the following steps S501-S503:

S501:接收携带有用户终端的登录账号的关于临时验证信息的获取请求,生成与登录账号对应的临时验证信息,并将临时验证信息反馈给用户终端,以使用户终端接收临时验证信息,基于待绑定物联网设备的设备标识,利用近场通信方式向待绑定物联网设备发送临时验证信息,使得待绑定物联网设备接收临时验证信息,并向物联网平台发送携带有临时验证信息的绑定请求;其中,获取请求是用户终端在使用登录账号登录物联网平台后,向物联网平台发送的;待绑定物联网设备为物联网设备中的任一个设备;S501: Receive an acquisition request for temporary verification information carrying the login account of the user terminal, generate temporary verification information corresponding to the login account, and feed back the temporary verification information to the user terminal, so that the user terminal receives the temporary verification information, based on the pending Bind the device identification of the IoT device, and use near-field communication to send temporary verification information to the IoT device to be bound, so that the IoT device to be bound receives the temporary verification information, and sends the temporary verification information to the IoT platform. A binding request; wherein, the acquisition request is sent to the IoT platform by the user terminal after logging in to the IoT platform with a login account; the IoT device to be bound is any one of the IoT devices;

S502:接收绑定请求;S502: Receive a binding request;

S503:对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备绑定至登录账号。S503: Verify the temporary verification information in the binding request, and bind the IoT device to be bound to the login account when the verification is successful.

以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。It can be seen from the above that the binding of the IoT device to be bound and the user's login account is realized by verifying the temporary verification information sent by the IoT device to be bound by the IoT platform, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送用于表征所述待绑定物联网设备绑定成功的第一推送消息,以使所述用户终端接收所述第一推送消息,并输出所述第一推送消息。After the IoT device to be bound is bound to the login account, a first push message indicating that the IoT device to be bound is successfully bound is sent to the user terminal, so that the user The terminal receives the first push message, and outputs the first push message.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送用于表征所述待绑定物联网设备绑定成功的第二推送消息,以使所述待绑定物联网设备接收所述第二推送消息。After binding the IoT device to be bound to the login account, sending a second push message indicating that the IoT device to be bound is successfully bound to the IoT device to be bound, to enabling the IoT device to be bound to receive the second push message.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收所述用户终端发送的携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态,并向所述用户终端反馈所述绑定状态,以使所述用户终端接收所述绑定状态,并输出所述绑定状态。Receiving an inquiry request about the binding status of the IoT device to be bound sent by the user terminal carrying the device identifier, and querying the binding status of the IoT device to be bound based on the device identifier , and feed back the binding status to the user terminal, so that the user terminal receives the binding status and outputs the binding status.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收所述用户终端发送的携带有所述登录账号的关于绑定设备的查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表,以使所述用户终端接收所述绑定设备列表,并输出所述绑定设备列表。receiving a query request about a bound device that carries the login account sent by the user terminal, querying a list of bound devices corresponding to the login account, and sending the list of bound devices to the user terminal, so that The user terminal receives the bound device list, and outputs the bound device list.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

相应于上述物联网设备绑定系统,本发明实施例还提供了一种物联网设备绑定方法,该方法应用于物联网设备绑定系统中的物联网设备;该系统还包括:用户终端和物联网设备;其中,上述物联网设备已接入上述物联网平台。Corresponding to the above IoT device binding system, an embodiment of the present invention also provides a method for binding IoT devices, which is applied to IoT devices in the IoT device binding system; the system also includes: a user terminal and Internet of Things device; wherein, the above-mentioned Internet of Things device has been connected to the above-mentioned Internet of Things platform.

图6为本发明实施例提供的一种物联网设备绑定方法,如图6所示,该方法可以包括如下步骤S601-S602:FIG. 6 is a method for binding an IoT device provided by an embodiment of the present invention. As shown in FIG. 6, the method may include the following steps S601-S602:

S601:接收用户终端发送的临时验证信息;其中,临时验证信息是用户终端在接收到物联网平台反馈的临时验证信息之后,基于待绑定物联网设备的设备标识,利用近场通信方式向待绑定物联网设备发送的;物联网平台反馈的临时验证信息是物联网平台在接收到用户终端发送的携带有用户终端的登录账号的关于临时验证信息的获取请求后,生成的与登录账号对应的;获取请求是用户终端在使用登录账号登录物联网平台后,向物联网平台发送的;待绑定物联网设备为物联网设备中的任一个设备;S601: Receive the temporary verification information sent by the user terminal; wherein, the temporary verification information is that the user terminal, after receiving the temporary verification information fed back by the Internet of Things platform, uses the near-field communication method to send the verification information based on the device identifier of the IoT device to be bound to the Internet of Things device to be bound. Sent by binding the IoT device; the temporary verification information fed back by the IoT platform is generated by the IoT platform corresponding to the login account after receiving the temporary verification information acquisition request sent by the user terminal and carrying the login account of the user terminal. The acquisition request is sent by the user terminal to the IoT platform after using the login account to log in to the IoT platform; the IoT device to be bound is any one of the IoT devices;

S602:向物联网平台发送携带有临时验证信息的绑定请求,以使物联网平台接收绑定请求,对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备绑定至用户终端的登录账号。S602: Send a binding request carrying temporary verification information to the Internet of Things platform, so that the Internet of Things platform receives the binding request, verifies the temporary verification information in the binding request, and when the verification is successful, sends the binding object The networked device is bound to the login account of the user terminal.

以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。It can be seen from the above that the binding of the IoT device to be bound and the user's login account is realized by verifying the temporary verification information sent by the IoT device to be bound by the IoT platform, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收用于表征所述待绑定物联网设备绑定成功的第二推送消息,并输出所述第二推送消息,其中,所述第二推送消息是所述物联网平台在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送的。receiving a second push message indicating that the binding of the IoT device to be bound is successful, and outputting the second push message, wherein the second push message is that the IoT platform binds the IoT device to be bound After the IoT device is bound to the login account, it is sent to the IoT device to be bound.

可选的,一种具体实现方式中,所述方法还包括:Optionally, in a specific implementation manner, the method further includes:

接收所述用户终端发送的配网信息,并基于所述配网信息连接网络。receiving network distribution information sent by the user terminal, and connecting to a network based on the network distribution information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

基于相同的发明构思,相应于上述本发明实施例提供的图4所示的一种物联网设备绑定方法,本发明实施例还提供了一种物联网设备绑定装置,应用于物联网设备绑定系统中的用户终端,该系统还包括:物联网平台和物联网设备,其中,上述物联网设备已接入上述物联网平台。Based on the same inventive concept, corresponding to the IoT device binding method shown in Figure 4 provided by the above-mentioned embodiment of the present invention, the embodiment of the present invention also provides an IoT device binding device, which is applied to the IoT device Binding the user terminal in the system, the system also includes: an Internet of Things platform and an Internet of Things device, wherein the above-mentioned Internet of Things device has been connected to the above-mentioned Internet of Things platform.

图7为本发明实施例提供的一种物联网设备绑定装置的结构示意图。如图7所示,该装置可以包括如下模块:Fig. 7 is a schematic structural diagram of an IoT device binding device provided by an embodiment of the present invention. As shown in Figure 7, the device may include the following modules:

获取请求发送模块710,用于在使用登录账号登录所述物联网平台后,向所述物联网平台发送携带有所述登录账号的关于临时验证信息的获取请求,以使所述物联网平台接收所述获取请求,生成与所述登录账号对应的临时验证信息,并将所述临时验证信息反馈给所述用户终端;The obtaining request sending module 710 is configured to send to the Internet of Things platform an obtaining request for temporary verification information carrying the login account after logging in to the Internet of Things platform using the login account, so that the Internet of Things platform receives The acquisition request generates temporary verification information corresponding to the login account, and feeds back the temporary verification information to the user terminal;

第一接收模块720,用于接收所述物联网平台发送的临时验证信息;The first receiving module 720 is configured to receive the temporary verification information sent by the Internet of Things platform;

发送模块730,用于基于所述待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息,以使所述待绑定物联网设备接收所述用户终端发送的临时验证信息,并向所述物联网平台发送携带有所述临时验证信息的绑定请求,使得所述物联网平台接收所述绑定请求,对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号,其中,所述待绑定物联网设备为所述物联网设备中的任一个设备。The sending module 730 is configured to send the temporary verification information to the IoT device to be bound based on the device identifier of the IoT device to be bound, so that the IoT device to be bound receiving the temporary verification information sent by the user terminal, and sending a binding request carrying the temporary verification information to the Internet of Things platform, so that the Internet of Things platform receives the binding request, and responds to the binding request Verify the temporary verification information in the Internet of Things device, and when the verification is successful, bind the IoT device to be bound to the login account, wherein the IoT device to be bound is any of the IoT devices a device.

以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。It can be seen from the above that the binding of the IoT device to be bound and the user's login account is realized by verifying the temporary verification information sent by the IoT device to be bound by the IoT platform, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第二接收模块,用于接收用于表征所述待绑定物联网设备绑定成功的第一推送消息,并输出所述第一推送消息,其中,所述第一推送消息是所述物联网平台在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送的。The second receiving module is configured to receive a first push message indicating that the binding of the IoT device to be bound is successful, and output the first push message, wherein the first push message is the Internet of Things After the platform binds the IoT device to be bound to the login account, it sends it to the user terminal.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

问询请求发送模块,用于向所述物联网平台发送携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求,以使所述物联网平台接收所述问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态并向所述用户终端反馈所述绑定状态;An inquiry request sending module, configured to send an inquiry request carrying the device identifier about the binding status of the IoT device to be bound to the Internet of Things platform, so that the Internet of Things platform receives the inquiry An inquiry request, based on the device identifier, inquires about the binding status of the IoT device to be bound and feeds back the binding status to the user terminal;

状态输出模块,用于接收所述物联网平台发送的绑定状态,并输出所述绑定状态。A state output module, configured to receive the binding state sent by the Internet of Things platform, and output the binding state.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

查询请求发送模块,用于向所述物联网平台发送携带有所述登录账号的关于绑定设备的查询请求,以使所述物联网平台接收所述查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表;A query request sending module, configured to send a query request about a bound device carrying the login account to the Internet of Things platform, so that the Internet of Things platform receives the query request and queries the binding device corresponding to the login account. Determine a device list, and send the bound device list to the user terminal;

列表输出模块,用于接收所述物联网平台发送的绑定设备列表,并输出所述绑定设备列表。A list output module, configured to receive the list of bound devices sent by the Internet of Things platform, and output the list of bound devices.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

配网信息发送模块,用于向所述待绑定物联网设备发送配网信息,以使所述待绑定物联网设备接收所述配网信息,并基于所述配网信息连接网络。A distribution network information sending module, configured to send distribution network information to the IoT device to be bound, so that the IoT device to be bound receives the distribution network information and connects to the network based on the distribution network information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

基于相同的发明构思,相应于上述本发明实施例提供的图5所示的一种物联网设备绑定方法,本发明实施例还提供了一种物联网设备绑定装置,应用于物联网设备绑定系统中的物联网平台,该系统还包括:用户终端和物联网设备,其中,上述物联网设备已接入上述物联网平台。Based on the same inventive concept, corresponding to the IoT device binding method shown in Figure 5 provided by the above-mentioned embodiment of the present invention, the embodiment of the present invention also provides an IoT device binding device, which is applied to the IoT device Binding the Internet of Things platform in the system, the system also includes: user terminals and Internet of Things devices, wherein the above Internet of Things devices have been connected to the above Internet of Things platform.

图8为本发明实施例提供的一种物联网设备绑定装置的结构示意图。如图8所示,该装置可以包括如下模块:FIG. 8 is a schematic structural diagram of an apparatus for binding IoT devices according to an embodiment of the present invention. As shown in Figure 8, the device may include the following modules:

生成模块810,用于接收携带有所述用户终端的登录账号的关于临时验证信息的获取请求,生成与所述登录账号对应的临时验证信息,并将所述临时验证信息反馈给所述用户终端,以使所述用户终端接收所述临时验证信息,基于所述待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息,使得所述待绑定物联网设备接收所述临时验证信息,并向所述物联网平台发送携带有所述临时验证信息的绑定请求;其中,所述获取请求是所述用户终端在使用所述登录账号登录所述物联网平台后,向所述物联网平台发送的;所述待绑定物联网设备为所述物联网设备中的任一个设备;A generating module 810, configured to receive an acquisition request for temporary verification information carrying the login account of the user terminal, generate temporary verification information corresponding to the login account, and feed back the temporary verification information to the user terminal so that the user terminal receives the temporary verification information, and based on the device identifier of the IoT device to be bound, sends the temporary verification information to the IoT device to be bound by means of near field communication, so that the The IoT device to be bound receives the temporary verification information, and sends a binding request carrying the temporary verification information to the IoT platform; wherein, the acquisition request is that the user terminal is using the login After the account is logged into the IoT platform, it is sent to the IoT platform; the IoT device to be bound is any one of the IoT devices;

绑定请求接收模块820,用于接收所述绑定请求;A binding request receiving module 820, configured to receive the binding request;

绑定模块830,用于对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号。The binding module 830 is configured to verify the temporary verification information in the binding request, and bind the IoT device to be bound to the login account when the verification is successful.

以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。It can be seen from the above that the binding of the IoT device to be bound and the user's login account is realized by verifying the temporary verification information sent by the IoT device to be bound by the IoT platform, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第一输出模块,用于在将所述待绑定物联网设备绑定至所述登录账号后,向所述用户终端发送用于表征所述待绑定物联网设备绑定成功的第一推送消息,以使所述用户终端接收所述第一推送消息,并输出所述第一推送消息。The first output module is configured to, after binding the IoT device to be bound to the login account, send to the user terminal a first push indicating that the binding of the IoT device to be bound is successful message, so that the user terminal receives the first push message and outputs the first push message.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第二输出模块,用于在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送用于表征所述待绑定物联网设备绑定成功的第二推送消息,以使所述待绑定物联网设备接收所述第二推送消息。The second output module is configured to, after binding the IoT device to be bound to the login account, send a message indicating that the IoT device to be bound is successfully bound to the IoT device to be bound. The second push message, so that the IoT device to be bound receives the second push message.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第一查询模块,用于接收所述用户终端发送的携带有所述设备标识的关于所述待绑定物联网设备绑定状态的问询请求,基于所述设备标识,查询所述待绑定物联网设备的绑定状态,并向所述用户终端反馈所述绑定状态,以使所述用户终端接收所述绑定状态,并输出所述绑定状态。The first query module is configured to receive an inquiry request about the binding state of the IoT device to be bound sent by the user terminal that carries the device identifier, and query the to-be-bound IoT device based on the device identifier The binding state of the IoT device, and feeding back the binding state to the user terminal, so that the user terminal receives the binding state and outputs the binding state.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第二查询模块,用于接收所述用户终端发送的携带有所述登录账号的关于绑定设备的查询请求,查询所述登录账号对应的绑定设备列表,并向所述用户终端发送所述绑定设备列表,以使所述用户终端接收所述绑定设备列表,并输出所述绑定设备列表。The second query module is configured to receive the query request about the bound device carrying the login account sent by the user terminal, query the list of bound devices corresponding to the login account, and send the user terminal the binding the device list, so that the user terminal receives the bound device list and outputs the bound device list.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

基于相同的发明构思,相应于上述本发明实施例提供的图6所示的一种物联网设备绑定方法,本发明实施例还提供了一种物联网设备绑定装置,应用于物联网设备绑定系统中的物联网设备,该系统还包括:用户终端和物联网平台,其中,上述物联网设备已接入上述物联网平台。Based on the same inventive concept, corresponding to the IoT device binding method shown in FIG. 6 provided by the above-mentioned embodiment of the present invention, the embodiment of the present invention also provides an IoT device binding device, which is applied to the IoT device Binding the Internet of Things devices in the system, the system also includes: a user terminal and an Internet of Things platform, wherein the above-mentioned Internet of Things devices have been connected to the above-mentioned Internet of Things platform.

图9为本发明实施例提供的一种物联网设备绑定装置的结构示意图。如图9所示,该装置可以包括如下模块:FIG. 9 is a schematic structural diagram of an IoT device binding device provided by an embodiment of the present invention. As shown in Figure 9, the device may include the following modules:

验证信息接收模块910,用于接收所述用户终端发送的临时验证信息;其中,所述临时验证信息是所述用户终端在接收到所述物联网平台反馈的临时验证信息之后,基于待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送的;所述物联网平台反馈的临时验证信息是所述物联网平台在接收到所述用户终端发送的携带有所述用户终端的登录账号的关于临时验证信息的获取请求后,生成的与所述登录账号对应的;所述获取请求是所述用户终端在使用所述登录账号登录所述物联网平台后,向所述物联网平台发送的;所述待绑定物联网设备为所述物联网设备中的任一个设备;The verification information receiving module 910 is configured to receive the temporary verification information sent by the user terminal; wherein the temporary verification information is based on the user terminal after receiving the temporary verification information fed back by the Internet of Things platform The device identification of the IoT device is sent to the IoT device to be bound by means of near-field communication; the temporary verification information fed back by the IoT platform is carried by the IoT platform after receiving the information sent by the user terminal. There is a request for obtaining temporary verification information about the login account of the user terminal, which is generated corresponding to the login account; the request is generated after the user terminal logs in to the Internet of Things platform using the login account , sent to the IoT platform; the IoT device to be bound is any one of the IoT devices;

绑定请求发送模块920,用于向所述物联网平台发送携带有所述临时验证信息的绑定请求,以使所述物联网平台接收所述绑定请求,对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述用户终端的登录账号。A binding request sending module 920, configured to send a binding request carrying the temporary verification information to the Internet of Things platform, so that the Internet of Things platform receives the binding request, and executes the binding request in the binding request The temporary verification information is verified, and when the verification is successful, the IoT device to be bound is bound to the login account of the user terminal.

以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。It can be seen from the above that the binding of the IoT device to be bound and the user's login account is realized by verifying the temporary verification information sent by the IoT device to be bound by the IoT platform, and the temporary verification information sent by the IoT device to be bound is The user terminal sends to the IoT device to be bound through near-field communication. Since the near-field communication method requires that the IoT device to be bound and the user terminal be in the same space or have a short physical distance, it can be considered that the IoT device to be bound and the user terminal are in a state of "actual contact" . For any IoT device, the user with the control authority of the device can realize that the user terminal used is in a state of actual contact with the device. Therefore, it can be considered that the temporary verification information of the IoT device to be bound is that the device has The user who controls the authority sends it through the user terminal, so that the login account to which the IoT device to be bound is bound is the login account of the user who has the control authority to the IoT device to be bound, thereby reducing the There is a risk that the IoT device to be bound is bound and operated by a user who does not have the control authority of the device to be bound, thereby improving the operational safety of the IoT device to be bound.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第三接收模块,用于接收用于表征所述待绑定物联网设备绑定成功的第二推送消息,并输出所述第二推送消息,其中,所述第二推送消息是所述物联网平台在将所述待绑定物联网设备绑定至所述登录账号后,向所述待绑定物联网设备发送的。The third receiving module is configured to receive a second push message indicating that the binding of the IoT device to be bound is successful, and output the second push message, wherein the second push message is the Internet of Things After the platform binds the IoT device to be bound to the login account, it sends it to the IoT device to be bound.

可选的,一种具体实现方式中,所述装置还包括:Optionally, in a specific implementation manner, the device further includes:

第四接收模块,用于接收所述用户终端发送的配网信息,并基于所述配网信息连接网络。The fourth receiving module is configured to receive the network distribution information sent by the user terminal, and connect to the network based on the network distribution information.

可选的,一种具体实现方式中,所述近场通信方式包括:NFC、蓝牙传输或局域网通信。Optionally, in a specific implementation manner, the near field communication method includes: NFC, Bluetooth transmission or local area network communication.

本发明实施例还提供了一种电子设备,如图10所示,包括处理器1001、通信接口1002、存储器1003和通信总线1004,其中,处理器1001,通信接口1002,存储器1003通过通信总线1004完成相互间的通信,The embodiment of the present invention also provides an electronic device, as shown in FIG. complete the mutual communication,

存储器1003,用于存放计算机程序;Memory 1003, for storing computer programs;

处理器1001,用于执行存储器1003上所存放的程序时,实现上述任一所述的物联网设备绑定方法。The processor 1001 is configured to implement any of the IoT device binding methods described above when executing the program stored in the memory 1003 .

上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the electronic device and other devices.

存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include a random access memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far away from the aforementioned processor.

上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。Above-mentioned processor can be general-purpose processor, comprises central processing unit (Central Processing Unit, CPU), network processor (Network Processor, NP) etc.; It can also be Digital Signal Processor (Digital Signal Processor, DSP), ASIC (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

在本发明提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一物联网设备绑定方法的步骤。In yet another embodiment provided by the present invention, a computer-readable storage medium is also provided. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, any of the above-mentioned Internet of Things devices can be implemented. The steps of the bound method.

在本发明提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一物联网设备绑定方法。In yet another embodiment provided by the present invention, a computer program product containing instructions is also provided, and when it is run on a computer, it causes the computer to execute any IoT device binding method in the above embodiments.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present invention will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于方法实施例、装置实施例、电子设备实施例、计算机可读存储介质实施例而言,由于其基本相似于系统实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for method embodiments, device embodiments, electronic device embodiments, and computer-readable storage medium embodiments, since they are basically similar to system embodiments, the description is relatively simple. For relevant information, please refer to the part of method embodiments Just explain.

以上所述仅为本发明的较佳实施例,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (15)

1. The Internet of things equipment binding system is characterized by comprising a user terminal, an Internet of things platform and Internet of things equipment; the Internet of things equipment is accessed to the Internet of things platform;
the user terminal is used for sending an acquisition request carrying temporary verification information of a login account to the Internet of things platform after the user terminal logs in the Internet of things platform by using the login account; receiving temporary verification information sent by the Internet of things platform; sending the temporary verification information to the to-be-bound IOT equipment in a near field communication mode based on the equipment identification of the to-be-bound IOT equipment; the device to be bound is any one of the devices of the Internet of things;
the Internet of things platform is used for receiving the acquisition request, generating temporary verification information corresponding to the login account, and feeding back the temporary verification information to the user terminal; receiving a binding request carrying the temporary verification information and sent by the to-be-bound Internet of things equipment; verifying the temporary verification information in the binding request, and binding the to-be-bound Internet of things equipment to the login account when the verification is successful;
each Internet of things device is used for receiving the temporary verification information sent by the user terminal and sending the binding request to the Internet of things platform.
2. The system of claim 1,
the Internet of things platform is further used for sending a first push message for representing that the to-be-bound Internet of things equipment is successfully bound to the user terminal after the to-be-bound Internet of things equipment is bound to the login account;
the user terminal is further configured to receive the first push message and output the first push message.
3. The system of claim 1,
the Internet of things platform is further used for sending a second push message for representing that the to-be-bound Internet of things equipment is successfully bound to the to-be-bound Internet of things equipment after the to-be-bound Internet of things equipment is bound to the login account;
each piece of internet-of-things equipment is further used for receiving the second push message.
4. The system of claim 1,
the user terminal is further configured to send an inquiry request carrying the device identifier and about the binding state of the to-be-bound internet-of-things device to the internet-of-things platform; receiving the binding state sent by the Internet of things platform, and outputting the binding state;
the internet of things platform is further used for receiving the inquiry request, inquiring the binding state of the internet of things equipment to be bound based on the equipment identification, and feeding back the binding state to the user terminal.
5. The system of claim 1,
the user terminal is further used for sending a query request carrying the login account and about the binding equipment to the Internet of things platform; receiving a binding equipment list sent by the platform of the Internet of things, and outputting the binding equipment list;
the internet of things platform is further used for receiving the query request, querying a binding device list corresponding to the login account, and sending the binding device list to the user terminal.
6. The system of claim 1,
the user terminal is further used for sending distribution network information to the to-be-bound Internet of things equipment;
each Internet of things device is further used for receiving the distribution network information and connecting a network based on the distribution network information.
7. The system of claim 1, wherein the near field communication means comprises: NFC, bluetooth transmission or local area network communication.
8. The method for binding the Internet of things equipment is characterized by being applied to a user terminal in an Internet of things equipment binding system, wherein the system further comprises an Internet of things platform and the Internet of things equipment; the Internet of things equipment is accessed to the Internet of things platform; the method comprises the following steps:
after logging in the Internet of things platform by using a login account, sending an acquisition request carrying temporary verification information of the login account to the Internet of things platform, so that the Internet of things platform receives the acquisition request, generates temporary verification information corresponding to the login account, and feeds back the temporary verification information to the user terminal;
receiving temporary verification information sent by the Internet of things platform;
based on the device identification of the to-be-bound IOT device, sending the temporary verification information to the to-be-bound IOT device in a near field communication mode, so that the to-be-bound IOT device receives the temporary verification information sent by the user terminal, and sends a binding request carrying the temporary verification information to the IOT platform, so that the IOT platform receives the binding request, verifies the temporary verification information in the binding request, and binds the to-be-bound IOT device to the login account when verification is successful, wherein the to-be-bound IOT device is any one of the IOT devices.
9. The method for binding the equipment of the Internet of things is characterized by being applied to an Internet of things platform in an Internet of things equipment binding system, wherein the system further comprises a user terminal and the equipment of the Internet of things; the Internet of things equipment is accessed to the Internet of things platform; the method comprises the following steps:
receiving an acquisition request carrying temporary verification information of a login account of the user terminal, generating temporary verification information corresponding to the login account, feeding the temporary verification information back to the user terminal, so that the user terminal receives the temporary verification information, sending the temporary verification information to the to-be-bound Internet of things equipment in a near field communication mode based on an equipment identifier of the to-be-bound Internet of things equipment, and enabling the to-be-bound Internet of things equipment to receive the temporary verification information and send a binding request carrying the temporary verification information to the Internet of things platform; the obtaining request is sent to the Internet of things platform by the user terminal after logging in the Internet of things platform by using the login account; the to-be-bound Internet of things equipment is any one of the Internet of things equipment;
receiving the binding request;
and verifying the temporary verification information in the binding request, and binding the to-be-bound Internet of things equipment to the login account when the verification is successful.
10. The method for binding the Internet of things equipment is characterized by being applied to the Internet of things equipment in an Internet of things equipment binding system, wherein the system further comprises a user terminal and an Internet of things platform; the Internet of things equipment is accessed to the Internet of things platform; the method comprises the following steps:
receiving temporary verification information sent by the user terminal; the temporary verification information is sent to the to-be-bound Internet of things equipment by the user terminal in a near field communication mode based on the equipment identification of the to-be-bound Internet of things equipment after the temporary verification information fed back by the Internet of things platform is received; the temporary verification information fed back by the Internet of things platform is generated by the Internet of things platform and corresponds to the login account after receiving an acquisition request which is sent by the user terminal and carries the login account of the user terminal and is related to the temporary verification information; the obtaining request is sent to the Internet of things platform by the user terminal after logging in the Internet of things platform by using the login account; the equipment of the Internet of things to be bound is any one of the equipment of the Internet of things;
sending a binding request carrying the temporary verification information to the Internet of things platform, so that the Internet of things platform receives the binding request, verifies the temporary verification information in the binding request, and binds the to-be-bound Internet of things equipment to a login account of the user terminal when verification is successful.
11. The device for binding the Internet of things equipment is characterized by being applied to a user terminal in a system for binding the Internet of things equipment, and the system further comprises an Internet of things platform and the Internet of things equipment; the Internet of things equipment is accessed to the Internet of things platform; the device comprises:
the system comprises an acquisition request sending module, a user terminal and a login account sending module, wherein the acquisition request sending module is used for sending an acquisition request carrying temporary verification information of the login account to the Internet of things platform after logging in the Internet of things platform by using the login account so that the Internet of things platform receives the acquisition request, generates the temporary verification information corresponding to the login account and feeds the temporary verification information back to the user terminal;
the first receiving module is used for receiving temporary verification information sent by the Internet of things platform;
the sending module is used for sending the temporary verification information to the to-be-bound Internet of things equipment in a near field communication mode based on the equipment identification of the to-be-bound Internet of things equipment, so that the to-be-bound Internet of things equipment receives the temporary verification information sent by the user terminal and sends a binding request carrying the temporary verification information to the Internet of things platform, the binding request is received by the Internet of things platform, the temporary verification information in the binding request is verified, and the to-be-bound Internet of things equipment is bound to the login account number when verification is successful, wherein the to-be-bound Internet of things equipment is any one of the Internet of things equipment.
12. The device for binding the Internet of things equipment is applied to an Internet of things platform in an Internet of things equipment binding system, and the system further comprises a user terminal and the Internet of things equipment; the Internet of things equipment is accessed to the Internet of things platform; the device comprises:
the generation module is used for receiving an acquisition request which carries a login account of the user terminal and is related to temporary verification information, generating temporary verification information corresponding to the login account, feeding the temporary verification information back to the user terminal, enabling the user terminal to receive the temporary verification information, sending the temporary verification information to the to-be-bound Internet of things equipment in a near field communication mode based on an equipment identifier of the to-be-bound Internet of things equipment, enabling the to-be-bound Internet of things equipment to receive the temporary verification information, and sending a binding request which carries the temporary verification information to the Internet of things platform; the obtaining request is sent to the Internet of things platform by the user terminal after logging in the Internet of things platform by using the login account; the equipment of the Internet of things to be bound is any one of the equipment of the Internet of things;
a binding request receiving module, configured to receive the binding request;
and the binding module is used for verifying the temporary verification information in the binding request and binding the to-be-bound Internet of things equipment to the login account when the verification is successful.
13. The device for binding the Internet of things equipment is applied to the Internet of things equipment in an Internet of things equipment binding system, and the system further comprises a user terminal and an Internet of things platform; the Internet of things equipment is accessed to the Internet of things platform; the device comprises:
the verification information receiving module is used for receiving temporary verification information sent by the user terminal; the temporary verification information is sent to the to-be-bound Internet of things equipment by the user terminal in a near field communication mode based on the equipment identification of the to-be-bound Internet of things equipment after the user terminal receives the temporary verification information fed back by the Internet of things platform; the temporary verification information fed back by the Internet of things platform is generated by the Internet of things platform and corresponds to the login account after receiving an acquisition request which is sent by the user terminal and carries the login account of the user terminal and relates to the temporary verification information; the obtaining request is sent to the Internet of things platform by the user terminal after logging in the Internet of things platform by using the login account; the equipment of the Internet of things to be bound is any one of the equipment of the Internet of things;
and the binding request sending module is used for sending a binding request carrying the temporary verification information to the Internet of things platform so that the Internet of things platform receives the binding request, verifies the temporary verification information in the binding request and binds the to-be-bound Internet of things equipment to the login account of the user terminal when the verification is successful.
14. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 8 to 10 when executing a program stored in the memory.
15. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 8-10.
CN202210980144.2A 2022-08-16 2022-08-16 Internet of things equipment binding system, method and device and electronic equipment Pending CN115412920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210980144.2A CN115412920A (en) 2022-08-16 2022-08-16 Internet of things equipment binding system, method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210980144.2A CN115412920A (en) 2022-08-16 2022-08-16 Internet of things equipment binding system, method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115412920A true CN115412920A (en) 2022-11-29

Family

ID=84159637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210980144.2A Pending CN115412920A (en) 2022-08-16 2022-08-16 Internet of things equipment binding system, method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115412920A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914357A (en) * 2022-12-01 2023-04-04 上海物盾信息科技有限公司 Equipment registration method, device, equipment and storage medium
CN118784683A (en) * 2024-08-07 2024-10-15 南京雏凤科技有限公司 Internet of things device binding method and Internet of things device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967596A (en) * 2014-10-31 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for realizing binding and communication between user terminal and Internet of things device
CN106713386A (en) * 2015-11-13 2017-05-24 深圳市光峰光电技术有限公司 Projection equipment binding communication method, projection equipment and intelligent terminal
CN110351169A (en) * 2019-09-06 2019-10-18 珠海格力电器股份有限公司 Method and device for binding equipment
CN111948952A (en) * 2020-08-13 2020-11-17 深圳市信锐网科技术有限公司 A kind of Internet of things equipment control method, Internet of things platform and related equipment
CN113746633A (en) * 2021-08-05 2021-12-03 深圳Tcl新技术有限公司 Internet of things equipment binding method, device and system, cloud server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967596A (en) * 2014-10-31 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for realizing binding and communication between user terminal and Internet of things device
CN106713386A (en) * 2015-11-13 2017-05-24 深圳市光峰光电技术有限公司 Projection equipment binding communication method, projection equipment and intelligent terminal
CN110351169A (en) * 2019-09-06 2019-10-18 珠海格力电器股份有限公司 Method and device for binding equipment
CN111948952A (en) * 2020-08-13 2020-11-17 深圳市信锐网科技术有限公司 A kind of Internet of things equipment control method, Internet of things platform and related equipment
CN113746633A (en) * 2021-08-05 2021-12-03 深圳Tcl新技术有限公司 Internet of things equipment binding method, device and system, cloud server and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914357A (en) * 2022-12-01 2023-04-04 上海物盾信息科技有限公司 Equipment registration method, device, equipment and storage medium
CN118784683A (en) * 2024-08-07 2024-10-15 南京雏凤科技有限公司 Internet of things device binding method and Internet of things device
CN118784683B (en) * 2024-08-07 2025-01-14 南京雏凤科技有限公司 Internet of Things Device Binding Method and Internet of Things Device

Similar Documents

Publication Publication Date Title
CN110798471A (en) Air conditioner management method and related device
US11316693B2 (en) Trusted platform module-based prepaid access token for commercial IoT online services
CN106685947B (en) Access method and system for private cloud equipment of smart television
CN109413040B (en) Message authentication method, device, system, and computer-readable storage medium
CN108540433A (en) User identity method of calibration and device
KR20120002836A (en) Apparatus and method for controlling access to a plurality of services
CN102377617A (en) Systems, methods, and apparatus to monitor and authenticate mobile internet activity
CN115412920A (en) Internet of things equipment binding system, method and device and electronic equipment
CN106679095B (en) A kind of method, apparatus and intelligent air-conditioning system of interconnection access
KR101832535B1 (en) Trustworthy device claims as a service
CN110445615B (en) Network request security verification method, device, medium and electronic equipment
US9455972B1 (en) Provisioning a mobile device with a security application on the fly
CN109996219B (en) Internet of things authentication method, network equipment and terminal
CN112199210A (en) Data processing method and device based on Internet of things, computer equipment and medium
CN113615141B (en) Account association method, device, system, server and storage medium
WO2009009968A1 (en) A method, device and system for acquiring login information
WO2021104152A1 (en) Methods for application login and application visiting application server, and electronic device
CN101896917B (en) Method for moving rights object and method for managing rights of issuing rights object and system thereof
CN1939035B (en) Method and apparatus for communicating data between computer devices
CN104346580A (en) Apparatus and method for controlling access of a resource
CN114500630A (en) Message pushing method, device, system, storage medium and electronic equipment
CN117938986A (en) Sharing method, system, equipment and storage medium of digital car key
CN110351719A (en) A kind of wireless network management method, system and electronic equipment and storage medium
TWM592629U (en) System to obtain appended data and execute corresponding operation when identity is confirmed
CN114185804A (en) Interface testing method and device and terminal equipment

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