CN113115289A - WiFi terminal free networking communication method - Google Patents
WiFi terminal free networking communication method Download PDFInfo
- Publication number
- CN113115289A CN113115289A CN202110374247.XA CN202110374247A CN113115289A CN 113115289 A CN113115289 A CN 113115289A CN 202110374247 A CN202110374247 A CN 202110374247A CN 113115289 A CN113115289 A CN 113115289A
- Authority
- CN
- China
- Prior art keywords
- node
- hotspot name
- name
- hotspot
- terminal
- 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
Links
- 230000006855 networking Effects 0.000 title claims abstract description 37
- 238000004891 communication Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 title claims abstract description 18
- 101100048435 Caenorhabditis elegans unc-18 gene Proteins 0.000 claims abstract description 8
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 238000007726 management method Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 2
- 241000854291 Dianthus carthusianorum Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a WiFi terminal free networking communication method, which relates to the technical field of wireless network systems and comprises the following steps: setting a hotspot name of lan1 for a root node of the networking equipment in advance, setting a hotspot name of lan2 for a lower node of the networking equipment after the lower node is connected with an upper node, and setting lower nodes according to the above; reporting the IP of the node and the name of the connected hotspot to the upper node based on the on-line of all nodes; and the upper node receives the report command, stores the IP of each node of the lower node and the connected hotspot name, and broadcasts the IP and the hotspot name downwards when the command is issued. The invention realizes the networking mode of the tree structure, and is beneficial to realizing the management terminal equipment of the tree authority structure; the networking mode of the closed-loop structure can realize the connection of controllable whole-network equipment with any node; the networking mode of the chain structure can realize unlimited extension of WIFI signals, and the root nodes are connected with the whole network equipment which can be controlled after interconnection.
Description
Technical Field
The invention relates to the technical field of wireless network systems, in particular to a WiFi terminal free networking communication method.
Background
The common smart phone has 3G/4G mobile communication, Bluetooth communication and WiFi communication capabilities. Among them, 3G/4G mobile communication depends on infrastructure and cannot be used as a connection means of a mobile ad hoc network. Bluetooth is a short-range connection, and the distance for communication using bluetooth is generally no more than 10 meters. Therefore, bluetooth is used as a network transport layer to limit the mobility of network nodes and the coverage area of the network, and therefore cannot be used as a stable connection mode of a mobile ad hoc network. Android smart phones basically have a WiFi module. WiFi is based on the frequency band propagation signal of 2.4GHz, and the highest transmission rate can reach 200 Mbps and 300 Mbps. The WiFi network allows two nodes to be directly interconnected without passing through any infrastructure node, so that the mobile phone self-organization network planning can be realized by utilizing the WiFi module of the smart phone.
The design of the mobile phone self-organizing network can solve the intercommunication problem of a common mobile phone in a base station-free environment, and routing and related link layer protocols are realized on the mobile phone by utilizing a WiFi communication module and a communication protocol of the mobile phone, so that the common smart mobile phone has the capability of mutual communication without the support of a background service system.
At present, there are three methods for realizing the self-organizing network planning of the smart phone by using the WiFi communication module:
1) the WiFi module of the smart phone supports an IEEE 802.11 standard protocol, an ad hoc mode can be set, but after root is carried out on the smart phone, a wpa _ suppernant configuration file is modified, and communication parameters of WiFi are modified.
2) The actual communication distance of WiFi under the line-of-sight condition is between 150 meters and 200 meters, and the design scene of the mobile phone ad hoc network can be better supported. WiFi of a common commercial smart phone supports various coexistence modes, and a WiFiWLAN mode and a WiFi Direct mode are mainly utilized, wherein the WiFi WLAN is a basic hotspot mode and is used as a mobile phone client access hotspot. The WiFi Direct mode is used for Direct connection between mobile phone nodes. Under certain conditions, the WiFi WLAN and the WiFi Direct modes can coexist on the same mobile phone. The networking mechanism of the WiFi WLAN is expanded based on the WiFi Direct cluster head.
An effective solution to the problems in the related art has not been proposed yet.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides a WiFi terminal free networking communication method, which is beneficial to realizing management terminal equipment with a tree-shaped authority structure through a tree-shaped networking mode; the networking mode of the closed-loop structure can realize the connection of controllable whole-network equipment with any node; the networking mode of the chain structure can realize the unlimited extension of WIFI signals, and the root nodes are connected with the whole network equipment which can be controlled after interconnection, so that the technical problems in the prior art are solved.
The technical scheme of the invention is realized as follows:
a WiFi terminal free networking communication method comprises the following steps:
setting a hotspot name of lan1 for a root node of the networking equipment in advance, setting a hotspot name of lan2 for a lower node of the networking equipment after the lower node is connected with an upper node, and setting lower nodes according to the above;
reporting the IP of the node and the name of the connected hotspot to the upper node based on the on-line of all nodes;
and the upper node receives the report command, stores the IP of each node of the lower node and the connected hotspot name, and broadcasts the IP and the hotspot name downwards when the command is issued.
Further, the method also comprises the following steps:
the WiFi terminal acquires the network segment information of the current level based on the hotspot name of the upper node.
Further, the downward broadcasting when the instruction is issued comprises the following steps:
reporting data to the upper level based on the acquired network segment information, wherein the data comprises IP parameters of the terminal on the root node band and hotspot name parameters connected with the IP parameters;
further, the method also comprises the following steps:
and carrying out IP broadcast type issuing on each stored lower node, wherein the issuing comprises two parameters of the IP of the terminal for receiving the instruction and the hotspot name connected with the terminal, and the instruction is processed when the hotspot name parameter is the same as the hotspot name connected with the terminal and the IP parameter is the same as the IP of the terminal, otherwise, the instruction is not processed.
The invention has the beneficial effects that:
the WiFi terminal free networking communication method of the invention sets the root node of the networking equipment with the hotspot name of lan1 in advance, sets the hotspot name of lan2 after the lower node is connected with the upper node, and sets the lower node according to the above; reporting the IP of the node and the name of the connected hotspot to the upper node based on the on-line of all nodes; the upper node receives the report command, stores the IP of each node of the lower node and the connected hotspot name, and broadcasts the IP and the connected hotspot name downwards when sending the command, so that the networking mode of the tree structure is realized, and the management terminal equipment of the tree authority structure is realized; the networking mode of the closed-loop structure can realize the connection of controllable whole-network equipment with any node; the networking mode of the chain structure can realize unlimited extension of WIFI signals, and the root nodes are connected with the whole network equipment which can be controlled after interconnection.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart illustrating a WiFi terminal ad hoc network communication method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
According to the embodiment of the invention, a WiFi terminal free networking communication method is provided.
As shown in fig. 1, the WiFi terminal ad hoc network communication method according to the embodiment of the present invention includes the following steps:
setting a hotspot name of lan1 for a root node of the networking equipment in advance, setting a hotspot name of lan2 for a lower node of the networking equipment after the lower node is connected with an upper node, and setting lower nodes according to the above;
reporting the IP of the node and the name of the connected hotspot to the upper node based on the on-line of all nodes;
and the upper node receives the report command, stores the IP of each node of the lower node and the connected hotspot name, and broadcasts the IP and the hotspot name downwards when the command is issued.
Wherein, still include the following step:
the WiFi terminal acquires the network segment information of the current level based on the hotspot name of the upper node.
The method comprises the following steps of:
reporting data to the upper level based on the acquired network segment information, wherein the data comprises IP parameters of the terminal on the root node band and hotspot name parameters connected with the IP parameters;
wherein, still include the following step:
and carrying out IP broadcast type issuing on each stored lower node, wherein the issuing comprises two parameters of the IP of the terminal for receiving the instruction and the hotspot name connected with the terminal, and the instruction is processed when the hotspot name parameter is the same as the hotspot name connected with the terminal and the IP parameter is the same as the IP of the terminal, otherwise, the instruction is not processed.
By means of the technical scheme, the hot spot name is set to be lan1 by presetting the root node of the networking equipment, the hot spot name is set to be lan2 after the lower node of the networking equipment is connected with the upper node, and the lower node is set according to the above; reporting the IP of the node and the name of the connected hotspot to the upper node based on the on-line of all nodes; the upper node receives the report command, stores the IP of each node of the lower node and the connected hotspot name, and broadcasts the IP and the connected hotspot name downwards when sending the command, so that the networking mode of the tree structure is realized, and the management terminal equipment of the tree authority structure is realized; the networking mode of the closed-loop structure can realize the connection of controllable whole-network equipment with any node; the networking mode of the chain structure can realize unlimited extension of WIFI signals, and the root nodes are connected with the whole network equipment which can be controlled after interconnection.
Specifically, the root node sets a hotspot name lan1 (odd number), and the lower node, which is connected to the upper node, sets a hotspot name lan2 (even number), and sets the lower node. Reporting own IP and the connected hotspot name to an upper node after all nodes are on-line, and broadcasting downwards when the upper node receives the reported and stored IP of each node of the lower node and the connected hotspot name for issuing an instruction; each terminal can judge whether the network segment at the current level is 192.168.4.1 network segment or 192.168.244.1 network segment according to the hotspot name (odd-even name) of the upper node, so that the data can be reported to the upper level through the IP; the root node is provided with two parameters of a terminal IP and a hotspot name connected with the terminal IP, the two parameters of the IP of the terminal for receiving the instruction and the hotspot name connected with the terminal are issued through the IP broadcast type of each node at the lower level stored before, the instruction is processed when the hotspot name parameter is the same as the hotspot name connected with the terminal and the IP parameter is the same as the terminal IP, and the instruction is not processed otherwise; thus, communication of each node of the free network is realized.
In summary, according to the above technical solution of the present invention, the root node of the networking device is set with the hotspot name lan1 in advance, and the lower node thereof is connected to the upper node and then set with the hotspot name lan2, and sets the lower node according to the above; reporting the IP of the node and the name of the connected hotspot to the upper node based on the on-line of all nodes; the upper node receives the report command, stores the IP of each node of the lower node and the connected hotspot name, and broadcasts the IP and the connected hotspot name downwards when sending the command, so that the networking mode of the tree structure is realized, and the management terminal equipment of the tree authority structure is realized; the networking mode of the closed-loop structure can realize the connection of controllable whole-network equipment with any node; the networking mode of the chain structure can realize unlimited extension of WIFI signals, and the root nodes are connected with the whole network equipment which can be controlled after interconnection.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (4)
1. A WiFi terminal free networking communication method is characterized by comprising the following steps:
setting a hotspot name of lan1 for a root node of the networking equipment in advance, setting a hotspot name of lan2 for a lower node of the networking equipment after the lower node is connected with an upper node, and setting lower nodes according to the above;
reporting the IP of the node and the name of the connected hotspot to the upper node based on the on-line of all nodes;
and the upper node receives the report command, stores the IP of each node of the lower node and the connected hotspot name, and broadcasts the IP and the hotspot name downwards when the command is issued.
2. The WiFi terminal ad hoc communication method according to claim 1, further comprising the steps of:
the WiFi terminal acquires the network segment information of the current level based on the hotspot name of the upper node.
3. The WiFi terminal ad hoc communication method according to claim 2, wherein said command is issued by broadcasting, comprising the steps of:
and reporting data to the upper level based on the acquired network segment information, wherein the data comprises the IP parameters of the terminal on the root node band and the hotspot name parameters connected with the IP parameters.
4. The WiFi terminal ad hoc communication method according to claim 3, further comprising the steps of:
and carrying out IP broadcast type issuing on each stored lower node, wherein the issuing comprises two parameters of the IP of the terminal for receiving the instruction and the hotspot name connected with the IP, the instruction is processed when the hotspot name parameter is the same as the hotspot name connected with the terminal and the IP parameter is the same as the IP of the terminal, and the instruction is not processed otherwise.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110374247.XA CN113115289B (en) | 2021-04-07 | 2021-04-07 | WiFi terminal free networking communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110374247.XA CN113115289B (en) | 2021-04-07 | 2021-04-07 | WiFi terminal free networking communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113115289A true CN113115289A (en) | 2021-07-13 |
CN113115289B CN113115289B (en) | 2023-02-14 |
Family
ID=76714479
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110374247.XA Active CN113115289B (en) | 2021-04-07 | 2021-04-07 | WiFi terminal free networking communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113115289B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105242621A (en) * | 2015-10-22 | 2016-01-13 | 北京石油化工学院 | Agriculture greenhouse environment monitoring system communication method |
CN105578568A (en) * | 2015-12-16 | 2016-05-11 | 上海飞乐音响股份有限公司 | WIFI communication apparatus and WIFI network establishing method |
US20170181213A1 (en) * | 2006-02-22 | 2017-06-22 | Barkan Wireless Access Technologies, L.P. | Wireless Internet System and Method |
CN107484227A (en) * | 2017-09-01 | 2017-12-15 | 天津赞普科技股份有限公司 | A kind of more focus control communication means of wifi networkings |
US20180184471A1 (en) * | 2012-10-04 | 2018-06-28 | Futurewei Technologies, Inc. | System and Method for Association of Transitory WiFi Users |
CN108260106A (en) * | 2018-01-10 | 2018-07-06 | 中国电子科技集团公司第三十研究所 | The ad hoc network method for building up and device of a kind of intelligent terminal WiFi |
CN108282907A (en) * | 2018-01-29 | 2018-07-13 | 深圳市同科联赢科技有限公司 | Electronic equipment, wireless networking system, device and its control method and storage device |
CN109151782A (en) * | 2018-08-14 | 2019-01-04 | 深圳市沃特沃德股份有限公司 | WIFI signal trunking method and system based on smart home device |
CN109429378A (en) * | 2017-07-18 | 2019-03-05 | 中兴通讯股份有限公司 | A kind of network-building method and device and terminal |
-
2021
- 2021-04-07 CN CN202110374247.XA patent/CN113115289B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170181213A1 (en) * | 2006-02-22 | 2017-06-22 | Barkan Wireless Access Technologies, L.P. | Wireless Internet System and Method |
US20180184471A1 (en) * | 2012-10-04 | 2018-06-28 | Futurewei Technologies, Inc. | System and Method for Association of Transitory WiFi Users |
CN105242621A (en) * | 2015-10-22 | 2016-01-13 | 北京石油化工学院 | Agriculture greenhouse environment monitoring system communication method |
CN105578568A (en) * | 2015-12-16 | 2016-05-11 | 上海飞乐音响股份有限公司 | WIFI communication apparatus and WIFI network establishing method |
CN109429378A (en) * | 2017-07-18 | 2019-03-05 | 中兴通讯股份有限公司 | A kind of network-building method and device and terminal |
CN107484227A (en) * | 2017-09-01 | 2017-12-15 | 天津赞普科技股份有限公司 | A kind of more focus control communication means of wifi networkings |
CN108260106A (en) * | 2018-01-10 | 2018-07-06 | 中国电子科技集团公司第三十研究所 | The ad hoc network method for building up and device of a kind of intelligent terminal WiFi |
CN108282907A (en) * | 2018-01-29 | 2018-07-13 | 深圳市同科联赢科技有限公司 | Electronic equipment, wireless networking system, device and its control method and storage device |
CN109151782A (en) * | 2018-08-14 | 2019-01-04 | 深圳市沃特沃德股份有限公司 | WIFI signal trunking method and system based on smart home device |
Non-Patent Citations (2)
Title |
---|
CHINAZAEKPERE E. NGUBO: "Wi-Fi-Dependent Consensus Mechanism for Constrained Devices Using Blockchain Technology", 《IEEE ACCESS》 * |
吴瑞康: "WIFI协议测试系统上位机侧软件开发实现", 《中国优秀硕士学位论文全文数据库》 * |
Also Published As
Publication number | Publication date |
---|---|
CN113115289B (en) | 2023-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104053213B (en) | Integrated relaying in cordless communication network | |
JP4219809B2 (en) | Network with several sub-networks | |
US9462538B2 (en) | High throughput features in 11S mesh networks | |
US8140011B2 (en) | Radio node apparatus, multi-hop radio system, and multi-hop radio system constructing method | |
US8072949B2 (en) | Wireless node apparatus, and multihop wireless LAN system | |
WO2009061110A1 (en) | Data transmission method in wireless mesh network and a-msdu format | |
CN108260106B (en) | Method and device for establishing self-networking of WiFi of intelligent terminal | |
JP2007135206A (en) | Self-backhaul method and apparatus in a wireless communication network | |
US20180049256A1 (en) | System and Method for Efficient Connection Setup and Communication for Power Conscious Devices | |
JP2007228317A (en) | Video surveillance system | |
CN103096509A (en) | Relay device for forming wireless mesh network | |
JP5431418B2 (en) | Wireless communication system and wireless communication method | |
CN101529751B (en) | Mapping of preamble sequence sets with frame control header (FCH) location for multi-hop wireless broadband access communications | |
KR20060107544A (en) | Method for Operating Two Wireless Communication Systems | |
CN113115289B (en) | WiFi terminal free networking communication method | |
TW202437786A (en) | Dynamic path selection techniques for wireless connectivity | |
CN111182555A (en) | Short-distance multi-node relay type self-adaptive wireless networking method | |
EP2098015B1 (en) | Wireless non-cellular network | |
CN113965913A (en) | Online monitoring data transmission method and system | |
CN101420260B (en) | Radio electric device node, distributed radio communication base station and communication method therefor | |
GB2582810A (en) | Deployment of mesh network | |
Luo et al. | Design and Optimization of Efficient Mesh Networking Algorithm in Wireless Communication of Power Supply Station Area | |
CN221652786U (en) | A broadband self-organizing network communication system suitable for underground pipe corridors | |
CN115103371B (en) | Networking method and system based on prplMesh application | |
WO2012042431A1 (en) | Node configuration mechanism for improving mesh scalability |
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 |