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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 100
- 238000012795 verification Methods 0.000 claims abstract description 307
- 238000004891 communication Methods 0.000 claims abstract description 104
- 230000005540 biological transmission Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 9
- 230000003993 interaction Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 230000011664 signaling Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-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
本发明实施例提供了一种物联网设备绑定系统、方法、装置及电子设备,涉及物联网技术领域。物联网设备绑定系统包括用户终端、物联网平台和物联网设备。用户终端向物联网平台发送关于临时验证信息的获取请求;接收临时验证信息并利用近场通信方式向待绑定物联网设备发送临时验证信息;物联网平台接收获取请求,生成与登录账号对应的临时验证信息并将临时验证信息反馈给用户终端;接收携带有临时验证信息的绑定请求;对临时验证信息进行验证,并在验证成功时将待绑定物联网设备绑定至登录账号;物联网设备接收用户终端发送的临时验证信息并向物联网平台发送绑定请求。与现有技术相比,应用本发明实施例提供的方案,可以提高物联网设备的运行安全。
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.
Description
技术领域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
用户终端100,用于在使用登录账号登录物联网平台200后,向物联网平台200发送携带有登录账号的关于临时验证信息的获取请求;接收物联网平台200发送的临时验证信息;基于待绑定物联网设备300的设备标识,利用近场通信方式向待绑定物联网设备300发送临时验证信息;其中,待绑定物联网设备300为物联网设备300中的任一个设备;The
物联网平台200,用于接收获取请求,生成与登录账号对应的临时验证信息,并将临时验证信息反馈给用户终端100;接收待绑定物联网设备300发送的携带有临时验证信息的绑定请求;对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备300绑定至登录账号;The Internet of
每个物联网设备300,用于接收用户终端100发送的临时验证信息,并向物联网平台200发送绑定请求。Each
下面,结合上述物联网设备绑定系统中的用户终端100、物联网平台200和待绑定物联网设备300的信令交互过程,对图1所示的本发明实施例提供的物联网设备绑定系统进行具体说明。Next, in combination with the signaling interaction process of the
图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
S201:用户终端100在使用登录账号登录物联网平台200后,向物联网平台200发送携带有登录账号的关于临时验证信息的获取请求;S201: After the
对于用户而言,当希望通过所使用的用户终端100对物联网平台200中已接入的物联网设备300进行控制时,该用户所使用的用户终端100需要首先接入物联网平台200中,因此,用户需要首先在物联网平台100进行注册,并获得登录物联网平台100的登录账号。For the user, when he wants to control the connected
可选的,上述登录账号中可以包括用户名和/或登录密码。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
其中,所谓使用登录账号登录物联网平台是指:使用上述登录账号登录用户终端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
可选的,用户可以在所使用的用户终端100下载物联网平台200的APP(Application,应用程序),之后,使用上述登录账号登录上述APP,并通过该APP向物联网平台200发送携带有登录账号的关于临时验证信息的获取请求。Optionally, the user can download the APP (Application, application program) of the Internet of
可选的,用户可以在所使用的用户终端100打开物联网平台的操作页面,之后,使用上述登录账号在上述操作页面进行登录,并通过该操作页面向物联网平台200发送携带有登录账号的关于临时验证信息的获取请求。Optionally, the user can open the operation page of the Internet of Things platform on the
S202:物联网平台200接收用户终端100发送的获取请求,生成与登录账号对应的临时验证信息;S202: The Internet of
S203:物联网平台200将临时验证信息反馈给用户终端100;S203: The
物联网平台200可以接收用户终端100发送的上述获取请求,之后,根据上述获取请求中所携带的登录账号,生成与该登录账号相对应的临时验证信息,并将所生成的临时验证信息反馈给用户终端100。The Internet of
其中,上述临时验证信息用于在将待绑定物联网设备绑定至登录账号时,验证拥有上述登录账号的用户是否拥有上述待绑定物联网设备绑定的控制权限。该临时验证信息可以是与登录账号相对应的用户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
S205:用户终端100基于待绑定物联网设备300的设备标识,利用近场通信方式向待绑定物联网设备300发送临时验证信息;S205: Based on the device identification of the
用户可以通过物联网平台200,确定自身想要绑定且已接入物联网平台200的物联网设备300,作为待绑定物联网设备300,进而,可以确定该待绑定物联网设备300的设备标识。Users can use the
可选的,用户可以首先在用户终端100上查看已接入的物联网平台200的物联网设备,之后,可以确定每个物联网设备与该用户所使用的用户终端100之间的距离,进而,在与用户终端100可以进行近场通信的物联网设备300中确定待绑定物联网设备300,并获取该待绑定物联网设备300的设备标识;Optionally, the user can first view the IoT devices connected to the
可选的,用户可以首先确定可以与所使用的用户终端进行近场通信的设备,之后,查看该设备是否已接入物联网平台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
这样,用户终端100在接收物联网平台200发送的临时验证信息后,可以通过待绑定物联网设备300的设备标识,利用近场通信方式将上述临时验证信息发送给待绑定物联网设备300。In this way, after receiving the temporary verification information sent by the
其中,上述待绑定物联网设备的设备标识可以是设备名称、设备序列号,也可以是设备通信地址,还可以是设备验证码,这都是合理的,在本发明实施例中不做具体限定。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
所谓蓝牙(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
S206:待绑定物联网设备300接收用户终端100发送的临时验证信息;S206: The
S207:待绑定物联网设备300向物联网平台200发送绑定请求;S207: The
待绑定物联网设备300接收用户终端100发送的临时验证信息,之后,可以生成携带有上述临时验证信息的绑定请求,并将上述绑定请求发送给物联网平台200。After receiving the temporary verification information sent by the
例如,待绑定物联网设备300在接收到上述临时验证信息时,可以显示上述临时验证信息,这样,用户可以控制待绑定物联网设备300向物联网平台200发送携带有上述临时验证信息的绑定请求;For example, when the
例如,待绑定物联网设备300在接收到上述临时验证信息时,可以无需用户控制,自动向物联网平台200发送携带有上述临时验证信息的绑定请求。For example, when the
S208:物联网平台200接收待绑定物联网设备300发送的携带有临时验证信息的绑定请求;S208: The
S209:物联网平台200对绑定请求中的临时验证信息进行验证,并在验证成功时,将待绑定物联网设备300绑定至登录账号。S209: The
物联网平台200可以接收上述待绑定物联网设备300发送的绑定请求,获取上述绑定请求中的临时验证信息,并对上述绑定请求中的临时验证信息进行验证。之后,在上述临时验证信息验证成功时,将上述待绑定物联网设备300绑定至上述临时验证信息所对应的登录账号下。The
可选的,物联网平台200可以验证该临时验证信息的信息格式是否符合物联网平台200所生产的临时验证信息的格式规范;Optionally, the Internet of
可选的,物联网平台200可以验证该临时验证信息是否因已超过该临时验证信息的预设时限而失效;Optionally, the
可选的,物联网平台200在生成每个登录账号对应的临时验证信息时,可以记录该临时验证信息和用户账号的对应关系,并且,在每个临时验证信息失效时删除上述对应关系,这样,在接收到携带有临时验证信息的绑定请求时,可以获取上述临时验证信息,并在所记录的对应关系中,查看是否存在该临时验证信息的对应关系,若存在,则该临时验证信息有效。Optionally, when the Internet of
为了使用户可以及时了解待绑定物联网设备300与登录账号的绑定情况,物联网平台200可以在待绑定物联网设备300绑定至上述登录账号后,向用户终端100反馈上述绑定结果。In order for the user to know the binding status of the
可选的,一种具体实现方式中,Optionally, in a specific implementation manner,
物联网平台200,还用于在将待绑定物联网设备300绑定至登录账号后,向用户终端100发送用于表征待绑定物联网设备300绑定成功的第一推送消息;The Internet of
用户终端100,还用于接收第一推送消息,并输出第一推送消息。The
在本具体实现方式中,物联网平台200在将待绑定物联网设备300绑定至登录账号后,可以向用户终端100发送用于表征待绑定物联网设备300绑定成功的第一推送消息。这样,用户终端100可以接收上述第一推送消息,并输出上述第一推送消息,以提示用户上述待绑定物联网设备300已绑定至上述登录账号下。In this specific implementation, after the
其中,上述输出第一推送消息可以是:在用户终端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
同样的,在用户使用用户终端100执行其他任务时,为了便于用于在待绑定物联网设备300上及时了解该待绑定物联网设备300的绑定情况,物联网平台200可以在将待绑定物联网设备300绑定至上述登录账号后,向待绑定物联网设备300反馈上述绑定结果。Similarly, when the user uses the
可选的,另一种具体实现方式中,Optionally, in another specific implementation,
物联网平台200,还用于在将待绑定物联网设备300绑定至登录账号后,向待绑定物联网设备300发送用于表征待绑定物联网设备300绑定成功的第二推送消息;The
待绑定物联网设备300,还用于接收第二推送消息。The
在本具体实现方式中,物联网平台200在将待绑定物联网设备300绑定至登录账号后,可以向待绑定物联网设备300发送用于表征待绑定物联网设备300绑定成功的第二推送消息。这样,待绑定物联网设备300可以接收上述第二推送消息。In this specific implementation manner, after the
可选的,物联网平台200在将待绑定物联网设备300绑定至登录账号后,可以向待绑定物联网设备300发送用于表征待绑定物联网设备300绑定成功的第二推送消息,从而,待绑定物联网设备300可以接收第二推送消息,并输出上述第二推送消息,以提示用户该待绑定物联网设备300已绑定至登录账号下。Optionally, after the Internet of
其中,上述输出第二推送消息可以是:在待绑定物联网设备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
用户终端100在向待绑定物联网设备300发送上述临时验证信息后,为了了解上述待绑定物联网设备300的绑定状态,可以向物联网平台200发送关于待绑定物联网设备300的绑定状态的问询请求。After the
可选的,一种具体实现方式中,Optionally, in a specific implementation manner,
用户终端100,还用于向物联网平台200发送携带有设备标识的关于待绑定物联网设备300绑定状态的问询请求;接收物联网平台200发送的绑定状态,并输出绑定状态;The
物联网平台200,还用于接收问询请求,基于设备标识,查询待绑定物联网设备300的绑定状态,并向用户终端100反馈绑定状态。The
在本具体实现方式中,用户终端100可以向物联网平台200发送关于待绑定物联网设备300绑定状态的问询请求,其中,该问询请求中携带有待绑定物联网设备300的设备标识。这样,物联网平台200可以接收上述问询请求,并基于上述待绑定物联网设备300的设备标识,查询该待绑定物联网设备300的是否已绑定至用户终端对应的登录账号下,从而,确定该待绑定物联网设备300的绑定状态,并向用户终端100反馈该待绑定物联网设备300的绑定状态。In this specific implementation, the
进而,用户终端100可以接收物联网平台200发送的待绑定物联网设备300的绑定状态,并输出绑定状态,以提示用户关于待绑定物联网设备300的绑定状态。Furthermore, the
其中,上述输出绑定状态可以是在用户终端100的显示屏幕上显示上述绑定状态。Wherein, the above-mentioned outputting the binding state may be displaying the above-mentioned binding state on the display screen of the
并且,上述绑定状态可以是已绑定,也可以是未绑定。In addition, the aforementioned binding state may be bound or unbound.
可选的,在上述待绑定物联网设备300未向物联网平台200发送绑定请求时,物联网平台200向用户终端100反馈该待绑定物联网设备300的绑定状态为未绑定;Optionally, when the
可选的,在上述待绑定物联网设备300已向物联网平台200发送绑定请求,但上述绑定请求中的临时验证信息未通过验证时,物联网平台200向用户终端100反馈该待绑定物联网设备300的绑定状态为未绑定;Optionally, when the
可选的,在上述待绑定物联网设备300已绑定至上述登录账号时,物联网平台200向用户终端100反馈该待绑定物联网设备300的绑定状态为已绑定。Optionally, when the
基于此,在上述待绑定物联网设备300的绑定状态不同时,物联网平台200反馈给用户终端100的待绑定物联网设备300的绑定状态是不用的,进而,物联网平台200在接收到上述绑定状态后,所输出的待绑定物联网设备300的绑定状态也是不同的,用户可以基于所接受的待绑定物联网设备300的绑定状态,采取不同的处理方式,例如,在所接受到的待绑定物联网设备300的绑定状态为未绑定时,用户可以查看上述待绑定物联网设备300的网络连接是否正常;在所接受到的待绑定物联网设备300的绑定状态为已绑定时,用户可以通过用户终端100对上述待绑定物联网设备300进行远程操作等。Based on this, when the binding statuses of the above-mentioned
这样,相比于物联网平台200在待绑定物联网设备300绑定至用户的登录账号后向用户发送推送消息的方式,用户在需要了解待绑定物联网设备300的绑定状态时,主动向物联网平台问询请求的方式,可以避免用户在操作用户终端处理其他任务时,因被物联网平台推送消息频繁打扰而影响其他任务进度的情况,进而,提升用户的使用体验。In this way, compared to the way in which the
通常一个登录账号可以绑定多个物联网设备,在物联网设备标识发生变更、平台系统出现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
可选的,一种具体实现方式中,Optionally, in a specific implementation manner,
用户终端100,还用于向物联网平台200发送携带有登录账号的关于绑定设备的查询请求;接收物联网平台发送的绑定设备列表,并输出绑定设备列表;The
物联网平台200,还用于接收查询请求,查询登录账号对应的绑定设备列表,并向用户终端100发送绑定设备列表。The
在本具体实现方式中,针对每个登录账号,物联网平台200存储有该登录账号对应的绑定设备的绑定设备列表。In this specific implementation manner, for each login account, the Internet of
用户终端100可以向物联网平台200发送携带有登录账号的关于绑定设备的查询请求,之后,物联网平台200可以接收上述查询请求,查询该登录账号对应的绑定设备列表,并向用户终端100发送上述绑定设备列表。The
这样,用户终端100可以接收物联网平台200发送的上述绑定设备列表,并输出上述绑定设备列表,以提示用户关于该登录账号对应的绑定设备的绑定设备列表。In this way, the
其中,上述输出绑定设备列表可以是在用户终端100的显示屏幕上显示上述绑定设备列表。Wherein, the outputting the bound device list may be displaying the bound device list on the display screen of the
可选的,用户终端100可以按照预设时间间隔向物联网平台200发送携带有登录账号的关于绑定设备的查询请求,其中,上述预设时间间隔可以是1天,也可以是10天,这都是合理的,在本发明实施例中不做具体限定。Optionally, the
可选的,针对自身所存储的绑定设备列表中的绑定设备,用户终端100可以按照预设顺序依次向物联网平台200发送携带有登录账号和每个绑定设备的设备标识的关于该绑定设备的轮询请求,其中,上述预设顺序可以是设备绑定的时间先后顺序,也可以是设备标识的排列顺序,这都是合理的,在本发明实施例中不做具体限定。Optionally, for the bound devices in the bound device list stored by itself, the
可选的,用户可以对登录账号所绑定的物联网设备300进行预估,进而,可以将每个物联网设备的设备标识输入到用户终端100中,这样,用户终端100可以向物联网平台200发送携带有登录账号和设备标识的关于该物联网设备的轮询请求,以确定每个物联网设备的真是绑定状态。Optionally, the user can estimate the
上述将待绑定物联网设备300绑定至用户的登录账号的过程是借助于物联网平台200实现的,所以上述待绑定物联网设备300需要连接网络,并与上述物联网平台200进行通信。基于此,为了实现上述待绑定物联网设备300和物联网平台200之间的通信,用户终端100可以向上述待绑定物联网设备300发送配网信息。The above-mentioned process of binding the
可选的,一种具体实现方式中,Optionally, in a specific implementation manner,
用户终端100,还用于向待绑定物联网设备300发送配网信息;The
每个物联网设备300,还用于接收配网信息,并基于配网信息连接网络。Each
在本具体实现方式中,用户终端100在获取上述待绑定物联网设备300的设备标识后,可以向上述待绑定物联网设备300发送配网信息,这样,待绑定物联网设备300可以接收上述配网信息,从而,基于上述配网信息,连接对应的网络,实现与上述物联网平台200之间的通信。In this specific implementation, after the
其中,上述配网信息可以包括网络标识、连接密码等。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
可选的,当待绑定物联网设备300均连接有线网络时,则用户终端100无需向待绑定物联网设备300发送上述配网信息。Optionally, when all the
为了便于理解上述物联网设备绑定系统中用户终端、物联网平台和物联网设备的交互过程,结合图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
第一接收模块720,用于接收所述物联网平台发送的临时验证信息;The
发送模块730,用于基于所述待绑定物联网设备的设备标识,利用近场通信方式向所述待绑定物联网设备发送所述临时验证信息,以使所述待绑定物联网设备接收所述用户终端发送的临时验证信息,并向所述物联网平台发送携带有所述临时验证信息的绑定请求,使得所述物联网平台接收所述绑定请求,对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号,其中,所述待绑定物联网设备为所述物联网设备中的任一个设备。The sending
以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。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
绑定请求接收模块820,用于接收所述绑定请求;A binding
绑定模块830,用于对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述登录账号。The
以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。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
绑定请求发送模块920,用于向所述物联网平台发送携带有所述临时验证信息的绑定请求,以使所述物联网平台接收所述绑定请求,对所述绑定请求中的临时验证信息进行验证,并在验证成功时,将所述待绑定物联网设备绑定至所述用户终端的登录账号。A binding
以上可见,待绑定物联网设备与用户的登录账号的绑定是通过物联网平台验证待绑定物联网设备发送的临时验证信息实现的,而待绑定物联网设备发送的临时验证信息是用户终端通过近场通信方式向待绑定物联网设备发送的。由于近场通信方式要求待绑定物联网设备与用户终端处于同一空间或者存在较短的物理距离,因此,可以认为待绑定物联网设备与用户终端处于一种“可实际接触”的状态下。对于任一物联网设备而言,具有该设备控制权限的用户可以实现所使用的用户终端与该设备处于可实际接触状态,从而,可以认为待绑定物联网设备的临时验证信息是具有该设备控制权限的用户通过用户终端发送的,从而,可以使得待绑定物联网设备所绑定至的登录账号为对该待绑定物联网设备具有控制权限的用户的登录账号,从而,降低了该待绑定物联网设备被不具有该待绑定设备控制权限的用户绑定并操作的风险,进而,提高了该待绑定物联网设备的运行安全。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,用于存放计算机程序;
处理器1001,用于执行存储器1003上所存放的程序时,实现上述任一所述的物联网设备绑定方法。The
上述电子设备提到的通信总线可以是外设部件互连标准(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)
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)
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)
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 |
-
2022
- 2022-08-16 CN CN202210980144.2A patent/CN115412920A/en active Pending
Patent Citations (5)
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)
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 |