[go: up one dir, main page]

CN107018567B - Method for node concurrent data transmission in wireless sensor network - Google Patents

Method for node concurrent data transmission in wireless sensor network Download PDF

Info

Publication number
CN107018567B
CN107018567B CN201710204699.7A CN201710204699A CN107018567B CN 107018567 B CN107018567 B CN 107018567B CN 201710204699 A CN201710204699 A CN 201710204699A CN 107018567 B CN107018567 B CN 107018567B
Authority
CN
China
Prior art keywords
node
channel
packet
sending
time
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
Application number
CN201710204699.7A
Other languages
Chinese (zh)
Other versions
CN107018567A (en
Inventor
沈中
杨露
李静晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Atuda Industrial Robot Co ltd
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201710204699.7A priority Critical patent/CN107018567B/en
Publication of CN107018567A publication Critical patent/CN107018567A/en
Application granted granted Critical
Publication of CN107018567B publication Critical patent/CN107018567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • H04W74/0816Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明公开了一种无线传感器网路中节点并发传输数据的方法,包括:(1)、发送节点将需要传输的分组加载到发送缓存,并关闭节点地址识别功能,转向步骤(2);(2)、发送节点持续侦听信道一段时间,并对侦听信道的结果进行分析;(3)、根据步骤(2)侦听信道的结果判断信道中是否只有一个发送节点,若存在不止一个发送节点,则随机退避一段时间转向步骤(2);否则,将该发送节点记为同步节点,转向步骤(4);(4)、在同步节点发送的分组在本节点处产生的SFD下降沿中断处调用发送选通命令开始发送分组。本发明利用硬件中断同步节点发送分组的时间,不但不会给网络带来额外的同步开销,还提高了信道利用率,进而提高了网络吞吐量。

Figure 201710204699

The invention discloses a method for concurrently transmitting data by nodes in a wireless sensor network, comprising: (1), a sending node loads a packet to be transmitted into a sending buffer, and closes the node address identification function, and turns to step (2); ( 2), the sending node continues to listen to the channel for a period of time, and analyzes the result of listening to the channel; (3), according to the result of step (2) listening to the channel, determine whether there is only one sending node in the channel, if there is more than one sending node node, then randomly back off for a period of time and turn to step (2); otherwise, record the sending node as a synchronization node, and turn to step (4); (4), the falling edge of the SFD generated at this node by the packet sent by the synchronization node is interrupted The transmit strobe command is invoked at the location to start transmitting packets. The present invention utilizes the hardware to interrupt the time when the synchronization node sends packets, not only does not bring additional synchronization overhead to the network, but also improves the channel utilization rate, thereby improving the network throughput.

Figure 201710204699

Description

一种无线传感器网路中节点并发传输数据的方法A method for nodes to transmit data concurrently in wireless sensor network

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种无线传感器网路中节点并发传输数据的方法。The present invention relates to the field of communication technologies, in particular to a method for concurrently transmitting data by nodes in a wireless sensor network.

背景技术Background technique

无线传感器网络由分布于一定区域内用于监测和收集有价值信息的无线传感器节点构成。通常情况下,数据经过节点间协作形成的无线网络最终传输至汇聚节点。由于无线传输基于共享信道,故节点什么时候发送分组取决于使用的介质访问控制协议,即MAC协议。目前的MAC协议主要有两类:载波侦听多路访问控制协议CSMA和时分多址协议TDMA。CSMA是一种基于竞争的协议,一个节点在发送前首先侦听信道,若信道空闲则发送;若信道忙,则随机退避一段时间后在侦听信道。CSMA协议的优点是协议简单,但是吞吐量低。TDMA协议将时间分为时隙,通过分配每个节点使用的时隙,避免冲突的发生。TDMA协议的优点是可以获得较高的吞吐量。但是TDMA要求全网同步,因此可能会产生很大的调度开销。Wireless sensor network consists of wireless sensor nodes distributed in a certain area for monitoring and collecting valuable information. Usually, data is finally transmitted to the sink node through the wireless network formed by the cooperation between nodes. Since wireless transmission is based on a shared channel, when a node sends a packet depends on the medium access control protocol used, namely the MAC protocol. There are two main types of MAC protocols: carrier sense multiple access control protocol CSMA and time division multiple access protocol TDMA. CSMA is a contention-based protocol. A node first listens to the channel before sending, and sends if the channel is idle; if the channel is busy, it listens to the channel after random backoff for a period of time. The advantage of the CSMA protocol is that the protocol is simple, but the throughput is low. The TDMA protocol divides time into time slots, and avoids collisions by assigning the time slots used by each node. The advantage of the TDMA protocol is that higher throughput can be obtained. However, TDMA requires synchronization of the entire network, so it may generate a large scheduling overhead.

为了增加网络的吞吐量、降低网络传输延迟,目前设计的大多数并发传输机制往往使多个发送节点同时接入信道,即多个发送节点并发传输数据。但现有并发传输协议在判断节点是否接入信道时,仅仅考虑了传输功率的影响,即要求节点发送的分组在接收节点处的信号干扰噪声比SINR满足一定的要求。实际上,传感器节点通常使用的芯片,如CC2420,在接收分组时,首先会经过同步过程,一旦成功同步某个分组,将不会同步其他分组,即使后到分组的信号强度特别大。因此,设计并发传输方法时,还需要考虑如何控制节点发送分组的时间。In order to increase network throughput and reduce network transmission delay, most concurrent transmission mechanisms currently designed tend to allow multiple sending nodes to access the channel at the same time, that is, multiple sending nodes transmit data concurrently. However, the existing concurrent transmission protocol only considers the influence of transmission power when judging whether a node accesses the channel, that is, the SINR of the packet sent by the node at the receiving node is required to meet certain requirements. In fact, the chip commonly used by sensor nodes, such as CC2420, will first go through the synchronization process when receiving a packet. Once a certain packet is successfully synchronized, other packets will not be synchronized, even if the signal strength of the latter packet is particularly large. Therefore, when designing a concurrent transmission method, it is also necessary to consider how to control the time when nodes send packets.

发明内容SUMMARY OF THE INVENTION

鉴于现有技术的不足,本发明所要解决的技术问题是在考虑分组传输时间的基础上,结合硬件中断,提供一种无线传感器网路中节点并发传输数据的方法,可在网络节点并发传输的条件下提高网络的吞吐量。In view of the deficiencies of the prior art, the technical problem to be solved by the present invention is to provide a method for concurrently transmitting data between nodes in a wireless sensor network by taking into account the packet transmission time and combining hardware interruptions. improve the throughput of the network under the conditions.

为实现上述目的,本发明提供了一种无线传感器网路中节点并发传输数据的方法,其特征在于,包括以下步骤:In order to achieve the above object, the present invention provides a method for concurrently transmitting data by nodes in a wireless sensor network, which is characterized by comprising the following steps:

(1)发送节点将需要传输的分组加载到发送缓存中,并关闭地址识别功能,转向步骤(2);(1) The sending node loads the packet that needs to be transmitted into the sending buffer, and closes the address identification function, and turns to step (2);

(2)发送节点持续侦听信道一段时间,并对侦听信道的结果进行分析。若侦听到的结果显示信道空闲,则开始向其接收节点连续发送分组;若信道忙且没有收到分组,则随机退避一段时间后重新侦听信道;否则转向步骤(3);(2) The sending node continues to listen to the channel for a period of time, and analyzes the result of listening to the channel. If the detected result shows that the channel is idle, it starts to continuously send packets to its receiving node; if the channel is busy and no packets are received, the channel is randomly backed off for a period of time and then listens to the channel again; otherwise, turn to step (3);

(3)根据步骤(2)侦听信道的结果判断信道中是否只有一个发送节点,若存在不止一个发送节点,则随机退避一段时间转向步骤(2);否则,将该发送节点记为同步节点,转向步骤(4);(3) Judging whether there is only one sending node in the channel according to the result of listening to the channel in step (2), if there is more than one sending node, then randomly back off for a period of time and turn to step (2); otherwise, record the sending node as a synchronization node , turn to step (4);

(4)在同步节点发送的分组在本节点处产生的SFD下降沿中断处调用选通命令开始发送分组。(4) The strobe command is invoked at the SFD falling edge interrupt generated by the packet sent by the synchronization node to start sending the packet.

上述的一种无线传感器网路中节点并发传输数据的方法,其特征在于,所述步骤(2)具体为:The above-mentioned method for concurrently transmitting data by nodes in a wireless sensor network is characterized in that the step (2) is specifically:

(21)节点周期性的检测CCA引脚,判断信道是否空闲;(21) The node periodically detects the CCA pin to determine whether the channel is idle;

(22)节点记录下侦听信道时间内收到其它节点发送的分组,并从中提取出该分组的源节点号;其中步骤(21)(22)同时进行;侦听信道结束后转向步骤(23);(22) The node records the packets sent by other nodes within the listening channel, and extracts the source node number of the packet; wherein steps (21) and (22) are performed simultaneously; after the listening channel ends, turn to step (23) );

(23)若在检测CCA引脚期间,至少存在一次信道忙,且没有收到任何分组,则结果为信道忙,随机退避一段时间后重新侦听信道;否则转向步骤(3)。(23) If the channel is busy at least once during the detection of the CCA pin, and no packet is received, the result is that the channel is busy, and the channel is re-listened after a random backoff for a period of time; otherwise, turn to step (3).

上述的一种无线传感器网路中节点并发传输数据的方法,其特征在于,所述步骤(4)具体为:The above-mentioned method for concurrently transmitting data by nodes in a wireless sensor network is characterized in that the step (4) is specifically:

(41)设定接收缓存阈值为5,节点继续接收一个分组,在该分组产生的接收缓存硬件处读出正在接收分组的源地址信息;(41) setting the receiving buffer threshold value to be 5, the node continues to receive a packet, and reads out the source address information of the receiving packet at the receiving buffer hardware generated by this packet;

(42)判断(41)中的源地址信息是否与步骤(3)记录的同步节点号相等,若相等,在该分组在本节点处产生的SFD下降沿中断处调用选通命令开始发送分组,之后继续以最快的速度向其接收节点发送分组。(42) Judging whether the source address information in (41) is equal to the synchronization node number recorded in step (3), if it is equal, call the strobe command to start sending the packet at the SFD falling edge interrupt generated by the packet at this node, Then continue to send packets to its receiving node at the fastest speed.

上述的一种无线传感器网路中节点并发传输数据的方法,其特征在于:所述发送节点和接收节点为但不限于CC2420芯片。The above-mentioned method for concurrently transmitting data by nodes in a wireless sensor network is characterized in that: the sending node and the receiving node are but not limited to CC2420 chips.

本发明的有益效果是:The beneficial effects of the present invention are:

1、本发明在信道忙时仍传输分组,提高了信道利用率和网络的吞吐量。它一方面保证不会对已有传输链路造成影响,另一方面保证了新的接收节点可以正确接收其发送节点发送的分组。1. The present invention still transmits packets when the channel is busy, which improves the channel utilization rate and the throughput of the network. On the one hand, it ensures that the existing transmission link will not be affected, and on the other hand, it ensures that the new receiving node can correctly receive the packets sent by its sending node.

2、本发明利用硬件中断来同步节点发送分组的时间。这种同步方式不但不会给网络带来额外的同步开销,还提高了信道的利用率,提高了网络的吞吐量。2. The present invention utilizes hardware interrupts to synchronize the time when nodes send packets. This synchronization method not only does not bring additional synchronization overhead to the network, but also improves the utilization rate of the channel and the throughput of the network.

以下将结合附图对本发明的构思、具体结构及产生的技术效果作进一步说明,以充分地了解本发明的目的、特征和效果。The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings, so as to fully understand the purpose, characteristics and effects of the present invention.

附图说明Description of drawings

图1为本发明的实现流程图。FIG. 1 is a flow chart of the implementation of the present invention.

图2为IEEE802.14.5的标准帧格式示意图。FIG. 2 is a schematic diagram of a standard frame format of IEEE802.14.5.

图3为节点收发分组时SFD引脚电平变化示意图。Figure 3 is a schematic diagram of the level change of the SFD pin when the node sends and receives packets.

图4为节点发送分组流程图Figure 4 is a flow chart of the node sending packets

图5为4个节点典型的两条相互干扰并发传输链路网络示意图。FIG. 5 is a schematic diagram of a typical network of two mutually interfering concurrent transmission links with four nodes.

图6为实例场景下的实验结果图。FIG. 6 is a graph of experimental results in an example scenario.

具体实施方式Detailed ways

下面结合附图和实施例对本发明详细说明。The present invention will be described in detail below with reference to the accompanying drawings and embodiments.

如图1所示,一种无线传感器网路中节点并发传输数据的方法,其特征在于,包括以下步骤:As shown in Figure 1, a method for concurrently transmitting data by nodes in a wireless sensor network is characterized in that it includes the following steps:

(1)发送节点将需要传输的分组加载到发送缓存中,并关闭地址识别功能,转向步骤(2);(1) The sending node loads the packet that needs to be transmitted into the sending buffer, and closes the address identification function, and turns to step (2);

(2)发送节点持续侦听信道一段时间,并对侦听信道的结果进行分析。若侦听到的结果显示信道空闲,则开始向其接收节点连续发送分组;若信道忙且没有收到分组,则随机退避一段时间后重新侦听信道;否则转向步骤(3);(2) The sending node continues to listen to the channel for a period of time, and analyzes the result of listening to the channel. If the detected result shows that the channel is idle, it starts to continuously send packets to its receiving node; if the channel is busy and no packets are received, the channel is randomly backed off for a period of time and then listens to the channel again; otherwise, turn to step (3);

(3)根据步骤(2)侦听信道的结果判断信道中是否只有一个发送节点,若存在不止一个发送节点,则随机退避一段时间转向步骤(2);否则,将该发送节点记为同步节点,转向步骤(4);(3) Judging whether there is only one sending node in the channel according to the result of listening to the channel in step (2), if there is more than one sending node, then randomly back off for a period of time and turn to step (2); otherwise, record the sending node as a synchronization node , turn to step (4);

(4)在同步节点的发送分组在本节点处产生的SFD下降沿中断处调用选通命令开始发送分组。(4) The strobe command is called to start sending packets at the SFD falling edge interrupt generated by the sending packet of the synchronization node at the local node.

本实施例中,所述步骤(2)具体为:In this embodiment, the step (2) is specifically:

(21)节点周期性的检测CCA引脚,判断信道是否空闲;(21) The node periodically detects the CCA pin to determine whether the channel is idle;

(22)节点记录下侦听信道这段时间内收到的其它节点发送的分组,并从中提取出该分组的源节点号;其中步骤(21)(22)同时进行;侦听信道结束后转向步骤(23);(22) The node records the packets sent by other nodes that are received during the listening channel, and extracts the source node number of the packet; wherein steps (21) and (22) are performed simultaneously; after the listening channel ends, turn to step (23);

(23)若在检测CCA引脚期间,至少存在一次检测结果显示信道忙,且没有收到任何分组,则结果为信道忙,随机退避一段时间后重新侦听信道;否则转向步骤(3)。(23) If during the detection of the CCA pin, there is at least one detection result showing that the channel is busy and no packet is received, then the result is that the channel is busy, and the channel is re-listened after a random backoff for a period of time; otherwise, turn to step (3).

本实施例中,所述步骤(4)具体为:In this embodiment, the step (4) is specifically:

(41)设定接收缓存阈值为5,节点继续接收一个分组,在该分组产生的接收缓存硬件中断FIFOP处读出正在接收分组的源地址信息;(41) setting the receiving buffer threshold to be 5, the node continues to receive a packet, and reads out the source address information that is receiving the packet at the receiving buffer hardware interrupt FIFOP generated by this packet;

(42)判断(41)中的源地址信息是否与步骤(3)记录的同步节点号相等,若相等,在该分组在本节点处产生的SFD下降沿中断处调用选通命令开始发送分组,之后继续以最快的速度向其接收节点发送分组。(42) Judging whether the source address information in (41) is equal to the synchronization node number recorded in step (3), if it is equal, call the strobe command to start sending the packet at the SFD falling edge interrupt generated by the packet at this node, Then continue to send packets to its receiving node at the fastest speed.

本实施例中,所述发送节点和接收节点为但不限于CC2420芯片。In this embodiment, the sending node and the receiving node are but not limited to CC2420 chips.

以下实施实例用于说明本发明,但不用来限制本发明的适用范围。The following examples are used to illustrate the present invention, but are not intended to limit the scope of application of the present invention.

本发明适用于无线传感器网络。传感器节点在传输数据时多采用单播的形式,即每个发送节点对应一个接收节点。传感器节点有两种地址识别的功能,即软件地址识别和硬件地址识别。当且仅当分组硬件和软件地址识别均通过时,才会被目的节点正确接收。节点发送的分组均遵从IEEE802.15.4的标准帧格式。该标准帧格示意图参照图2,其包含同步头SFD、物理层协议头、MAC协议头、MAC协议负载、MAC协议尾五个部分,其中,同步头又包含前导序列和帧其实序列;物理层协议头包含帧长度;MAC协议头包含帧控制域、数据序列号和地址信息;MAC协议负载包含内容为帧负载;MAC协议尾包含内容为帧检测序列。传感器节点在接收分组时,首先会经过分组同步的过程,一旦成功同步上某个分组,则不会再同步任何其他分组,直至同步结束。The present invention is suitable for wireless sensor networks. Sensor nodes mostly use unicast form when transmitting data, that is, each sending node corresponds to one receiving node. The sensor node has two functions of address identification, namely software address identification and hardware address identification. If and only if the hardware and software address identification of the packet is passed, it will be correctly received by the destination node. The packets sent by the node comply with the standard frame format of IEEE802.15.4. The schematic diagram of the standard frame grid refers to FIG. 2, which includes five parts: synchronization header SFD, physical layer protocol header, MAC protocol header, MAC protocol load, and MAC protocol tail, wherein the synchronization header also includes a preamble sequence and a frame sequence. The protocol header contains the frame length; the MAC protocol header contains the frame control field, data sequence number and address information; the MAC protocol payload contains the frame payload; the MAC protocol tail contains the frame detection sequence. When a sensor node receives a packet, it will first go through the process of packet synchronization. Once a packet is successfully synchronized, it will not synchronize any other packets until the synchronization ends.

SFD(Start of Frame Delimiter)是IEEE802.15.4帧开始界定符。如图3所示,当传感器节点要收发分组的SFD域已收发,SFD信号由低变高,且持续到该分组收发完毕。SFD硬件捕获是硬件对SFD信号的捕获。当SFD的电平发生变化时,上层程序中的中断函数会被触发,此时可以在上层函数中得到SFD电平变化瞬间的时间戳。因为硬件捕获中断记录的时间戳不涉及软件捕获记录时间戳的时间,所以SFD硬件捕获排除了通信过程的传输延迟和处理延迟。如果传播延迟可以忽略,则可以认为收发节点的SFD引脚电平变化的时间戳是在同一时刻。即图3中,发送节点和接收节点的SFD引脚电平同一时刻跳变。SFD (Start of Frame Delimiter) is the IEEE802.15.4 frame start delimiter. As shown in FIG. 3 , when the SFD field of the packet to be sent and received by the sensor node has been sent and received, the SFD signal changes from low to high, and continues until the packet is sent and received. SFD hardware capture is the capture of SFD signals by hardware. When the level of the SFD changes, the interrupt function in the upper-level program will be triggered, and at this time, the time stamp of the instant of the level change of the SFD can be obtained in the upper-level function. Because the time stamp of the hardware capture interrupt record does not relate to the time the software capture records the time stamp, the SFD hardware capture excludes the transmission delay and processing delay of the communication process. If the propagation delay is negligible, it can be considered that the time stamps of the level changes of the SFD pins of the transceiver nodes are at the same time. That is, in Figure 3, the SFD pin levels of the sending node and the receiving node jump at the same time.

网络中每个传感器节点均有两个用于发送和接收数据的缓存区,分别为发送缓存和接收缓存。如图4所示,当传感器节点需要发送分组时,首先需将该分组加载到发送缓存中,之后调用发送选通命令将其发送出去。通过实验测量发现:将分组加载到发送缓存所需的时间大于分组从发送缓存发送到信道所需的时间。因此,传感器节点发送一个分组实际所需的时间往往要大于该分组传输时延的两倍。Each sensor node in the network has two buffer areas for sending and receiving data, namely sending buffer and receiving buffer. As shown in Figure 4, when a sensor node needs to send a packet, it first needs to load the packet into the sending buffer, and then call the send gating command to send it out. Through experimental measurement, it is found that the time required to load the packet into the sending buffer is greater than the time required to send the packet from the sending buffer to the channel. Therefore, the actual time required by the sensor node to send a packet is often greater than twice the transmission delay of the packet.

实施例:Example:

图5是一个典型干扰链路并发传输的网络。如图5所示,两条相互干扰的链路l1=S1,R1、l2=S2,R2。其中,节点S1S2需要分别向节点R1R2连续发送50个分组。节点S1首先需要发送分组,100毫秒之后,节点S2需要发送分组。Figure 5 is a network of typical interfering links transmitting concurrently. As shown in FIG. 5 , two mutually interfering links l 1 =S 1 , R 1 , l 2 =S 2 , R 2 . Wherein, the nodes S 1 S 2 need to send 50 consecutive packets to the nodes R 1 R 2 respectively. Node S1 first needs to send a packet, and after 100 milliseconds, node S2 needs to send a packet.

下面根据图1对本发明的具体步骤进行说明。The specific steps of the present invention will be described below according to FIG. 1 .

节点S1首先关闭节点地址识别功能,同时开始侦听信道50毫秒后,并周期性的检测CCA。侦听信道结束后,由于没有节点在传输分组,得到信道空闲的结果,节点S1立即开始以最快的速度向节点R1连续发送分组。50毫秒后,同节点S1,节点S2首先关闭节点地址识别功能,开始侦听信道50毫秒后。在节点S2侦听信道时间内,其接收到节点S1发送的分组。节点S2侦听信道结束后,得到至少一半的检测信道结果显示为信道空闲,且节点S2只收到了节点S1发送的分组。因此当前信道,只有节点S1正在发送分组。节点S2将接收所需FIFOP的阈值设为5,同时令节点S1设为同步节点。之后,节点S2会收到一个分组,并在该分组引起的FIFOP中断处从接收缓存中读出该分组的源节点号,可知,源节点号为S1。因此在该分组产生的SFD下降沿中断处调用发送选通命令发送分组。Node S1 first turns off the node address identification function, starts to listen to the channel 50 milliseconds later, and periodically detects CCA. After listening to the channel, since no node is transmitting packets, the result of the channel being idle is obtained, and node S 1 immediately starts to continuously send packets to node R 1 at the fastest speed. After 50 milliseconds, the same node S 1 , node S 2 first turns off the node address identification function, and starts to listen to the channel 50 milliseconds later. During the time that the node S2 listens to the channel, it receives the packet sent by the node S1 . After the node S2 listens to the channel, at least half of the detected channel results show that the channel is idle, and the node S2 only receives the packets sent by the node S1. Therefore, on the current channel, only node S1 is sending packets. Node S2 sets the threshold for receiving the required FIFOP to 5 , while making node S1 a sync node. Afterwards, the node S2 will receive a packet, and read the source node number of the packet from the receiving buffer at the FIFOP interrupt caused by the packet. It can be known that the source node number is S1 . Therefore, the send strobe command is called to send the packet at the SFD falling edge interrupt generated by the packet.

图6是图5场景下的实验结果,其中横坐标表示发送节点发送分组的长度,纵坐标是系统的吞吐量。从图6可以看出,使用本发明得到的两条链路并发传输情况下的系统吞吐量为无干扰情况下单条链路系统吞吐量的两倍。Figure 6 is the experimental result in the scenario of Figure 5, where the abscissa represents the length of the packet sent by the sending node, and the ordinate is the throughput of the system. It can be seen from FIG. 6 that the system throughput obtained by using the present invention in the case of concurrent transmission of two links is twice the system throughput of a single link in the case of no interference.

以上详细描述了本发明的较佳具体实施例。应当理解,本领域的普通技术人员无需创造性劳动就可以根据本发明的构思做出诸多修改和变化。因此,凡本技术领域中技术人员依本发明的构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在由权利要求书所确定的保护范围内。The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and changes according to the concept of the present invention without creative efforts. Therefore, all technical solutions that can be obtained by those skilled in the art through logical analysis, reasoning or limited experiments on the basis of the prior art according to the concept of the present invention shall fall within the protection scope determined by the claims.

Claims (2)

1. A method for nodes to transmit data concurrently in a wireless sensor network is characterized by comprising the following steps:
(1) the sending node loads the packet to be transmitted into a sending cache, closes the node address identification function and turns to the step (2);
(2) the sending node continuously monitors the channel for a period of time and analyzes the result of the channel monitoring; if the result of monitoring the channel shows that the channel is idle, starting to send the packet; if the channel is busy and no packet is received, randomly back off for a period of time and then monitoring the channel again; otherwise, turning to the step (3);
(3) judging whether the channel has only one sending node according to the result of the channel interception in the step (2), and if more than one sending node exists, randomly retreating for a period of time and turning to the step (2); otherwise, marking the sending node as a synchronous node, and turning to the step (4);
(4) calling a transmission gating command at the SFD falling edge interruption generated at the node by the synchronous node transmission packet to start transmitting the packet;
the step (2) is specifically as follows:
(21) the node periodically detects a CCA pin and judges whether a channel is in an idle state;
(22) the node records a packet sent by other nodes in the channel monitoring time, and extracts a source node number of the packet; wherein the step (21) and the step (22) are carried out simultaneously; turning to the step (23) after the channel monitoring is finished;
(23) if the CCA pin is detected at least once, the detection result is that the channel is busy and the packet is not received, the result is that the channel is busy, and the channel is monitored again after the CCA pin is randomly retreated for a period of time; otherwise, turning to the step (3);
the step (4) is specifically as follows:
(41) setting a receiving cache threshold value to be 5, continuously receiving a packet by a node, and reading source address information of the packet being received at a FIFOP (hardware interrupt for receiving cache) caused by the packet;
(42) and (4) judging whether the obtained source address information is equal to the number of the synchronous node recorded in the step (3), if so, calling a transmission gating command at the SFD (Small form-factor pluggable) falling edge interruption position caused by the packet at the node to start transmitting the packet, and then continuously transmitting the packet to the receiving node at the fastest speed.
2. The method of claim 1, wherein the node concurrently transmits data in the wireless sensor network, and the method further comprises: the sending node and the receiving node are, but not limited to, CC2420 chips.
CN201710204699.7A 2017-03-30 2017-03-30 Method for node concurrent data transmission in wireless sensor network Active CN107018567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710204699.7A CN107018567B (en) 2017-03-30 2017-03-30 Method for node concurrent data transmission in wireless sensor network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710204699.7A CN107018567B (en) 2017-03-30 2017-03-30 Method for node concurrent data transmission in wireless sensor network

Publications (2)

Publication Number Publication Date
CN107018567A CN107018567A (en) 2017-08-04
CN107018567B true CN107018567B (en) 2020-10-16

Family

ID=59446742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710204699.7A Active CN107018567B (en) 2017-03-30 2017-03-30 Method for node concurrent data transmission in wireless sensor network

Country Status (1)

Country Link
CN (1) CN107018567B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114614910B (en) * 2022-03-09 2024-05-28 江苏斯菲尔电气股份有限公司 Pulse signal low-power-consumption wireless transmission system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7065376B2 (en) * 2003-03-20 2006-06-20 Microsoft Corporation Multi-radio unification protocol
CN102387602A (en) * 2011-11-23 2012-03-21 南京航空航天大学 Efficient wireless ad hoc network concurrent transmission method for avoiding conflict
CN102685777A (en) * 2012-04-23 2012-09-19 西安电子科技大学 Data concurrent transmission system and method based on jamming margin
CN102695256A (en) * 2012-05-29 2012-09-26 无锡赛睿科技有限公司 Parallel transmission method and system thereof for wireless sensor network
CN104507119A (en) * 2014-11-26 2015-04-08 无锡儒安科技有限公司 Concurrent transmission based wireless sensor network data collection method
CN104735698A (en) * 2015-03-09 2015-06-24 西安电子科技大学 Data transmission method based on capture effect in wireless sensor network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7065376B2 (en) * 2003-03-20 2006-06-20 Microsoft Corporation Multi-radio unification protocol
CN102387602A (en) * 2011-11-23 2012-03-21 南京航空航天大学 Efficient wireless ad hoc network concurrent transmission method for avoiding conflict
CN102685777A (en) * 2012-04-23 2012-09-19 西安电子科技大学 Data concurrent transmission system and method based on jamming margin
CN102695256A (en) * 2012-05-29 2012-09-26 无锡赛睿科技有限公司 Parallel transmission method and system thereof for wireless sensor network
CN104507119A (en) * 2014-11-26 2015-04-08 无锡儒安科技有限公司 Concurrent transmission based wireless sensor network data collection method
CN104735698A (en) * 2015-03-09 2015-06-24 西安电子科技大学 Data transmission method based on capture effect in wireless sensor network

Also Published As

Publication number Publication date
CN107018567A (en) 2017-08-04

Similar Documents

Publication Publication Date Title
CN102612091B (en) Media access control method based on spatial fairness in underwater sensor network
KR20050070985A (en) Wireless communication method adapting priority for transmitting packet in wpan
WO2022040847A1 (en) Communication data processing method and apparatus
CN113315668B (en) Method, node device and storage medium for adaptively adjusting network configuration
CN109863807B (en) Channel detection method and device
CN114095901A (en) Communication data processing method and device
JP4790289B2 (en) Method, apparatus, and system for ensuring packet delivery time in an asynchronous network
KR20000027713A (en) Apparatus for preventing collision of a high speed ethernet
CN107018567B (en) Method for node concurrent data transmission in wireless sensor network
CN104735698B (en) Data transmission method based on capture effect in wireless sensor network
WO2021057979A1 (en) Communication link determining method and apparatus, and device and storage medium
CN104320411A (en) Virtual carrier sense networking communication method based on half-duplex channel
Krohn et al. TOMAC–real-time message ordering in wireless sensor networks using the MAC layer
CN112752296B (en) Data transmission method and device and electronic equipment
CN106416414B (en) Method and device for communicating with wireless access point by device
CN108495328B (en) A method for enhancing transmission reliability of wireless local area network under WiFi interference
CN101729345B (en) Message transmitting method and bus controller
JP2006295930A (en) Asynchronous frame transmission method to guarantee the start of superframe in Residential Ethernet
CN110958717A (en) Non-contention random medium access control method and system for centralized wireless local area network
JP2705686B2 (en) Wireless data communication system
US20250125992A1 (en) Reconciliation module and associated method for collision avoidance
US20250125991A1 (en) Reconciliation module and associated method for collision avoidance
CN104052586B (en) Realize the method and device that quick table is synchronous between line card
CN108811113B (en) Method for receiving downlink control channel and user equipment
EP4475616A1 (en) Data transmission method, terminal, and network side device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210512

Address after: Room 22209, unit 2, building 1, 21 Chang'an North Road, Beilin District, Xi'an City, Shaanxi Province, 710000

Patentee after: XI'AN ATUDA INDUSTRIAL ROBOT Co.,Ltd.

Address before: 710071 Xi'an Electronic and Science University, 2 Taibai South Road, Shaanxi, Xi'an

Patentee before: XIDIAN University

TR01 Transfer of patent right