CN115134951A - Wireless networking communication method in peer-to-peer mode - Google Patents

Wireless networking communication method in peer-to-peer mode Download PDF

Info

Publication number
CN115134951A
CN115134951A CN202210710766.3A CN202210710766A CN115134951A CN 115134951 A CN115134951 A CN 115134951A CN 202210710766 A CN202210710766 A CN 202210710766A CN 115134951 A CN115134951 A CN 115134951A
Authority
CN
China
Prior art keywords
terminal node
information
node
terminal
broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210710766.3A
Other languages
Chinese (zh)
Inventor
魏君飞
郝振宇
陈现成
林聪�
王苗龙
胡朝鹏
朱高喜
陆小辉
刘恩洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanwei Electronics Group Corp
Original Assignee
Hanwei Electronics Group Corp
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 Hanwei Electronics Group Corp filed Critical Hanwei Electronics Group Corp
Priority to CN202210710766.3A priority Critical patent/CN115134951A/en
Publication of CN115134951A publication Critical patent/CN115134951A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a wireless networking communication method in a peer-to-peer mode, which comprises the following steps: n numbered terminal nodes in the local area network periodically broadcast and monitor shared information; when a new terminal node accesses a local area network, receiving shared information broadcasted by the labeled terminal node in the local area network; the new terminal node marks itself as n +1 according to the shared information, and according to the signal intensity of the received shared information, the terminal node with larger signal intensity is markediIn response to the broadcast information, the terminal nodeiUpdating and broadcasting the shared information, and synchronously updating the broadcasted shared information by other terminal nodes, wherein,i∈[1,n]any natural number of (1). The invention omits the independent equipment by carrying out label networking on the equipmentThe relay equipment is erected, so that resources are saved; the use limitation of the portable mobile equipment caused by the fixity of the position of the independent relay node is removed; and the self-networking method has high flexibility and is suitable for 433MHz wireless communication networking, LoRa communication networking and the like.

Description

Wireless networking communication method in peer-to-peer mode
Technical Field
The invention relates to the technical field of wireless ad hoc networks, in particular to a wireless networking communication method in a peer-to-peer mode.
Background
Wireless ad hoc networks are a technology that differs from traditional wireless communication. Conventional wireless communication networks require a fixed network base station to perform user access and forward user data, such as the mobile internet, which we now use. In a region with relatively dense population, the traditional wireless communication network has a large number of base stations for people to communicate, and in a remote region or when the traditional wireless communication network is moved in a large range in emergency rescue, the traditional wireless communication network has difficulty in communication due to no coverage of the base stations, and the information spreading is limited in space.
Meanwhile, wireless ad hoc networks do not have a central network and can be deployed flexibly as needed without infrastructure support, such as computer rooms and transport networks. The wireless ad hoc network can be set at will, signals avoid the interference of obstacles, transmission is barrier-free, blind areas are eliminated, and the wireless ad hoc network can be expanded through a multi-hop relay network to further expand the coverage.
At present, most of ad hoc network methods require the addition of an independent relay node or an independent host, and the position of the relay node is fixed, so that the range of motion of the mobile device is greatly limited, and inconvenience is brought to the networking of the mobile device in an industrial complex environment.
The invention patent with application number 201810614791.5 discloses a networking method of multi-hop relay, wherein after a first RN intercepts a system message sent by a peripheral RN, the first RN determines a superior RN of the first RN according to the related information of the peripheral RN in the system message, thereby completing the networking of the multi-hop relay. The invention determines the superior level during the execution of the process. The confirmation of the upper level represents the confirmation of the dependency relationship, once the upper level fails or is separated from the local area network, if the local area networking dynamically adjusts the upper level, the information of the upper and lower level devices which fail within a period of time cannot be shared, and if the local area networking cannot be dynamically adjusted, the upper and lower level devices which fail are separated from the local area information network.
Disclosure of Invention
Aiming at the technical problem of use limitation of portable movable equipment caused by the fixity of the position of an independent relay node in an industrial complex environment, the invention provides a peer-to-peer mode wireless networking communication method, which does not need independent relay equipment to carry out wireless ad hoc network, and ensures effective transmission of information because each equipment is a peer-to-peer device.
In order to achieve the purpose, the technical scheme of the invention is realized as follows: a wireless network communication method of peer-to-peer mode, n terminal nodes labeled in local area network periodically broadcast and monitor shared information; when a new terminal node accesses a local area network, receiving shared information broadcasted by the labeled terminal node in the local area network; the new terminal node marks itself as n +1 according to the shared information, and according to the signal intensity of the received shared information, the terminal node with larger signal intensity is markediIn response to the broadcast message, the terminal nodeiUpdating and broadcasting the shared information, and synchronously updating the broadcasted shared information by other terminal nodes, wherein,i∈[1,n]any natural number of (1).
Preferably, the terminal node is both a receiver and a repeater, having the role of a relay node; the terminal node transmits shared information including device states of itself and the other terminal nodes.
Preferably, the communication fault of the terminal node is detected through a label detection mechanism, and the fault information is broadcasted to trigger acousto-optic reminding, and meanwhile, the queue information of the label in the data frame of the shared information in the group is updated.
Preferably, the label detection mechanism is that if the terminal node labeled i-1 does not receive the broadcast information of the terminal node labeled i in three consecutive polling periods and the terminal node labeled i +1 does not receive the broadcast information of the terminal node labeled i in three consecutive polling periods, the terminal node labeled i is in communication failure or is separated from the local area network.
Preferably, the period T of the terminal node periodic broadcast consists of a sending time, a monitoring time and a margin time; and the information is periodically shared among the marked n terminal nodes, and the broadcasting time is calculated from the latest received shared information.
Preferably, the terminal node calculates the waiting time N × T according to the difference N between its label and the label of the received terminal node sharing information.
Preferably, when n is greater than or equal to 2, if the terminal node labeled n +1 only receives the label labeled n +1iThe shared information broadcasted by the terminal node is marked withiThe terminal node of (1) broadcasts in the next period, the terminal node with the label of n +1 initiates a response, and the label is at this timeiThe terminal node knows that the terminal node with the label n +1 is accessed, and updates the shared information during the next period of broadcasting; if the terminal node with the label n +1 receives a plurality of pieces of broadcast information, selecting the label with stronger signal strength in the broadcast information asiIs marked withiThe terminal node of (1) broadcasts in the next period, the terminal node with the label of n +1 initiates a response, and the label is at this timeiThe terminal node(s) knows that the terminal node(s) with the label n +1 is (are) accessed, the shared information is updated during the next period of broadcasting, and the other terminal nodes synchronously update the data frame information.
Preferably, the terminal nodes in the local area network are connected with the concentrator, and the concentrator acquires group information in the local area network and uploads the group information to the cloud platform.
Preferably, each local area network is provided with a sink node, the sink node is connected with a terminal node in the local area network, and the sink node is connected with an access node.
Preferably, when the sink node detects that the broadcast information of the terminal node is not received in three periods, the sink node determines that the terminal node is an offline device, and the sink node informs the broadcast information to the access node.
Compared with the prior art, the invention has the beneficial effects that: by referring to a multi-hop network topology structure, nodes are labeled and sequentially and circularly broadcast, so that information sharing and local self-organizing network are realized; by performing label networking on the equipment, independent relay equipment is saved, and resources are saved; the use limitation of the portable mobile equipment caused by the fixity of the position of the independent relay node is removed; the self-networking method provided by the invention has high flexibility and is suitable for 433MHz wireless communication networking, LoRa communication networking and the like.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of the present invention.
FIG. 2 is a schematic diagram of information interaction in accordance with the present invention.
Fig. 3 is a schematic diagram of two terminal nodes in a local area network according to the present invention.
Fig. 4 is a communication diagram according to embodiment 3 of the present invention.
Fig. 5 is a communication diagram according to embodiment 4 of the present invention.
Fig. 6 is a communication diagram according to embodiment 5 of the present invention.
Fig. 7 is a communication diagram according to embodiment 6 of the present invention.
Fig. 8 is a communication diagram according to embodiment 7 of the present invention.
Fig. 9 is a schematic view of communication of a failure of an intermediate terminal node according to the present invention.
Fig. 10 is a schematic diagram of the failure of the intermediate terminal node to communicate in the present invention.
Fig. 11 is a schematic diagram of traffic transmission of a networked device.
Fig. 12 is a schematic diagram of data interaction between adjacent terminal nodes according to the present invention.
Fig. 13 is a schematic diagram of a tree network topology.
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, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
Example 1
As shown in fig. 1, in a peer-to-peer mode wireless networking communication method, n numbered terminal nodes in a local area network periodically broadcast and monitor shared information; when a new terminal node accesses a local area network, receiving shared information broadcasted by the labeled terminal node in the local area network; the new terminal node marks itself as n +1 according to the sharing information and marks the terminal node with larger signal strength according to the signal strength of the received sharing informationiIn response to the broadcast information, the terminal nodeiUpdating and broadcasting the shared information, and synchronously updating the broadcasted shared information by other terminal nodes, wherein,i∈[1,n]any natural number of (1). The information interaction between the terminal nodes is shown in fig. 2, the terminal nodes are detectors or sensors, the detector terminals are networked by themselves, and according to the label of the detector terminals, the information is broadcasted circularly, and the surrounding terminal nodes or terminal devices receive the broadcasted device information and the labels of the terminal nodes and respond to the broadcasted device information and transmit the broadcasted device information and the labels of the terminal nodes in sequence. And the terminal nodes in the local area network are connected with the concentrator, and the concentrator acquires the group information in the local area network and uploads the group information to the cloud platform. If the group information is uploaded to the cloud platform, the concentrator can be used as a common device to be accessed into a group of the local area network at any time, and the group information is uploaded to the cloud platform after being acquired. The concentrator is not mobile and can be on a cloud platformThe working states of all the devices in the group are monitored in real time, commands can be sent to the concentrator through the cloud platform, the concentrator issues the commands to the group, and one-machine monitoring and one-machine control are achieved.
The terminal node is a receiver and a repeater and has the function of a relay node; the terminal nodes send the shared information including the equipment states of the terminal nodes and the other terminal nodes, all information in the group can be shared, one alarm is realized, the other equipment is synchronously reminded, and the wider diffusion range of the alarm information is ensured. Meanwhile, according to the self label, the terminal node effectively enlarges the coverage range of the self-organizing network through forward transmission and reverse transmission.
And communication faults of the terminal nodes are detected through a label detection mechanism, and fault information is broadcasted to trigger acousto-optic reminding. The terminal node is provided with an acousto-optic prompt, and the audible and visual prompt can be given after the terminal node is in failure or peripheral equipment is in failure. The label detection mechanism is that if the terminal node labeled i-1 does not receive the broadcast information of the terminal node labeled i in three consecutive polling periods and the terminal node labeled i +1 does not receive the broadcast information of the terminal node labeled i in three consecutive polling periods, the terminal node labeled i is in communication failure or is separated from the local area network. The retry times are three times, and the three times are the minimum test period, so that the stability can be ensured.
The period T of the periodic broadcast of the terminal node consists of sending time, monitoring time and allowance time; the sending time is the time for the node to send the shared information, the monitoring time is the time for monitoring the shared information, the margin time is the increased margin time, and the hardware processing time is compensated. The information is periodically shared among the n numbered terminal nodes, the broadcasting time is calculated from the latest received shared information, so that the method is more accurate, the waiting time of the terminal nodes is calibrated every time, and the latest received information is taken as the standard. And the terminal node calculates the waiting time N x T according to the difference N between the label of the terminal node and the label of the received shared information terminal node. Therefore, the method does not depend on one device, does not form a binding relation, and prevents group time sequence disorder caused by an error of one device.
When n is largeWhen the number is equal to 2, if the terminal node with the number n +1 only receives the number n +1iThe shared information broadcasted by the terminal node is marked withiThe terminal node of (1) broadcasts in the next period, the terminal node with the label of n +1 initiates a response, and the label is at this timeiThe terminal node knows that the terminal node with the label n +1 is accessed, and updates the shared information during the next period of broadcasting; if the terminal node with the label n +1 receives a plurality of pieces of broadcast information, selecting the label with stronger signal strength in the broadcast information asiIs marked withiThe terminal node of (1) broadcasts in the next period, the terminal node with the label of n +1 initiates a response, and the label is at this timeiThe terminal node(s) knows that the terminal node(s) with the label n +1 is (are) accessed, the shared information is updated during the next period of broadcasting, and the other terminal nodes synchronously update the data frame information.
Example 2
A wireless network communication method of peer-to-peer mode, all terminal nodes are equal, firstly, a terminal node, namely a detector is arranged in a local area network, periodically broadcasts and monitors, no reply information is received, only one device marked as No. 1 in the local area network is judged, the No. 1 terminal node periodically broadcasts, the period time is T, and the period time is composed of sending time, monitoring time and allowance time. And accessing the second equipment into a distribution network mode, namely starting to monitor information, after monitoring for a time period, replying to the equipment No. 1 after monitoring the broadcast information of only the terminal node No. 1 and informing that only one member exists in the local area network group, and recording the number of the equipment which can be monitored by all the equipment. In the interactive information, each device will publish how many devices are in the group, and the number of the devices is several, so that the monitoring device can acquire the information. The broadcast information is carried, at the moment, two detection devices are arranged in the area at present, only one device in the current group is monitored, two devices are added, the broadcast is carried out after the number of the device in the current group is numbered as 2 in the program, and the number of the members in the current group is informed to the number 1 terminal node in the broadcast information as 2. Because device No. 1 received the broadcast from device No. 2, the latest message in the broadcast message No. 2 tells device No. 1 that the group is now on, and the message is always shared. Thus, the information is periodically shared between the terminal nodes No. 1 and No. 2, the broadcast time is calculated from the latest received broadcast information, and the waiting time N × T is calculated according to the difference N between the own equipment number and the received broadcast information equipment number, as shown in fig. 3.
Other communication methods are the same as in embodiment 1.
When the third device applies for network access, the number is 3, and the number is divided into 5 cases, which are respectively shown in the embodiments 3-7.
Example 3
A wireless networking communication method of peer-to-peer mode, as shown in FIG. 4, when the terminal node No. 1 and the terminal node No. 2 normally broadcast information share, the terminal node No. 3 is placed on the right side of the terminal node No. 2, after the terminal node No. 1 and the terminal node No. 2 broadcast, the terminal node No. 3 will receive two pieces of broadcast information, or only receive the broadcast information of the terminal node No. 2, all devices record the device number that can be monitored, and the broadcast information is carried, if the terminal node No. 3 receives the two pieces of broadcast information, according to the magnitude RSSI1 and RSSI2 of the signal intensity in the two pieces of information, if RSSI1< RSSI2, it can be known that the terminal node No. 3 is closer to the terminal node No. 2, when the terminal node No. 2 broadcasts in the next period, the terminal node No. 3 initiates a response, at this time, the terminal node No. 2 knows that a new device is accessed, the broadcast information is updated in the next period, and the terminal node No. 3 starts timing when receiving the terminal node No. 2 broadcast, starts broadcasting after the T time of 1 period is timed, and synchronously updates data frame information by other equipment.
The other communication method is the same as embodiment 2.
Example 4
In a peer-to-peer mode wireless networking communication method, as shown in fig. 5, when the terminal node No. 1 and the terminal node No. 2 normally broadcast information for sharing, the terminal node No. 3 is arranged at the right side of the terminal node No. 2, after the broadcasting of the terminal node No. 1 and the terminal node No. 2 is finished, the terminal node No. 3 only receives the broadcasting information of the terminal node No. 2, when the terminal node 2 is broadcast in the next period, the terminal node 3 initiates a response, and at this time, the terminal node 2 knows that a new device is accessed, the broadcast information is updated in the next period, the terminal node 3 starts to count for 1 period when receiving the broadcast of the terminal node 2, and starts to broadcast after counting is finished, and the terminal node 1 cannot receive the broadcast information of the terminal node 3, and starting to time when the terminal node 1 receives the terminal node 2 broadcast, and starting to broadcast after the time is counted for 2 periods T. Because the No. 1 terminal node has 3 devices in the present group through the No. 2 terminal node, timing is started when the No. 2 device information is received, if the No. 3 device information can be received, timing can be carried out for 1 period, and two periods can be timed when the No. 3 device information cannot be received, so that a certain device is not depended on, a binding relation cannot be formed, and the group time sequence disorder caused by the error of a certain device is prevented.
Other communication methods are the same as in embodiment 2.
Example 5
In a peer-to-peer mode wireless networking communication method, as shown in fig. 6, when the terminal node No. 1 and the terminal node No. 2 normally broadcast information for sharing, the terminal node No. 3 is arranged at the left side of the terminal node No. 1, after the broadcasting of the terminal node No. 1 and the terminal node No. 2 is finished, the terminal node 3 will receive two pieces of broadcast information, all devices record the number of the devices which can be monitored, and the broadcast information will also be carried, if the terminal node 3 receives two pieces of broadcast information, according to the signal strength of two pieces of information, RSSI1, RSSI2, RSSI1> RSSI2, it can be known that the terminal node 3 is relatively close to the device 1, and when the terminal node 1 broadcasts in the next period, and the terminal node No. 3 initiates a response, at the moment, the terminal node No. 1 knows that new equipment is accessed, the broadcast information is updated during the next period of broadcast, and the other equipment synchronously updates the data frame information.
Other communication methods are the same as in embodiment 2.
Example 6
A wireless networking communication method in a peer-to-peer mode is disclosed, as shown in FIG. 7, when a terminal node No. 1 and a terminal node No. 2 normally broadcast information for sharing, a terminal node No. 3 is placed on the left side of the terminal node No. 1, after the broadcast of the terminal node No. 1 and the terminal node No. 2 is finished, the terminal node No. 3 starts to time when receiving the broadcast of the terminal node No. 1, and starts to broadcast after the time T of 2 periods is finished. If the terminal node No. 3 only receives the broadcast information of the terminal node No. 1, the terminal node No. 3 initiates a response when the terminal node No. 1 broadcasts in the next period, at the moment, the terminal node No. 1 knows that new equipment is accessed, the broadcast information is updated during the next period, the terminal node No. 3 starts to time when the terminal node No. 1 broadcasts, the broadcasting starts after the time is ended, meanwhile, the terminal node No. 3 cannot receive the broadcast information of the terminal node No. 2, the terminal node No. 3 starts to time when the terminal node No. 1 broadcasts, and the broadcasting starts after the time is 2 periods T. Because 3 equipment pass through No. 1 equipment and have 3 equipment in the present group, I begin timing from receiving No. 1 equipment information, if can receive No. 2 equipment information, that timing 1 cycle just can, can not receive No. 2 equipment information, just timing two cycles, do not rely on a certain equipment like this, can not form the relation of bundling, prevent that a certain equipment from makeing mistakes the cluster chronogenesis disorder that leads to.
Other communication methods are the same as in embodiment 2.
Example 7
As shown in fig. 8, when the normal information of the terminal node No. 1 and the terminal node No. 2 is shared, the terminal node No. 3 is placed between the terminal node No. 1 and the terminal node No. 2, and the processing is also the same as the case analysis processing of the embodiment 3-6. Firstly, if only receiving the terminal node No. 1 or the terminal node No. 2, carrying out information interaction; and if the No. 3 terminal node receives the two pieces of information, comparing the signal intensity, and selecting the terminal node with stronger signal intensity to carry out information interaction.
Other communication methods are the same as in embodiment 2.
Example 8
The above-mentioned embodiment considers adding devices to the original group, and if one of the devices fails to cause a communication problem during the operation, as shown in fig. 9,
the method comprises the steps that 1 terminal node and 2 terminal node normal information share, 2 terminal node and 3 terminal node normal information share, 1 terminal node and 3 terminal node normal information share, if the 2 terminal node has communication fault, the 1 terminal node does not receive the broadcast of the 2 terminal node within the period time after broadcasting, the 2 terminal node broadcast information is not received three times continuously, and if the 3 terminal node also does not receive the 2 terminal node broadcast information three times continuously, the 2 terminal node communication fault or group separation is determined. However, if in three periods, the terminal node No. 3 receives the broadcast information of the terminal node No. 2 and broadcasts it, at this time, the terminal node No. 1 also receives the broadcast information of the terminal node No. 3, and it is determined that the terminal node No. 2 has no fault and only the position is moved. Similarly, if the device number 1 or the device number 3 has a problem, the processing situation is basically the same.
As shown in fig. 10, the terminal node 1 and the terminal node 2 share normal information, the terminal node 2 and the terminal node 3 share normal information, the terminal node 1 and the terminal node 3 are far away from each other, and communication is not successful, and if the terminal node 2 fails in communication, the link fails. And if new joining equipment exists subsequently, the number 2 terminal node is monitored to be separated, and the number of the terminal node can be numbered as the number 2. The state of all the devices in the group can be carried in the interaction protocol, the fact that the No. 2 device has a fault and is separated from the organization is displayed, and then the subsequently accessed device can set the number of the device to be No. 2 according to the monitored information. The situation that only one terminal node is used as a relay node is avoided when the field application environment is arranged. At least 2 devices are guaranteed to listen to the information within the effective range of each device transmitting the information. Meanwhile, when a new terminal node is accessed, the new terminal node must be accessed only after all members in the group complete normal interaction, and disorder of time sequence and label sequence is avoided. Every equipment of a terminal node all has the light suggestion, when equipment received with the group member quantity nonconformity of oneself record, will instruct through the flashing light, wait to oneself broadcast and just will flash the light and extinguish, like this when all lights in the group are all unlighted, represent the synchronous completion of information in the group.
All terminal nodes carry the labels and states of all devices within the receiving range of the terminal nodes in the broadcast information, and receive the broadcast information of nearby devices to update the states in real time, so as to form data updating transmission among regional blocks.
Fig. 11 shows a device networking service transmission process, which is a network access schematic of embodiment 3. The network adding equipment is newly added equipment, the monitoring equipment is in a receiving state, and the response is to reply the message after receiving the data.
Referring to a multi-hop network topology, part of nodes (middle terminal nodes) in a local area network are used as relay nodes, access nodes with long distances are effectively connected to complete reliable communication transmission, as shown in fig. 12, a zigzag network of N terminal nodes is formed, and adjacent terminal nodes transmit data.
Other communication methods are the same as in embodiment 2.
Example 9
A wireless networking communication method in a peer-to-peer mode adopts a standard tree-shaped network topology structure, a sensor, a sink node and an access node are connected through an uplink and a downlink of a given channel, and hierarchical mode management and layer-by-layer transmission are adopted, as shown in figure 13. And each local area network is internally provided with a sink node, the sink node is connected with a terminal node in the local area network, and the sink node is connected with an access node. When detecting that the broadcast information of the terminal node is not received in three periods, the sink node judges that the terminal node is offline equipment, and the sink node informs the broadcast information to the access node.
The access node is equivalent to a wireless gateway, n sink nodes are configured below the access node, m detectors are configured below each sink node, and when alarm information appears on one detector and is uploaded to the gateway, the gateway uniformly issues the configuration. The alarm information is transmitted to the sink node firstly, and the sink node uploads the information to the access node after collecting the information. After receiving the detector alarm information, the gateway device may respond to the sink node or issue an instruction configuration, and the sink node forwards the received instruction configuration to the sensor.
Meanwhile, when a new device is accessed to the network, a certain sink node can be applied to be added through configuring protocol parameters, and the sink node reports the access node. The configuration protocol parameters, namely the communication parameter setting, can be configured as a certain sink node, can be configured in an infrared or handheld instrument or an upper computer and the like, and can also be directly written into the same parameters in a program. When a device is disconnected or fails, the sink node judges that the device is disconnected when detecting that the information of the disconnected device is not received in 3 polling periods, and informs the access node of a data result. The sink node periodically initiates broadcast data to check information of a sensor below, the sensor responds similarly, if one sensor device does not respond, the sensor device records the information and does not receive the information for three times continuously, the sensor device is considered to be disconnected or failed, and the sink node uploads the information to the access node.
The other methods were the same as in example 8.
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 (10)

1. A wireless networking communication method of peer-to-peer mode is characterized in that n numbered terminal nodes in a local area network periodically broadcast and monitor shared information; when a new terminal node accesses a local area network, receiving shared information broadcasted by the labeled terminal node in the local area network; the new terminal node marks itself as n +1 according to the shared information, and according to the signal intensity of the received shared information, the terminal node with larger signal intensity is markediIn response to the broadcast information, the terminal nodeiUpdating and broadcasting the shared information, and synchronously updating the broadcasted shared information by other terminal nodes, wherein,i∈[1,n]any natural number of (1).
2. The method of claim 1, wherein the terminal node is a receiver and a repeater, and functions as a relay node; the terminal node transmits shared information including device states of itself and the other terminal nodes.
3. The peer-to-peer mode wireless networking communication method according to claim 2, wherein the communication failure of the terminal node is detected through a label detection mechanism, and a failure information broadcast is triggered to perform an audible and visual alarm.
4. The method according to claim 3, wherein the label detection mechanism is that if the terminal node labeled i-1 does not receive the broadcast information of the terminal node labeled i for three consecutive polling periods and the terminal node labeled i +1 does not receive the broadcast information of the terminal node labeled i for three consecutive polling periods, the terminal node labeled i is a communication failure or a departure from the local area network.
5. The method according to any of claims 1-4, wherein the period T of the terminal node periodic broadcast consists of a transmission time, a listening time and a margin time; and the information is periodically shared among the n numbered terminal nodes, and the broadcast time is calculated from the latest received shared information.
6. The method according to claim 5, wherein the terminal node calculates the waiting time N x T according to the difference N between its label and the label of the received terminal node sharing information.
7. The method according to any of claims 1-4 and 6, wherein when n is greater than or equal to 2, the terminal node labeled n +1 only receives the labeled n +1iThe shared information broadcasted by the terminal node is marked withiThe terminal node of (1) broadcasts in the next period, the terminal node with the label of n +1 initiates a response, and the label is at this timeiThe terminal node knows that the terminal node with the label n +1 is accessed, and updates the shared information during the next period of broadcasting; if the terminal node with the label n +1 receives a plurality of pieces of broadcast information, selecting the label with stronger signal strength in the broadcast information asiIs marked withiThe terminal node of (2) broadcasts in the next period, and the label isThe terminal node of n +1 initiates a response, and the label is at this timeiThe terminal node(s) knows that the terminal node(s) with the label n +1 is (are) accessed, the shared information is updated during the next period of broadcasting, and the other terminal nodes synchronously update the data frame information.
8. The method according to claim 7, wherein the terminal node in the local area network is connected to a concentrator, and the concentrator obtains group information in the local area network and uploads the group information to the cloud platform.
9. The method of claim 8, wherein a sink node is located in each LAN, the sink node is connected to the terminal node in the LAN, and the sink node is connected to the access node.
10. The method according to claim 9, wherein when the sink node detects that the broadcast information of the terminal node is not received in three periods, it determines that the terminal node is a dropped device, and the sink node informs the broadcast information to the access node.
CN202210710766.3A 2022-06-22 2022-06-22 Wireless networking communication method in peer-to-peer mode Pending CN115134951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210710766.3A CN115134951A (en) 2022-06-22 2022-06-22 Wireless networking communication method in peer-to-peer mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210710766.3A CN115134951A (en) 2022-06-22 2022-06-22 Wireless networking communication method in peer-to-peer mode

Publications (1)

Publication Number Publication Date
CN115134951A true CN115134951A (en) 2022-09-30

Family

ID=83380472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210710766.3A Pending CN115134951A (en) 2022-06-22 2022-06-22 Wireless networking communication method in peer-to-peer mode

Country Status (1)

Country Link
CN (1) CN115134951A (en)

Similar Documents

Publication Publication Date Title
JP7045991B2 (en) Electronic device management method and device using wireless communication
US8275313B1 (en) Long range, low power, mesh networking without concurrent timing
US8274928B2 (en) Wireless mesh network
US10952143B2 (en) Sleeping and wake-up methods and apparatuses of master-slave network, and power saving system of master-slave network
US9763119B2 (en) Method for handling inconsistencies in a home wireless system
US7801064B2 (en) Wireless device and network system
US10588173B2 (en) Wi-Fi mesh fire detection system
CN101395868A (en) Clear channel reporting and assisting orphaned nodes in a wireless network
KR20040097368A (en) Methods and apparatus for providing ad-hoc networked sensors and protocols
CN111866897B (en) Networking method of intelligent household system and intelligent household system
CN106131799A (en) Enhancement mode broadcast transmission in non-slot channel hopping M AC
US20060045055A1 (en) Method and apparatus for deploying an ad-hoc network
US8228847B2 (en) Multihop radio hazard reporting system
US10419953B2 (en) Self-healing lighting network
US10009921B2 (en) Asynchronous ubiquitous protocol
CN115134951A (en) Wireless networking communication method in peer-to-peer mode
US11350339B1 (en) Transmitting announcement messages between network devices and building network connectivity graphs
CN102523147B (en) Communication method among intelligent fire-fighting wireless nodes
Khan et al. EA-RDSP: Energy Aware Rapidly Deployable Wireless Ad hoc System for Post Disaster Management.
KR102294197B1 (en) Auto-Configuration Method of IoT Control Network and System Thereof
EP2976992B1 (en) Nurse call system having local operation mode
EP2755436A1 (en) A method and a device for communicating in a home wireless system
CN117675871A (en) IPv6 network-based multi-channel water conservancy intelligent interaction front-end networking method and system based on Beidou No. three
CN117615339A (en) Multi-network fusion device suitable for emergency rescue scene
WO2023011917A1 (en) A wireless control system comprising a dual-mode node

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