CN106604347B - System and method for directional data transmission based on wi-fi ad hoc network - Google Patents
System and method for directional data transmission based on wi-fi ad hoc network Download PDFInfo
- Publication number
- CN106604347B CN106604347B CN201610958316.0A CN201610958316A CN106604347B CN 106604347 B CN106604347 B CN 106604347B CN 201610958316 A CN201610958316 A CN 201610958316A CN 106604347 B CN106604347 B CN 106604347B
- Authority
- CN
- China
- Prior art keywords
- node
- intelligent routing
- routing node
- data
- irn
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
- H04W40/248—Connectivity information update
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a system and a method for directional data transmission based on a wifi ad hoc network, wherein the system consists of a group of intelligent routing nodes, each intelligent routing node is provided with an identification bit, IRN1, IRN2, IRN3 and IRNn, each intelligent routing node unifies wifi names, defaults a connection protocol, plans corresponding IP addresses, and forms a logic ad hoc network after being electrified. The invention provides a device for automatic configuration after power-on, which realizes an ad hoc network, and can realize centralized return of transmission data after the data is transmitted to a certain point with the network through the ad hoc wi-fi network after power-on under the condition that no 4G wireless network exists in the field and the like.
Description
Technical Field
The invention relates to the field of wireless networks, in particular to a technology implementation of directional data transmission based on a wifi ad hoc network.
Background
At present, network data transmission is realized in the field by mainly using 2 modes, namely a 4G network and a wifi network established by using a router WDS technology.
The 4G network, a fourth generation mobile communication technology, integrates 3G and WLAN, and can transmit data, high quality, audio, video, image, and the like rapidly. However, the 4G network must rely on the network base station of the national telecommunication service provider, such as mobile and unicom companies, and in some specific field areas, for example, some rivers and lakes, if there is no base station, or if the base station is far away from the base station, there may be a situation that the 4G network cannot cover.
Wds (wireless Distribution system), wireless Distribution system, which transmits the resources of wired network through wireless network as relay architecture, so as to transmit the network data to another wireless network environment or another wired network, so it is known as wireless network bridging function. Strictly speaking, the wireless network bridging function is usually referred to as one-to-one, but the WDS architecture can be one-to-many, and the object of bridging can be a wireless network card or a wired system. Therefore, the WDS needs to have at least two APs (Access points) with the same function, and the maximum number of the WDS needs to be determined according to the architecture designed by the manufacturer. In its simplest terms: it is the WDS that allows wireless bridging between wireless APs without affecting the functionality of its wireless AP coverage. However, building a wifi network through WDS requires a series of operations such as manually configuring a router, setting a gateway, and setting a fixed channel, and thus the wifi network cannot be operated without a computer during deployment.
Among the prior art, wireless ad hoc network courseware information transmission device (application number CN201520442299.6), disclose a wireless ad hoc network courseware information transmission device, this wireless ad hoc network courseware information transmission device includes a sending unit and a receiving element, wherein this sending unit includes audio and video data acquisition module, coding module and WIFI emission module at least, and receiving element includes WIFI receiving module, decoding module and audio and video data output module at least, the utility model discloses a WIFI wireless communication ad hoc network technique, sending device and receiving arrangement automatic connection become the net, send the demonstration video and the sound information of computer for a plurality of display devices through radio signal, realize the wireless transmission and the distribution of courseware information.
The networking mode mainly described in the existing patent is also a networking mode based on a wifi (wireless data system) own network WDS (wireless data service), manual configuration is needed, and a method for directionally transmitting data needs to be automatically configured urgently.
Disclosure of Invention
The invention provides a system and a method for directionally transmitting data in the field based on a wifi ad hoc network, and innovatively designs a system for directionally transmitting data in the field based on the wifi ad hoc network through the technology.
A system for directional data transmission based on a wifi ad hoc network is composed of a group of intelligent routing nodes, each intelligent routing node is provided with an identification bit, an IRN1, an IRN2, an IRN3 and an IRNn, each intelligent routing node unifies wifi names, a connection protocol is defaulted, a corresponding IP address is planned, and a logic ad hoc network is formed after the power is on.
Preferably, the intelligent routing node IRN1 defaults to the fact that the entire network transmits a unique node to the outside, when the IRN1 is powered on, the node of the intelligent routing node IRN2 is automatically searched, after the node is connected to the intelligent routing node IRN2, the node of the intelligent routing node IRN3 is automatically searched, and so on until the IRNn, the intelligent routing node IRNn searches for the intelligent routing node IRN (n +1), and if the node of the intelligent routing node IRN is not found, the node of the intelligent routing node IRN searches for the node of the intelligent routing node IRN all the time.
Preferably, each intelligent routing node is provided with a connection state identifier and a data transmission identifier.
Preferably, each intelligent routing node is provided with a data storage space.
The data transmission method of the system comprises the following steps:
(1) any intelligent routing node n, wherein n is greater than 1, firstly judges whether the node IRNn is in a connection state after a data transmission request occurs;
(2) if the node is not connected to the next intelligent routing node, directly packaging the data to be transmitted, namely packaging the data, the ID information of the intelligent routing node IRNn and the transmission time stamp together, and sending the data to the IRN (n-1) node;
(3) if the node is connected with the next intelligent routing node IRN (n +1), judging whether data input exists in the node IRN (n +1) at the moment; if not, executing the step (2); if so, transmitting the data of the node IRN (n +1) to the IRN (n-1) node together with the data to be transmitted by the node;
(4) after the intelligent routing node IRN (n-1) receives the data, returning that the data is successfully received;
(5) if the return is unsuccessful, the intelligent routing node IRN (n-1) stores the previously processed packed data in the storage module of the node IRNn and tries transmission again after 30 seconds;
(6) after the intelligent routing node IRN (n-1) successfully receives the data, judging whether the data is an IRN1 node, if so, indicating that the data is transmitted to the root node, and then uniformly transmitting the data to the Internet by the root node; if not, the IRN1 node, the process from (1) to (6) is repeated until the IRN1 node is transmitted.
The invention has the technical effects that: the invention designs a method for directionally transmitting data in the field based on a wi-fi ad hoc network, so that a user can automatically establish a wireless network in the field to transmit data through the method, and then the data are transmitted to the Internet in a centralized manner by a certain node capable of surfing the Internet. The invention provides a device for automatic configuration after power-on, which realizes an ad hoc network, and can realize centralized return of transmission data after the data is transmitted to a certain point with the network through the ad hoc wi-fi network after power-on under the condition that no 4G wireless network exists in the field and the like.
Drawings
The above features and technical advantages of the present invention will become more apparent and readily appreciated from the following description of the embodiments thereof taken in conjunction with the accompanying drawings.
FIG. 1: the invention relates to a system overall framework diagram for directionally transmitting data in the field based on a wifi ad hoc network.
FIG. 2: a workflow diagram of a wi-fi ad hoc network.
FIG. 3: and the data transmission flow chart of the wi-fi ad hoc network.
Detailed Description
Embodiments of a system and a method for directionally transmitting data in the field based on a wifi ad hoc network according to the present invention will be described with reference to the accompanying drawings. Those of ordinary skill in the art will recognize that the described embodiments can be modified in various different ways, or combinations thereof, without departing from the spirit and scope of the present invention. Accordingly, the drawings and description are illustrative in nature and not intended to limit the scope of the claims. Furthermore, in the present description, the drawings are not to scale and like reference numerals refer to like parts.
The present embodiment is described in detail below with reference to fig. 1-3.
As shown in fig. 1, the system for directionally transmitting data in the field based on the wifi ad hoc network is composed of a group of intelligent routing nodes, each intelligent routing node is provided with an identification bit, for example, the 1 st intelligent routing node is IRN1, the 2 nd intelligent routing node is IRN2, and the 3 rd intelligent routing node is IRN3 … …, and each intelligent routing node is sequentially connected through wireless connection and is wirelessly connected with an external network.
Each intelligent routing node unifies wifi names (such as the name: HTWifi), defaults to a connection protocol (IP protocol), and plans corresponding IP addresses, that is, according to the power-on sequence of the flow in fig. 2, the IRN1 is powered on first, then the IRN2 is powered on, and so on. When the IRN2 is powered on, it automatically looks for a network named "HTWifi", and then the DHCP service of IRN1 automatically assigns an IP address, and so on. The logical ad hoc network can follow the flow chart of fig. 2 after power up. Each intelligent routing node is provided with a connection state identifier and a data transmission identifier. Each intelligent routing node is provided with a data storage space.
The intelligent routing node IRN1 defaults to the fact that the whole network transmits a unique node to the outside, when the IRN1 is powered on, the node of the intelligent routing node IRN2 is automatically found, after the node is connected to the intelligent routing node IRN2, the intelligent routing node IRN3 is automatically found, and the like.
A wi-fi ad hoc network embodiment as shown in fig. 2.
First, the intelligent routing node IRN1 powers up, performing two steps simultaneously: firstly, the router is automatically connected with an external network, and the configuration of the router is the same as that of a common router; and secondly, automatically searching the intelligent routing node IRN2 according to the built-in communication protocol, and if not found, automatically retrying after 30 seconds until found.
If intelligent routing node IRN2 is found, then IRN2 issues an instruction to modify the connection state of intelligent routing node IRN1 to indicate that IRN1 and IRN2 have successfully connected.
Every 30 seconds, the intelligent routing node IRN1 will judge the connection state, and if suddenly finds that the connection with the intelligent routing node IRN2 is lost, it will retry automatically every 30 seconds and modify the connection state to be unconnected.
After connecting to the intelligent routing node IRN2, IRN2 automatically looks for the intelligent routing node IRN3 according to the built-in communication protocol, and if not, automatically retries after 30 seconds until found.
If intelligent routing node IRN3 is found, then IRN3 issues an instruction to modify the connection state of intelligent routing node IRN2 to indicate that IRN2 and IRN3 have successfully connected.
Every 30 seconds, the intelligent routing node IRN2 will judge the connection state, and if suddenly finds that the connection with the intelligent routing node IRN3 is lost, it will retry automatically every 30 seconds and modify the connection state to be unconnected.
The connection mode of the subsequent node is exactly the same as before.
Until connecting to the intelligent routing node IRNn, the intelligent routing node IRNn searches the intelligent routing node IRN (n +1), and searches all the time if not found, but does not affect data transmission.
The above time interval of 30 seconds is set as a system setting, and may be 1 minute or other time.
A data transmission embodiment of the wi-fi ad hoc network is shown in fig. 3.
(1) Any intelligent routing node n, wherein n is greater than 1, firstly judges whether the node IRNn is in a connection state after a data transmission request occurs;
(2) if the node is not connected to the next intelligent routing node, directly packaging the data to be transmitted, namely packaging the data, the ID information of the intelligent routing node IRNn and the transmission time stamp together, and sending the data to the IRN (n-1) node;
(3) if the node is connected with the next intelligent routing node IRN (n +1), judging whether data input exists in the node IRN (n +1) at the moment; if not, executing the step (2); if so, transmitting the data of the node IRN (n +1) to the IRN (n-1) node together with the data to be transmitted by the node;
(4) after the intelligent routing node IRN (n-1) receives the data, returning that the data is successfully received;
(5) if the return is unsuccessful, the intelligent routing node IRN (n-1) stores the previously processed packed data in the storage module of the node IRNn and tries transmission again after 30 seconds;
(6) after the intelligent routing node IRN (n-1) successfully receives the data, judging whether the data is an IRN1 node, if so, indicating that the data is transmitted to the root node, and then uniformly transmitting the data to the Internet by the root node; if not, the IRN1 node, the process from (1) to (6) is repeated until the IRN1 node is transmitted.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (3)
1. A system for directional data transmission based on wifi ad hoc network is characterized in that,
each intelligent routing node is provided with an identification bit, namely IRN1, IRN2, IRN3 to IRNn, and is sequentially in wireless connection with an external network;
each intelligent routing node unifies wifi names, defaults to a connection protocol, plans corresponding IP addresses and forms a logic ad hoc network after being electrified;
the intelligent routing node IRN1 defaults that the whole network transmits a unique node to the outside, when the IRN1 is powered on, the intelligent routing node IRN1 is automatically connected with an external network, meanwhile, the node of the intelligent routing node IRN2 is automatically searched, after the intelligent routing node IRN2 is connected, the intelligent routing node IRN2 sends an instruction, the connection state of the intelligent routing node IRN1 is modified, the IRN1 and the IRN2 are successfully connected, the intelligent routing node IRN3 is automatically searched, and the rest is carried out until the IRN (n-1), the intelligent routing node IRN (n-1) searches the intelligent routing node IRN, and if the intelligent routing node IRN is not found, the intelligent routing node IRN is searched in a straight round;
the intelligent routing node IRN1 judges the connection state once every set time, and if the connection with the intelligent routing node IRN2 is lost, the intelligent routing node IRN will retry automatically every set time and modify the connection state to be unconnected;
after a data transmission request occurs to any intelligent routing node i, wherein i is larger than 1, whether the node IRNi is in a connection state is judged firstly; if the node is not connected to the next intelligent routing node, directly packaging the data to be transmitted, namely packaging the data, the ID information of the intelligent routing node IRNi and the transmission time stamp together, and sending the data, the ID information of the intelligent routing node IRNi and the transmission time stamp to the IRN (i-1) node; if the node is connected with the next intelligent routing node IRN (i +1), judging whether data are input into the node IRN (i +1) at the moment; if not, directly packaging the data to be transmitted; if so, transmitting the data of the node IRN (i +1) to the IRN (i-1) node together with the data to be transmitted by the node; after the intelligent routing node IRN (i-1) successfully receives the data, judging whether the data is an IRN1 node, if so, indicating that the data is transmitted to the root node, and then uniformly transmitting the data to the Internet by the root node; if not, the data transfer process continues until it is transmitted to IRN1 node.
2. The system for directional data transmission based on wifi ad hoc network of claim 1,
each intelligent routing node is provided with a connection state identifier and a data transmission identifier.
3. The system for directional data transmission based on wifi ad hoc network of claim 1,
each intelligent routing node is provided with a data storage space.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610958316.0A CN106604347B (en) | 2016-11-03 | 2016-11-03 | System and method for directional data transmission based on wi-fi ad hoc network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610958316.0A CN106604347B (en) | 2016-11-03 | 2016-11-03 | System and method for directional data transmission based on wi-fi ad hoc network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106604347A CN106604347A (en) | 2017-04-26 |
CN106604347B true CN106604347B (en) | 2020-12-01 |
Family
ID=58589705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610958316.0A Active CN106604347B (en) | 2016-11-03 | 2016-11-03 | System and method for directional data transmission based on wi-fi ad hoc network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106604347B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107580312A (en) * | 2017-09-28 | 2018-01-12 | 灵拓智联(厦门)网络科技有限公司 | A kind of multimode intelligent radio self-organizing network system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201378194Y (en) * | 2008-12-19 | 2010-01-06 | 西北电网有限公司 | High-voltage power transmission line monitoring system |
CN103228065A (en) * | 2013-04-09 | 2013-07-31 | 天脉聚源(北京)传媒科技有限公司 | Mobile equipment based on Wi-Fi, and method and system of mobile equipment for networking |
CN203313418U (en) * | 2013-06-24 | 2013-11-27 | 上海山源电子电气科技发展有限公司 | WIFI intercom base station network system |
CN103416086A (en) * | 2011-03-08 | 2013-11-27 | 高通股份有限公司 | Systems and methods for implementing ad hoc wireless networking |
CN105245014A (en) * | 2015-11-12 | 2016-01-13 | 国网河南省电力公司濮阳供电公司 | Wireless telecontrol communication channel of power transmission line |
CN105578568A (en) * | 2015-12-16 | 2016-05-11 | 上海飞乐音响股份有限公司 | WIFI communication apparatus and WIFI network establishing method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8583955B2 (en) * | 2011-10-04 | 2013-11-12 | Advanergy, Inc. | Battery management system and method |
US10314084B2 (en) * | 2013-07-09 | 2019-06-04 | Nec Corporation | Communication terminal |
-
2016
- 2016-11-03 CN CN201610958316.0A patent/CN106604347B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201378194Y (en) * | 2008-12-19 | 2010-01-06 | 西北电网有限公司 | High-voltage power transmission line monitoring system |
CN103416086A (en) * | 2011-03-08 | 2013-11-27 | 高通股份有限公司 | Systems and methods for implementing ad hoc wireless networking |
CN103228065A (en) * | 2013-04-09 | 2013-07-31 | 天脉聚源(北京)传媒科技有限公司 | Mobile equipment based on Wi-Fi, and method and system of mobile equipment for networking |
CN203313418U (en) * | 2013-06-24 | 2013-11-27 | 上海山源电子电气科技发展有限公司 | WIFI intercom base station network system |
CN105245014A (en) * | 2015-11-12 | 2016-01-13 | 国网河南省电力公司濮阳供电公司 | Wireless telecontrol communication channel of power transmission line |
CN105578568A (en) * | 2015-12-16 | 2016-05-11 | 上海飞乐音响股份有限公司 | WIFI communication apparatus and WIFI network establishing method |
Also Published As
Publication number | Publication date |
---|---|
CN106604347A (en) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6874179B2 (en) | Terminal and control information transmission method | |
CN109417695A (en) | A kind of communication path conversion method and equipment | |
CN110098858A (en) | A kind of relaying operating mode configuration method and terminal | |
US11336513B2 (en) | Network nodes with intelligent integration | |
CN101877826A (en) | Combined device and service discovery technique in stations supporting tunneled direct link setup (TDLS) | |
JP6995976B2 (en) | Core network access method by terminal, base station and terminal | |
JP2007013649A (en) | Shared information updating method | |
CN109600800A (en) | Communication means and equipment | |
JP7147897B2 (en) | Wireless sensor system and communication control method | |
US20210014115A1 (en) | Network Protocol Method for Mesh Capability in Narrow-Band Wireless Networks | |
JP2007318506A (en) | Mobile communication system, radio base station controller, and operation control method | |
CN113973399A (en) | Message forwarding method, device and system | |
CN106604347B (en) | System and method for directional data transmission based on wi-fi ad hoc network | |
KR20120137706A (en) | Communication system, femto cell thereof, and method for clustering and handovering the same | |
US20070263638A1 (en) | Setting Up of a Wireless Network by Determining and Utilizing Local Topology Information | |
JP2007104389A (en) | Radio base station device and communication parameter setting method thereof | |
CN111132256B (en) | User terminal access method, initial mobile management entity and base station | |
CN107113806B (en) | Random access method, station and access point | |
EP2749061B1 (en) | Method and apparatuses for initialising a radio base station | |
CN112770370B (en) | Method and device for intelligent equipment to access network and intelligent equipment | |
KR20150088431A (en) | Method and apparatus for discovery in terminal-to-terminal direct communication | |
CN104270743A (en) | Method and device for obtaining parameter information of terminal | |
JP2016514403A (en) | System and method for instructing and acquiring access point information | |
CN101601324B (en) | Wireless non-cellular network | |
CN103746887A (en) | Method for activating locomotive access network |
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 |