[go: up one dir, main page]

CN103259632B - Based on the continuous reliable assemblage method of radio sensing network data adopting patrilineal line of descent with only one son in each generation model - Google Patents

Based on the continuous reliable assemblage method of radio sensing network data adopting patrilineal line of descent with only one son in each generation model Download PDF

Info

Publication number
CN103259632B
CN103259632B CN201310197735.3A CN201310197735A CN103259632B CN 103259632 B CN103259632 B CN 103259632B CN 201310197735 A CN201310197735 A CN 201310197735A CN 103259632 B CN103259632 B CN 103259632B
Authority
CN
China
Prior art keywords
data
node
data transmission
sensing node
wireless sensing
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.)
Expired - Fee Related
Application number
CN201310197735.3A
Other languages
Chinese (zh)
Other versions
CN103259632A (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.)
SHANGHAI UNIVERSITY
Original Assignee
SHANGHAI 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 SHANGHAI UNIVERSITY filed Critical SHANGHAI UNIVERSITY
Priority to CN201310197735.3A priority Critical patent/CN103259632B/en
Publication of CN103259632A publication Critical patent/CN103259632A/en
Application granted granted Critical
Publication of CN103259632B publication Critical patent/CN103259632B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种基于续采单传模型的无线传感网络数据可靠汇聚方法。本方法包括建立数据传输机制连接、数据传输拥塞控制和数据传输选择性重传三个过程。建立数据传输机制连接发起时,传感器节点向数据汇聚节点提出数据传输请求,在链路建立的过程中“捎带”式的传输数据传输控制信息,减少数据源节点控制信息开销。连接建立完成后,进入数据传输阶段。传感器节点和数据汇聚节点通过NACK分别进行网络拥塞控制,避免传输数据因网络拥塞而引起的大量丢失。当数据传输过程中发生数据丢失或传输错误,传感器节点进行数据的选择性、优先性重传,保证在不过多增加网络负载的情况下,数据的可靠、高效传输。

The invention discloses a reliable aggregation method of wireless sensor network data based on a continuous sampling single pass model. The method includes three processes of establishing data transmission mechanism connection, data transmission congestion control and data transmission selective retransmission. Establish a data transmission mechanism When the connection is initiated, the sensor node submits a data transmission request to the data sink node, and "piggyback" transmission of data transmission control information during the link establishment process reduces the control information overhead of the data source node. After the connection is established, enter the data transmission stage. The sensor nodes and the data aggregation nodes respectively control the network congestion through NACK to avoid a large amount of loss of transmitted data due to network congestion. When data loss or transmission errors occur during data transmission, sensor nodes perform selective and priority retransmission of data to ensure reliable and efficient data transmission without increasing network load too much.

Description

基于续采单传模型的无线传感网络数据可靠汇聚方法Reliable Data Aggregation Method for Wireless Sensor Networks Based on Continuous Collection Single Pass Model

技术领域 technical field

本发明属于数据传输通信技术,具体涉及一种基于续采单传模型的无线传感网络数据可靠汇聚方法。 The invention belongs to the data transmission communication technology, and in particular relates to a reliable aggregation method of wireless sensor network data based on a continuous sampling single transmission model.

背景技术 Background technique

无线传感器网络就是由部署在监测区域内大量的廉价微型传感器节点组成,通过无线通信方式形成的一个多跳自组织的网络系统。由于传感器节点的能量、存储、计算和通信带宽等资源有限,单个节点的功能比较弱。在节点设计过程中,为延长整个网络生存周期,能耗问题成为首要考虑因素。 The wireless sensor network is composed of a large number of cheap micro sensor nodes deployed in the monitoring area, and forms a multi-hop self-organizing network system through wireless communication. Due to the limited resources of sensor nodes such as energy, storage, computing and communication bandwidth, the function of a single node is relatively weak. In the node design process, in order to prolong the life cycle of the entire network, energy consumption becomes the primary consideration.

目前主流的无线传感网络数据传输协议包括RMST(ReliableMulti-SegmentTransport,可靠的多分割数据传输协议)、ESRT(Event-to-SinkReliableTransport,基于事件的数据可靠性传输协议)、PSFQ(Pump-Slowly,Fetch-Quickly,基于缓注入、快回复的数据传输协议)。RMST协议主要基于平面路由协议,在源传感节点将较大数据分组成较小的分段进行传递,中间节点保证汇聚节点作为接收端成功收集所有分段数据,并合成数据分组,提交给终端用户,但数据传输过程中并未引入网络拥塞控制机制,无法保证数据传输的顺序和时间上限。ESRT协议考虑的则是大量节点周期性的报告某一类事件发生的情况,主要用以保证足够数量的分组数据到达汇聚节点、尽量减少多余报告分组数量。PSFQ协议的设计很好的解决了无线传感网络数据传输可扩展性的问题,但是其可用性受限于传输带宽,协议的有效性需要高带宽支持。 The current mainstream wireless sensor network data transmission protocols include RMST (ReliableMulti-SegmentTransport, reliable multi-segmentation data transmission protocol), ESRT (Event-to-SinkReliableTransport, event-based data reliability transmission protocol), PSFQ (Pump-Slowly, Fetch-Quickly, a data transmission protocol based on slow injection and quick reply). The RMST protocol is mainly based on the flat routing protocol. The source sensor node divides larger data into smaller segments for transmission. The intermediate node ensures that the sink node successfully collects all segmented data as the receiving end, synthesizes data packets, and submits them to the terminal. Users, but the network congestion control mechanism is not introduced in the data transmission process, and the order and time limit of data transmission cannot be guaranteed. The ESRT protocol considers that a large number of nodes periodically report the occurrence of a certain type of event, which is mainly used to ensure that a sufficient amount of packet data reaches the sink node and minimize the number of redundant report packets. The design of PSFQ protocol solves the scalability problem of wireless sensor network data transmission well, but its usability is limited by the transmission bandwidth, and the effectiveness of the protocol requires high bandwidth support.

无线传感网络数据传输机制的设计需要考虑用户需求、网络负载、传感器节点功耗和处理能力等多种因素,针对不同的应用需求设计适用的机制。无线传感网络节点一般是采用电池供电的微型节点,能量有限、处理能力较弱是无线传感网络节点的显著特点。无线传感网络续采单传模型即传感网络中各无线传感节点以固定周期唤醒,连续的执行数据采集操作,并以一天或者更长时间作为传输周期,进行采集数据向数据汇聚中心的单次可靠汇聚。传统无线传感网络数据传输协议相对复杂、或受限于某些特定的应用环境,部分数据传输协议不具备拥塞控制、数据可靠传输保障等功能。对于类续采单传模型这种对实时性要求较低而可靠性要求较高的无线传感网络数据传输并不完全适用。 The design of wireless sensor network data transmission mechanism needs to consider various factors such as user requirements, network load, sensor node power consumption and processing capabilities, and design suitable mechanisms for different application requirements. Wireless sensor network nodes are generally battery-powered micro-nodes, limited energy and weak processing capabilities are the salient features of wireless sensor network nodes. The wireless sensor network continues to collect single-pass model, that is, each wireless sensor node in the sensor network wakes up at a fixed period, continuously performs data collection operations, and takes one day or longer as the transmission cycle to carry out the single transmission of collected data to the data aggregation center. Reliable aggregation. Traditional wireless sensor network data transmission protocols are relatively complex or limited to certain specific application environments, and some data transmission protocols do not have functions such as congestion control and reliable data transmission guarantee. It is not completely suitable for the wireless sensor network data transmission with low real-time requirements and high reliability requirements for the continuous sampling single-pass model.

发明内容 Contents of the invention

本发明的目的在于针对已有技术存在的缺陷,提供一种基于续采单传模型的无线传感网络数据可靠汇聚方法,在传感器节点数多、网络不稳定的环境下,完成无线传感节点向数据汇聚节点的高效数据传输,数据传输可靠性高、控制开销少,且延长无线传感网络整体寿命。为达到上述目的,本发明的构思是:针对能量受限、处理能力有限的传感器节点在网络不可靠情况下与数据汇聚节点的数据高效、可靠传输而发明,发明引入了拥塞控制机制和数据选择性重传机制。 The purpose of the present invention is to provide a reliable aggregation method for wireless sensor network data based on the continuous sampling single-pass model in order to solve the defects in the existing technology. In the environment where there are many sensor nodes and the network is unstable Efficient data transmission of data aggregation nodes, high reliability of data transmission, less control overhead, and prolonging the overall life of the wireless sensor network. In order to achieve the above purpose, the idea of the present invention is to invent the efficient and reliable data transmission between sensor nodes with limited energy and limited processing capacity and data sink nodes when the network is unreliable, and the invention introduces congestion control mechanism and data selection Sexual retransmission mechanism.

根据上述发明构思,本发明采用下述技术方案:基于续采单传模型的无线传感网络数据可靠汇聚方法,其特征在于,包含数据传输机制连接建立、数据传输拥塞控制和数据传输机制数据选择性重传三个过程: According to the above inventive concept, the present invention adopts the following technical solution: a reliable aggregation method for wireless sensor network data based on the continuous sampling single-pass model, which is characterized in that it includes data transmission mechanism connection establishment, data transmission congestion control and data transmission mechanism data selectivity Retransmit three processes:

a.所述数据传输机制连接建立的实现步骤: a. The implementation steps of the connection establishment of the data transmission mechanism:

(a-1)、初始化阶段,对所有无线传感节点进行编码,要求每个节点拥有一个独立的ID标识号,即身份标识号,无线传感节点编码可以由各传感节点进行自动设定或者根据实际应用需求预先手动设定; (a-1) In the initialization stage, all wireless sensor nodes are encoded, and each node is required to have an independent ID identification number, that is, an identity identification number. The wireless sensor node code can be automatically set by each sensor node Or pre-set manually according to actual application requirements;

(a-2)、无线传感节点完成初始化后,向数据汇聚节点发送ID标识号和数据传输请求; (a-2), after the wireless sensor node completes initialization, it sends an ID number and a data transmission request to the data sink node;

(a-3)、无线传感节点发送数据传输请求后开始对信道进行侦听,直到收到数据汇聚节点发回的确认帧或超过侦听限制时间; (a-3), after the wireless sensor node sends the data transmission request, it starts to listen to the channel until it receives the confirmation frame sent back by the data sink node or exceeds the listening limit time;

(a-4)、数据传输汇聚节点收到无线传感节点的数据传输请求帧后,解析数据传输请求,并根据ID标志号查询该传感节点是否有数据传输历史记录; (a-4). After receiving the data transmission request frame from the wireless sensor node, the data transmission convergence node parses the data transmission request, and inquires whether the sensor node has a data transmission history record according to the ID number;

(a-5)、如果是该传感节点第一次与数据汇聚节点通信,数据汇聚节点向该传感节点回发T-ACK,即传输确认信息帧,确认数据传输请求; (a-5), if the sensor node communicates with the data sink node for the first time, the data sink node sends T-ACK back to the sensor node, that is, transmits a confirmation message frame to confirm the data transmission request;

(a-6)、如果该无线传感节点先前已与数据汇聚节点进行过通信,数据汇聚节点统计上一次数据传输过程中是否有数据丢失、传输错误,并将丢失数据的包序列号回发该无线传感节点; (a-6), if the wireless sensor node has previously communicated with the data sink node, the data sink node counts whether there is data loss or transmission error during the last data transmission, and sends back the packet sequence number of the lost data the wireless sensor node;

(a-7)、无线传感节点收到数据汇聚节点的传输确认帧后,向数据汇聚节点发送链接建立成功确认帧,然后进入链路连接状态; (a-7). After receiving the transmission confirmation frame from the data sink node, the wireless sensor node sends a link establishment success confirmation frame to the data sink node, and then enters the link connection state;

(a-8)、数据汇聚节点收到无线传感节点的连接建立成功确认帧后,同时进入链路连接状态,等待无线传感节点传输后续数据; (a-8). After receiving the confirmation frame of successful connection establishment of the wireless sensor node, the data aggregation node enters the link connection state at the same time, waiting for the wireless sensor node to transmit subsequent data;

b.所述数据传输拥塞控制包含数据汇聚节点拥塞控制和无线传感节点拥塞控制: b. The data transmission congestion control includes data convergence node congestion control and wireless sensor node congestion control:

b-1.所述数据汇聚节点拥塞控制的实现步骤: b-1. The implementation steps of the congestion control of the data aggregation node:

(b-1-1)、数据传输汇聚节点收到一包数据后,节点记录此数据包的包序列号; (b-1-1), after the data transmission convergence node receives a packet of data, the node records the sequence number of the packet;

(b-1-2)、启动定时器开始计时; (b-1-2), start the timer to start timing;

(b-1-3)、如果数据汇聚节点在限制时间内接收到下一包数据,则清空计时器并重新开始计时; (b-1-3), if the data sink node receives the next packet of data within the time limit, clear the timer and start counting again;

(b-1-4)、如果数据汇聚节点定时器超时仍未收到下一包数据,则向无线传感节点回发一个NACK信号,表明数据接收失败; (b-1-4), if the data sink node has not received the next packet of data after the timer expires, it will send a NACK signal back to the wireless sensor node, indicating that the data reception failed;

(b-1-5)、数据汇聚节点统计固定周期内回发的NACK次数,当超过预设阀值后,暂停接收后续传感节点的数据,进入拥塞控制模式; (b-1-5), the data aggregation node counts the number of NACKs sent back in a fixed period, and when it exceeds the preset threshold, it suspends receiving data from subsequent sensor nodes and enters the congestion control mode;

(b-1-6)、数据汇聚节点等待新的数据传输请求; (b-1-6), the data sink node waits for a new data transmission request;

b-2.所述无线传感节点拥塞控制的实现步骤: b-2. The implementation steps of the wireless sensor node congestion control:

(b-2-1)、对待发送数据进行预处理,将待发送大块数据预分割成小块数据; (b-2-1), preprocessing the data to be sent, pre-dividing the large block of data to be sent into small blocks of data;

(b-2-2)、为每小块数据分配连续的包序列号,并将包序列号与小块数据组成一个数据包; (b-2-2), assign continuous packet serial numbers to each small piece of data, and form a data packet with the packet serial number and small piece of data;

(b-2-3)、无线传感节点按照包序号确定数据包发送顺序,优先发送包序号较小的数据包; (b-2-3), the wireless sensor node determines the data packet transmission order according to the packet sequence number, and sends the data packet with a smaller packet sequence number first;

(b-2-4)、无线传感节点启动定时器,并对信道进行短时侦听; (b-2-4), the wireless sensor node starts the timer and listens to the channel for a short time;

(b-2-5)、如果传感节点在固定周期内未收到数据汇聚节点回发的NACK则默认数据发送成功;重复步骤(b-2-3)的数据发送操作; (b-2-5). If the sensor node does not receive the NACK sent back by the data sink node within a fixed period, the default data transmission is successful; repeat the data transmission operation of step (b-2-3);

(b-2-6)、如果传感节点在固定周期内收到数据汇聚节点回发的NACK,则对NACK开始计数,当固定时长内收到的NACK数量超过预设阀值后,无线传感节点暂停发送数据,进入拥塞控制模式; (b-2-6). If the sensor node receives the NACK sent back by the data sink node within a fixed period, it will start counting the NACK. When the number of NACKs received within the fixed period exceeds the preset threshold, the wireless transmission The sensing node suspends sending data and enters the congestion control mode;

(b-2-7)、无线传感节点进行随机时长的拥塞退避后重新向数据汇聚节点提交数据传输连接建立请求; (b-2-7), the wireless sensor node resubmits a data transmission connection establishment request to the data sink node after a random duration of congestion avoidance;

c.所述数据传输机制数据选择重传的实现步骤: c. Implementation steps of data selection and retransmission of the data transmission mechanism:

(c-1)、无线传感节点与数据汇聚节点进行通信连接,连接步骤遵循数据传输机制建立连接的步骤; (c-1), the wireless sensor node communicates with the data aggregation node, and the connection steps follow the steps of establishing a connection through the data transmission mechanism;

(c-2)、传感节点根据数据汇聚节点回发的丢失包序列号信息判断是否需要数据重发; (c-2), the sensor node judges whether data retransmission is required according to the serial number information of the lost packet sent back by the data sink node;

(c-3)、如果需要进行数据重发,对数据进行重新排序,并将包序列号较小的数据包排在传输队列的最前端; (c-3) If data retransmission is required, reorder the data and arrange the data packets with smaller sequence numbers at the front of the transmission queue;

(c-4)、无线传感节点按照重新排序后的顺序发送数据包。 (c-4). The wireless sensor nodes send data packets in the reordered order.

本发明与现有技术相比较,具有如下显而易见的突出实质性特点和显著技术进步:本方法在不失数据传输可靠性的前提下,尽可能的减少无线传感节点通信能耗,与以往的无线传感网络数据传输方法相比,本发明方法引入了拥塞控制机制,保障了在网络不稳定的情况下,无线传感节点数据的高效传输;本发明方法具有计算量小、能耗低、数据传输可靠性高等特点,是一种有效的无线传感网络数据可靠性汇聚方法。 Compared with the prior art, the present invention has the following obvious outstanding substantive features and significant technical progress: the method reduces the communication energy consumption of wireless sensor nodes as much as possible without losing the reliability of data transmission, which is different from the previous Compared with the wireless sensor network data transmission method, the method of the present invention introduces a congestion control mechanism, which ensures the efficient transmission of wireless sensor node data in the case of network instability; the method of the present invention has the advantages of small amount of calculation, low energy consumption, It is an effective data reliability aggregation method for wireless sensor networks due to the characteristics of high data transmission reliability.

附图说明 Description of drawings

图1为无线传感器网络数据传输结构图; Figure 1 is a structural diagram of wireless sensor network data transmission;

图2为本发明无线传感器节点数据发送的流程图; Fig. 2 is the flowchart of wireless sensor node data transmission of the present invention;

图3为本发明数据汇聚节点数据接收的流程图; Fig. 3 is the flowchart of the data reception of the data sink node of the present invention;

图4为本发明数据预分割处理流程图; Fig. 4 is a flow chart of data pre-segmentation processing in the present invention;

图5为本发明数据重传阶段数据包排序图; Fig. 5 is a data packet sequencing diagram in the data retransmission stage of the present invention;

图6为本发明用于数据传输控制的各种数据包结构。 FIG. 6 shows various data packet structures used for data transmission control in the present invention.

具体实施方式 detailed description

本发明的优选实施例结合附图详述如下: Preferred embodiments of the present invention are described in detail as follows in conjunction with accompanying drawings:

本基于续采单传模型的无线传感网络数据可靠汇聚方法包含数据传输机制连接建立、数据传输拥塞控制和数据传输机制数据选择性重传三个过程。 The reliable aggregation method of wireless sensor network data based on the continuous sampling single pass model includes three processes of data transmission mechanism connection establishment, data transmission congestion control and data transmission mechanism data selective retransmission.

在实际系统设计过程中,通常在数据采集区域内布放若干无线传感节点。在节点位置的选择上,尽可能的将无线传感节点分布于开阔地带,保证数据采集区域有无线网络覆盖。无线传感器网络数据传输结构图如图1所示。数据源节点定时采集数据,并以1天或者更长时间作为数据传输周期,将采集的传感数据通过WIFI或者GPRS等方式传输至数据汇聚节点,数据汇聚节点通过Internet将采集汇聚的数据共享给用户或传输至数据服务器进行数据的后续共享。 In the actual system design process, several wireless sensor nodes are usually deployed in the data collection area. In the selection of node locations, wireless sensor nodes should be distributed in open areas as much as possible to ensure that the data collection area has wireless network coverage. The structure diagram of wireless sensor network data transmission is shown in Fig.1. The data source node collects data regularly, and takes 1 day or longer as the data transmission cycle, and transmits the collected sensor data to the data sink node through WIFI or GPRS, and the data sink node shares the collected and aggregated data with the Internet through the Internet. Users or transfer to the data server for subsequent sharing of data.

在连接建立阶段,无线传感节点和数据汇聚节点执行不同的流程。 In the connection establishment phase, wireless sensor nodes and data sink nodes perform different processes.

无线传感器节点数据发送的流程图如图2所示,无线传感节点首先进行初始化编码,并分配拥有一个独立的ID标识号,无线传感节点ID号可以预先手动设定或者根据实际应用需求进行自动设定,ID号的范围为:OX0000~OXFFFF。无线传感节点完成初始化后,向数据汇聚节点发送ID号和数据传输请求。无线传感节点发送数据传输请求后开始对信道进行侦听,在侦听限制时间内收到数据汇聚节点回发的连接确认信息T-ACK或者包含上次通信过程中丢失的数据包序号的RT-ACK,则向数据汇聚节点发送确认信息,并进入连接成功状态。在限制时间内未收到数据汇聚节点回发的确认信息或丢失数据包序号往往预示着连接建立失败,无线传感节点进行短时退避,进行下一次的连接建立请求。 The flow chart of wireless sensor node data transmission is shown in Figure 2. The wireless sensor node first performs initialization coding and assigns an independent ID number. The ID number of the wireless sensor node can be manually set in advance or according to actual application requirements. Automatic setting, the range of ID number is: OX0000~OXFFFF. After the wireless sensor node completes the initialization, it sends the ID number and data transmission request to the data sink node. After the wireless sensor node sends the data transmission request, it starts to listen to the channel, and receives the connection confirmation information T-ACK sent back by the data sink node or the RT containing the sequence number of the data packet lost in the last communication process within the listening limit time. -ACK, send confirmation information to the data sink node and enter the connection success state. Failure to receive the confirmation message sent back by the data aggregation node within the time limit or the serial number of the lost data packet often indicates that the connection establishment fails, and the wireless sensor node backs off for a short time to make the next connection establishment request.

数据汇聚节点数据接收的流程图如图3所示,数据传输汇聚节点收到无线传感节点的数据传输请求后,根据ID号查询该传感节点是否有数据传输历史记录。如果在历史记录中未查询到该ID号对应的历史数据记录,则表明这是该传感节点第一次与数据汇聚节点通信,数据汇聚节点回发T-ACK确认数据传输请求。如果该无线传感节点先前已与数据汇聚节点已经进行过通信,数据汇聚节点根据包序号统计上一次通信过程中与该无线传感节点之间是否有数据丢失、传输错误,如果发现数据传输错误或者数据丢失,将丢失数据的包序列号回发无线传感节点进行丢失包的重传。数据汇聚节点收到无线传感节点的确认信息后,同时进入连接成功状态,等待无线传感节点传输后续数据。 The flow chart of data reception by the data sink node is shown in Figure 3. After receiving the data transmission request from the wireless sensor node, the data transmission sink node inquires whether the sensor node has a data transmission history record according to the ID number. If the historical data record corresponding to the ID number is not found in the historical records, it indicates that this is the first time the sensor node communicates with the data sink node, and the data sink node sends back a T-ACK to confirm the data transmission request. If the wireless sensor node has previously communicated with the data sink node, the data sink node counts whether there is data loss or transmission error between the wireless sensor node and the wireless sensor node during the last communication according to the packet sequence number. Or the data is lost, and the packet sequence number of the lost data is sent back to the wireless sensor node for retransmission of the lost packet. After the data aggregation node receives the confirmation information from the wireless sensor node, it enters the connection success state at the same time, waiting for the wireless sensor node to transmit subsequent data.

当网络出现拥塞时,无线传感节点和数据汇聚节点分别执行拥塞控制机制。 When the network is congested, the wireless sensor node and the data sink node implement the congestion control mechanism respectively.

数据传输汇聚节点收到一包数据后,节点记录此数据包的包序列号,并且启动定时器开始计时。如果数据汇聚节点在限制时间内接收到下一包数据,则清空计时器并重新开始计时;如果数据汇聚节点定时器超时仍未接收到下一包数据,则向无线传感节点回发NACK信号,表明数据接收失败;数据汇聚节点统计固定周期内回发的NACK次数,当超过预设值后,暂停接收后续数据,进入拥塞控制模式。 After the data transmission aggregation node receives a packet of data, the node records the packet sequence number of this data packet, and starts the timer to start counting. If the data aggregation node receives the next packet of data within the time limit, the timer will be cleared and restarted; if the data aggregation node has not received the next packet of data after the timer expires, it will send a NACK signal back to the wireless sensor node , indicating that data reception failed; the data sink node counts the number of NACKs sent back within a fixed period, and when it exceeds the preset value, it suspends receiving subsequent data and enters the congestion control mode.

无线传感节点对待发送数据进行预处理,将大块数据预分割成小块数据,并为每小块数据分配连续的包序列号,数据预处理框图如图4所示。假设某无线传感节点待发送数据长度为n*m个Byte,以m个Byte为划分长度,则可以得到n个数据包。在1-n的范围内按照数据顺序为每个数据包分配一个包序号,并将数据按包序列号进行排序。完成数据的预处理后,无线传感节点按照包序号顺序发送一个数据包。无线传感节点发送一包数据后启动定时器,并对信道进行短时侦听,如果传感节点在固定周期内未收到数据汇聚节点回发的NACK则默认数据发送成功,并继续发送后续数据包。如果传感节点在固定周期内收到数据汇聚节点回发的NACK,则对NACK开始计数,当固定时长内收到的NACK数量超过预设值后,无线传感节点暂停发送数据,进入拥塞控制模式。无线传感节点进入短时退避后重新向数据汇聚节点提出数据发送请求,并重新进行与数据汇聚节点的通信连接。退避时长为k*T,T为传感节点发送一个数据包所用时长,k为0X00~OXFF内的随机数。 The wireless sensor node preprocesses the data to be sent, pre-segments large blocks of data into small pieces of data, and assigns continuous packet sequence numbers to each small piece of data. The block diagram of data preprocessing is shown in Figure 4. Assuming that the length of data to be sent by a wireless sensor node is n*m Byte, and m Byte is used as the division length, n data packets can be obtained. In the range of 1-n, assign a packet sequence number to each data packet according to the data sequence, and sort the data according to the packet sequence number. After completing the preprocessing of the data, the wireless sensor node sends a data packet according to the sequence number of the packet. After the wireless sensor node sends a packet of data, it starts the timer and listens to the channel for a short time. If the sensor node does not receive the NACK sent back by the data sink node within a fixed period, the data is sent successfully by default and continues to send subsequent data pack. If the sensor node receives the NACK sent back by the data sink node within a fixed period, it will start counting the NACK. When the number of NACKs received within the fixed period exceeds the preset value, the wireless sensor node will stop sending data and enter congestion control model. After the wireless sensor node enters the short-term backoff, it re-submits a data transmission request to the data sink node, and reconnects with the data sink node. The backoff time is k*T, T is the time for the sensor node to send a data packet, and k is a random number from 0X00 to OXFF.

无线传感节点因网络拥塞、中断需要对错误数据进行选择性数据重传。在数据重传阶段,无线传感节点与数据汇聚节点进行通信连接,连接步骤遵循数据传输机制建立连接的步骤。在连接过程中,数据汇聚节点回传数据丢失包序列号。无线传感节点根据数据汇聚节点回发的丢失包序列号信息判断是否需要数据重发。如果出现数据传输错误,需要进行数据重发。数据重传阶段包序号如图5所示,无线传感节点正常数据传输按照包序号1-n顺序传输数据包,当产生数据丢失时,无线传感节点根据数据汇聚节点回发的丢失包序列号对数据进行排序。若丢失数据包的包序号为2和4,则无线传感节点将包序列号较小的数据包2和数据包4排在传输队列的最前端,并进行数据重传,保障最早的数据能够优先传输。 Due to network congestion and interruption, wireless sensor nodes need to selectively retransmit erroneous data. In the data retransmission stage, the wireless sensor node communicates with the data sink node, and the connection steps follow the steps of the data transmission mechanism to establish a connection. During the connection process, the data sink node returns the serial number of the data loss packet. The wireless sensor node judges whether data retransmission is required according to the sequence number information of the lost packet sent back by the data sink node. If a data transmission error occurs, data retransmission is required. The packet sequence number in the data retransmission stage is shown in Figure 5. The normal data transmission of the wireless sensor node transmits data packets in sequence according to the packet sequence number 1-n. sort the data. If the packet sequence numbers of the lost data packets are 2 and 4, the wireless sensor node will arrange the data packets 2 and 4 with smaller packet sequence numbers at the front of the transmission queue, and retransmit the data to ensure that the earliest data can Priority transmission.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the technical principle of the present invention, some improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (1)

1., based on the continuous reliable assemblage method of radio sensing network data adopting patrilineal line of descent with only one son in each generation model, it is characterized in that, comprise data transmission mechanism connection establishment, transfer of data congestion control and data transmission mechanism data selection and retransmit three processes:
A. the performing step of described data transmission mechanism connection establishment:
(a-1), initial phase, all wireless sensing nodes are encoded, require that each node has independently ID identification number, i.e. an identify label number, wireless sensing node coding can automatically be set by each sensing node or manually set in advance according to practical application request;
(a-2), after wireless sensing node completes initialization, ID identification number and data transfer request is sent to convergence node;
(a-3), wireless sensing node sends after data transfer request and starts to intercept channel, intercepts binding hours until receive acknowledgement frame that convergence node beams back or exceed;
(a-4), after transfer of data aggregation node receives the data transfer request frame of wireless sensing node, resolution data transmission request, and inquire about this sensing node according to ID mark number and whether have transfer of data historical record;
(a-5) if this sensing node first time and convergence node communication, convergence node postbacks T-ACK to this sensing node, i.e. acknowledge information frame, confirms data transfer request;
(a-6) if this wireless sensing node previously carried out communication with convergence node, whether there are loss of data, error of transmission in the last data transmission procedure of convergence node statistics, and the packet number of obliterated data is postbacked this wireless sensing node;
(a-7), after wireless sensing node receives the acknowledge information frame of convergence node, send link to convergence node and be successfully established acknowledgement frame, then enter link connection state;
(a-8), convergence node receive wireless sensing node connection establishment success acknowledgement frame after, enter link connection state simultaneously, wait for wireless sensing node transmission follow-up data;
B. described transfer of data congestion control comprises the control of convergence node congestion and wireless sensing node congestion control:
B-1. the performing step of described convergence node congestion control:
(b-1-1), after transfer of data aggregation node receives bag data, the packet number of this packet of nodes records;
(b-1-2), start timer and start timing;
(b-1-3) if convergence node receives next bag data in binding hours, then empty timer and restart timing;
(b-1-4) if convergence node timer time-out does not receive next bag data yet, then postback a NACK signal to wireless sensing node, show data receiver failure;
(b-1-5), NACK number postbacking in the convergence node statistics fixed cycle, after exceeding pre-set threshold value, suspend the data receiving follow-up sensing node, enter congestion control mode;
(b-1-6), convergence node waits for new data transfer request;
B-2. the performing step of described wireless sensing node congestion control:
(b-2-1), to data to be sent carry out preliminary treatment, chunk data to be sent is pre-segmented into small block data;
(b-2-2), be that every small block data distributes continuous print packet number, and packet number and small block data are formed a packet;
(b-2-3), wireless sensing node according to bag sequence number determination Packet Generation order, preferential send the less packet of bag sequence number;
(b-2-4), wireless sensing node starts timer, and intercepts in short-term channel;
(b-2-5) if sensing node does not receive the NACK that convergence node postbacks within the fixed cycle, default data sends successfully; Repeat the data transmit operation of step (b-2-3);
(b-2-6) if sensing node receives the NACK that convergence node postbacks within the fixed cycle, then counting is started to NACK, after the NACK quantity received in length when clamped exceedes pre-set threshold value, wireless sensing node suspends transmission data, enters congestion control mode;
(b-2-7), wireless sensing node carry out random duration congested keep out of the way after again submit the request of transfer of data connection establishment to convergence node;
C. the performing step of described data transmission mechanism data selection re-transmission:
(c-1), wireless sensing node and convergence node communicate to connect, and Connection Step follows the step that data transmission mechanism connects;
(c-2) the lost package sequence number information that, sensing node postbacks according to convergence node judges whether to need data re-transmitting;
(c-3) if need to carry out data re-transmitting, data are resequenced, and packet less for packet number is come transmit queue foremost;
(c-4), wireless sensing node sends packet according to the order after rearrangement.
CN201310197735.3A 2013-05-24 2013-05-24 Based on the continuous reliable assemblage method of radio sensing network data adopting patrilineal line of descent with only one son in each generation model Expired - Fee Related CN103259632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310197735.3A CN103259632B (en) 2013-05-24 2013-05-24 Based on the continuous reliable assemblage method of radio sensing network data adopting patrilineal line of descent with only one son in each generation model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310197735.3A CN103259632B (en) 2013-05-24 2013-05-24 Based on the continuous reliable assemblage method of radio sensing network data adopting patrilineal line of descent with only one son in each generation model

Publications (2)

Publication Number Publication Date
CN103259632A CN103259632A (en) 2013-08-21
CN103259632B true CN103259632B (en) 2016-01-13

Family

ID=48963353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310197735.3A Expired - Fee Related CN103259632B (en) 2013-05-24 2013-05-24 Based on the continuous reliable assemblage method of radio sensing network data adopting patrilineal line of descent with only one son in each generation model

Country Status (1)

Country Link
CN (1) CN103259632B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105813213B (en) * 2014-12-31 2019-11-12 中国电信股份有限公司 Method, base station and the system of data are transmitted in dual link scheme
CN104767588A (en) * 2015-03-12 2015-07-08 成都金本华科技股份有限公司 Method for transmitting data to client side
CN104640130A (en) * 2015-03-12 2015-05-20 成都金本华科技股份有限公司 Rapid transfer method for message
CN105790900A (en) * 2016-03-09 2016-07-20 佛山市黑盒子科技有限公司 Reliable data returning method for aiming at low-speed wireless network
CN106231678B (en) * 2016-08-08 2019-10-11 广东工业大学 A data transmission method and system for a smart grid in a basement environment
CN108521316B (en) * 2018-03-26 2021-06-22 上海酷芯微电子有限公司 Hybrid automatic repeat request method and device
CN111031505A (en) * 2019-12-13 2020-04-17 上海联数物联网有限公司 LoRa gateway based edge information piggyback transmission method and device
CN111309363A (en) * 2020-03-07 2020-06-19 重庆邮电大学 Online upgrade method and device based on Contiki operating system
CN111432505B (en) * 2020-03-26 2020-11-03 深圳市腾远智拓电子有限公司 Wireless networking transmission system based on WiFi
CN114786212B (en) * 2022-03-29 2023-04-25 江苏睿沃水利技术研究院有限公司 Internet of things transmission control method, equipment and application thereof in Internet of things networking
CN115065890A (en) * 2022-05-31 2022-09-16 青海省交通规划设计研究院有限公司 Meteorological detection method and system based on sensor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098301A (en) * 2006-06-27 2008-01-02 华为技术有限公司 A Layer 2 Congestion Control Method for Wireless Networks
CN101119281A (en) * 2007-08-24 2008-02-06 中国科学院计算技术研究所 A Congestion Control Method for Sensor Networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098301A (en) * 2006-06-27 2008-01-02 华为技术有限公司 A Layer 2 Congestion Control Method for Wireless Networks
CN101119281A (en) * 2007-08-24 2008-02-06 中国科学院计算技术研究所 A Congestion Control Method for Sensor Networks

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
On the Optimization and Comparative Evaluation of a Reliable and Efficient Caching-Based WSN Transport Protocol;Nestor Michael C. Tiglao, Ant´onio M. Grilo;《IEEE》;20130307;全文 *
RMST: Reliable Data Transport in Sensor Networks;Fred Stann, John Heidemann;《IEEE》;20030511;全文 *
吴国伟;张岩.无线传感器网络中的逐跳跨层拥塞控制.《计算机工程》.2010,第36卷(第16期),全文. *
孙国栋;廖明宏;邱硕.一种无线传感器网络拥塞控制机制.《电子与信息学报》.2008,第30卷(第10期),全文. *

Also Published As

Publication number Publication date
CN103259632A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN103259632B (en) Based on the continuous reliable assemblage method of radio sensing network data adopting patrilineal line of descent with only one son in each generation model
US11483769B2 (en) Telecommunications apparatus and methods
US11153041B2 (en) Packet transmission method and user equipment
CN106559739B (en) Lightweight data transmission method suitable for Bluetooth low-power wireless communication system
CN101653032B (en) Method and system for recovering from DRX timing de-synchronization in LTE_ACTIVE
CN112436994B (en) Data transmission method and electronic equipment
CN106059848A (en) BeiDou short message communication-based electric power data acquisition transmission processing system and method
CN101945341B (en) Point-to-point transmission protocol of wireless sensor network
WO2011100911A2 (en) Detection processing method, data transmitter, data receiver and communication system
CN103141050B (en) Data packet retransmission method and node in quick path interconnect system
CN105245271B (en) Satellite communication network acceleration device and method
CN103036661B (en) Automatic retransmission request method with self-healing function
CN103701843A (en) Information synchronization data transmission method and system
CN105379342A (en) Data retransmission method and device
CN104640130A (en) Rapid transfer method for message
CN102315923B (en) Radio link control method of 3G (The 3rd Generation) satellite communication system
CN111901075A (en) Multi-network convergence transmission method, transmission system and computer-readable storage medium
CN104243110B (en) A kind of radio sensing network data transmission method based on non real-time acknowledgement mechanism
CN104200641B (en) Data collection method based on energy audit
JP2014192811A (en) Relay device and communication method
CN107959554B (en) A data retransmission method and device
CN103428677A (en) Method for sending grouped service data and method for receiving message sent by signaling channel
CN106900017B (en) Data back transmission method and device
CN115499108A (en) Closed-loop network communication method and system based on UDP protocol
JP7052865B2 (en) Servers, communication systems, communication methods and programs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160113

CF01 Termination of patent right due to non-payment of annual fee