CN112637245A - Internet of things equipment binding method and device - Google Patents

Internet of things equipment binding method and device Download PDF

Info

Publication number
CN112637245A
CN112637245A CN202110044294.8A CN202110044294A CN112637245A CN 112637245 A CN112637245 A CN 112637245A CN 202110044294 A CN202110044294 A CN 202110044294A CN 112637245 A CN112637245 A CN 112637245A
Authority
CN
China
Prior art keywords
equipment
internet
things
target
binding
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.)
Granted
Application number
CN202110044294.8A
Other languages
Chinese (zh)
Other versions
CN112637245B (en
Inventor
唐瑞波
李玮棠
陈杰文
陈名峰
马凤鸣
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202110044294.8A priority Critical patent/CN112637245B/en
Publication of CN112637245A publication Critical patent/CN112637245A/en
Application granted granted Critical
Publication of CN112637245B publication Critical patent/CN112637245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a method and a device for binding equipment of the Internet of things. According to the technical scheme, the internet of things equipment is received through broadcasting and is right after the response message of the request message, the internet of things equipment for sending the response message is established and communicated, the response message of the internet of things equipment is set to carry equipment identity information for matching with the preset current binding demand information, only when the matching is consistent, the binding can be established as target equipment, the binding with the internet of things equipment is convenient and fast, and the binding accuracy between the internet of things equipment is improved.

Description

Internet of things equipment binding method and device
Technical Field
The embodiment of the application relates to the technical field of Internet of things, in particular to a method, a device, equipment and a storage medium for binding equipment of the Internet of things.
Background
In recent years, with the wider application of the internet of things equipment, the control and management of the internet of things equipment are important means for realizing the intelligent application in the field of the internet of things. In order to realize the control function of the internet of things device, the terminal and the internet of things device need to be bound first.
When the terminal and the internet of things equipment are bound in the past, manual participation is needed, for example, a verification code is manually input to verify that a message exists, and therefore the complexity of the binding process is increased. After the improvement, the identification code of the equipment to be bound is identified through total scanning, so that the equipment of the Internet of things and the terminal are bound. However, this method is cumbersome to operate, and when the identification code is lost or obscured, it is inconvenient to bind.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for binding equipment of the Internet of things, so that the equipment of the Internet of things can be bound simply and conveniently, and the binding accuracy of the equipment of the Internet of things can be realized.
In a first aspect, an embodiment of the present application provides an internet of things device binding method, including:
broadcasting request information for establishing connection with the Internet of things equipment;
after receiving a response message of the Internet of things equipment to the request message, establishing communication connection with the Internet of things equipment which sends the response message, and acquiring equipment identity information contained in the response message, wherein the equipment identity information comprises an equipment identification code and an equipment position symbol;
acquiring preset binding requirement information; and selecting the Internet of things equipment matched with the binding requirement information from the plurality of Internet of things equipment for establishing communication connection as target equipment, and establishing binding with the target equipment.
Further, the current binding requirement information includes a target device identification code, and selecting an internet of things device matched with the current binding requirement information from a plurality of internet of things devices establishing communication connection as a target device is as follows: and selecting the Internet of things equipment consistent with the identification code of the target equipment from the plurality of Internet of things equipment establishing communication connection as the target equipment.
Further, when the internet of things equipment consistent with the identification code of the target equipment cannot be matched in the plurality of pieces of internet of things equipment for establishing communication connection, request information for establishing connection is sent to the internet of things equipment consistent with the identification code of the target equipment every other preset time, and when response information of the internet of things equipment consistent with the identification code of the target equipment is received, binding is established with the internet of things equipment.
Further, the current binding requirement information includes a target device address character, and the internet of things device matched with the current binding requirement information is selected from a plurality of internet of things devices establishing communication connection as the target device, including:
selecting Internet of things equipment with the address consistent with the address of the target equipment from a plurality of Internet of things equipment for establishing communication connection as main target equipment;
acquiring all Internet of things equipment in a circular area formed by taking main target equipment as a center and taking a preset radiation length as a radius as standby equipment;
selecting the Internet of things equipment for establishing communication connection from the standby equipment as slave target equipment; the master target device and the slave target device are both target devices.
Further, the current binding requirement information includes a target device identification code and a target device address, and the internet of things device matched with the current binding requirement information is selected from a plurality of internet of things devices establishing communication connection as the target device, including:
traversing the Internet of things equipment establishing communication connection, and detecting whether the Internet of things equipment establishing communication connection has the Internet of things equipment with the identification code consistent with the target equipment or the address character consistent with the target equipment;
when the Internet of things equipment consistent with the identification code of the target equipment exists, the Internet of things equipment is used as first target equipment;
when the Internet of things equipment with the address character consistent with that of the target equipment exists, the Internet of things equipment is used as second target equipment;
all Internet of things equipment in a circular area formed by taking second target equipment as a center and taking a preset radiation length as a radius is obtained and used as standby equipment;
selecting the Internet of things equipment for establishing communication connection from the standby equipment as third target equipment; the first target device, the second target device and the third target device are all target devices.
Further, establishing a binding with the target device includes:
sending binding request information to the target equipment;
receiving account information fed back by the target equipment based on the binding request information;
generating a login ID and an access token corresponding to the target equipment according to the account information and the identity information of the target equipment, wherein the access token comprises access timeliness;
and issuing the login ID and the access token to the target equipment.
Further, after the binding with the target device is established, the method further includes:
detecting whether target equipment meets the unbinding condition, and when the target equipment meets the unbinding condition, unbinding the target equipment with the target equipment to form an unbinding record;
the unbinding condition comprises any one or more of reaching access time limit, receiving an unbinding request and being inconsistent with the latest binding requirement;
and when the target equipment does not meet the unbinding condition, sending a data signal to the target equipment.
In a second aspect, an embodiment of the present application provides an internet of things device binding apparatus, including:
a request broadcast module: the request information is used for broadcasting the request information for establishing connection with the Internet of things equipment;
a communication establishment module: the device identity information comprises a device identification code and a device location symbol, and is used for establishing communication connection with the Internet of things device sending the response message after receiving the response message of the Internet of things device to the request message, and acquiring the device identity information contained in the response message;
a binding establishment module: the binding request information acquiring unit is used for acquiring preset binding request information; and selecting the Internet of things equipment matched with the binding requirement information from the plurality of Internet of things equipment for establishing communication connection as target equipment, and establishing binding with the target equipment.
Further, the current binding requirement information includes a target device identification code, and the selecting of the internet of things device matched with the current binding requirement information from the plurality of internet of things devices establishing communication connection in the binding establishment module as the target device is as follows: and selecting the Internet of things equipment consistent with the identification code of the target equipment from the plurality of Internet of things equipment establishing communication connection as the target equipment.
Further, when the internet of things equipment consistent with the identification code of the target equipment cannot be matched in the plurality of pieces of internet of things equipment for establishing communication connection, request information for establishing connection is sent to the internet of things equipment consistent with the identification code of the target equipment every other preset time, and when response information of the internet of things equipment consistent with the identification code of the target equipment is received, binding is established with the internet of things equipment.
Further, the current binding requirement information includes a target device address character, and the binding establishment module selects an internet of things device matched with the current binding requirement information from a plurality of internet of things devices establishing communication connection as the target device, including:
selecting Internet of things equipment with the address consistent with the address of the target equipment from a plurality of Internet of things equipment for establishing communication connection as main target equipment;
acquiring all Internet of things equipment in a circular area formed by taking main target equipment as a center and taking a preset radiation length as a radius as standby equipment;
selecting the Internet of things equipment for establishing communication connection from the standby equipment as slave target equipment; the master target device and the slave target device are both target devices.
Further, the binding requirement information includes a target device identification code and a target device address, and the binding establishment module selects an internet of things device matched with the binding requirement information from a plurality of internet of things devices establishing communication connection as the target device, and includes:
traversing the Internet of things equipment establishing communication connection, and detecting whether the Internet of things equipment establishing communication connection has the Internet of things equipment with the identification code consistent with the target equipment or the address character consistent with the target equipment;
when the Internet of things equipment consistent with the identification code of the target equipment exists, the Internet of things equipment is used as first target equipment;
when the Internet of things equipment with the address character consistent with that of the target equipment exists, the Internet of things equipment is used as second target equipment;
all Internet of things equipment in a circular area formed by taking second target equipment as a center and taking a preset radiation length as a radius is obtained and used as standby equipment;
selecting the Internet of things equipment for establishing communication connection from the standby equipment as third target equipment; the first target device, the second target device and the third target device are all target devices.
Further, the establishing of the binding with the target device in the binding establishing module includes:
sending binding request information to the target equipment;
receiving account information fed back by the target equipment based on the binding request information;
generating a login ID and an access token corresponding to the target equipment according to the account information and the identity information of the target equipment, wherein the access token comprises access timeliness;
and issuing the login ID and the access token to the target equipment.
Further, after the target device establishes the binding, the method further includes:
detecting whether target equipment meets the unbinding condition, and when the target equipment meets the unbinding condition, unbinding the target equipment with the target equipment to form an unbinding record;
the unbinding condition comprises any one or more of reaching access time limit, receiving an unbinding request and being inconsistent with the latest binding requirement;
and when the target equipment does not meet the unbinding condition, sending a data signal to the target equipment.
In a third aspect, an embodiment of the present application provides an internet of things device binding apparatus, including: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the internet of things device binding method of the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the internet of things device binding method according to the first aspect when executed by a computer processor.
According to the embodiment of the application, after the response message of the request message is received, the communication connection is established with the Internet of things equipment sending the response message, the response message of the Internet of things equipment is set to carry the equipment identity information for matching with the preset current binding requirement information, and only when the matching is consistent, the target equipment can be used for establishing the binding, so that the convenient and fast binding with the Internet of things equipment is realized, and the binding accuracy with the Internet of things equipment is improved.
Drawings
Fig. 1 is a flowchart of an internet of things device binding method provided in an embodiment of the present application;
fig. 2 is a flowchart of another method for binding devices in the internet of things according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another method for binding devices in the internet of things according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an internet of things device binding apparatus provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an internet of things device binding device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The embodiment of the application provides a method, a device, equipment and a storage medium for binding equipment of the Internet of things. According to the embodiment of the application, after the response message of the request message is received, the communication connection is established with the Internet of things equipment sending the response message, the response message of the Internet of things equipment is set to carry the equipment identity information for matching with the preset current binding requirement information, and only when the matching is consistent, the target equipment can be used for establishing the binding, so that the convenient and fast binding with the Internet of things equipment is realized, and the binding accuracy with the Internet of things equipment is improved.
The following are detailed below.
Fig. 1 is a flowchart of an internet of things device binding method according to an embodiment of the present disclosure, where the internet of things data transmission-based path selection method according to the embodiment of the present disclosure may be executed by an internet of things data transmission-based path selection device, and the internet of things data transmission-based path selection device may be implemented in a hardware and/or software manner and integrated in a computer device.
The method for executing the internet of things equipment binding by the internet of things equipment binding device is described as an example. Referring to fig. 1, the method for binding the internet of things device includes:
101: and broadcasting request information for establishing connection with the Internet of things equipment.
In the topological structure of the Internet of things, a plurality of devices are connected. The internet of things equipment can be a desktop computer, a notebook, a tablet computer, an intelligent bracelet, an intelligent watch and the like, and can also be any transmission node, such as a workstation, a network user, an intelligent printer and the like, connected with a network. The application scenario of the embodiment of the application can be a service platform, and when a binding relationship needs to be established with at least one piece of internet of things equipment, request information is broadcasted first.
102: after receiving a response message of the internet of things equipment to the request message, establishing communication connection with the internet of things equipment sending the response message, and acquiring equipment identity information contained in the response message, wherein the equipment identity information comprises an equipment identification code and an equipment location symbol.
And after the service platform sends the request information, the request information is received by the Internet of things equipment. And after receiving the request information, the online Internet of things equipment responds and feeds back response information to the service platform. And the off-line Internet of things equipment cannot receive the request information in real time and cannot respond based on the request information because the off-line Internet of things equipment is not on line. The Internet of things equipment feedback response information also carries equipment identity information so that the server platform can judge whether to need to bind or not based on the equipment identity information in the following process. And the service platform only establishes communication connection with the Internet of things equipment fed back with the response information.
103: acquiring preset binding requirement information; and selecting the Internet of things equipment matched with the binding requirement information from the plurality of Internet of things equipment for establishing communication connection as target equipment, and establishing binding with the target equipment.
In this embodiment of the application, the current binding requirement information includes a target device identification code, and selecting an internet of things device matched with the current binding requirement information from a plurality of internet of things devices establishing communication connection as a target device is: and selecting the Internet of things equipment consistent with the identification code of the target equipment from the plurality of Internet of things equipment establishing communication connection as the target equipment.
On the other hand, when the internet of things equipment which is consistent with the identification code of the target equipment cannot be matched in the plurality of pieces of internet of things equipment which are used for establishing communication connection, request information for establishing connection is sent to the internet of things equipment which is consistent with the identification code of the target equipment every preset time, and when response information of the internet of things equipment which is consistent with the identification code of the target equipment is received, binding is established with the internet of things equipment.
As a preferred embodiment, in the present application, the present binding requirement information includes a target device address, and selecting, as a target device, an internet of things device matched with the present binding requirement information from a plurality of internet of things devices establishing communication connection includes: selecting Internet of things equipment with the address consistent with the address of the target equipment from a plurality of Internet of things equipment for establishing communication connection as main target equipment; acquiring all Internet of things equipment in a circular area formed by taking main target equipment as a center and taking a preset radiation length as a radius as standby equipment; selecting the Internet of things equipment for establishing communication connection from the standby equipment as slave target equipment; the master target device and the slave target device are both target devices.
In another optional implementation manner, the current binding requirement information includes a target device identification code and a target device address, and the selecting, from the plurality of internet of things devices that establish communication connection, an internet of things device that matches the current binding requirement information as the target device includes: traversing the Internet of things equipment establishing communication connection, and detecting whether the Internet of things equipment establishing communication connection has the Internet of things equipment with the identification code consistent with the target equipment or the address character consistent with the target equipment; when the Internet of things equipment consistent with the identification code of the target equipment exists, the Internet of things equipment is used as first target equipment; when the Internet of things equipment with the address character consistent with that of the target equipment exists, the Internet of things equipment is used as second target equipment; all Internet of things equipment in a circular area formed by taking second target equipment as a center and taking a preset radiation length as a radius is obtained and used as standby equipment; selecting the Internet of things equipment for establishing communication connection from the standby equipment as third target equipment; the first target device, the second target device and the third target device are all target devices.
Fig. 2 shows another method for binding devices of the internet of things provided in the embodiment of the present application, including:
201: and broadcasting request information for establishing connection with the Internet of things equipment.
202: after receiving a response message of the internet of things equipment to the request message, establishing communication connection with the internet of things equipment sending the response message, and acquiring equipment identity information contained in the response message, wherein the equipment identity information comprises an equipment identification code and an equipment location symbol.
203: acquiring preset binding requirement information; and selecting the Internet of things equipment matched with the binding requirement information as target equipment from a plurality of Internet of things equipment establishing communication connection.
After the target device is selected, a binding is established with the target device, as shown in steps 204 to 207.
204: and sending the binding request information to the target equipment.
205: and receiving the account information fed back by the target equipment based on the binding request information.
206: generating a login ID and an access token corresponding to the target equipment according to the account information and the identity information of the target equipment, wherein the access token comprises access timeliness;
207: and issuing the login ID and the access token to the target equipment.
As shown in fig. 3, an embodiment of the present application further provides another method for binding devices of the internet of things, including the following steps:
301: and broadcasting request information for establishing connection with the Internet of things equipment.
302: after receiving a response message of the internet of things equipment to the request message, establishing communication connection with the internet of things equipment sending the response message, and acquiring equipment identity information contained in the response message, wherein the equipment identity information comprises an equipment identification code and an equipment location symbol.
303: acquiring preset binding requirement information; and selecting the Internet of things equipment matched with the binding requirement information from the plurality of Internet of things equipment for establishing communication connection as target equipment, and establishing binding with the target equipment.
304: and detecting whether the target equipment meets the unbinding condition.
305: and when the target equipment meets the unbinding condition, unbinding the target equipment and forming an unbinding record. The unbinding condition comprises any one or more of reaching access time limit, receiving an unbinding request and being inconsistent with the latest binding requirement.
306: and when the target equipment does not meet the unbinding condition, sending a data signal to the target equipment.
In this embodiment, after binding with the target device, it is detected whether the target device meets the unbinding condition, and the target device is unbound after the condition is satisfied. And can be bound with other devices. For the internet of things equipment which is unbound after meeting the condition, binding with the service platform can be established again later. And the target device which does not meet the unbinding condition still needs to continue data transmission.
As shown in fig. 4, an internet of things device binding apparatus provided in the embodiment of the present application includes a request broadcasting module 401, a communication establishing module 402, and a binding establishing module 403. The request broadcasting module 401 is configured to broadcast request information for establishing a connection with an internet of things device. The communication establishing module 402 is configured to establish a communication connection with the internet of things device that sends the response message after receiving the response message of the internet of things device for the request message, and acquire device identity information included in the response message, where the device identity information includes a device identification code and a device location identifier. The binding establishing module 403 is configured to obtain preset current binding requirement information; and selecting the Internet of things equipment matched with the binding requirement information from the plurality of Internet of things equipment for establishing communication connection as target equipment, and establishing binding with the target equipment.
In the embodiment of the application, the current binding requirement information includes a target device identification code, and the selecting of the internet of things device matched with the current binding requirement information from the plurality of internet of things devices establishing communication connection in the binding establishment module as the target device is as follows: and selecting the Internet of things equipment consistent with the identification code of the target equipment from the plurality of Internet of things equipment establishing communication connection as the target equipment.
As a preferred embodiment, when the internet of things equipment consistent with the identification code of the target equipment is not matched in the plurality of pieces of internet of things equipment for establishing communication connection, the request information for establishing connection is sent to the internet of things equipment consistent with the identification code of the target equipment every preset time, and when the response information of the internet of things equipment consistent with the identification code of the target equipment is received, the internet of things equipment is bound.
As a further preferred embodiment, the present binding requirement information includes a target device address character, and the selecting, in the binding establishment module, the internet of things device matched with the present binding requirement information from the plurality of internet of things devices that establish communication connection as the target device includes: selecting Internet of things equipment with the address consistent with the address of the target equipment from a plurality of Internet of things equipment for establishing communication connection as main target equipment; acquiring all Internet of things equipment in a circular area formed by taking main target equipment as a center and taking a preset radiation length as a radius as standby equipment; selecting the Internet of things equipment for establishing communication connection from the standby equipment as slave target equipment; the master target device and the slave target device are both target devices.
In this application, this time of binding demand information includes target device identification code and target device address sign, selects the internet of things device that matches this time of binding demand information as the target device from a plurality of internet of things devices that establish communication connection in the binding establishment module, and includes: traversing the Internet of things equipment establishing communication connection, and detecting whether the Internet of things equipment establishing communication connection has the Internet of things equipment with the identification code consistent with the target equipment or the address character consistent with the target equipment; when the Internet of things equipment consistent with the identification code of the target equipment exists, the Internet of things equipment is used as first target equipment; when the Internet of things equipment with the address character consistent with that of the target equipment exists, the Internet of things equipment is used as second target equipment; all Internet of things equipment in a circular area formed by taking second target equipment as a center and taking a preset radiation length as a radius is obtained and used as standby equipment; selecting the Internet of things equipment for establishing communication connection from the standby equipment as third target equipment; the first target device, the second target device and the third target device are all target devices.
Further, the establishing of the binding with the target device in the binding establishing module includes: sending binding request information to the target equipment; receiving account information fed back by the target equipment based on the binding request information; generating a login ID and an access token corresponding to the target equipment according to the account information and the identity information of the target equipment, wherein the access token comprises access timeliness; and issuing the login ID and the access token to the target equipment.
On the other hand, after the target device establishes the binding, the method further includes: detecting whether target equipment meets the unbinding condition, and when the target equipment meets the unbinding condition, unbinding the target equipment with the target equipment to form an unbinding record; and when the target equipment does not meet the unbinding condition, sending a data signal to the target equipment. The unbinding condition comprises any one or more of reaching access time limit, receiving an unbinding request and being inconsistent with the latest binding requirement.
As shown in fig. 5, an embodiment of the present application further provides a computer device, including: a memory 501 and one or more processors 502; the memory 501 is used for storing one or more programs; when executed by the one or more processors 502, the one or more programs cause the one or more processors to implement the internet of things device binding method as described herein.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for binding devices in the internet of things provided in the foregoing embodiments, where the method for binding devices in the internet of things includes: broadcasting request information for establishing connection with the Internet of things equipment; after receiving a response message of the Internet of things equipment to the request message, establishing communication connection with the Internet of things equipment which sends the response message, and acquiring equipment identity information contained in the response message, wherein the equipment identity information comprises an equipment identification code and an equipment position symbol; acquiring preset binding requirement information; and selecting the Internet of things equipment matched with the binding requirement information from the plurality of Internet of things equipment for establishing communication connection as target equipment, and establishing binding with the target equipment.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the method for binding devices in the internet of things as described above, and may also perform related operations in the method for binding devices in the internet of things provided in any embodiments of the present application.
The device, the equipment and the storage medium for binding the device of the internet of things provided in the foregoing embodiments may execute the method for binding the device of the internet of things provided in any embodiments of the present application, and reference may be made to the method for binding the device of the internet of things provided in any embodiments of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. The Internet of things equipment binding method is characterized by comprising the following steps:
broadcasting request information for establishing connection with the Internet of things equipment;
after receiving a response message of the Internet of things equipment to the request message, establishing communication connection with the Internet of things equipment which sends the response message, and acquiring equipment identity information contained in the response message, wherein the equipment identity information comprises an equipment identification code and an equipment position symbol;
acquiring preset binding requirement information; and selecting the Internet of things equipment matched with the binding requirement information from the plurality of Internet of things equipment for establishing communication connection as target equipment, and establishing binding with the target equipment.
2. The method for binding the internet of things equipment according to claim 1, wherein the current binding requirement information includes a target equipment identification code, and selecting the internet of things equipment matched with the current binding requirement information from a plurality of internet of things equipment establishing communication connection as the target equipment is: and selecting the Internet of things equipment consistent with the identification code of the target equipment from the plurality of Internet of things equipment establishing communication connection as the target equipment.
3. The method for binding the internet of things equipment according to claim 2, wherein when the internet of things equipment which is consistent with the identification code of the target equipment cannot be matched in the plurality of pieces of internet of things equipment which establish communication connection, request information for establishing connection is sent to the internet of things equipment which is consistent with the identification code of the target equipment every preset time, and when response information of the internet of things equipment which is consistent with the identification code of the target equipment is received, binding is established with the internet of things equipment.
4. The method for binding the internet of things equipment according to claim 1, wherein the current binding requirement information includes a target equipment address character, and selecting the internet of things equipment matched with the current binding requirement information from a plurality of internet of things equipment establishing communication connection as the target equipment comprises:
selecting Internet of things equipment with the address consistent with the address of the target equipment from a plurality of Internet of things equipment for establishing communication connection as main target equipment;
acquiring all Internet of things equipment in a circular area formed by taking main target equipment as a center and taking a preset radiation length as a radius as standby equipment;
selecting the Internet of things equipment for establishing communication connection from the standby equipment as slave target equipment; the master target device and the slave target device are both target devices.
5. The method for binding the internet of things equipment according to claim 2, wherein the current binding requirement information includes a target equipment identification code and a target equipment address, and the internet of things equipment matched with the current binding requirement information is selected from a plurality of internet of things equipment establishing communication connection as the target equipment, and the method comprises the following steps:
traversing the Internet of things equipment establishing communication connection, and detecting whether the Internet of things equipment establishing communication connection has the Internet of things equipment with the identification code consistent with the target equipment or the address character consistent with the target equipment;
when the Internet of things equipment consistent with the identification code of the target equipment exists, the Internet of things equipment is used as first target equipment;
when the Internet of things equipment with the address character consistent with that of the target equipment exists, the Internet of things equipment is used as second target equipment;
all Internet of things equipment in a circular area formed by taking second target equipment as a center and taking a preset radiation length as a radius is obtained and used as standby equipment;
selecting the Internet of things equipment for establishing communication connection from the standby equipment as third target equipment; the first target device, the second target device and the third target device are all target devices.
6. The internet of things device binding method of claim 1, wherein establishing binding with a target device comprises:
sending binding request information to the target equipment;
receiving account information fed back by the target equipment based on the binding request information;
generating a login ID and an access token corresponding to the target equipment according to the account information and the identity information of the target equipment, wherein the access token comprises access timeliness;
and issuing the login ID and the access token to the target equipment.
7. The internet of things device binding method of claim 6, further comprising, after establishing binding with a target device:
detecting whether target equipment meets the unbinding condition, and when the target equipment meets the unbinding condition, unbinding the target equipment with the target equipment to form an unbinding record;
the unbinding condition comprises any one or more of reaching access time limit, receiving an unbinding request and being inconsistent with the latest binding requirement;
and when the target equipment does not meet the unbinding condition, sending a data signal to the target equipment.
8. An internet of things equipment binding device, comprising:
a request broadcast module: the request information is used for broadcasting the request information for establishing connection with the Internet of things equipment;
a communication establishment module: the device identity information comprises a device identification code and a device location symbol, and is used for establishing communication connection with the Internet of things device sending the response message after receiving the response message of the Internet of things device to the request message, and acquiring the device identity information contained in the response message;
a binding establishment module: the binding request information acquiring unit is used for acquiring preset binding request information; and selecting the Internet of things equipment matched with the binding requirement information from the plurality of Internet of things equipment for establishing communication connection as target equipment, and establishing binding with the target equipment.
9. A computer device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the internet of things device binding method of any of claims 1-7.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, perform the internet of things device binding method of any of claims 1-7.
CN202110044294.8A 2021-01-13 2021-01-13 Internet of things equipment binding method and device Active CN112637245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110044294.8A CN112637245B (en) 2021-01-13 2021-01-13 Internet of things equipment binding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110044294.8A CN112637245B (en) 2021-01-13 2021-01-13 Internet of things equipment binding method and device

Publications (2)

Publication Number Publication Date
CN112637245A true CN112637245A (en) 2021-04-09
CN112637245B CN112637245B (en) 2022-01-11

Family

ID=75294100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110044294.8A Active CN112637245B (en) 2021-01-13 2021-01-13 Internet of things equipment binding method and device

Country Status (1)

Country Link
CN (1) CN112637245B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596783A (en) * 2021-07-07 2021-11-02 青岛海尔科技有限公司 Internet of things equipment binding method and device, storage medium and electronic device
CN113746633A (en) * 2021-08-05 2021-12-03 深圳Tcl新技术有限公司 Internet of things equipment binding method, device and system, cloud server and storage medium
CN114926168A (en) * 2022-04-19 2022-08-19 杭州企鹅科技有限公司 Binding data processing method of payment equipment of Internet of things and related equipment
WO2024011916A1 (en) * 2022-07-15 2024-01-18 佛山市顺德区美的电子科技有限公司 Control method and apparatus, device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796969A (en) * 2015-04-29 2015-07-22 广州物联家信息科技股份有限公司 Network accessing method and system for equipment of internet of things on basis of recognition codes of internet of things
CN104967596A (en) * 2014-10-31 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for realizing binding and communication between user terminal and Internet of things device
CN105577495A (en) * 2016-01-04 2016-05-11 青岛海信电器股份有限公司 Control method and device of smart home devices
CN105629752A (en) * 2015-12-30 2016-06-01 深圳众乐智府科技有限公司 Intelligent household equipment access method and intelligent household system
CN105868199A (en) * 2015-01-21 2016-08-17 上海东浦数据服务有限公司 Industrial internet of things distributed data access method and database system
CN107493212A (en) * 2017-08-30 2017-12-19 海信集团有限公司 Configuration processing method, terminal, server and the system of intelligent home device
CN108632236A (en) * 2017-09-08 2018-10-09 北京视联动力国际信息技术有限公司 A kind of data processing method and device regarding networking
US20180370758A1 (en) * 2017-06-22 2018-12-27 Otis Elevator Company Communication system and method for elevator system
US20190141526A1 (en) * 2017-11-06 2019-05-09 Fujitsu Limited Open public internet-of-things systems and methods
CN111586591A (en) * 2020-05-21 2020-08-25 四川虹美智能科技有限公司 Network distribution method and system, intelligent terminal and Internet of things equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967596A (en) * 2014-10-31 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for realizing binding and communication between user terminal and Internet of things device
CN105868199A (en) * 2015-01-21 2016-08-17 上海东浦数据服务有限公司 Industrial internet of things distributed data access method and database system
CN104796969A (en) * 2015-04-29 2015-07-22 广州物联家信息科技股份有限公司 Network accessing method and system for equipment of internet of things on basis of recognition codes of internet of things
CN105629752A (en) * 2015-12-30 2016-06-01 深圳众乐智府科技有限公司 Intelligent household equipment access method and intelligent household system
CN105577495A (en) * 2016-01-04 2016-05-11 青岛海信电器股份有限公司 Control method and device of smart home devices
US20180370758A1 (en) * 2017-06-22 2018-12-27 Otis Elevator Company Communication system and method for elevator system
CN107493212A (en) * 2017-08-30 2017-12-19 海信集团有限公司 Configuration processing method, terminal, server and the system of intelligent home device
CN108632236A (en) * 2017-09-08 2018-10-09 北京视联动力国际信息技术有限公司 A kind of data processing method and device regarding networking
US20190141526A1 (en) * 2017-11-06 2019-05-09 Fujitsu Limited Open public internet-of-things systems and methods
CN111586591A (en) * 2020-05-21 2020-08-25 四川虹美智能科技有限公司 Network distribution method and system, intelligent terminal and Internet of things equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596783A (en) * 2021-07-07 2021-11-02 青岛海尔科技有限公司 Internet of things equipment binding method and device, storage medium and electronic device
CN113746633A (en) * 2021-08-05 2021-12-03 深圳Tcl新技术有限公司 Internet of things equipment binding method, device and system, cloud server and storage medium
CN113746633B (en) * 2021-08-05 2023-10-17 深圳Tcl新技术有限公司 Internet of things equipment binding method, device, system, cloud server and storage medium
CN114926168A (en) * 2022-04-19 2022-08-19 杭州企鹅科技有限公司 Binding data processing method of payment equipment of Internet of things and related equipment
WO2024011916A1 (en) * 2022-07-15 2024-01-18 佛山市顺德区美的电子科技有限公司 Control method and apparatus, device, and storage medium

Also Published As

Publication number Publication date
CN112637245B (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN112637245B (en) Internet of things equipment binding method and device
CN108470298B (en) Method, device and system for transferring resource numerical value
CN108764868B (en) Block chain node proxy reconciliation method and block reconciliation proxy node
EP3654618B1 (en) Audio broadcasting method, device, and system, and smart broadcasting apparatus
CN103139173B (en) Terminal unit, exchange network system, media business method for down loading and system
US20140325391A1 (en) System and method for updating information in an instant messaging application
CN103942093A (en) Service processing method and system
CN111464356B (en) Block consensus period switching method and device and computer equipment
CN104767767A (en) Method, device and system for sharing Internet access data and network equipment
CN113157466A (en) Message pushing method, device, system, electronic equipment and storage medium
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
CN110889263A (en) Document backlog generation method, device, equipment and storage medium
CN104394601A (en) WiFi (wireless fidelity) network access control method, device and router
CN105791093A (en) Virtual goods presenting method and device
CN104967646A (en) File downloading method and apparatus
CN110351362A (en) Data verification method, equipment and computer readable storage medium
CN111464653B (en) Method, system and device for interconnecting vehicle-mounted equipment
US20140032744A1 (en) Method of comparing outputs in a plurality of information systems
CN111461659A (en) Personal contract business processing method, device, medium and equipment based on big data
JP2019510289A (en) Service processing method and apparatus
CN108551652B (en) Binding method and device of child equipment, equipment and storage medium
CN102984138A (en) Method, device and system for obtaining object
WO2020019291A1 (en) Information processing method, electronic device, server, and information processing system
CN102685724A (en) Method, terminal and system for customizing content
CN104581371A (en) Method, terminal, sever and system for media interaction

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
GR01 Patent grant
GR01 Patent grant