[go: up one dir, main page]

CN105871635A - Method for automatically configuring multiple WIFI module parameters in local area - Google Patents

Method for automatically configuring multiple WIFI module parameters in local area Download PDF

Info

Publication number
CN105871635A
CN105871635A CN201610383244.1A CN201610383244A CN105871635A CN 105871635 A CN105871635 A CN 105871635A CN 201610383244 A CN201610383244 A CN 201610383244A CN 105871635 A CN105871635 A CN 105871635A
Authority
CN
China
Prior art keywords
wifi module
configuration
wifi
parameter
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610383244.1A
Other languages
Chinese (zh)
Other versions
CN105871635B (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.)
Shandong Youren networking Co.,Ltd.
Original Assignee
Shandong Youren Information 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 Shandong Youren Information Technology Co Ltd filed Critical Shandong Youren Information Technology Co Ltd
Priority to CN201610383244.1A priority Critical patent/CN105871635B/en
Publication of CN105871635A publication Critical patent/CN105871635A/en
Application granted granted Critical
Publication of CN105871635B publication Critical patent/CN105871635B/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
    • 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
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • 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]

Landscapes

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

Abstract

The invention provides a method for automatically configuring multiple WIFI module parameters in a local area. The method includes the steps that parameter configuration of any WIFI module is finished in a manual mode; the first configured WIFI module searches for unconfigured WIFI modules and is connected with the unconfigured WIFI modules in a WIFI mode; the first configured WIFI module and the unconfigured WIFI modules are in data communication according to a UDP protocol, and the first configured WIFI module sends configuration parameters to the unconfigured WIFI modules through UDP ports; if the WIFI modules subjected to parameter configuration detect that the WIFI modules are automatically configured, an automatic configuration mode is started, the unconfigured WIFI modules are configured till the WIFI modules can search for no unconfigured WIFI modules, and the whole configuration process is finished. The method reduces configuration time of users and operation complexity, reduces the error rate of configuration, increases the success rate of configuration, improves configuration efficiency, and reduces configuration cost.

Description

The method that the multiple WIFI module parameters in a kind of local area automatically configure
Technical field
The present invention relates to the method that the multiple WIFI module parameters in a kind of local area automatically configure, belong to WIFI communication technical field.
Background technology
WIFI module is the most extensive in the application of current Internet of Things industry and industrial automation, the application using high-volume WIFI module in same local area is the most quite varied, but the parameter configuration for WIFI module has different implementations, and the configuration mode of each manufacturer has the most several at present:
1, configured by the serial ports of WIFI module:
Serial ports for commercial Application turns WIFI module, and serial ports and module communication are most stable of modes, and a lot of manufacturers are all to be configured module by serial ports AT instruction, including arranging the AP of WIFI connection, server address etc..
2, the AP connecting WIFI module carries out network configuration:
Each WIFI module dispatch from the factory into acquiescence ap mode, the client AP by link block, set up WIFI connect after, carried out the configuration of module by LAN UDP or Transmission Control Protocol.
3, Smartlink configuration mode:
The handheld terminal form by broadcast data packet, sends WIFI equipment to by configuration information.
Above-mentioned three kinds of methods can complete to configure the function of WIFI module parameter, but these three method has certain drawback:
1, serial ports formula configuration mode: need the serial ports allowing user go to connect each WIFI module, also need to be connected to serial ports the MCU end of data communication after having configured, what this mode needed to carry out module serial ports repeats plug, operation complexity, and one can only be configured every time, repetitive work is too many.
2, network configurations: needing to allow user constantly switch WIFI, connect different WIFI module, operate complexity equally, repetitive operation is too many.
3, Smartlink mode: relatively big by the restriction ratio of handheld device and router, can only carry out the configuration of simple SSID and password, be configured to power the highest.
Summary of the invention
The present invention is in order to overcome the deficiency of above technology, provide the method that the multiple WIFI module parameters in a kind of local area automatically configure, decrease the setup time of user and the complexity of operation, decrease the error rate of configuration, improve success rate and the efficiency of configuration, save deployment cost.
Summary of the invention:
Owing to the configuration parameter of WIFI module each in LAN is consistent, so the arbitrary manual mode configuration parameter in serial ports formula configuration mode, network configurations or Smartlink mode can be utilized only to select a WIFI module, then realizing the unified configuration of parameter of all modules in local area by the way of module configuration module, the configuration parameter of self is sent to other WIFI module by i.e. first WIFI module.
The present invention overcomes its technical problem be the technical scheme is that
The method that the multiple WIFI module parameters in a kind of local area automatically configure, comprises the following steps that
(1) parameter configuration of any one WIFI module is completed manually;
(2) first configured WIFI module find the WIFI module not configured by the service set that search is given tacit consent to, after searching the WIFI module not configured, self is switched to STA mode by first configured WIFI module, using the WIFI module that do not configures as WAP, carry out WIFI with it and be connected;
(3) all WIFI module not configured all open a udp port monitored data after starting, first configured WIFI module is set up after WIFI is connected respectively with the WIFI module not configured, first configured WIFI module carries out data communication according to udp protocol and the WIFI module not configured, and sends configuration parameter by udp port to them;
(4) if the WIFI module having completed parameter configuration detects that self is automatically configured, the pattern of automatically configuring can be opened, and the WIFI module not configuring other configures, until all of WIFI module is all searched for less than the WIFI module not configured, the most whole configuration process terminates;The WIFI module of configured complete parameter, restarts self, enters normal mode of operation.
Owing to there being identical service set (SSID) when WIFI module is dispatched from the factory, whether can also have the equipment (WIFI module is typically encased in equipment) not configured in judging LAN by the WIFI module determining whether the SSID of acquiescence;And each WIFI module has the function of search surrounding wireless access points (AP), can find, by the SSID that search is given tacit consent to, the WIFI module that do not configures.
According to currently preferred, in described step (1), manual mode is serial ports formula configuration mode or network configurations.
According to currently preferred, the configuration parameter of all WIFI module is identical.
According to currently preferred, in described step (3), udp protocol form is as follows:
Fixing packet header Configuration person MAC The person of being configured MAC Configuration data Verification
2 bytes 6 bytes 6 bytes N byte Data accumulation and verification
Wherein, fixing packet header: be to distinguish agreement, owing to udp port is in addition to receiving udp protocol, it is also possible to can receive other configuration protocols;
Configuration person MAC: send the WIFI module MAC Address of parameter configuration data;
The person of being configured MAC: receive the WIFI module MAC Address of parameter configuration data;
Configuration data: including the module service set identifier of configuration, transparent transmission parameter, serial ports parameter, module WIFI parameter, server parameter, the length of described configuration data is unfixed, and the value of N is 0-512;
Data accumulation and verification: in addition to fixing packet header, other data cumulative and, take least-significant byte data.
The invention has the beneficial effects as follows:
The present invention is different from the single configuration mode of existing WIFI module, search and the UDP communication function automatically of WIFI module can be utilized, realize automatically configuring between module and module, decrease the setup time of user and the complexity of operation, decrease the error rate of configuration, improve success rate and the efficiency of configuration, save deployment cost.
Accompanying drawing explanation
Fig. 1 is the principle schematic of the multiple WIFI module parameter automatic configuration method in local of the present invention area.
Detailed description of the invention
Being better understood from the present invention for the ease of those skilled in the art, be described in further details the present invention with specific embodiment below in conjunction with the accompanying drawings, following is only exemplary not limit protection scope of the present invention.
The method that the multiple WIFI module parameters in local of the present invention area automatically configure, as it is shown in figure 1, there are 8 WIFI module in this LAN, the configuration parameter of these 8 WIFI module is identical, when it is carried out parameter configuration, can carry out in accordance with the following steps:
(1) parameter configuration of any one WIFI module (WIFI module completing configuration by first is called WIFI module one) is completed by serial ports formula configuration mode or network configurations.
(2) service set (SSID) that WIFI module one is given tacit consent to by search finds the WIFI module not configured, due to the distance between the WIFI module not configured and WIFI module one, apart near signal intensity can strong, can be more weak apart from remote signal intensity, after searching the WIFI module two, three, four not configured that signal intensity is stronger, self is switched to STA mode by WIFI module one, respectively using WIFI module two, three, four as WAP (AP), carry out WIFI with it and be connected.
(3) all open a udp port after all WIFI module startups not configured and listen data, WIFI module one is set up after WIFI is connected with WIFI module two, three, four, can be carried out UDP message communication, WIFI module one carries out data communication according to udp protocol and WIFI module two, three, four, sending configuration parameter to them, WIFI module two, three, four i.e. completes their configuration process after listening to configuration parameter.Udp protocol form used during automatic configuration parameter is as follows:
Fixing packet header Configuration person MAC The person of being configured MAC Configuration data Verification
2 bytes 6 bytes 6 bytes N byte Data accumulation and verification
Wherein, fixing packet header: be to distinguish agreement, owing to udp port is in addition to receiving udp protocol, it is also possible to can receive other configuration protocols;
Configuration person MAC: send the WIFI module MAC Address of parameter configuration data;
The person of being configured MAC: receive the WIFI module MAC Address of parameter configuration data;
Configuration data: including the module service set identifier of configuration, transparent transmission parameter, serial ports parameter, module WIFI parameter, server parameter, the length of described configuration data is unfixed, and the value of N is 0-512;
Data accumulation and verification: in addition to fixing packet header, other data cumulative and, take least-significant byte data.
(4) if the WIFI module having completed parameter configuration detects that self is automatically configured, the pattern of automatically configuring can be opened: i.e. WIFI module five, six is automatically configured by WIFI module two, WIFI module seven is automatically configured by WIFI module three, WIFI module eight is automatically configured by WIFI module four, described WIFI module two, three, four is also that the power according to signal intensity carries out prioritizing selection and carries out configuring, until all of WIFI module is all searched for less than the WIFI module not configured, the most whole configuration process terminates.
The WIFI module of configured complete parameter, restarts self, enters normal mode of operation.
Above only describes ultimate principle and the preferred implementation of the present invention, those skilled in the art can many changes may be made and improves according to foregoing description, and these changes and improvements should belong to protection scope of the present invention.

Claims (4)

1. the method that the multiple WIFI module parameters in local area automatically configure, it is characterised in that comprise the following steps that
(1) parameter configuration of any one WIFI module is completed manually;
(2) first configured WIFI module find the WIFI module not configured by the service set that search is given tacit consent to, after searching the WIFI module not configured, self is switched to STA mode by first configured WIFI module, using the WIFI module that do not configures as WAP, carry out WIFI with it and be connected;
(3) all WIFI module not configured all open a udp port monitored data after starting, first configured WIFI module is set up after WIFI is connected respectively with the WIFI module not configured, first configured WIFI module carries out data communication according to udp protocol and the WIFI module not configured, and sends configuration parameter by udp port to them;
(4) if the WIFI module having completed parameter configuration detects that self is automatically configured, the pattern of automatically configuring can be opened, and the WIFI module not configuring other configures, until all of WIFI module is all searched for less than the WIFI module not configured, the most whole configuration process terminates;The WIFI module of configured complete parameter, restarts self, enters normal mode of operation.
Method the most according to claim 1, it is characterised in that: in described step (1), manual mode is serial ports formula configuration mode or network configurations.
Method the most according to claim 1, it is characterised in that: the configuration parameter of all WIFI module is identical.
Method the most according to claim 1, it is characterised in that: in described step (3), udp protocol form is as follows:
Wherein, fixing packet header: be to distinguish agreement, owing to udp port is in addition to receiving udp protocol, it is also possible to can receive other configuration protocols;
Configuration person MAC: send the WIFI module MAC Address of parameter configuration data;
The person of being configured MAC: receive the WIFI module MAC Address of parameter configuration data;
Configuration data: including the module service set identifier of configuration, transparent transmission parameter, serial ports parameter, module WIFI parameter, server parameter, the length of described configuration data is unfixed, and the value of N is 0-512;
Data accumulation and verification: in addition to fixing packet header, other data cumulative and, take least-significant byte data.
CN201610383244.1A 2016-06-02 2016-06-02 The method that a kind of multiple WIFI module parameters in local area automatically configure Active CN105871635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610383244.1A CN105871635B (en) 2016-06-02 2016-06-02 The method that a kind of multiple WIFI module parameters in local area automatically configure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610383244.1A CN105871635B (en) 2016-06-02 2016-06-02 The method that a kind of multiple WIFI module parameters in local area automatically configure

Publications (2)

Publication Number Publication Date
CN105871635A true CN105871635A (en) 2016-08-17
CN105871635B CN105871635B (en) 2018-12-25

Family

ID=56676563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610383244.1A Active CN105871635B (en) 2016-06-02 2016-06-02 The method that a kind of multiple WIFI module parameters in local area automatically configure

Country Status (1)

Country Link
CN (1) CN105871635B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882337A (en) * 2016-05-17 2018-11-23 联发科技股份有限公司 Method for network configuration
CN112261708A (en) * 2020-12-18 2021-01-22 深圳市晶讯技术股份有限公司 System and method for automatically configuring WiFi equipment in batches

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275443A1 (en) * 2011-05-01 2012-11-01 Extricom Ltd. Efficient creation of wlan connections
CN103078970A (en) * 2013-02-05 2013-05-01 清华大学 Automatic configuration device and method for wireless fidelity (WiFi) address
CN103686674A (en) * 2013-09-30 2014-03-26 深圳市通力科技开发有限公司 Network access method, intelligent terminal and WiFi access equipment
CN103716911A (en) * 2014-01-02 2014-04-09 福建星网锐捷通讯股份有限公司 Method, device and system for configuring wireless terminal
CN105487517A (en) * 2015-12-31 2016-04-13 杭州鸿雁智能科技有限公司 Self-network method of home WIFI network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275443A1 (en) * 2011-05-01 2012-11-01 Extricom Ltd. Efficient creation of wlan connections
CN103078970A (en) * 2013-02-05 2013-05-01 清华大学 Automatic configuration device and method for wireless fidelity (WiFi) address
CN103686674A (en) * 2013-09-30 2014-03-26 深圳市通力科技开发有限公司 Network access method, intelligent terminal and WiFi access equipment
CN103716911A (en) * 2014-01-02 2014-04-09 福建星网锐捷通讯股份有限公司 Method, device and system for configuring wireless terminal
CN105487517A (en) * 2015-12-31 2016-04-13 杭州鸿雁智能科技有限公司 Self-network method of home WIFI network system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882337A (en) * 2016-05-17 2018-11-23 联发科技股份有限公司 Method for network configuration
CN108882337B (en) * 2016-05-17 2021-01-08 联发科技股份有限公司 How to configure the network
CN112261708A (en) * 2020-12-18 2021-01-22 深圳市晶讯技术股份有限公司 System and method for automatically configuring WiFi equipment in batches

Also Published As

Publication number Publication date
CN105871635B (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US9191886B2 (en) Commissioning of wireless devices in personal area networks
CN105208583B (en) A method, device and smart device for configuring smart home appliances to access the network
RU2573750C2 (en) Improved commissioning of wireless network systems
CN102045783B (en) Apparatus and method for connecting peer to peer using wlan
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
WO2017120991A1 (en) Method and apparatus for controlling access of household appliance device to network
US8837327B2 (en) Method and device for managing network topology structure of machine to machine network
CN104469789A (en) Connection configuration method and system for intelligent household appliance
CN106488532B (en) Automatic network distribution method and device, intelligent network distribution equipment and repeater
JP2018527827A (en) Mesh WLAN controller, WLAN device, and method of operation for WLAN provisioning
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
RU2010136044A (en) WIRELESS RADIO CONTROL UNITS USING IDENTIFIERS
CN101931982A (en) Network failure positioning method and device
AU2017272310B2 (en) Automatic reconfiguration of network devices
CN106304047A (en) A kind of smart machine method of network entry and configuration system
CN104270744A (en) Rapid configuration system and method for wireless network
WO2012075903A1 (en) Method and device for upgrading radio relay equipment
CN105101447A (en) Intelligent equipment and its working channel selection method
CN111277507A (en) Method for realizing information exchange between wireless terminals
CN106255177A (en) The transmission method of a kind of equipment state and device
CN105871635A (en) Method for automatically configuring multiple WIFI module parameters in local area
CN107888711B (en) Cross-network-segment equipment searching and communication method
JP6432294B2 (en) COMMUNICATION SYSTEM, COMMUNICATION SYSTEM CONTROL METHOD, AND PROGRAM
CN105392180A (en) Networking method, device and system for intelligent equipment
CN102685824B (en) Method, device and system for switching network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 1103 and 1105, 11 / F, building 1, Aosheng building, 1166 Xinluo street, high tech Zone, Jinan City, Shandong Province, 250100

Patentee after: Shandong Youren networking Co.,Ltd.

Address before: 250100 1105, building 1, Aosheng building, 1166 Xinluo street, Jinan City, Shandong Province

Patentee before: SHANDONG YOUREN INFORMATION TECHNOLOGY Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Method for Automatically Configuring Parameters of Multiple WIFI Modules in Local Areas

Effective date of registration: 20230328

Granted publication date: 20181225

Pledgee: Jinan Branch of Qingdao Bank Co.,Ltd.

Pledgor: Shandong Youren networking Co.,Ltd.

Registration number: Y2023370000060

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20181225

Pledgee: Jinan Branch of Qingdao Bank Co.,Ltd.

Pledgor: Shandong Youren networking Co.,Ltd.

Registration number: Y2023370000060