CN112422339A - Method for mutual configuration of Internet of things equipment - Google Patents

Method for mutual configuration of Internet of things equipment Download PDF

Info

Publication number
CN112422339A
CN112422339A CN202011292907.1A CN202011292907A CN112422339A CN 112422339 A CN112422339 A CN 112422339A CN 202011292907 A CN202011292907 A CN 202011292907A CN 112422339 A CN112422339 A CN 112422339A
Authority
CN
China
Prior art keywords
internet
wifi
things equipment
mode
data segment
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
CN202011292907.1A
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.)
Shanghai Sunmi Technology Group Co Ltd
Shanghai Sunmi Technology Co Ltd
Shenzhen Michelangelo Technology Co Ltd
Original Assignee
Shanghai Sunmi Technology Group Co Ltd
Shenzhen Michelangelo 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 Shanghai Sunmi Technology Group Co Ltd, Shenzhen Michelangelo Technology Co Ltd filed Critical Shanghai Sunmi Technology Group Co Ltd
Priority to CN202011292907.1A priority Critical patent/CN112422339A/en
Publication of CN112422339A publication Critical patent/CN112422339A/en
Pending legal-status Critical Current

Links

Images

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
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/18Interfaces between hierarchically similar devices between terminal devices

Abstract

The invention provides a method for mutual configuration of Internet of things equipment, which comprises the following steps: step 1: respectively setting a broadcast mode and a monitoring mode between the mutually configured material network devices; step 2: the Internet of things equipment in the broadcast mode encrypts and encapsulates information such as data and the like into information elements in an IEEE802.11Beacon frame, and a WIFI wireless access point mode is started; and step 3: the Internet of things equipment in the monitoring mode monitors and scans available wireless access points by using a WIFI module, after a Beacon frame with the type of information elements is detected, original data are obtained through analysis and decryption, and the method for mutual configuration among the Internet of things equipment with high safety and strong expandability is provided.

Description

Method for mutual configuration of Internet of things equipment
Technical Field
The invention relates to the technical field of Internet of things connection, in particular to a method for mutual configuration of Internet of things devices.
Background
WIFI is also called wireless network, is a trademark of WIFI alliance, a wireless local area network technology based on IEEE802.11 standard. The IEEE802.11 standard defines a Medium Access Control (MAC) layer and several physical layer (PHY) specifications to provide wireless connectivity for fixed, portable and mobile terminals within a local area network.
At present, the internet of things equipment needs to configure a network by inputting a password, so that the internet or a server can be accessed to realize the functions of the internet of things equipment. The operation of configuring the network is troublesome, and as more and more devices of the internet of things are used, or in a scene requiring batch deployment, each device needs the same operation to access the network, which brings inconvenience to users. For the internet of things equipment without an input interface, the configuration of the network is more inconvenient. The method for configuring the WIFI account for the Internet of things equipment without the input interface in the prior art mainly comprises three methods, namely the Internet of things equipment is provided with an Ethernet interface, the Internet of things equipment is accessed to the Internet by using a network cable, WIFI account information is transmitted to the equipment through a cloud server, and the network cable is unplugged after the Internet of things equipment receives the WIFI account, so that WIFI is connected; secondly, a WIFI hotspot of a fixed SSID (Service Set Identifier) is started on the Internet of things equipment, the user switches the WIFI of the mobile terminal to be connected to the Internet of things equipment, and the WIFI account information is transmitted to the Internet of things equipment through application software on the mobile terminal. And thirdly, a monitoring mode is started through a WIFI module of the Internet of things device to receive WiFi parameters broadcasted by terminal devices such as the mobile terminal.
In the third scheme, a common solution is to fill the header part of the MAC layer packet with information to be transmitted to the internet of things device by using the signal of WIFI itself. The Internet of things equipment is started to enter a scanning mode, whether supported data exist in each channel needs to be monitored, and if the supported data exist, the data are analyzed to configure the Internet of things equipment.
The above scheme has the following problems: (1) the technology generally only encodes data for transmission without encryption because of less available space of the packet head part of the MAC layer data packet, so that a third party can illegally acquire transmitted information by monitoring and analyzing; (2) the transmission capacity is small, and the technology divides and fills data to be transmitted into the header part of the MAC layer data packet, and transmits the data for multiple times, so that transmission failure is easily caused by packet loss if the transmitted data volume is large, and the technology is limited to be only applied to transmitting a small amount of data; (3) when the deployment is carried out, special mobile terminal equipment and other equipment are required to be used for broadcasting, and the mass deployment is inconvenient.
Disclosure of Invention
The invention aims to provide a method for mutual configuration of Internet of things equipment, which is high in safety and expandability.
In order to achieve the purpose, the invention provides a method for mutual configuration of Internet of things equipment, which comprises the following steps:
step 1: respectively setting a broadcast mode and a monitoring mode between the mutually configured material network devices;
step 2: the Internet of things equipment in the broadcast mode encrypts and encapsulates information such as data and the like into information elements in an IEEE802.11Beacon frame, and a WIFI wireless access point mode is started;
and step 3: and the Internet of things equipment in the monitoring mode monitors and scans available wireless access points by using a WIFI module, acquires original data after analyzing and decrypting after detecting the Beacon frame with the type of information elements.
Further, the broadcast mode is used for configuring other target devices by the source device; the listening mode is used for the target equipment to be configured to accept configuration.
Further, in step 2, the method specifically comprises the following steps:
step 2.1: the method comprises the steps that the Internet of things equipment encrypts data to be sent, such as WIFI account information and the like, into a data segment A, the data segment A and an identification data segment B are spliced into a data segment C, and the data segment C, a manufacturer and an Element ID 221 form a Vendor Specific information Element;
step 2.2: initializing WIFI wireless access point application software;
step 2.3: adding the information element obtained in the step 2.1 to the WIFI wireless access point;
step 2.4: and starting the WIFI wireless access point.
Further, in step 3, the method specifically comprises the following steps:
step 3.1, starting the WIFI module by the Internet of things equipment, and entering an STA mode;
step 3.2, starting a WIFI wireless access point scanning function in a WIFI module STA mode;
step 3.3, during scanning on each channel, analyzing the information elements carried by each effective WIFI access point, and extracting the information elements A with manufacturer OUI and identification data segment B;
step 3.4: and decrypting the data segment of the information element A to obtain the data segment A.
Compared with the prior art, the invention has the advantages that: the method for mutual configuration among the Internet of things devices realizes signal butt joint through the broadcast mode and the monitoring mode, greatly improves the batch deployment efficiency, and has strong expandability and higher safety.
Drawings
Fig. 1 is a flowchart of a method for mutual configuration between internet of things devices in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be further described below.
As shown in fig. 1, the present invention provides a method for mutual configuration between internet of things devices, which is mainly technically characterized in that:
step 1: the method for mutual configuration of the Internet of things equipment has two modes: (a) a broadcast mode for configuring other target devices by the source device; (b) and the monitoring mode is used for the target equipment to be configured to accept the configuration.
Step 2: the method comprises the steps that Information such as data and the like are encrypted and packaged into an Information Element (Information Element) in an IEEE802.11Beacon frame by the Internet of things equipment in a broadcast mode, and a WIFI (Wireless Fidelity) wireless Access Point (Access Point) mode is started;
and step 3: and the Internet of things equipment in the monitoring mode monitors and scans available wireless access points by using a WIFI module, acquires original data after analyzing and decrypting after detecting the Beacon frame with the type of information elements.
Broadcast mode
(a) The method comprises the steps that the Internet of things equipment encrypts data needing to be sent, such as WIFI account information and the like, into a data segment A, the data segment A and an identification data segment B are spliced into a data segment C, and the data segment C, a manufacturer OUI (organization Unique identifier) and an Element ID 221 form a Vendor Specific information Element;
(b) initializing WIFI wireless access point application software such as HOSTAPD and the like;
(c) adding the information elements obtained in the step (a) to WIFI wireless access point application software such as HOSTAPD and the like;
(d) and starting the WIFI wireless access point.
Listening mode
(a) The method comprises the steps that the Internet of things equipment starts a WIFI module and enters an STA (station) mode;
(b) starting a WIFI wireless access point scanning function in a WIFI module STA (station) mode;
(c) when scanning on each channel, analyzing the information elements carried by each effective WIFI access point, and extracting the information element A with a manufacturer OUI (organization Unique identifier) and an identification data segment B;
(d) and decrypting the data segment of the information element A to obtain the data segment A.
The above description is only a preferred embodiment of the present invention, and does not limit the present invention in any way. It will be understood by those skilled in the art that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (4)

1. A mutual configuration method for Internet of things equipment is characterized by comprising the following steps:
step 1: respectively setting a broadcast mode and a monitoring mode between the mutually configured material network devices;
step 2: the Internet of things equipment in the broadcast mode encrypts and encapsulates information such as data and the like into information elements in an IEEE802.11Beacon frame, and a WIFI wireless access point mode is started;
and step 3: and the Internet of things equipment in the monitoring mode monitors and scans available wireless access points by using a WIFI module, acquires original data after analyzing and decrypting after detecting the Beacon frame with the type of information elements.
2. The method for mutual configuration between internet of things devices as claimed in claim 1, wherein the broadcast mode is used for a source device to configure other target devices; the listening mode is used for the target equipment to be configured to accept configuration.
3. The method for mutual configuration of devices in the internet of things according to claim 1, wherein in step 2, the method specifically comprises the following steps:
step 2.1: the method comprises the steps that the Internet of things equipment encrypts data to be sent, such as WIFI account information and the like, into a data segment A, the data segment A and an identification data segment B are spliced into a data segment C, and the data segment C, a manufacturer and an Element ID 221 form a Vendor Specific information Element;
step 2.2: initializing WIFI wireless access point application software;
step 2.3: adding the information element obtained in the step 2.1 to the WIFI wireless access point;
step 2.4: and starting the WIFI wireless access point.
4. The method for mutual configuration of devices in the internet of things according to claim 1, wherein in step 3, the method specifically comprises the following steps:
step 3.1, starting the WIFI module by the Internet of things equipment, and entering an STA mode;
step 3.2, starting a WIFI wireless access point scanning function in a WIFI module STA mode;
step 3.3, during scanning on each channel, analyzing the information elements carried by each effective WIFI access point, and extracting the information elements A with manufacturer OUI and identification data segment B;
step 3.4: and decrypting the data segment of the information element A to obtain the data segment A.
CN202011292907.1A 2020-11-18 2020-11-18 Method for mutual configuration of Internet of things equipment Pending CN112422339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011292907.1A CN112422339A (en) 2020-11-18 2020-11-18 Method for mutual configuration of Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011292907.1A CN112422339A (en) 2020-11-18 2020-11-18 Method for mutual configuration of Internet of things equipment

Publications (1)

Publication Number Publication Date
CN112422339A true CN112422339A (en) 2021-02-26

Family

ID=74772924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011292907.1A Pending CN112422339A (en) 2020-11-18 2020-11-18 Method for mutual configuration of Internet of things equipment

Country Status (1)

Country Link
CN (1) CN112422339A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN105491600A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Network access method, device and related equipment for household appliances
CN110225516A (en) * 2018-03-01 2019-09-10 鸿合科技股份有限公司 A kind of connection method and system of wireless network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN105491600A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Network access method, device and related equipment for household appliances
CN110225516A (en) * 2018-03-01 2019-09-10 鸿合科技股份有限公司 A kind of connection method and system of wireless network

Similar Documents

Publication Publication Date Title
KR102270507B1 (en) Network slice selection method, user equipment and network equipment
US8494164B2 (en) Method for connecting wireless communications, wireless communications terminal and wireless communications system
CN106973381B (en) WiFi hotspot password sharing processing method and system and mobile terminal
CN106535288B (en) Method for sending and acquiring wifi networking information and corresponding device
EP3764697B1 (en) Method of batch automatic network configuration of wifi devices, terminal equipment and storage medium
CN105764058B (en) Method, device and system for accessing network
CN111194067A (en) Network access method, device, related equipment and storage medium
US9510130B2 (en) Provisioning of multiple wireless devices by an access point
US8862096B1 (en) Provisioning of multiple wireless devices by an access point
CN109587823B (en) Method for accessing WiFi camera to Internet by intelligent code scanning
WO2012136160A2 (en) Method, user equipment and wireless router device for wifi communications
US8312151B2 (en) Communication systems and methods for dynamic and secure simplification of equipment networking
CN108605277B (en) Method and device for establishing wireless local area network connection
CN113132983B (en) Network disconnection reconnection method for intelligent terminal
US10986677B2 (en) Method and apparatus for connecting to access point in WLAN network
US20220070976A1 (en) Data transmission method, apparatus, and system
US20190261436A1 (en) Device networking method, apparatus and system
CN114615688B (en) Close-distance automatic configuration method between WiFi hotspot device and current access device
CN112422339A (en) Method for mutual configuration of Internet of things equipment
CN112714009B (en) Network distribution method, network equipment to be distributed and network equipment
CN115604700A (en) Network distribution method based on Wi-Fi perception, embedded chip system and medium
CN112087752B (en) Multi-wireless-terminal data monitoring method and system
CN112118610B (en) Network distribution method and system for wireless intelligent equipment
KR20170137347A (en) Method and apparatus for dynamic connection change in wlan
CN111770588B (en) Method and system for quickly establishing wireless connection with wireless router

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210226

RJ01 Rejection of invention patent application after publication