CN116916415A - Equipment network distribution method, device, gateway and medium - Google Patents

Equipment network distribution method, device, gateway and medium Download PDF

Info

Publication number
CN116916415A
CN116916415A CN202310943050.2A CN202310943050A CN116916415A CN 116916415 A CN116916415 A CN 116916415A CN 202310943050 A CN202310943050 A CN 202310943050A CN 116916415 A CN116916415 A CN 116916415A
Authority
CN
China
Prior art keywords
network
equipment
gateway
ble
zigbee
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310943050.2A
Other languages
Chinese (zh)
Inventor
陈曦
冯俭智
梁琚胤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Intelligent Lighting and Controls Technology Co Ltd
Original Assignee
Midea Intelligent Lighting and Controls 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 Midea Intelligent Lighting and Controls Technology Co Ltd filed Critical Midea Intelligent Lighting and Controls Technology Co Ltd
Priority to CN202310943050.2A priority Critical patent/CN116916415A/en
Publication of CN116916415A publication Critical patent/CN116916415A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the disclosure relates to a device network distribution method, a device and a medium, wherein the method comprises the steps that the method is applied to a gateway, and the gateway supports a Bluetooth low energy BLE protocol and a Zigbee protocol; the method comprises the following steps: under the condition that BLE communication connection is established with the target equipment, sending a network allocation instruction carrying Zigbee network information to the target equipment through a BLE network so that the target equipment can access the Zigbee network based on the Zigbee network information; the target device supports a BLE protocol and a Zigbee protocol; acquiring and storing device information of target devices through a Zigbee network; and responding to a network allocation instruction carrying wireless fidelity (WIFI) network information sent by the user equipment, connecting with a server in a communication way based on the WIFI network information, and sending equipment information of the target equipment to the server so that the server associates the target equipment with the gateway and the user equipment and sends the equipment information to the user equipment. According to the embodiment of the disclosure, the network distribution operation of the user equipment is simpler and more convenient, and the user experience can be effectively improved.

Description

Equipment network distribution method, device, gateway and medium
Technical Field
The disclosure relates to the technical field of communication, and in particular relates to a device network distribution method, a device, a gateway and a medium.
Background
With the continuous development of intelligent devices and network technologies, more and more intelligent devices can realize data transmission or wireless control by utilizing a wireless communication technology, so that convenient life is provided for people. But these devices require network provisioning before they can be used.
In the related art, if a device supporting the Zigbee protocol (hereinafter referred to as Zigbee device) is to be added to the Zigbee network, a user needs to allocate a network to the Zigbee gateway through a user device such as a mobile phone, and then add Zigbee devices that need to access the network one by one through the user device, so that the Zigbee devices access the Zigbee network corresponding to the Zigbee gateway. However, if the number of Zigbee devices requiring the network allocation is large, the user needs to operate each device one by one, which is complicated and inconvenient, and the user experience is poor.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the disclosure provides a device network distribution method, a device network distribution gateway and a medium.
The embodiment of the disclosure provides a device network allocation method, which is applied to a gateway, wherein the gateway supports a Bluetooth low energy BLE protocol and a Zigbee protocol; the method comprises the following steps: under the condition that BLE communication connection is established with target equipment, sending a network allocation instruction carrying Zigbee network information to the target equipment through a BLE network so that the target equipment can access to a Zigbee network based on the Zigbee network information; wherein the target device supports the BLE protocol and the Zigbee protocol; acquiring and storing device information of the target device through the Zigbee network; and responding to a network allocation instruction carrying wireless fidelity (WIFI) network information sent by user equipment, and based on the WIFI network information, communicating with a server, sending equipment information of the target equipment to the server so that the server associates the target equipment with the gateway and the user equipment, and sending the equipment information to the user equipment.
Optionally, the method further comprises: searching BLE signal hot spots; determining a candidate device which can be connected currently based on the searched BLE signal hot spot; and carrying out identity verification on the candidate equipment so as to determine target equipment with successful identity verification from the candidate equipment, and establishing BLE communication connection with the target equipment.
Optionally, the searching for BLE signal hotspots includes: in response to power on, a BLE signal hotspot is searched.
Optionally, the determining the candidate device capable of being connected based on the searched BLE signal hotspot includes: according to the equipment identification information corresponding to the searched BLE signal hot spot, determining the candidate equipment which can be connected currently; the identification information of the candidate equipment comprises target characters.
Optionally, the establishing a BLE radio connection with the target device includes: and sending a communication key to the target device to establish a BLE encrypted communication connection with the target device based on the communication key.
Optionally, the gateway includes a first communication chip supporting the BLE protocol and the Zigbee protocol simultaneously; or, the gateway includes a second communication chip supporting the BLE protocol and a third communication chip supporting the Zigbee protocol.
Optionally, the device information of the target device includes identity information, service set identification information and a media access control address corresponding to the target device.
The embodiment of the disclosure provides a device network distribution device, which is applied to a gateway, wherein the gateway supports a Bluetooth low energy BLE protocol and a Zigbee protocol; the device comprises: the device network access module is used for sending a network allocation instruction carrying Zigbee network information to the target device through a BLE network under the condition that BLE communication connection is established with the target device, so that the target device accesses the Zigbee network based on the Zigbee network information; wherein the target device supports the BLE protocol and the Zigbee protocol; the information storage module is used for acquiring and storing the equipment information of the target equipment through the Zigbee network; the gateway network access and association module is used for responding to a network allocation instruction carrying wireless fidelity (WIFI) network information sent by the user equipment, and based on the WIFI network information, the gateway network access and association module is in communication connection with the server, and the equipment information of the target equipment is sent to the server, so that the server associates the target equipment with the gateway and the user equipment, and the equipment information is sent to the user equipment.
The embodiment of the disclosure provides a gateway, which comprises: a processor; a memory for storing the processor-executable instructions; the processor is configured to read the executable instruction from the memory, and execute the instruction to implement any of the device networking methods described above.
The disclosed embodiments provide a computer readable storage medium storing a computer program for executing any one of the above-described device networking methods.
According to the technical scheme, the gateway and the target device both support the Bluetooth low-power BLE protocol and the Zigbee protocol, the gateway can be connected with the target device through the BLE network, so that the target device can directly access to the Zigbee network based on Zigbee network information sent by the gateway, then the gateway can access to the network based on WIFI information sent by the user device, the information of the accessed target device is sent to the server, and the server can correlate the target device, the gateway and the user device and inform the user device of the information of the currently accessed target device. The method can lead the target equipment and the gateway to be automatically networked, then the gateway is connected to the server in a network distribution mode, the server informs the user equipment of the network distribution equipment, the user only needs to send the network distribution instruction to the gateway, the user operation is greatly simplified, the user can simply and conveniently realize the network distribution of the equipment, and the network distribution experience of the user equipment is effectively improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic flow chart of a method for configuring a network of a device according to an embodiment of the disclosure;
FIG. 2 is a flow chart of interactions between devices provided by an embodiment of the present disclosure;
FIG. 3 is a flow chart of interactions between devices provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a device network distribution apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a gateway according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
The internet of things refers to a network system which connects various devices such as a gateway, an intelligent home and the like together through the internet so as to realize intellectualization and automation. The device network technology is a technology adopted for connecting devices to the internet of things, networks to which different devices need to be connected may be the same or different, in related technologies, mainly adopted wireless network technologies include but are not limited to Wi-Fi technology, zigBee technology, bluetooth technology and the like, devices adopting the above wireless network technologies all need to be connected to corresponding networks through a network, for example, wiFi devices can be connected to a home WiFi network based on the Wi-Fi network technology, zigBee devices can be connected to the home ZigBee network based on the ZigBee network technology and the like. The embodiment of the disclosure is mainly aimed at improving the network distribution technology for connecting the equipment to the Zigbee network and the gateway network distribution technology, thereby simplifying the equipment network distribution process better and simplifying the user operation.
In the related art, if a user wants to remotely control a Zigbee device through a user device, the gateway configuration network and the Zigbee device configuration network need to be completed sequentially, so that the Zigbee device is added to the Zigbee network, and the following steps 1 to 3 are executed by a client (such as a mobile phone client) of the user device, as an example:
and step 1, opening a mobile phone client, registering a user account, and establishing a family under the account. A family may be understood as a collection name corresponding to a plurality of devices (such as a plurality of intelligent devices installed in the same house), and the main purpose is to facilitate centralized management of devices under the family directly.
And 2, the Zigbee gateway is allocated with a network through the mobile phone client and is bound to the home, namely, gateway information is added in the home, so that the control of the gateway is facilitated, and the association of the gateway and other devices under the home is facilitated.
Step 3, adding Zigbee devices (such as intelligent lamps, intelligent switches, intelligent sensors, etc., without limitation herein) through the mobile phone client, assisting Zigbee devices in accessing Zigbee gateways (which may be referred to as a distribution network of Zigbee devices or as networking of Zigbee devices and Zigbee gateways) corresponding to Zigbee gateways, and then binding Zigbee devices to the home through the Zigbee gateways, that is, adding information of Zigbee devices in the home, also helps to establish association between devices in the home.
However, if there are multiple Zigbee devices, the user needs to first allocate a network for the gateway, and then operate each Zigbee device on the client one by one, so that the multiple Zigbee devices are respectively networked with the gateway and bound to the home, if there are 1 gateway and N Zigbee devices, the user needs to perform at most 1+n operations on the client, so the whole process is very complicated, the time consumption is long, and the network allocation experience of the user's device is poor.
In order to improve the above problems and simplify the device network configuration operation of the user, the embodiments of the present disclosure provide a device network configuration method, device, gateway and medium, and the detailed description is provided below.
Firstly, the embodiment of the disclosure provides a device network distribution method, which may be executed by a device network distribution apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a gateway, in the embodiment of the disclosure, the gateway supports a bluetooth low energy BLE protocol and a Zigbee protocol, in some specific implementation examples, the gateway includes a first communication chip that supports both the BLE protocol and the Zigbee protocol, in practical application, the first communication chip may also be directly implemented by using a Zigbee chip, the performance of the Zigbee chip is generally strong, and both Zigbee and BLE belong to a 2.4G communication technology, so that the Zigbee chip may not only operate a Zigbee program, but also import a BLE program into the Zigbee chip for operation, thereby reducing cost. In other specific embodiments, the gateway may also include a second communication chip supporting BLE protocol and a third communication chip supporting Zigbee protocol. That is, the same chip may be used to run both the Zigbee program and the BLE program, or two independent chips may be used to run the Zigbee program and the BLE program respectively, which is specifically and flexibly set, and is not limited herein.
Fig. 1 is a schematic flow chart of a method for configuring a network of devices according to an embodiment of the present disclosure, as shown in fig. 1, the method mainly includes steps S102 to S106 as follows:
step S102, when BLE communication connection is established with the target equipment, a network allocation instruction carrying Zigbee network information is sent to the target equipment through a BLE network, so that the target equipment is accessed to the Zigbee network based on the Zigbee network information; wherein the target device supports BLE protocol and Zigbee protocol.
The embodiments of the present disclosure do not limit the type of target device, and exemplary target devices include intelligent devices such as intelligent light fixtures, intelligent switches, intelligent sensors, and the like, and are not limited herein. In addition, the number of target devices may be one or more. In some specific implementation examples, the target device includes a fourth communication chip that supports both the BLE protocol and the Zigbee protocol, and in practical application, the fourth communication chip may also be directly implemented by using the Zigbee chip, so that the Zigbee chip may not only operate a Zigbee program, but also import a BLE program to operate, thereby reducing cost. In other specific embodiments, the target device may also include a fifth communication chip supporting BLE protocol and a sixth communication chip supporting Zigbee protocol. That is, the implementation of the communication chip of the target device supporting the BLE protocol and the Zigbee protocol may be similar to the gateway, and will not be described herein.
In the embodiment of the present disclosure, it is fully considered that the Zigbee communication distance is greater than the BLE communication distance, in order to reduce the probability of misnetworking devices that do not meet the networking conditions, such as Zigbee devices of the partition neighbors, and in order to ensure information security, the embodiment of the present disclosure does not use to make the gateway establish a Zigbee communication connection with the target device, but rather makes the gateway establish a BLE communication connection with the target device, which can be understood that the BLE communication distance is limited, and a private encryption protocol can be implemented, and the Zigbee distribution network is an international universal standard protocol, so that the gateway establishes a BLE communication connection with the target device and can also effectively prevent the non-compliant Zigbee devices from accessing the network.
The gateway in the embodiment of the disclosure preferably establishes BLE communication connection with the target device so as to send a network allocation instruction to the target device, trigger the target device to enter a network allocation mode, and further provide Zigbee network information for the target device.
Step S104, obtaining and storing device information of the target device through the Zigbee network. After the gateway establishes Zigbee connection with the target device, the gateway may directly obtain device information of the target device through the Zigbee network, and may further perform device status information interaction with the target device, which is not limited herein.
Illustratively, the device information of the target device includes, but is not limited to, identification information corresponding to the target device, service set identification information, media access control address, and the like, so that the target device can be interacted and controlled based on the device information.
Step S106, in response to receiving the network allocation instruction carrying the wireless fidelity (WIFI) network information sent by the user equipment, the server is in communication connection with the device information of the target equipment based on the WIFI network information, so that the server associates the target equipment with the gateway and the user equipment, and the device information is sent to the user equipment.
In practical application, the user equipment may send the configuration network information including the WIFI network information to the gateway, so that the gateway accesses the WIFI network based on the WIFI network information, such as being connected with a router corresponding to the WIFI network information, and then is in communication connection with the server through the router, and the server may first complete registration and binding of the gateway. The gateway may also send device information of the target device that has completed the network allocation to the server, the server further establishes an association between the gateway, the user device, and the target device, completes binding, and may send the target device information to the user device, so that the user can clearly know that the target device has completed the network allocation.
The method can lead the target equipment and the gateway to be automatically networked firstly, then the gateway is connected to the server in a network distribution mode, the server informs the user equipment of the network distribution equipment, the user only needs to send the network distribution instruction to the gateway, the operation is simple and convenient, the user does not need to add the equipment needing the network distribution one by one, the network distribution flow of the equipment is greatly simplified, the network distribution experience of the equipment of the user can be effectively improved when the network distribution of the equipment is shortened.
The embodiments of the present disclosure further provide an implementation manner for establishing a BLE communication connection between a gateway and a target device, which may be performed with reference to the following steps a to C:
and step A, searching for BLE signal hotspots.
That is, to establish a BLE communication connection with a target device, the gateway may first search for BLE signal hotspots in order to search for a currently addable device based thereon. In some specific implementations, BLE signal hotspots may be searched in response to power being turned on. That is, the target gateway may continuously search for BLE signal hotspots after power-up. In practical application, the target device supports the BLE protocol, which can continuously perform BLE broadcasting as a BLE signal hotspot after the power is turned on, that is, can continuously send out a BLE signal, and the gateway can search for the device which can be added currently by searching for the BLE signal hotspot.
And step B, determining the candidate equipment which can be connected currently based on the searched BLE signal hot spot.
In some specific implementation examples, the candidate device that can be connected currently may be determined according to the device identification information corresponding to the searched BLE signal hotspot; the identification information of the candidate equipment comprises target characters. It can be appreciated that there may be multiple devices supporting the BLE protocol currently transmitting BLE signals as BLE signal hotspots, and in order to avoid accessing devices that do not meet the requirements, a preliminary screening may be performed first, and connectable candidate devices may be determined preliminarily. The gateway can initially screen out the devices meeting the network access conditions through identification and the like to serve as the candidate devices which can be connected currently, and the identification information of the devices meeting the network access conditions comprises specified contents (such as manufacturer identification and the like) such as target characters, so that the devices which do not meet the network access conditions (such as devices of other manufacturers) can be effectively prevented from being accessed to the network.
And step C, carrying out identity verification on the candidate equipment to determine target equipment with successful identity verification from the candidate equipment, and establishing BLE communication connection with the target equipment.
The gateway can perform identity verification on the candidate device, in some specific implementation examples, the gateway and the candidate device can be pre-built with an initial public key when leaving the factory, the gateway firstly sends a ciphertext encrypted based on the initial public key to the candidate device, and if the candidate device can correctly decrypt the ciphertext based on the initial public key and feed back the ciphertext according to a preset mode, the identity verification can be considered to be successful, and the gateway and the candidate device can also be called as completing identity mutual authentication or identity authentication. Through the step, the target equipment meeting the network access condition can be accurately and reliably determined, and the gateway can further establish BLE communication connection with the target equipment passing the identity verification.
In order to further ensure information security, the gateway may send a communication key to the target device after determining the target device, so as to establish a BLE encrypted communication connection with the target device based on the communication key. That is, after determining the target device passing the authentication, the gateway may further send a communication key to the target device for encrypted communication between the gateway and the target device, so as to fully ensure the security and reliability of information transmission.
For ease of understanding, the embodiments of the present disclosure further illustrate the device network configuration. Specifically, the device networking method may be summarized as including two phases:
stage one: the gateway automatically adds intelligent equipment such as lamps and lanterns, accomplishes the Zigbee network networking of gateway and intelligent equipment. In other words, the gateway actively establishes Zigbee communication connection with the intelligent device to complete the network distribution of the intelligent device, and user operation is not needed in the stage.
In some specific implementation examples, referring to an interaction flow chart between devices shown in fig. 2, the interaction flow between a gateway and an intelligent device may be further described in detail, and mainly includes the following steps:
in step S202, the intelligent device continuously performs BLE broadcasting after power-on. Specifically, after the intelligent device is powered on, unidirectional broadcasting can be performed to the outside through a chip supporting the BLE protocol, and after the gateway is powered on, peripheral BLE signals can be scanned through the chip supporting the BLE protocol.
In step S204, the gateway performs identity authentication with the intelligent device, and in this step, the gateway needs to verify whether the identity of the intelligent device meets the network access condition, and the specific manner of identity verification can refer to the related content and is not described herein.
In step S206, a BLE encrypted communication connection is established between the gateway and the smart device. Fig. 2 is only a schematic representation, and specifically, the gateway establishes a BLE encrypted communication connection with a successfully authenticated smart device, that is, the aforementioned target device.
In step S208, the gateway sends a network allocation instruction carrying Zigbee network information to the intelligent device through the BLE network, where the network allocation instruction may also be referred to as a networking instruction or a networking request. In practical application, the networking request may be sent first, and then the Zigbee network information may be sent.
Step S210, the intelligent device successfully joins the Zigbee network corresponding to the gateway. After receiving the Zigbee network information, the intelligent device can communicate with the gateway according to the formulated channel based on the Zigbee network information, so as to realize Zigbee network access of the intelligent device.
Step S212, the intelligent device and the gateway interact device information based on the Zigbee network.
In the above stage, the number of the intelligent devices may be one or more, and the gateway and the discovered intelligent devices are connected by Zigbee according to the above steps, that is, the self-networking of the intelligent devices and the gateway is realized first, and the gateway obtains and stores the information of the intelligent devices that have completed network access.
Stage two: the user equipment triggers the gateway distribution network to establish connection with the server so as to complete the binding of the gateway, the user equipment and the intelligent equipment. In the second stage, only the user is required to trigger the user equipment to send a network allocation instruction to the gateway.
In some specific implementation examples, referring to an interaction flow chart between devices shown in fig. 3, taking a case that a user device implements corresponding steps through a mobile phone client, the interaction flow between the mobile phone client, a server and a gateway is further elaborated, which mainly includes the following steps:
step S302, the mobile phone client sends a network allocation instruction carrying WIFI network information to the gateway. In practical applications, the network allocation method of the gateway includes, but is not limited to, code scanning network allocation, AP network allocation, acoustic network allocation, etc., and specific reference may be made to related technologies, which are not described herein.
Step S304, the gateway connects with the server and completes gateway registration binding. Specifically, the gateway may be connected to the router based on WIFI network information, and connected to the server through the router.
Step S306, the gateway reports the device list of the intelligent devices of the matched network. That is, the gateway may submit device information of all intelligent devices of the configured network to the server in a list form.
In step S308, the server binds the intelligent devices of the configured network. For example, the server may bind the intelligent device of the configured network with the gateway and the mobile phone client, and may assign all the intelligent device to the same family of the same user account for subsequent management.
In step S310, the server pushes the device list to the mobile phone client. At this time, the interface of the mobile phone client can display the information of the gateway, the equipment and the like which are already matched with the network, and the user can clearly know the gateway and the intelligent equipment which are currently accessed into the network.
In summary, through the first stage and the second stage, the user can complete the network distribution and binding of one gateway and the N intelligent devices only by one step of operation, so that the network distribution flow of the gateway and the intelligent devices is greatly simplified, and the information security is stronger.
Fig. 4 is a schematic structural diagram of a device for equipment network configuration according to an embodiment of the present disclosure, where the device may be implemented by software and/or hardware, and may be generally integrated in a gateway, and the gateway supports bluetooth low energy BLE protocol and Zigbee protocol. As shown in fig. 4, includes: the equipment network distribution device comprises:
a device networking module 402, configured to send, to a target device, a network allocation instruction carrying Zigbee network information through a BLE network when a BLE communication connection has been established with the target device, so that the target device accesses the Zigbee network based on the Zigbee network information; the target device supports a BLE protocol and a Zigbee protocol;
an information storage module 404, configured to acquire and store device information of a target device through a Zigbee network;
the gateway access and association module 406 is configured to, in response to receiving a network configuration instruction carrying WIFI network information sent by the user equipment, send device information of the target device to the server based on the WIFI network information and in communication connection with the server, so that the server associates the target device with the gateway and the user equipment, and sends the device information to the user equipment.
The device can lead the target equipment and the gateway to be automatically networked, then the gateway is connected to the server in a network distribution mode, the server informs the user equipment of the network distribution equipment, the user only needs to send a network distribution instruction to the gateway, the operation is simple and convenient, and the network distribution experience of the user equipment can be effectively improved.
The equipment network distribution device provided by the embodiment of the disclosure can execute the equipment network distribution method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described apparatus embodiments may refer to corresponding procedures in the method embodiments, which are not described herein again.
The embodiment of the disclosure provides a gateway, which comprises: a processor; a memory for storing processor-executable instructions; and the processor is used for reading the executable instructions from the memory and executing the instructions to realize the equipment network distribution method.
Fig. 5 is a schematic structural diagram of a gateway according to an embodiment of the present disclosure. As shown in fig. 5, gateway 500 includes one or more processors 501 and memory 502.
The processor 501 may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities and may control other components in the gateway 500 to perform the desired functions.
Memory 502 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer readable storage medium that can be executed by the processor 501 to implement the device networking method and/or other desired functions of the embodiments of the present disclosure described above. Various contents such as an input signal, a signal component, a noise component, and the like may also be stored in the computer-readable storage medium.
In one example, gateway 500 may further include: an input device 503 and an output device 504, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
In addition, the input device 503 may include, for example, an input interface, a user key, and the like, and the output device 504 may output various information to the outside.
Of course, only some of the components of the gateway 500 that are relevant to the present disclosure are shown in fig. 5, components such as buses, input/output interfaces, etc. are omitted for simplicity. In addition, gateway 500 may include any other suitable components depending on the particular application.
In addition to the methods and apparatus described above, embodiments of the present disclosure may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the apparatus distribution method provided by the embodiments of the present disclosure.
The computer program product may write program code for performing the operations of embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Further, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the device networking method provided by the embodiments of the present disclosure.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The disclosed embodiments also provide a computer program product comprising a computer program/instruction which, when executed by a processor, implements the device networking method in the disclosed embodiments.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the disclosure to enable one skilled in the art to understand or practice the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown and described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The equipment network distribution method is characterized by being applied to a gateway, wherein the gateway supports a Bluetooth low energy BLE protocol and a Zigbee protocol; the method comprises the following steps:
under the condition that BLE communication connection is established with target equipment, sending a network allocation instruction carrying Zigbee network information to the target equipment through a BLE network so that the target equipment can access to a Zigbee network based on the Zigbee network information; wherein the target device supports the BLE protocol and the Zigbee protocol;
acquiring and storing device information of the target device through the Zigbee network;
and responding to a network allocation instruction carrying wireless fidelity (WIFI) network information sent by user equipment, and based on the WIFI network information, communicating with a server, sending equipment information of the target equipment to the server so that the server associates the target equipment with the gateway and the user equipment, and sending the equipment information to the user equipment.
2. The method according to claim 1, wherein the method further comprises:
searching BLE signal hot spots;
determining a candidate device which can be connected currently based on the searched BLE signal hot spot;
and carrying out identity verification on the candidate equipment so as to determine target equipment with successful identity verification from the candidate equipment, and establishing BLE communication connection with the target equipment.
3. The method of claim 2, wherein the searching for BLE signal hotspots comprises:
in response to power on, a BLE signal hotspot is searched.
4. The method of claim 2, wherein the determining the currently connectable candidate device based on the searched BLE signal hotspot comprises:
according to the equipment identification information corresponding to the searched BLE signal hot spot, determining the candidate equipment which can be connected currently; the identification information of the candidate equipment comprises target characters.
5. The method of claim 2, wherein the establishing a BLE wireless connection with the target device comprises:
and sending a communication key to the target device to establish a BLE encrypted communication connection with the target device based on the communication key.
6. The method according to claim 1, wherein the gateway comprises a first communication chip supporting the BLE protocol and the Zigbee protocol simultaneously; or alternatively, the process may be performed,
the gateway includes a second communication chip supporting the BLE protocol and a third communication chip supporting the Zigbee protocol.
7. The method of claim 1, wherein the device information of the target device includes identification information, service set identification information, and a media access control address corresponding to the target device.
8. The equipment network distribution device is characterized by being applied to a gateway, wherein the gateway supports a Bluetooth low energy BLE protocol and a Zigbee protocol; the device comprises:
the device network access module is used for sending a network allocation instruction carrying Zigbee network information to the target device through a BLE network under the condition that BLE communication connection is established with the target device, so that the target device accesses the Zigbee network based on the Zigbee network information; wherein the target device supports the BLE protocol and the Zigbee protocol;
the information storage module is used for acquiring and storing the equipment information of the target equipment through the Zigbee network;
the gateway network access and association module is used for responding to a network allocation instruction carrying wireless fidelity (WIFI) network information sent by the user equipment, and based on the WIFI network information, the gateway network access and association module is in communication connection with the server, and the equipment information of the target equipment is sent to the server, so that the server associates the target equipment with the gateway and the user equipment, and the equipment information is sent to the user equipment.
9. A gateway, the gateway comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the device networking method of any one of claims 1-7.
10. A computer readable storage medium, characterized in that the storage medium stores a computer program for executing the device networking method of any of the preceding claims 1-7.
CN202310943050.2A 2023-07-28 2023-07-28 Equipment network distribution method, device, gateway and medium Pending CN116916415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310943050.2A CN116916415A (en) 2023-07-28 2023-07-28 Equipment network distribution method, device, gateway and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310943050.2A CN116916415A (en) 2023-07-28 2023-07-28 Equipment network distribution method, device, gateway and medium

Publications (1)

Publication Number Publication Date
CN116916415A true CN116916415A (en) 2023-10-20

Family

ID=88364663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310943050.2A Pending CN116916415A (en) 2023-07-28 2023-07-28 Equipment network distribution method, device, gateway and medium

Country Status (1)

Country Link
CN (1) CN116916415A (en)

Similar Documents

Publication Publication Date Title
US11889453B2 (en) Method and apparatus for registering wireless device in wireless communication system
US11979274B2 (en) Network management method and apparatus
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
CN105246096B (en) A kind of fast access method of low-power consumption internet of things equipment
US9615322B2 (en) Method and system for providing service based on space
KR101613032B1 (en) Method, device, network equepment, program and storage medium for acquiring feature information
JP6254747B2 (en) Information providing method, apparatus, program, and recording medium
KR102269417B1 (en) A method and apparatus for registering a device based on an application supporting a home networking by multi users
US20120167184A1 (en) Allocation of application identifiers
CN113615141B (en) Account association method, device, system, server and storage medium
WO2019134595A1 (en) Configuration system, client device, embedded device configuration method, and storage medium
CN113518407A (en) WiFi network distribution method and system for intelligent equipment, electronic equipment and medium
CN115486038B (en) Internet of things configuration method, internet of things configuration device, computer equipment and storage medium
WO2023138285A1 (en) Binding method for smart home device and terminal
KR101388147B1 (en) System and Method for pairing using NFC tag, device and recording medium thereof
KR101388148B1 (en) System and Method for auto pairing using NFC tag
KR20100000267A (en) Mobile terminal unit for providing integrated web browsing service, mobile communication system, local area wireless communication system and method thereof
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
KR101388150B1 (en) System and Method for auto pairing using NFC tag
CN116916415A (en) Equipment network distribution method, device, gateway and medium
CN106331163B (en) Method and device for controlling service platform
CN110838959B (en) Smart home equipment binding method and device, electronic equipment and storage medium
KR101388149B1 (en) System and Method for auto pairing using NFC tag
KR101676432B1 (en) Discovery and Access System of Internet of Things board and Application Server under wireless WiFi Environment and method at the same
CN116916288A (en) Distribution network binding method, related equipment and storage medium

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