CN107277886A - A kind of internet of things equipment ad hoc network method based on WIFI - Google Patents

A kind of internet of things equipment ad hoc network method based on WIFI Download PDF

Info

Publication number
CN107277886A
CN107277886A CN201710491641.5A CN201710491641A CN107277886A CN 107277886 A CN107277886 A CN 107277886A CN 201710491641 A CN201710491641 A CN 201710491641A CN 107277886 A CN107277886 A CN 107277886A
Authority
CN
China
Prior art keywords
network
internet
wifi module
host node
things equipment
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
CN201710491641.5A
Other languages
Chinese (zh)
Other versions
CN107277886B (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.)
CHENGDU SWAYTECH Co Ltd
Original Assignee
CHENGDU SWAYTECH 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 CHENGDU SWAYTECH Co Ltd filed Critical CHENGDU SWAYTECH Co Ltd
Publication of CN107277886A publication Critical patent/CN107277886A/en
Application granted granted Critical
Publication of CN107277886B publication Critical patent/CN107277886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of internet of things equipment ad hoc network method based on WIFI, the WiFi module of one internet of things equipment is configured to the host node of overlay network by this method first, the WiFi module is set to be connected with WiFi routers, MANET is carried out by the WiFi module to internet of things equipment again, successively build network, and, each WiFi module is commonly connected to the host node of upper layer network in per layer network, and a WiFi module in this layer network is configured to the host node of this layer network, for connecting each WiFi module in lower floor's network, when the host node failure in network, the WiFi module of any one internet of things equipment in the network of structure is then configured to the host node of the failure automatically.Therefore, the present invention realizes the interconnection between internet of things equipment by using ad hoc network, reduces the construction cost of Internet of things system, while improving network robustness, reduces the generation of event of data loss.

Description

A kind of internet of things equipment ad hoc network method based on WIFI
The application application applying date is on May 18th, 2017, and Application No. 2017103535399 is entitled《A kind of base In WIFI internet of things equipment ad hoc network method》Patent priority.
Technical field
The present invention relates to internet of things field, more particularly to a kind of internet of things equipment ad hoc network method based on WIFI.
Background technology
At present, in internet of things field, the usual interconnection realized using dedicated gateway between internet of things equipment, but if The equipment that dedicated gateway is connected is excessive, and the disposal ability of dedicated gateway is limited, it may appear that lose the situation of data, and entirely The robustness of network is not high.Meanwhile, once dedicated gateway breaks down, whole Internet of things system just can not normally be run.Therefore, A kind of substitute is needed to realize the technical scheme interconnected between internet of things equipment using dedicated gateway.
The content of the invention
It is an object of the invention to:Current internet of things field is solved to realize between internet of things equipment using dedicated gateway , in overwork, easily there is loss of data, the not high technical problem of network robustness in interconnection.
In order to realize foregoing invention purpose, the invention provides following technical scheme:
A kind of internet of things equipment ad hoc network method based on WIFI, it includes,
The WiFi module of one internet of things equipment is configured to the host node of overlay network, and is connected with WiFi routers;
MANET is carried out by the WiFi module to internet of things equipment, and successively builds network;Wherein, in per layer network Each WiFi module is commonly connected to the host node of its upper layer network, and a WiFi module in this layer network is configured into this The host node of layer network, for connecting each WiFi module in its lower floor's network;
When the host node failure in network, then automatically by the WiFi moulds of any one internet of things equipment in the network of structure Block is configured to the host node.
According to a kind of specific embodiment, the internet of things equipment ad hoc network method of the invention based on WIFI, in network structure After the completion of building, master node network address list is set up, and the network address of every layer network host node is write into the host node net In network address list;
According to the signal intensity of each layer network host node and the WiFi routers by by force to weak order, to each layer network The network address of host node is ranked up;
When the host node failure of overlay network, first current overlay network is removed from the master node network address list The network address of host node, then it regard the network address most forward in host node address list as new overlay network host node The network address.
According to a kind of specific embodiment, the internet of things equipment ad hoc network method of the invention based on WIFI, in network structure After the completion of building, the network address list of each layer network is set up respectively, and the network address of WiFi module in each layer network is write In its corresponding network address list;
According to the communication quality of each WiFi module respectively with the WiFi module of its lower floor's network in each layer network, according to logical Believe the order of quality from high to low, the network address of each WiFi module is ranked up;
In addition to the situation that the host node of the overlay network fails, during the host node failure of remaining each layer network, first from right The network address of current primary node is removed in the network address list answered, then by network most forward in the network address list Address as new host node the network address;
Wherein, each WiFi module difference of the height of the communication quality between adjacent two layers network in upper layer network Determined with the average of the signal intensity of the WiFi module of its lower floor's network and the size of variance, average is bigger and variance is smaller, Then communication quality is higher.
Further, the internet of things equipment ad hoc network method of the invention based on WIFI, also gathers the WiFi module of failure The network address, and the network address of the WiFi module according to failure, generate the fault message of corresponding internet of things equipment.
According to a kind of specific embodiment, the internet of things equipment ad hoc network method of the invention based on WIFI, using MESH Networking technology carries out MANET.
Compared with prior art, beneficial effects of the present invention:
1st, the internet of things equipment ad hoc network method of the invention based on WIFI, first by the WiFi module of an internet of things equipment The host node of overlay network is configured to, the WiFi module is connected with WiFi routers, then passes through the WiFi to internet of things equipment Module carries out MANET, successively builds network, moreover, each WiFi module is commonly connected to the master of upper layer network in per layer network Node, and a WiFi module in this layer network is configured to the host node of this layer network, for connecting in lower floor's network Each WiFi module, it is when the host node failure in network, then automatic by any one internet of things equipment in the network of structure WiFi module is configured to the host node of the failure.Therefore, the present invention is realized between internet of things equipment by using ad hoc network Interconnection, reduces the construction cost of Internet of things system, while improving network robustness, reduces the hair of event of data loss It is raw, and adaptability is more in actual applications for the network built according to internet of things equipment ad hoc network method of the present invention based on WIFI By force.
2nd, the internet of things equipment ad hoc network method of the invention based on WIFI, by setting up master node network address list, and When overlay network host node fails, according to remaining signal intensity of each host node respectively with WiFi routers, selection signal is strong Highest host node is spent as the host node of new overlay network.Therefore, the present invention can when overlay network host node fails, Accelerate the speed of networking again, while improving the network stabilization after networking again.
3rd, the internet of things equipment ad hoc network method of the invention based on WIFI, is arranged by the network address for setting up each layer network Table, and in addition to overlay network, during the host node failure of other each layer networks, from the network of failure host node, select one The new layer network is used as with the communication quality highest WiFi module of the WiFi module of the internet of things equipment of its lower floor's network Host node.Therefore, the present invention during other each layer host node failures, can improve logical after networking again in addition to overlay network Quality is believed, while increasing the robustness of network.
Brief description of the drawings:
The structural representation for the network that Fig. 1 builds for the present invention.
Embodiment
With reference to test example and embodiment, the present invention is described in further detail.But this should not be understood Following embodiment is only limitted to for the scope of above-mentioned theme of the invention, it is all that this is belonged to based on the technology that present invention is realized The scope of invention.
The structural representation for the network that the present invention with reference to shown in Fig. 1 is built;Wherein, the present invention builds the equipment bag of network Include WiFi routers, internet of things equipment DeV1-1, internet of things equipment DeV2-1~internet of things equipment DeV2-n and internet of things equipment DeV3-1~internet of things equipment DeV3-n.
First, internet of things equipment DeV1-1 WiFi module is configured to the host node of overlay network, and and WiFi Router is connected.
Then by MANET, network is successively built, wherein, the WiFi module of each internet of things equipment is total in every layer network It is same to be connected to the host node of its upper layer network, and the WiFi module of an internet of things equipment in this layer network is configured to this layer The host node of network, the WiFi module for connecting each internet of things equipment in its lower floor's network.Therefore, internet of things equipment DeV2-1, internet of things equipment DeV2-2, internet of things equipment DeV2-n WiFi module as the second layer network, And it is commonly connected to the host node internet of things equipment DeV1-1 of overlay network WiFi module.Internet of things equipment DeV3-1, Internet of Things Net equipment DeV3-2, internet of things equipment DeV3-n WiFi module are connected as third layer network, and jointly To the host node internet of things equipment DeV2-2 of the second layer network WiFi module.Internet of things equipment DeV4-1, internet of things equipment DeV4-2, internet of things equipment DeV4-n WiFi module are commonly connected to the 3rd as four-layer network network The host node internet of things equipment DeV3-1 of layer network WiFi module.Wherein, n numerical value is expressed as WiFi module in every layer network The Configuration Values of WiFi module in common connection upper layer network.In the present embodiment, the Configuration Values of WiFi module are configured to unification Value.
When the host node failure in network, then automatically by the WiFi moulds of any one internet of things equipment in the network of structure Block is configured to the host node of the failure.
Specifically, after the completion of network struction, master node network address list is set up, and by the net of every layer network host node Network address is write in the master node network address list.The master node network address list of network as shown in following table based on Fig. 1.
host1 23:4e:34:23:45:34
node1 25:44:3e:4f:35:50
node2 25:44:38:4f:36:55
node3 25:44:3e:4f:38:55
Wherein, node1 is expressed as the network address of the host node internet of things equipment DeV1-1 of overlay network WiFi module, Node2 is expressed as the network address of the host node internet of things equipment DeV2-2 of the second layer network WiFi module, and node3 is expressed as The network address of the host node internet of things equipment DeV3-1 of third layer network WiFi module.
In internet of things equipment DeV1-1, internet of things equipment DeV2-2 and internet of things equipment DeV3-1 WiFi module, thing Networked devices DeV1-1 WiFi module is maximum with the signal intensity of WiFi routers, and internet of things equipment DeV3-1 and WiFi is route The signal intensity of device is minimum.So, according to the signal intensity of each layer network host node and the WiFi routers by by force to weak Sequentially, when being ranked up to the network address of each layer network host node, the network of internet of things equipment DeV1-1 WiFi module Before location comes most, the network address of internet of things equipment DeV3-1 WiFi module comes finally.
When the host node failure of overlay network, the main section of current overlay network is first removed from master node network address list The network address of point, i.e., in table 1<Node1,25:44:3e:4f:35:50>.Again will be most forward in host node address list The network address as new overlay network host node the network address, i.e., by table 1<Node2,25:44:38:4f:36:55> It is used as the network address of new overlay network host node.Meanwhile, in the second layer network in addition to internet of things equipment DeV2-2, Internet of Things Equipment DeV2-1, internet of things equipment DeV2-3~internet of things equipment DeV2-n add into four-layer network network or built layer 5 Network.
Moreover, the internet of things equipment ad hoc network method of the invention based on WIFI, after the completion of network struction, also sets up respectively The network address list of each layer network, and the network address of the WiFi module of internet of things equipment in each layer network is write into its correspondence Network address list in.
According to the WiFi of the WiFi module of internet of things equipment in each layer network respectively with the internet of things equipment of its lower floor's network The communication quality of module, and the order according to communication quality from high to low, to the network of the WiFi module of each internet of things equipment Location is ranked up.
In addition to the situation that the host node of overlay network fails, during the host node failure of remaining each layer network, first from corresponding In network address list remove current primary node the network address, then using the network address most forward in network address list as The network address of new host node.
Wherein, the height of the communication quality between adjacent two layers network is according to the WiFi moulds of internet of things equipment in upper layer network The average of signal intensity or the size of variance of the WiFi module of each internet of things equipment of block with its lower floor's network and determine.And And, average is bigger and variance is smaller, then communication quality is higher.If characterized only with the size of average adjacent two layers network it Between communication quality, it may appear that the signal intensity very little of some communication link, but average very big situation, the main section so selected Point pole is likely to decrease the robustness of network.Meanwhile, if between adjacent two layers network is characterized only with the size of variance Communication quality, it may appear that overall signal intensity is not high but signal intensity of each communication link is closer to, and so selects Host node very likely reduces the communication efficiency and stability of network.
Moreover, the internet of things equipment ad hoc network method of the invention based on WIFI, also gathers the network of the WiFi module of failure Address, and the network address of the WiFi module according to failure, generate the fault message of corresponding internet of things equipment.
In the present invention, the ad hoc network used is MESH networking technology, due to using MESH ad hoc networks, in networking During, can automatic decision node load and the node load that automatically switches, so as to improve network robustness.

Claims (5)

1. a kind of internet of things equipment ad hoc network method based on WIFI, it is characterised in that including,
The WiFi module of one internet of things equipment is configured to the host node of overlay network, and is connected with WiFi routers;
MANET is carried out by the WiFi module to internet of things equipment, and successively builds network;Wherein, per each in layer network WiFi module is commonly connected to the host node of its upper layer network, and a WiFi module in this layer network is configured into this layer of net The host node of network, for connecting each WiFi module in its lower floor's network;
When the host node failure in network, then the WiFi module of any one internet of things equipment in the network of structure is matched somebody with somebody automatically It is set to the host node.
2. the internet of things equipment ad hoc network method as claimed in claim 1 based on WIFI, it is characterised in that
After the completion of network struction, master node network address list is set up, and the network address of every layer network host node is write In the master node network address list;
According to the signal intensity of each layer network host node and the WiFi routers by by force to weak order, to the main section of each layer network The network address of point is ranked up;
When the host node failure of overlay network, the main section of current overlay network is first removed from the master node network address list Point the network address, then using the network address most forward in host node address list as new overlay network host node network Address.
3. the internet of things equipment ad hoc network method as claimed in claim 2 based on WIFI, it is characterised in that
After the completion of network struction, the network address list of each layer network is set up respectively, and by WiFi module in each layer network The network address is write in its corresponding network address list;
According to the communication quality of each WiFi module respectively with the WiFi module of its lower floor's network in each layer network, according to communication matter The order of amount from high to low, is ranked up to the network address of each WiFi module;
In addition to the situation that the host node of the overlay network fails, during the host node failure of remaining each layer network, first from corresponding The network address of current primary node is removed in network address list, then by the network address most forward in the network address list It is used as the network address of new host node;
Wherein, each WiFi module of the height of the communication quality between adjacent two layers network in upper layer network respectively with its The average of the signal intensity of the WiFi module of lower floor's network and the size of variance and determine, average is bigger and variance is smaller, then leads to Believe that quality is higher.
4. the internet of things equipment ad hoc network method as claimed in claim 2 or claim 3 based on WIFI, it is characterised in that collection failure WiFi module the network address, and the network address of the WiFi module according to failure generates the event of corresponding internet of things equipment Hinder information.
5. the internet of things equipment ad hoc network method based on WIFI as described in one of claims 1 to 3, it is characterised in that use MESH networking technologys carry out MANET.
CN201710491641.5A 2017-05-18 2017-06-26 Internet of things equipment ad hoc network method based on WIFI Active CN107277886B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710353539 2017-05-18
CN2017103535399 2017-05-18

Publications (2)

Publication Number Publication Date
CN107277886A true CN107277886A (en) 2017-10-20
CN107277886B CN107277886B (en) 2021-06-04

Family

ID=60068253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710491641.5A Active CN107277886B (en) 2017-05-18 2017-06-26 Internet of things equipment ad hoc network method based on WIFI

Country Status (1)

Country Link
CN (1) CN107277886B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995668A (en) * 2017-11-10 2018-05-04 厦门广控物联科技有限公司 A kind of optimization network-building method of wireless ad hoc network
CN108092862A (en) * 2017-12-15 2018-05-29 四川爱联科技有限公司 WiFi ad hoc network control systems based on Internet of Things
CN108322922A (en) * 2018-01-02 2018-07-24 西安万像电子科技有限公司 Link switch-over method and device
CN109640373A (en) * 2019-01-17 2019-04-16 珠海格力电器股份有限公司 Networking method and device applied to Internet of things and storage medium
CN110505096A (en) * 2019-08-27 2019-11-26 西安闻泰电子科技有限公司 Internet of things equipment management method, device, equipment and medium
CN112000042A (en) * 2020-08-26 2020-11-27 中石化四机石油机械有限公司 Multi-electric fracturing device equal network control system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149020A (en) * 2011-04-29 2011-08-10 公安部第三研究所 Wireless bandwidth audio/video node system oriented to application of IOT (internet of things)
CN102196458A (en) * 2010-03-09 2011-09-21 江苏联优信息科技有限公司 Networking method and devices of wireless broadband sensor network
US8228912B2 (en) * 2009-04-30 2012-07-24 Hewlett-Packard Development Company, L.P. Selecting wireless mesh node locations
CN103179208A (en) * 2013-03-22 2013-06-26 广东顺德拓普利德科技有限公司 Communication module of internet of things and remote control method of electric equipment with module
CN103475742A (en) * 2013-09-30 2013-12-25 北京华胜天成科技股份有限公司 Method and system for determining master control node in cloud computing environment
CN106302787A (en) * 2016-08-31 2017-01-04 四川云农高地智能科技有限公司 A kind of internet of things networking method based on high in the clouds configuration
CN106304230A (en) * 2016-09-28 2017-01-04 北京远东仪表有限公司 Wireless self-networking method and device based on instant route

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8228912B2 (en) * 2009-04-30 2012-07-24 Hewlett-Packard Development Company, L.P. Selecting wireless mesh node locations
CN102196458A (en) * 2010-03-09 2011-09-21 江苏联优信息科技有限公司 Networking method and devices of wireless broadband sensor network
CN102149020A (en) * 2011-04-29 2011-08-10 公安部第三研究所 Wireless bandwidth audio/video node system oriented to application of IOT (internet of things)
CN103179208A (en) * 2013-03-22 2013-06-26 广东顺德拓普利德科技有限公司 Communication module of internet of things and remote control method of electric equipment with module
CN103475742A (en) * 2013-09-30 2013-12-25 北京华胜天成科技股份有限公司 Method and system for determining master control node in cloud computing environment
CN106302787A (en) * 2016-08-31 2017-01-04 四川云农高地智能科技有限公司 A kind of internet of things networking method based on high in the clouds configuration
CN106304230A (en) * 2016-09-28 2017-01-04 北京远东仪表有限公司 Wireless self-networking method and device based on instant route

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995668A (en) * 2017-11-10 2018-05-04 厦门广控物联科技有限公司 A kind of optimization network-building method of wireless ad hoc network
CN108092862A (en) * 2017-12-15 2018-05-29 四川爱联科技有限公司 WiFi ad hoc network control systems based on Internet of Things
CN108322922A (en) * 2018-01-02 2018-07-24 西安万像电子科技有限公司 Link switch-over method and device
CN108322922B (en) * 2018-01-02 2021-02-12 西安万像电子科技有限公司 Link switching method and device
CN109640373A (en) * 2019-01-17 2019-04-16 珠海格力电器股份有限公司 Networking method and device applied to Internet of things and storage medium
CN110505096A (en) * 2019-08-27 2019-11-26 西安闻泰电子科技有限公司 Internet of things equipment management method, device, equipment and medium
CN112000042A (en) * 2020-08-26 2020-11-27 中石化四机石油机械有限公司 Multi-electric fracturing device equal network control system and method
CN112000042B (en) * 2020-08-26 2024-03-12 中国石油化工集团有限公司 Equal network control system and method for multi-electric fracturing device

Also Published As

Publication number Publication date
CN107277886B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN107277886A (en) A kind of internet of things equipment ad hoc network method based on WIFI
EP2621130B1 (en) Route calculation method and master node device in virtual network element
CN100387018C (en) Method for obtaining tree group network topological structure and address distributing method
CN101588304A (en) Implementation method of VRRP
CN104394017B (en) The electoral machinery and main equipment of a kind of pile system
CN105656645A (en) Decision making method and device for fault processing of stacking system
CN106549780A (en) A kind of network collocating method, apparatus and system
CN104753707B (en) A kind of system maintenance method and the network switching equipment
CN102265556B (en) Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment
CN105915426A (en) Failure recovery method and device of ring network
CN103595567A (en) Method and device for mapping ports in aggregation link
CN108632848A (en) Network is sliced self-optimizing coordination approach and device
CN101616095B (en) Method and router for voting designated intermediate system
CN102802280A (en) Wireless grid network
CN103067298A (en) Network flow allocation method and system
CN101521593B (en) Method and device for data link layer fault position
CN114173396B (en) Method and device for determining terminal networking time, electronic equipment and storage medium
CN102665227B (en) Gateway-based relaying method based on wireless network
CN105634765A (en) Controller replacement method and controller replacement device
CN113301380B (en) Service management and control method and device, terminal equipment and storage medium
CN103001781B (en) Methods and devices for selecting/deselecting aggregation links for distributed link aggregation groups
CN107528777A (en) A kind of flexible exchanging network fault recovery method of load balancing
CN104158681B (en) The processing method and processing unit that zone controller fails in SDN
CN102891798A (en) Heartbeat message transmission method and heartbeat message transmission device
CN103188163A (en) Load balancing method and device

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