CN114745259B - Intelligent equipment batch network distribution method, equipment and computer readable storage medium - Google Patents

Intelligent equipment batch network distribution method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114745259B
CN114745259B CN202011537840.3A CN202011537840A CN114745259B CN 114745259 B CN114745259 B CN 114745259B CN 202011537840 A CN202011537840 A CN 202011537840A CN 114745259 B CN114745259 B CN 114745259B
Authority
CN
China
Prior art keywords
equipment
intelligent
information
intelligent equipment
distributed
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.)
Active
Application number
CN202011537840.3A
Other languages
Chinese (zh)
Other versions
CN114745259A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011537840.3A priority Critical patent/CN114745259B/en
Publication of CN114745259A publication Critical patent/CN114745259A/en
Application granted granted Critical
Publication of CN114745259B publication Critical patent/CN114745259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The invention provides a batch network distribution method and equipment for intelligent equipment and a computer readable storage medium, wherein the batch network distribution method for intelligent equipment comprises the following steps: when a network allocation instruction sent by a user is received, acquiring equipment information broadcasted by intelligent equipment in a target WIFI area; generating list information of intelligent equipment to be distributed according to a distribution network equipment selection instruction of a user and the equipment information; and sending target WIFI information to the intelligent equipment to be distributed according to the list information, and registering the intelligent equipment to be distributed to a cloud server. According to the network distribution intelligent equipment and the network distribution method, the list information of the intelligent equipment to be distributed is obtained by receiving the network distribution instruction and the network distribution equipment selection instruction sent by the user, the target WIFI information is sent to the intelligent equipment to be distributed in batches according to the list information, the intelligent equipment to be distributed can automatically access the network according to the target WIFI information, the user does not need to sequentially and manually operate a plurality of equipment to be connected, the operation of the user is reduced, and the network distribution efficiency is improved.

Description

Intelligent equipment batch network distribution method, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of distributed distribution networks, in particular to a method, equipment and a computer readable storage medium for intelligent equipment batch distribution network.
Background
In the present age of everything interconnection, intelligent devices such as unmanned aerial vehicles, network cameras, intelligent automobiles, intelligent home products and the like are rapidly promoting the popularization of intelligent life. However, as smart devices increase, hotspots within a unit area increase exponentially, for example, to collectively demonstrate to users in a large-scale marketplace the performance of numerous products within range of a wireless network. The existing distribution network technology requires a user to manually connect the softAp to input an SSID, a password and the like, so that the operation of the user is increased, the distribution network time is prolonged, and the existing distribution network technology cannot meet the requirement of large-scale link.
Accordingly, the prior art has drawbacks and needs to be improved and developed.
Disclosure of Invention
The invention aims to solve the technical problems that aiming at the defects in the prior art, the invention provides a method, equipment and a computer readable storage medium for batch network distribution of intelligent equipment, and aims to solve the problems that in the prior art, a user is required to manually connect softAp to input SSID, password and other operations to perform network distribution, the operation of the user is increased, and the network distribution time is prolonged.
The technical scheme adopted for solving the technical problems is as follows:
a batch network distribution method for intelligent equipment comprises the following steps:
when a network allocation instruction sent by a user is received, acquiring equipment information broadcasted by intelligent equipment in a target WIFI area;
generating list information of intelligent equipment to be distributed according to a distribution network equipment selection instruction of a user and the equipment information;
and sending target WIFI information to the intelligent equipment to be distributed according to the list information, and registering the intelligent equipment to be distributed to a cloud server.
Further, when receiving a network allocation instruction sent by a user, acquiring device information broadcasted by an intelligent device in a target WIFI area includes:
when a network allocation instruction sent by a user is received, acquiring intelligent equipment type, equipment SSID, MAC address and distance information broadcasted by intelligent equipment in a target WIFI area;
sorting the network equipment to be distributed according to the distance information to generate distance sorting information;
and reporting the intelligent equipment type, the equipment SSID, the MAC address and the distance sorting information to a cloud server.
Further, the distance information is a distance value between the intelligent equipment and a preset point; the step of sorting the network equipment to be distributed according to the distance information to generate distance sorting information comprises the following steps:
and sequencing the network equipment to be distributed according to the sequence of the distance values from small to large to generate distance sequencing information.
Further, the generating the list information of the intelligent equipment to be distributed according to the distribution network equipment selection instruction of the user and the equipment information includes:
according to a network distribution equipment selection instruction of a user, acquiring an MAC address and a binding code of intelligent equipment to be distributed;
and adding the MAC address of the intelligent equipment to be distributed in the target WIFI area into a white list, and generating list information of the intelligent equipment to be distributed.
Further, the sending the target WIFI information to the intelligent device to be configured according to the list information, and registering the intelligent device to be configured to a cloud server includes:
according to the MAC address in the list information, a target WIFI SSID, a KEY and a binding code are sent to the corresponding intelligent equipment to be distributed;
and reporting the binding code to a cloud server, and controlling the cloud server to sequentially register the intelligent equipment to be distributed according to the priority weight distributed by the distance sorting information.
Further, the sending, according to the MAC address in the list information, the target WIFI SSID, KEY and binding code to the corresponding to-be-configured network intelligent device includes:
broadcasting a first detection request frame, wherein a self-defined IE1 field is carried in the first detection request frame, and the content carried in the IE1 field is ciphertext KEY1;
receiving a second detection request frame fed back by the intelligent equipment in the target WIFI area according to the first detection request frame;
if the MAC address of the intelligent device corresponding to the second detection request frame exists in the list information, a third detection request frame is sent to the intelligent device;
the third probe request frame carries an IE3 field, and the IE3 field carries an encrypted target WIFI SSID, a KEY and a binding code.
Further, reporting the binding code to a cloud server, and controlling the cloud server to register the intelligent devices to be distributed in sequence according to the priority weight distributed by the distance sorting information, including:
reporting the binding code to a cloud server;
the cloud server is controlled to acquire a user name according to the priority weight distributed by the distance sorting information and the binding code, and the user name binds the equipment ID of the intelligent equipment to be distributed of the network corresponding to the priority weight;
until all the intelligent devices to be distributed are traversed.
Further, when receiving a network allocation instruction sent by a user, acquiring device information broadcasted by an intelligent device in a target WIFI area includes:
and when the infrared remote control signal is detected, acquiring the equipment information broadcasted by the intelligent equipment in the target WIFI area.
The invention provides equipment, a memory, a processor and an intelligent equipment batch network distribution program which is stored in the memory and can run on the processor, wherein the intelligent equipment batch network distribution program realizes the steps of the intelligent equipment batch network distribution method when being executed by the processor.
The present invention provides a computer readable storage medium storing a computer program executable for implementing the steps of the intelligent device batch networking method as described above.
The invention provides an intelligent equipment batch network distribution method, equipment and a computer readable storage medium, wherein the intelligent equipment batch network distribution method comprises the following steps: when a network allocation instruction sent by a user is received, acquiring equipment information broadcasted by intelligent equipment in a target WIFI area; generating list information of intelligent equipment to be distributed according to a distribution network equipment selection instruction of a user and the equipment information; and sending target WIFI information to the intelligent equipment to be distributed according to the list information, and registering the intelligent equipment to be distributed to a cloud server. According to the method and the device for automatically distributing the network, the list information of the intelligent equipment to be distributed can be obtained by directly receiving the network distribution instruction and the network distribution equipment selection instruction sent by the user, the target WIFI information is automatically sent to the intelligent equipment to be distributed in batches according to the list information, and the intelligent equipment to be distributed can automatically access the network according to the target WIFI information, so that the user does not need to sequentially and manually operate a plurality of pieces of equipment to be connected, the operation of the user is reduced, and the network distribution efficiency is improved.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a method for batch network configuration of intelligent devices according to the present invention.
Fig. 2 is a flowchart of step S100 in a preferred embodiment of the intelligent device batch networking method of the present invention.
Fig. 3 is a flowchart of step S200 in a preferred embodiment of the intelligent device batch networking method of the present invention.
Fig. 4 is a specific flowchart of step S300 in a preferred embodiment of the intelligent device batch network allocation method of the present invention.
Fig. 5 is a specific flowchart of step S310 in a preferred embodiment of the intelligent device batch network allocation method of the present invention.
Fig. 6 is a flowchart of step S320 in a preferred embodiment of the intelligent device batch networking method of the present invention.
Fig. 7 is a functional block diagram of a preferred embodiment of the apparatus of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for batch network configuration of intelligent devices in the present invention. As shown in fig. 1, the intelligent device batch network distribution method according to the embodiment of the invention includes the following steps:
and S100, when a network allocation instruction sent by a user is received, acquiring device information broadcasted by the intelligent device in the target WIFI area.
The premise of the network allocation of the invention is that at least one device is required to be networked in the target WIFI and bind the user, and the WIFI module in the device supports the simultaneous existence of the AP and the STA. Thus, when receiving a network allocation instruction sent by a user, the networked device acquires device information broadcasted by the intelligent device in the target WIFI area. The AP is HUB in the traditional wired network, and is the most common equipment for constructing a small wireless local area network; the AP acts as a bridge connecting the wired network and the wireless network, and is mainly used to connect the wireless network clients together and then access the wireless network to the ethernet. STA (Single-threaded apartment) Single-threaded unit is one way of program running in WINDOWS systems.
Specifically, when a plurality of intelligent devices in a target WIFI area are required to be distributed, the plurality of intelligent devices are distributed in batches. Firstly, carrying out power-on operation on intelligent equipment of the to-be-distributed network, and broadcasting own information after the intelligent equipment of the to-be-distributed network is powered on.
The user may operate the networked device when issuing the network allocation instruction. In another implementation, the step S100 is: and when the infrared remote control signal is detected, acquiring the equipment information broadcasted by the intelligent equipment in the target WIFI area. That is, the remote control device, such as an infrared remote controller, can be connected in the distribution network control system where the target WIFI is located, when the user needs to distribute the network, only the infrared remote controller needs to be operated, the infrared remote controller sends out an infrared remote control signal after receiving the operation of the user, and after the distribution network control system detects the external infrared remote control signal, the distribution network module is started, and the distribution network module creates a mode of starting the noninductive distribution network.
In one implementation, referring to fig. 2, the step S100 includes:
s110, when a network allocation instruction sent by a user is received, acquiring intelligent equipment type, equipment SSID, MAC address and distance information broadcasted by intelligent equipment in a target WIFI area;
s120, sorting the network equipment to be distributed according to the distance information to generate distance sorting information;
s130, reporting the intelligent equipment type, the equipment SSID, the MAC address and the distance sorting information to a cloud server.
That is, the intelligent devices in the target WIFI area broadcast information such as the type of the intelligent device, the SSID of the device, the MAC address, and the distance information, and the networked devices may acquire the information and sort the distance information to generate distance sorting information, so that the cloud server processes the plurality of intelligent terminals according to the distance sorting information. It can be understood that the intelligent devices in the target WIFI area refer not only to the intelligent devices to be distributed, but also to all the intelligent devices powered on in the target WIFI area.
In a further implementation manner, the distance information is a distance value between the intelligent device and a preset point; the step S120 includes: and sequencing the network equipment to be distributed according to the sequence of the distance values from small to large to generate distance sequencing information.
Specifically, an intelligent device in a target WIFI area creates and starts an AP+STA mode, the intelligent device takes a preset point as an origin (0, 0), the position of the intelligent device is taken as a coordinate point of the intelligent device, a two-dimensional plane coordinate system is created, and then a distance value between the coordinate point of the intelligent device and the origin is obtained. For example, a preset point is set as a WIFI center of a target WIFI area, two-dimensional plane coordinates are created according to the plane distance between each intelligent device and an origin, if a coordinate point (x, y) of a certain intelligent device is (3, 4), the distance between the device and the WIFI center point is calculated according to the plane coordinates, that is, a distance value Z between the coordinate point (3, 4) and the origin (0, 0) is 5, and a distance map is drawn according to the distance value and the two-dimensional plane coordinates, and is stored. And the intelligent equipment in the target WIFI area automatically and continuously broadcasts the distance value together with the emitted probe request frame signal. The specific broadcasting mode is that the intelligent equipment adds a self-defined IE field in a probe request frame, announces the existence of the intelligent equipment and defaults to 5 minutes to overtime; and carrying a self-defined IE0 field in the frame, wherein the IE0 field carries information such as ssid and the like, and adopts ciphertext transmission and uses preset fixed KEY0+IV0AES encryption.
Thus, when receiving a network allocation instruction sent by a user, the networked device can acquire a special probe request frame field and a distance value broadcast by the intelligent device in the target WiFi area, and sort the special probe request frame field and the distance value according to the size of the distance value. If the distance value is small, the intelligent terminal is close to the WIFI center, and the intelligent terminal is arranged in the front; if the distance value is large, the distance value is far from the WIFI center, and the distance value is arranged in the rear row. For example, each distance value 3<4<5.5<7m is stored after being combined in sequence from small arrival, and then the information is reported to the cloud server. The reported information contains distance sorting information, and also contains intelligent equipment type (the AP needs to preferentially select the operation discovered by the G3 router), the deviceId of the equipment (namely, the ID of the networked equipment is convenient for the cloud to issue), the SSID of the new equipment (the picture of the equipment is displayed at the APP end), MAC address (the white list is convenient to add) and the like.
The step S100 is followed by: and S200, generating list information of intelligent equipment to be distributed according to the distribution network equipment selection instruction of the user and the equipment information.
Specifically, after the cloud server acquires the report information (including the intelligent device type, the device SSID, the MAC address and the distance sorting information), the distance value sorting information is assigned with the necessary priority weight, the priority weight is higher when the sorting name is higher, for example, the priority weight is 100% -90% from the first name to the first ten names, the priority weight is lower when the sorting name is lower, for example, the priority weight is 10% -1% from the last ten names, and the information is stored after completion. The distribution network control system can be also connected with an intelligent terminal, such as a mobile phone, and a distribution network APP is installed in the intelligent terminal. And the cloud server pushes the reported information and the priority weight to the APP.
After receiving the report information and the priority weight, the intelligent terminal APP displays the intelligent equipment to be distributed on a screen and sends out a prompt. The intelligent terminal APP detects that a user selects all devices needing to be distributed, and sends information of the intelligent devices to be distributed to the cloud server according to the priority weight, and the information is stored. That is, the user selects the intelligent device needing the distribution network from all the intelligent devices electrified in the target WIFI area.
And after receiving the information of the intelligent equipment to be distributed, the cloud server extracts related information (IP address, port number and the like) of the intelligent equipment in the target WiFi area in the reported information, and then, issues the MAC address and binding code of the equipment to be distributed to the networked equipment and stores the MAC address and binding code.
In one implementation, referring to fig. 3, the step S200 includes:
s210, acquiring an MAC address and a binding code of intelligent equipment to be distributed according to a distribution network equipment selection instruction of a user;
s220, adding the MAC address of the intelligent equipment to be distributed in the target WIFI area into a white list, and generating list information of the intelligent equipment to be distributed.
Specifically, after the cloud server issues the MAC address and the bind code of the to-be-configured network device to the networked device, the networked device may obtain a configuration network device selection instruction of the user, and receive the MAC address and the bind code of the to-be-configured network device issued by the cloud server. And the networked equipment adds the MAC address of the intelligent equipment to be networked in the target WiFi area into a white list, saves the white list as list information after the completion of the processing, and enters a batch distribution network.
The step S200 is followed by: and S300, sending target WIFI information to the intelligent equipment to be distributed according to the list information, and registering the intelligent equipment to be distributed to a cloud server. That is, the networked devices automatically send the target WIFI information to the intelligent devices to be networked according to the list information in batches, so that a plurality of devices to be networked do not need to be sequentially manually operated by a user, the network distribution efficiency is improved, and the network distribution time is saved.
In one implementation, referring to fig. 4, the step S300 includes:
s310, sending a target WIFI SSID, a KEY and a binding code to the corresponding intelligent equipment to be distributed according to the MAC address in the list information;
and S320, reporting the binding code to a cloud server, and controlling the cloud server to sequentially register the intelligent equipment to be distributed according to the priority weight distributed by the distance sorting information.
In a further implementation, referring to fig. 5, the step S310 includes:
s311, broadcasting a first detection request frame, wherein a self-defined IE1 field is carried in the first detection request frame, and the carried content of the IE1 field is ciphertext KEY1;
s312, receiving a second detection request frame fed back by the intelligent equipment in the target WIFI area according to the first detection request frame;
s313, if the MAC address of the intelligent device corresponding to the second detection request frame exists in the list information, a third detection request frame is sent to the intelligent device;
the third probe request frame carries an IE3 field, and the IE3 field carries an encrypted target WIFI SSID, a KEY and a binding code.
Specifically, the networked device broadcasts a probe request frame, that is, a first probe request frame, and a user-defined IE1 field is carried in the first probe request frame, where the content carried in the IE1 field is ciphertext KEY1 (ciphertext transmission, and preset fixed salt+iv0aes encryption is used). KEY1 is shown as the payload, KEY1 is the ciphertext encrypted by IV0 and Salt, the encryption algorithm is aes256 (cbc mode), and the encrypted frame information is completed and stored.
And the intelligent equipment in the target WIFI area extracts the first detection request frame, then obtains a ciphertext KEY1, stores the ciphertext KEY1, encrypts the KEY1 by using the IV1, and finally obtains and stores KEY 3. Meanwhile, ciphertext KEY2 (ciphertext transmission, which is encrypted by using preset fixed salt+IV0AES) is placed in an IE2 field in the probe response frame and transmitted to the networked equipment. The KEY2 is a payload, the KEY2 is ciphertext encrypted by IV1 and Salt, and the encryption algorithm is aes256 (cbc mode).
After the networking device receives a probe response frame (namely a second probe request frame) sent by the intelligent network access device in the target WIFI area, judging whether the MAC address is in a white list, if so, the networking device sends a probe request frame (namely a third probe request frame), wherein an IE3 field carries an encrypted WIFI SSID, KEY, bindcode and the like, and AES encryption is carried out by using KEY2+IV2. If not, the networked device does not send the third probe request frame, and after the intelligent device in the target WIFI area overtakes for 5 seconds, information such as the intelligent device type, the device SSID, the MAC address, the distance information and the like is continuously broadcasted. The Probe Response frame is used for responding to a Probe Request frame, and the Probe Request frame is used by the mobile station for scanning whether a network exists around.
And after receiving the third detection request frame, the intelligent equipment to be network-accessed returns a probe response frame again, and the ack confirms that the information is received. And the intelligent equipment to be connected receives the information such as the WIFI SSID, the KEY, the bindcode and the like in the third detection request frame, stores the information, and then performs the operation of connecting the home router. If the router is connected incorrectly or registered incorrectly, the peripheral device is informed of the error information in the form of a probe request frame, and the user is informed of the error information.
In a further implementation, referring to fig. 6, the step S320 includes:
s321, reporting the binding code to a cloud server;
s322, controlling a cloud server to acquire a user name according to the priority weight distributed by the distance sorting information and the binding code, wherein the user name binds the device ID of the intelligent device to be distributed, corresponding to the priority weight;
s323, traversing all intelligent equipment to be distributed.
Specifically, the networked devices report basic information of the intelligent devices to be distributed to the cloud server in batches, the basic information comprises binding codes, registration is performed according to distance sorting information and the size of priority weights, the binding codes with small distance values and large weights are used for preferentially acquiring userIds (user names), the userIds bind deviceIds (device IDs) of the intelligent devices to be distributed corresponding to the priority weights, and the binding codes with large distance values and small weights are performed later until all the intelligent devices to be distributed are traversed.
Further, the cloud server returns information such as ip: port, accessToken, refreshToken of deviceId, broker of the intelligent equipment to be distributed, and registration is successful. And the cloud server sends a push notification to the user, so that the user is informed that the intelligent equipment to be connected with the network has been successfully bound, and the intelligent equipment is connected with the Broker by utilizing the MQTT protocol. MQTT (Message Queuing Telemetry Transport Protocol) is an abbreviation of message queue remote sensing transmission protocol, which is a message transmission protocol based on a release/subscription mode of a lightweight agent, and runs on top of a TCP protocol stack to provide orderly, reliable and bi-directional connection network connection assurance for the protocol stack.
In this way, the distributed non-inductive distribution network method is adopted, the distribution network can be successfully implemented by only pressing the remote controller by a user and triggering the distribution network, the user is not required to manually connect the softAp to input the SSID, the password and the like, the user operation is reduced, the distribution network time is shortened, in addition, the distributed non-inductive distribution network method can be added in batches, the manual operation is hardly required under the condition of replacing the G3 router or modifying the G3 password, the sub-equipment is updated and connected, the time is effectively saved, and the distributed non-inductive distribution network method is very suitable for distribution network of intelligent equipment in a large-scale sales place.
Further, as shown in fig. 7, based on the above intelligent device batch network distribution method, the present invention further provides a device, including a processor 10 and a memory 20. Fig. 7 shows only some of the components of the terminal, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may alternatively be implemented.
The memory 20 may in some embodiments be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The memory 20 may in other embodiments also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the terminal. The memory 20 is used for storing application software installed in the terminal and various data, such as program codes installed in the terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a smart device batch networking program 30, where the smart device batch networking program 30 may be executed by the processor 10, so as to implement the smart device batch networking method in the present application.
The processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for executing program code or processing data stored in the memory 20, such as executing the smart device batch networking method, etc.
In one embodiment, the following steps are implemented when the processor 10 executes the intelligent device batch networking program 30 in the memory 20:
when a network allocation instruction sent by a user is received, acquiring equipment information broadcasted by intelligent equipment in a target WIFI area;
generating list information of intelligent equipment to be distributed according to a distribution network equipment selection instruction of a user and the equipment information;
and sending target WIFI information to the intelligent equipment to be distributed according to the list information, and registering the intelligent equipment to be distributed to a cloud server.
When receiving a network allocation instruction sent by a user, acquiring device information broadcasted by intelligent devices in a target WIFI area, wherein the device information comprises:
when a network allocation instruction sent by a user is received, acquiring intelligent equipment type, equipment SSID, MAC address and distance information broadcasted by intelligent equipment in a target WIFI area;
sorting the network equipment to be distributed according to the distance information to generate distance sorting information;
and reporting the intelligent equipment type, the equipment SSID, the MAC address and the distance sorting information to a cloud server.
The distance information is a distance value between the intelligent equipment and a preset point; the step of sorting the network equipment to be distributed according to the distance information to generate distance sorting information comprises the following steps:
and sequencing the network equipment to be distributed according to the sequence of the distance values from small to large to generate distance sequencing information.
The generating list information of intelligent equipment to be distributed according to the distribution network equipment selection instruction of the user and the equipment information comprises the following steps:
according to a network distribution equipment selection instruction of a user, acquiring an MAC address and a binding code of intelligent equipment to be distributed;
and adding the MAC address of the intelligent equipment to be distributed in the target WIFI area into a white list, and generating list information of the intelligent equipment to be distributed.
The step of sending target WIFI information to the intelligent equipment to be distributed according to the list information and registering the intelligent equipment to be distributed to a cloud server comprises the following steps:
according to the MAC address in the list information, a target WIFI SSID, a KEY and a binding code are sent to the corresponding intelligent equipment to be distributed;
and reporting the binding code to a cloud server, and controlling the cloud server to sequentially register the intelligent equipment to be distributed according to the priority weight distributed by the distance sorting information.
According to the MAC address in the list information, the sending, to the corresponding intelligent device to be configured, the target WIFI SSID, KEY and binding code includes:
broadcasting a first detection request frame, wherein a self-defined IE1 field is carried in the first detection request frame, and the content carried in the IE1 field is ciphertext KEY1;
receiving a second detection request frame fed back by the intelligent equipment in the target WIFI area according to the first detection request frame;
if the MAC address of the intelligent device corresponding to the second detection request frame exists in the list information, a third detection request frame is sent to the intelligent device;
the third probe request frame carries an IE3 field, and the IE3 field carries an encrypted target WIFI SSID, a KEY and a binding code.
The step of reporting the binding code to the cloud server, controlling the cloud server to sequentially register the intelligent equipment to be distributed according to the priority weight distributed by the distance sorting information, and comprises the following steps:
reporting the binding code to a cloud server;
the cloud server is controlled to acquire a user name according to the priority weight distributed by the distance sorting information and the binding code, and the user name binds the equipment ID of the intelligent equipment to be distributed of the network corresponding to the priority weight;
until all the intelligent devices to be distributed are traversed.
When receiving a network allocation instruction sent by a user, acquiring device information broadcasted by intelligent devices in a target WIFI area, wherein the device information comprises:
and when the infrared remote control signal is detected, acquiring the equipment information broadcasted by the intelligent equipment in the target WIFI area.
The invention also provides a computer readable storage medium storing a computer program executable for implementing the steps of the intelligent device batch networking method as described above.
In summary, the method, the device and the computer readable storage medium for intelligent device batch network allocation disclosed by the invention comprise the following steps: when a network allocation instruction sent by a user is received, acquiring equipment information broadcasted by intelligent equipment in a target WIFI area; generating list information of intelligent equipment to be distributed according to a distribution network equipment selection instruction of a user and the equipment information; and sending target WIFI information to the intelligent equipment to be distributed according to the list information, and registering the intelligent equipment to be distributed to a cloud server. According to the method and the device for automatically distributing the network, the list information of the intelligent equipment to be distributed can be obtained by directly receiving the network distribution instruction and the network distribution equipment selection instruction sent by the user, the target WIFI information is automatically sent to the intelligent equipment to be distributed in batches according to the list information, and the intelligent equipment to be distributed can automatically access the network according to the target WIFI information, so that the user does not need to sequentially and manually operate a plurality of pieces of equipment to be connected, the operation of the user is reduced, and the network distribution efficiency is improved.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (7)

1. The intelligent equipment batch network distribution method is characterized by comprising the following steps of:
when a network allocation instruction sent by a user is received, acquiring equipment information broadcasted by intelligent equipment in a target WIFI area;
generating list information of intelligent equipment to be distributed according to a distribution network equipment selection instruction of a user and the equipment information;
sending target WIFI information to the intelligent equipment to be distributed according to the list information, and registering the intelligent equipment to be distributed to a cloud server;
when receiving a network allocation instruction sent by a user, acquiring device information broadcasted by intelligent devices in a target WIFI area, wherein the device information comprises:
when a network allocation instruction sent by a user is received, acquiring intelligent equipment type, equipment SSID, MAC address and distance information broadcasted by intelligent equipment in a target WIFI area;
sorting the intelligent equipment according to the distance information to generate distance sorting information;
reporting the intelligent equipment type, the equipment SSID, the MAC address and the distance sorting information to a cloud server;
the distance information is a distance value between the intelligent equipment and a preset point, and the preset point is set as a WIFI center of a target WIFI area;
the generating list information of intelligent equipment to be distributed according to the distribution network equipment selection instruction of the user and the equipment information comprises the following steps:
according to a network distribution equipment selection instruction of a user, acquiring an MAC address and a binding code of intelligent equipment to be distributed;
adding the MAC address of the intelligent equipment to be distributed in the target WIFI area into a white list, and generating list information of the intelligent equipment to be distributed;
the step of sending target WIFI information to the intelligent equipment to be distributed according to the list information and registering the intelligent equipment to be distributed to a cloud server comprises the following steps:
according to the MAC address in the list information, a target WIFI SSID, a KEY and a binding code are sent to the corresponding intelligent equipment to be distributed;
and reporting the binding code to a cloud server, and controlling the cloud server to sequentially register the intelligent equipment to be distributed according to the priority weight distributed by the distance sorting information.
2. The method for batch network configuration of intelligent devices according to claim 1, wherein the step of sorting the intelligent devices according to the distance information to generate distance sorting information comprises the steps of:
and sequencing the intelligent equipment according to the sequence of the distance values from small to large to generate distance sequencing information.
3. The method for batch network allocation of intelligent devices according to claim 1, wherein the sending the target WIFI SSID, KEY and binding code to the corresponding intelligent device to be network allocated according to the MAC address in the list information includes:
broadcasting a first detection request frame, wherein a self-defined IE1 field is carried in the first detection request frame, and the content carried in the IE1 field is ciphertext KEY1;
receiving a second detection request frame fed back by the intelligent equipment in the target WIFI area according to the first detection request frame;
if the MAC address of the intelligent device corresponding to the second detection request frame exists in the list information, a third detection request frame is sent to the intelligent device;
the third probe request frame carries an IE3 field, and the IE3 field carries an encrypted target WIFI SSID, a KEY and a binding code.
4. The method for batch network configuration of intelligent devices according to claim 1, wherein the reporting the binding code to the cloud server and controlling the cloud server to sequentially register the intelligent devices to be network-configured according to the priority weight allocated by the distance ordering information comprises:
reporting the binding code to a cloud server;
the cloud server is controlled to acquire a user name according to the priority weight distributed by the distance sorting information and the binding code, and the user name binds the equipment ID of the intelligent equipment to be distributed of the network corresponding to the priority weight;
until all the intelligent devices to be distributed are traversed.
5. The method for batch network allocation of intelligent devices according to claim 1, wherein when receiving a network allocation instruction sent by a user, obtaining device information broadcasted by the intelligent devices in the target WIFI area includes:
and when the infrared remote control signal is detected, acquiring the equipment information broadcasted by the intelligent equipment in the target WIFI area.
6. An apparatus, comprising: the intelligent equipment batch distribution network system comprises a memory, a processor and an intelligent equipment batch distribution network program which is stored in the memory and can run on the processor, wherein the intelligent equipment batch distribution network program realizes the steps of the intelligent equipment batch distribution network method according to any one of claims 1-5 when the intelligent equipment batch distribution network program is executed by the processor.
7. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program executable for implementing the steps of the intelligent device batch networking method according to any one of claims 1-5.
CN202011537840.3A 2020-12-23 2020-12-23 Intelligent equipment batch network distribution method, equipment and computer readable storage medium Active CN114745259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011537840.3A CN114745259B (en) 2020-12-23 2020-12-23 Intelligent equipment batch network distribution method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011537840.3A CN114745259B (en) 2020-12-23 2020-12-23 Intelligent equipment batch network distribution method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114745259A CN114745259A (en) 2022-07-12
CN114745259B true CN114745259B (en) 2024-02-06

Family

ID=82274020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011537840.3A Active CN114745259B (en) 2020-12-23 2020-12-23 Intelligent equipment batch network distribution method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114745259B (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540237A (en) * 2014-11-28 2015-04-22 普联技术有限公司 Method and system for connecting intelligent device to network
WO2016107078A1 (en) * 2014-12-29 2016-07-07 小米科技有限责任公司 Binding method and apparatus of intelligent device
CN106059837A (en) * 2016-07-29 2016-10-26 海尔优家智能科技(北京)有限公司 Device network access configuration method and device, and cloud platform
CN106255104A (en) * 2016-07-29 2016-12-21 海尔优家智能科技(北京)有限公司 A kind of smart machine Auto-reconnect method and apparatus
CN106301785A (en) * 2016-08-09 2017-01-04 Tcl集团股份有限公司 The binding method of a kind of intelligent home device and intelligent terminal and system
WO2017097093A1 (en) * 2015-12-08 2017-06-15 中兴通讯股份有限公司 Implementation method for home internet of things, set top box, and internet-of-things server
WO2017206314A1 (en) * 2016-05-30 2017-12-07 深圳市贝美互动科技有限公司 Method of linking to smart apparatus, and device
CN108092919A (en) * 2017-12-11 2018-05-29 上海斐讯数据通信技术有限公司 A kind of method and system of dynamically distributes terminal device flow
WO2018127200A1 (en) * 2017-01-09 2018-07-12 云丁网络技术(北京)有限公司 Method for smart device to access network, mobile terminal, cloud server, device, and system
CN108551690A (en) * 2018-01-30 2018-09-18 京信通信系统(中国)有限公司 A kind of radio equipment access method, device and terminal device
CN109996314A (en) * 2017-12-29 2019-07-09 阿里巴巴集团控股有限公司 A kind of methods, devices and systems to distribution net equipment access network hotspot equipment
CN110139271A (en) * 2019-04-30 2019-08-16 普联技术有限公司 A kind of method, system and device that smart home device batch configuration networks
WO2019233310A1 (en) * 2018-06-08 2019-12-12 阿里巴巴集团控股有限公司 Method and apparatus for device to be configured with network to access network hotspot device
CN110601870A (en) * 2019-07-31 2019-12-20 华为技术有限公司 Method, device and system for registering device distribution network
CN110708688A (en) * 2019-09-18 2020-01-17 芋头科技(杭州)有限公司 Intelligent equipment network distribution method and device, controller and medium
CN110972232A (en) * 2019-12-16 2020-04-07 北京小米移动软件有限公司 Network connection method, device, terminal and storage medium
CN111741513A (en) * 2020-06-18 2020-10-02 深圳市晨北科技有限公司 Network distribution method of Internet of things equipment and related equipment
CN111867007A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Automatic network distribution method and system for intelligent equipment and storage medium
KR20200123498A (en) * 2019-04-11 2020-10-30 주식회사 유비벨록스모바일 IOT device setting system and method thereof
CN111867001A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
KR20200136759A (en) * 2019-05-28 2020-12-08 주식회사 코맥스 USER DEVICE AND METHOD FOR SETTING IoT GATEWAY THEREOF

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451303B (en) * 2014-07-02 2018-11-06 阿里巴巴集团控股有限公司 Access method, apparatus, server and the terminal of network
US9954691B2 (en) * 2014-12-29 2018-04-24 Xiaomi Inc. Method and apparatus for binding intelligent device

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540237A (en) * 2014-11-28 2015-04-22 普联技术有限公司 Method and system for connecting intelligent device to network
WO2016107078A1 (en) * 2014-12-29 2016-07-07 小米科技有限责任公司 Binding method and apparatus of intelligent device
WO2017097093A1 (en) * 2015-12-08 2017-06-15 中兴通讯股份有限公司 Implementation method for home internet of things, set top box, and internet-of-things server
WO2017206314A1 (en) * 2016-05-30 2017-12-07 深圳市贝美互动科技有限公司 Method of linking to smart apparatus, and device
CN106059837A (en) * 2016-07-29 2016-10-26 海尔优家智能科技(北京)有限公司 Device network access configuration method and device, and cloud platform
CN106255104A (en) * 2016-07-29 2016-12-21 海尔优家智能科技(北京)有限公司 A kind of smart machine Auto-reconnect method and apparatus
CN106301785A (en) * 2016-08-09 2017-01-04 Tcl集团股份有限公司 The binding method of a kind of intelligent home device and intelligent terminal and system
WO2018127200A1 (en) * 2017-01-09 2018-07-12 云丁网络技术(北京)有限公司 Method for smart device to access network, mobile terminal, cloud server, device, and system
CN108092919A (en) * 2017-12-11 2018-05-29 上海斐讯数据通信技术有限公司 A kind of method and system of dynamically distributes terminal device flow
CN109996314A (en) * 2017-12-29 2019-07-09 阿里巴巴集团控股有限公司 A kind of methods, devices and systems to distribution net equipment access network hotspot equipment
CN108551690A (en) * 2018-01-30 2018-09-18 京信通信系统(中国)有限公司 A kind of radio equipment access method, device and terminal device
WO2019233310A1 (en) * 2018-06-08 2019-12-12 阿里巴巴集团控股有限公司 Method and apparatus for device to be configured with network to access network hotspot device
KR20200123498A (en) * 2019-04-11 2020-10-30 주식회사 유비벨록스모바일 IOT device setting system and method thereof
CN110139271A (en) * 2019-04-30 2019-08-16 普联技术有限公司 A kind of method, system and device that smart home device batch configuration networks
KR20200136759A (en) * 2019-05-28 2020-12-08 주식회사 코맥스 USER DEVICE AND METHOD FOR SETTING IoT GATEWAY THEREOF
CN110601870A (en) * 2019-07-31 2019-12-20 华为技术有限公司 Method, device and system for registering device distribution network
CN110708688A (en) * 2019-09-18 2020-01-17 芋头科技(杭州)有限公司 Intelligent equipment network distribution method and device, controller and medium
CN110972232A (en) * 2019-12-16 2020-04-07 北京小米移动软件有限公司 Network connection method, device, terminal and storage medium
CN111741513A (en) * 2020-06-18 2020-10-02 深圳市晨北科技有限公司 Network distribution method of Internet of things equipment and related equipment
CN111867007A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Automatic network distribution method and system for intelligent equipment and storage medium
CN111867001A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
工业以太网控制系统中网络节点位置信息自动绑定协议研究;周纯杰;於光灿;秦元庆;陈开;;计算机科学(第10期);全文 *
智能产品配网绑定时效问题的定位方法;李昱兵;汪伟;辛钧;;计算机系统应用(第04期);全文 *

Also Published As

Publication number Publication date
CN114745259A (en) 2022-07-12

Similar Documents

Publication Publication Date Title
US10970951B2 (en) Data management method, apparatus, device, system and storage medium for smart lock
US11979274B2 (en) Network management method and apparatus
CN110460977B (en) Intelligent lighting equipment network distribution method based on Bluetooth MESH
US7502855B2 (en) Wireless classroom system allowing user to access a particular classroom by selecting corresponding network from a list of wireless networks
CN113133086B (en) Intelligent device network distribution method and device, electronic device and storage medium
CN106301959B (en) Gateway batch upgrading method and system based on WINDOWS and LINUX platform
US20240014937A1 (en) Information processing apparatus, communication system, information processing method and program
CN112448873B (en) Binding method and device for equipment and computer readable storage medium
WO2017076109A1 (en) Software upgrading method and device
CN110380775B (en) Large-scale multi-service satellite constellation operation and management system and working method thereof
CN108769210B (en) Attendance tracking method, device, terminal, server and storage medium
CN112637221B (en) Equipment control method and device
CN114745259B (en) Intelligent equipment batch network distribution method, equipment and computer readable storage medium
CN114120618A (en) One-key infrared configuration method, infrared device, mobile terminal and system
CN111884938B (en) Router information acquisition method and device
CN103188662B (en) A kind of method and device verifying WAP (wireless access point)
CN103746887A (en) Method for activating locomotive access network
CN111314492A (en) Air conditioner, data transmission method thereof and computer readable storage medium
JP3667322B2 (en) Data communication method
CN117687344B (en) I/O data sharing method, controller and system
JP3728448B2 (en) Data communication system
CN117939583A (en) Method and system for configuring intelligent devices in batches
CN111737678A (en) Target equipment binding method and device, storage medium and electronic device
JP3728446B2 (en) Data communication system
JP3728445B2 (en) Data transmission device and data transmission method

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