[go: up one dir, main page]

CN101232452B - Broadcast channel data transmission method for industrial wireless sensor network - Google Patents

Broadcast channel data transmission method for industrial wireless sensor network Download PDF

Info

Publication number
CN101232452B
CN101232452B CN2008100467846A CN200810046784A CN101232452B CN 101232452 B CN101232452 B CN 101232452B CN 2008100467846 A CN2008100467846 A CN 2008100467846A CN 200810046784 A CN200810046784 A CN 200810046784A CN 101232452 B CN101232452 B CN 101232452B
Authority
CN
China
Prior art keywords
packet
data
receiver
sender
lost
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
CN2008100467846A
Other languages
Chinese (zh)
Other versions
CN101232452A (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.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN2008100467846A priority Critical patent/CN101232452B/en
Publication of CN101232452A publication Critical patent/CN101232452A/en
Application granted granted Critical
Publication of CN101232452B publication Critical patent/CN101232452B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a broadcast channel data transmission method of an industrial wireless sensor network. The utility model comprises the following steps that a deny message including data grouping is sent to a receiving end after the receiving end determines that the data grouping in the data grouping group is not received successfully; after the deny message is determined to be received by the receiving end, whether the passed time is more than a presetting time interval after the data grouping is sent is judged; the data grouping is resent to the receiving end.

Description

工业无线传感器网络的广播信道数据传输方法 Broadcast channel data transmission method for industrial wireless sensor network

技术领域technical field

本发明涉及工业无线通信领域,尤其涉及一种工业无线传感器网络的广播信道数据传输方法。 The invention relates to the field of industrial wireless communication, in particular to a broadcast channel data transmission method of an industrial wireless sensor network. the

背景技术Background technique

工业无线技术是继现场总线之后,工业控制领域的有一个热点技术,是降低工业测控系统成本、提高工业测控系统应用范围的革命性技术,在未来几年工业自动化产品新的增长点。 Industrial wireless technology is a hot technology in the field of industrial control after fieldbus. It is a revolutionary technology that reduces the cost of industrial measurement and control systems and improves the application range of industrial measurement and control systems. It will be a new growth point for industrial automation products in the next few years. the

工业无线技术是一种本世纪初新兴的,面向设备间短程、低速率信息交互的无线通信技术,适合在恶劣的工业现场环境使用,具有很强的抗干扰能力、超低能耗、实时通信等技术特征,是对现有无线技术在工业应用方向上的功能扩展和技术创新,并将最终转化为新此无线技术标准。其是从新兴的无线传感器网络技术中发展而来的。工业无线技术是满足工业应用高可靠、低功耗、硬实时等特殊需求的一类无线传感器网络技术。其发展前景十分看好,据美国On World公司最近的一项无线传感器市场调查显示,79%的被调查用户正在考虑使用无线设备完成远程监控,特别是管道运营行业和水源监测,几乎所有的大型油气公司都在寻求网络化实时监测平台的解决方案。美国控制工程杂志报导的一项调查显示,在工业自动化市场中,最终用户和系统集成商对无线网络技术表现出强烈的兴趣。45%的受访者计划于2005年试用无线网络技术。而近70%的受访者正在关注无线技术在工业测控应用方面的进展。在关于无线网络能节约多少成本这个问题上,58%的受访者相信,每采用一个无线传感器,这项技术在连线和劳动力上节约了超过100美元的成本;33%的受访者认为每个传感器可节约超过250美元。Venture Development Corporation在其“北美离散和过程制造业的RF/微波无线监测和控制产品市场调研报告”中指出,工业自动化领域相关无线产品的生产量2004年为610万美元,预计今后将以60.2%的年增长率快速增长。 Industrial wireless technology is a kind of wireless communication technology emerging at the beginning of this century, which is oriented to short-range and low-rate information interaction between devices. It is suitable for use in harsh industrial field environments, and has strong anti-interference ability, ultra-low energy consumption, real-time communication, etc. The technical feature is the functional expansion and technological innovation of the existing wireless technology in the direction of industrial application, and will eventually be transformed into a new wireless technology standard. It is developed from the emerging wireless sensor network technology. Industrial wireless technology is a type of wireless sensor network technology that meets the special needs of industrial applications such as high reliability, low power consumption, and hard real-time. Its development prospects are very promising. According to a recent wireless sensor market survey conducted by On World Company of the United States, 79% of the surveyed users are considering using wireless devices to complete remote monitoring, especially in the pipeline operation industry and water source monitoring. Almost all large oil and gas Companies are seeking solutions for networked real-time monitoring platforms. In the industrial automation market, end users and system integrators are showing strong interest in wireless networking technology, according to a survey reported by the American Journal of Control Engineering. 45% of respondents plan to trial wireless network technology in 2005. And nearly 70% of the respondents are concerned about the progress of wireless technology in industrial measurement and control applications. On the question of how much the wireless network can save, 58% of respondents believe that for each wireless sensor adopted, this technology saves more than $100 in wiring and labor costs; 33% of the respondents believe that Save over $250 per sensor. Venture Development Corporation pointed out in its "Market Research Report on RF/Microwave Wireless Monitoring and Control Products of Discrete and Process Manufacturing in North America" that the production volume of related wireless products in the field of industrial automation was 6.1 million US dollars in 2004, and it is expected to grow by 60.2% in the future annual growth rate is growing rapidly. the

而大部分的工业控制应用要求数据的可靠传输率超过95%,这样对信道数据传输上可靠性要求很高,本专利正立足于此,提出了一种可以提高可靠性的信道重传方法。 Most industrial control applications require a reliable data transmission rate of more than 95%, which requires high reliability in channel data transmission. This patent is based on this and proposes a channel retransmission method that can improve reliability. the

移动通信系统的性能除了有线信道中存在的拥塞问题外,还主要受到时变信道的制约,各种噪声、干扰、衰落等极大降低了无线链路的质量。发射机与接收机之间的传播路径非常复杂,从简单的视距传播,到遭遇各种复杂的地物,如建造物、山脉和树叶等;在陆地移动通信系统中,移动台处于城市建筑群之中或处于地形复杂的区域,其天线将接收由多条路径传来的信号,加上移动台本身的运动,使得移动台和基站之间的无线信道多变且难以控制,造成无线信道中信号强度的骤然降低即所谓的衰落是经常发生的。 In addition to the congestion problem in the wired channel, the performance of the mobile communication system is also mainly restricted by the time-varying channel. Various noises, interference, fading, etc. greatly reduce the quality of the wireless link. The propagation path between the transmitter and the receiver is very complex, ranging from simple line-of-sight propagation to encountering various complex ground objects, such as buildings, mountains and leaves; In a group or in an area with complex terrain, its antenna will receive signals from multiple paths, coupled with the movement of the mobile station itself, making the wireless channel between the mobile station and the base station variable and difficult to control, resulting in wireless channel Sudden reductions in signal strength, so-called fading, are common occurrences. the

无线应用协议(WAP)已开发用于处理移动台的需要,因为这些设备具有严重的物理、存储和处理约束。WAP可应用于多种不同系统,包括GSM-900、GAM-1800、GSM-1900、CDMA IS-95、TDMA IS-136、宽带IS-95,以及诸如IMT-2000、UMTS和W-CDMA的第三代系统。 The Wireless Application Protocol (WAP) has been developed to address the needs of mobile stations, since these devices have severe physical, storage and processing constraints. WAP can be applied to many different systems, including GSM-900, GAM-1800, GSM-1900, CDMA IS-95, TDMA IS-136, Broadband IS-95, and third-party systems such as IMT-2000, UMTS, and W-CDMA. Three generations of systems. the

按照WAP,存在三类事务:类别0用于不可靠的单向请求,类别1用于可靠的单向请求,而类别2用于可靠的双向请求-响应事务。事务定义为在“发起者”(例如,发送方或接收方)和“应答者”(例如,发送方或接收方)之间的交互作用单元。事务始于发送方生成的请求消息。在类别2事务中,接收方用隐含确认该请求消息的一个结果消息应答。如果接收方处理该请求消息所花费的时间超过指定的时间间隔,接收方在发送结果消息之前可回复“不挂断”确认消息以避免重传该请求消息。当发送方接收到该确认时事务处理结束。 According to WAP, there are three classes of transactions: class 0 for unreliable one-way requests, class 1 for reliable one-way requests, and class 2 for reliable two-way request-response transactions. A transaction is defined as a unit of interaction between an "initiator" (eg, sender or receiver) and a "responder" (eg, sender or receiver). A transaction begins with a request message generated by the sender. In a Category 2 transaction, the recipient replies with a result message that implicitly acknowledges the request message. If the receiver takes more than a specified time interval to process the request message, the receiver can reply with a "no hang up" acknowledgment message before sending the result message to avoid retransmitting the request message. The transaction ends when the sender receives the acknowledgment. the

为了减少拥塞和传播中存在的上述问题,数据消息发送之前,它被分割为有序排列的数据分组序列。每个数据分组有分配给它的分组序号(PSN)。 因此,例如,分割的第一个数据分组被分配分组序号0,第二个数据分组分配分组序号1,第三个数据分组分配分组序号2,以此类推。这些数据分组独立或组合传输,收到后由接收方重新组合。消息可分割的最大分组数约为256个分组,每个分组的最大尺寸为1-2k字节。因此,消息的最大尺寸典型地小于0.5M字节。 To reduce congestion and the above problems in propagation, before a data message is sent, it is segmented into an ordered sequence of data packets. Each data packet has a Packet Sequence Number (PSN) assigned to it. Thus, for example, the first data packet of a split is assigned packet number 0, the second data packet is assigned packet number 1, the third data packet is assigned packet number 2, and so on. These data packets are transmitted independently or in combination, and are reassembled by the receiver upon receipt. The maximum number of packets that a message can be divided into is about 256 packets, and the maximum size of each packet is 1-2k bytes. Therefore, the maximum size of a message is typically less than 0.5 Mbytes. the

如果数据分组被分割为小组,那么直到已经确认接收到前面的分组组(packet group),发送方才发送,属于同一事务的新分组。典型地,发送方确定在每个分组组中的分组数,并在同一批中发送分组组的分组。每个分组组的最后一个数据分组有小组尾部(GTR)标志集(flag set),它称之为GTR分组。整个消息的最后一个分组组的最后一个数据分组有传输尾部(TTR)标志集,它也称之为TTR分组。接收方存储所有接收的分组,而且一接收到GTR分组,接收方就检测它是否已接收了属于该特定分组组的所有分组。如检测已经接收了该小组中的所有分组,那么接收方返回包含有该GTR分组的分组序号的确认消息。然而,如果接收到GTR或TTR分组,但该分组组的一个或多个分组丢失,那么接收方在发送包含有该特定分组组的丢失分组的分组序号的否认(NACK)消息之前,等待一段时间,例如1/2中值往返行程时间(RTT)。如果发送方在发送分组组后的指定时间间隔内没有接收到确认,那么它只重传该分组组的GTR或TTR分组到接收方。 If the data packet is split into small groups, the sender does not send a new packet belonging to the same transaction until receipt of the previous packet group has been confirmed. Typically, the sender determines the number of packets in each group of packets and sends the packets of the group of packets in the same batch. The last data packet of each packet group has a group tail (GTR) flag set (flag set), which is called a GTR packet. The last data packet of the last group of packets of the entire message has a Transport Trailer (TTR) flag set, which is also referred to as a TTR packet. The receiver stores all received packets, and upon receiving a GTR packet, the receiver checks whether it has received all packets belonging to that particular group of packets. If it is detected that all the packets in the group have been received, the receiver returns an acknowledgment message containing the sequence number of the GTR packet. However, if a GTR or TTR packet is received, but one or more packets of that packet group are lost, the receiver waits for a period of time before sending a Negative (NACK) message containing the packet sequence numbers of the missing packets of that particular packet group , such as 1/2 the median round trip time (RTT). If the sender does not receive an acknowledgment within a specified time interval after sending a group of packets, then it only retransmits the GTR or TTR packets for that group of packets to the receiver. the

然而,如果在传输期间由于例如无线通信网络的切换错误或拥塞导致一个或多个确认或否认消息丢失,从而导致重传接收方已经接收到的数据分组,这将出现问题。 However, this can be problematic if during transmission one or more acknowledgment or acknowledgment or acknowledgment messages are lost due to, for example, handover errors or congestion of the wireless communication network, resulting in retransmission of data packets already received by the recipient. the

发明内容Contents of the invention

为了解决现有技术中存在的问题,本发明提供了一种工业无线传感器网络的广播信道数据传输方法,从而实现了无线信道中信息的可靠性传输。 In order to solve the problems existing in the prior art, the present invention provides a broadcast channel data transmission method of an industrial wireless sensor network, thereby realizing the reliable transmission of information in the wireless channel. the

本发明提供的无线信道数据传输方法包括: The wireless channel data transmission method provided by the present invention includes:

步骤1,发送方按照分组序号顺序发送数据分组给接收方,分组序号较低的数据分组应先于分组序号较高的数据分组到达接收方; Step 1, the sender sends data packets to the receiver in the order of packet sequence numbers, and data packets with lower packet sequence numbers should arrive at the receiver before data packets with higher packet sequence numbers;

步骤2,如果接收方接收到分组序号较高的数据分组但是没有接收到分组序号较低的的数据分组,则判断该分组序号较低的数据分组丢失; Step 2, if the receiver receives a data packet with a higher packet sequence number but does not receive a data packet with a lower packet sequence number, it is judged that the data packet with a lower packet sequence number is lost;

步骤3,接收方会发送否认消息给发送方,该否认消息中列出丢失的分组数据数序; Step 3, the receiver will send a denial message to the sender, and the denial message lists the sequence of lost packet data;

步骤4,从接收方接收到否认消息后,发送方检测自发送在否认消息中列出的每个丢失的数据分组后过去的时间是否小于预定的时间间隔; Step 4, after receiving the acknowledgment message from the receiver, the sender detects whether the time elapsed since sending each lost data packet listed in the acknowledgment message is less than a predetermined time interval;

步骤5,如果对丢失的数据分组来说过去的时间小于预定的时间间隔,则发送方并不重传所否认消息中所请求的被丢失的数据分组;否则, Step 5, if the elapsed time for the lost data packet is less than the predetermined time interval, the sender does not retransmit the requested lost data packet in the denied message; otherwise,

步骤6,如丢失的数据分组所经过的时间大于预定的时间间隔,则发送方重传否认消息中所请求的被丢失的数据分组; Step 6, if the elapsed time of the lost data packet is greater than the predetermined time interval, the sender retransmits the requested lost data packet in the deny message;

步骤7,接收方向发送方发送否认消息后,等待发送方重发丢失的数据分组,但是如果等待的时间超过了预先设定的门限值,则接收方重新向发送方发送否认消息; Step 7: After sending a deny message to the sender, the receiver waits for the sender to resend the lost data packet, but if the waiting time exceeds the preset threshold value, the receiver sends a deny message to the sender again;

步骤8,一旦接收到所有数据分组,接收方就发送确认消息给发送方,确认接收到所有数据分组。 Step 8, once all the data packets are received, the receiver sends an acknowledgment message to the sender to confirm receipt of all the data packets. the

进一步地,所述步骤3中的否认消息不仅列出最近的数据分组组中丢失的分组序号,还要列出在此之前的所有丢失的分组序号。 Further, the deny message in step 3 not only lists the lost packet sequence numbers in the latest data packet group, but also lists all the lost packet sequence numbers before that. the

进一步地,所述否认消息不仅列出丢失的数据分组序号,而且列出接收方已接收到的数据分组中的最高分组序号。 Further, the acknowledgment message not only lists the sequence number of the lost data packet, but also lists the highest packet sequence number among the data packets received by the receiver. the

因此,本发明能够实现无线信道上信息的可靠传输。 Therefore, the present invention enables reliable transmission of information on wireless channels. the

附图说明Description of drawings

图1为本发明工业无线传感器网络的广播信道数据传输方法基于的数据传输系统的结构示意图; Fig. 1 is the structural representation of the data transmission system based on the broadcast channel data transmission method of the industrial wireless sensor network of the present invention;

图2为本发明工业无线传感器网络的广播信道数据传输方法中传输的经分割的数据消息格式示意图; Fig. 2 is a schematic diagram of the format of the segmented data message transmitted in the broadcast channel data transmission method of the industrial wireless sensor network of the present invention;

图3为本发明工业无线传感器网络的广播信道数据传输方法的流程图。 Fig. 3 is a flow chart of the broadcast channel data transmission method of the industrial wireless sensor network of the present invention. the

具体实施方式Detailed ways

下面通过附图和实施例,对本发明实施例的技术方案做进一步的详细描述。 The technical solutions of the embodiments of the present invention will be described in further detail below with reference to the drawings and embodiments. the

如图1所示为本发明工业无线传感器网络的广播信道数据传输方法基于的数据传输系统的结构示意图。该数据传输系统10,包括移动台11(例如手机),其通过空中链路15(包括例如,基站和交换控制点)与网关13无线通信,网关13通过诸如因特网或内联网的广域网和服务器17相连。根据本发明数据传输方法往返于移动台11传输数据。 FIG. 1 is a schematic structural diagram of a data transmission system based on a broadcast channel data transmission method of an industrial wireless sensor network according to the present invention. The data transmission system 10 includes a mobile station 11 (such as a mobile phone) that communicates wirelessly with a gateway 13 through an air link 15 (including, for example, a base station and a switching control point), and the gateway 13 communicates with a server 17 through a wide area network such as the Internet or an intranet. connected. Data is transmitted to and from the mobile station 11 according to the data transmission method of the present invention. the

图2为本发明工业无线传感器网络的广播信道数据传输方法中数据流经分割后的数据消息格式示意图。该数据消息包括多个数据分组组如组1、组2…组M。每个组包括一个或多个无标志集的数据分组30和有GTR标志集的数据分组32。GTR标准集指示数据分组组的最后一个数据分组。整个数据消息的最后一个分组34包含TTR标志集。数据消息的每个数据分组30与唯一的识别号相联系,例如分组序号(PSN),以便接收方(例如移动台11)能基于识别号识别该数据消息中丢失的数据分组。这些数据分组有连续的编号(例如:0,1,2,3,4……)。 Fig. 2 is a schematic diagram of the format of the data message after the data flow is divided in the broadcast channel data transmission method of the industrial wireless sensor network according to the present invention. The data message includes a plurality of groups of data packets such as Group 1, Group 2... GroupM. Each group includes one or more data packets 30 without a flag set and data packets 32 with a GTR flag set. The set of GTR criteria indicates the last data packet of a group of data packets. The last packet 34 of the entire data message contains the TTR flag set. Each data packet 30 of a data message is associated with a unique identification number, such as a Packet Sequence Number (PSN), so that a recipient (eg, mobile station 11) can identify missing data packets in the data message based on the identification number. These data packets have consecutive numbers (for example: 0, 1, 2, 3, 4...). the

如图3为本发明工业无线传感器网络的广播信道数据传输方法的流程图,步骤1,发送方(例如,网关13或服务器17)根据PSN顺序发送数据分组30给接收方,以便PSN较低的数据分组30先于PSN较高的数据分组发送(例如,PSN=3的数据分组先于PSN=4的数据分组发送)。步骤2,如果接收方确定数据分组30丢失(例如,接收方接收了PSN=3的数据分组但是没有接收到PSN=1的数据分组),那么步骤3,接收方会发送否认(NACK)消息给发送方,列出丢失的分组(例如,PSN=1)。其中,优选的NACK消息不仅列出最近的数据分组组中丢失的分组,还要列出在此之前的所有丢失的分组。例如,如果PSN=3的数据分组从分组组1中丢失(尚未接收),而且PSN=18的数据分组从分组组4中丢失,那么NACK消息将同时列出丢失的数据分组(PSN=3和PSN=18)。这样做特别方便,因为即使前一个NACK消息丢失了,发送方仍能被通知到之前发送的分组组中丢失的数据分组。考虑在接收方接收到每个数据分组组的GTR数据分组之前或之后可以发送 NACK消息。 Fig. 3 is the flow chart of the broadcast channel data transmission method of industrial wireless sensor network of the present invention, step 1, sender (for example, gateway 13 or server 17) sends data grouping 30 to receiver according to PSN order, so that PSN is lower Data packets 30 are sent before data packets with higher PSNs (eg, data packets with PSN=3 are sent before data packets with PSN=4). Step 2, if the receiver determines that the data packet 30 is lost (for example, the receiver has received the data packet of PSN=3 but has not received the data packet of PSN=1), then in step 3, the receiver will send a denial (NACK) message to Sender, lists lost packets (eg, PSN=1). Wherein, the preferred NACK message not only lists the lost packets in the latest data packet group, but also lists all the lost packets before that. For example, if a data packet with PSN=3 is lost (not yet received) from packet group 1, and a data packet with PSN=18 is lost from packet group 4, then the NACK message will also list the lost data packets (PSN=3 and PSN=18). This is particularly convenient because even if a previous NACK message is lost, the sender can still be notified of the missing data packets in the previously sent group of packets. Consider that a NACK message can be sent before or after the GTR data packet of each data packet group is received by the receiver. the

步骤4,从接收方接收到NACK消息后,发送方检测自发送在NACK消息中列出的每个丢失的数据分组后过去的时间是否小于预定的时间间隔(例如,约为数据分组在发送方和接收方之间传输所需的一个往返行程时间(RTT)),步骤5如果对丢失的数据分组来说过去的时间小于RTT,则发送方并不重传所请求的(丢失的)数据分组。否则,步骤6如丢失的数据分组所经过的时间大于预定的时间间隔,则发送方重传该丢失的数据分组。在该过程中,接收方等待发送方返回丢失的数据分组,但是如果等待的时间超过了预先设定的门限值即接收方发送NACK后到接收到丢失的数据包经历时间的一个门限值T2,则接收方将重新发送否认消息; Step 4, after receiving the NACK message from the receiver, the sender detects whether the time elapsed since sending each missing data packet listed in the NACK message is less than a predetermined time interval (e.g., about A round trip time (RTT) required for transmission between the receiver and the receiver), step 5 If the time elapsed for the lost data packet is less than the RTT, the sender does not retransmit the requested (lost) data packet . Otherwise, in step 6, if the elapsed time of the lost data packet is greater than the predetermined time interval, the sender retransmits the lost data packet. In this process, the receiver waits for the sender to return the lost data packet, but if the waiting time exceeds the preset threshold value, that is, a threshold value of the elapsed time from the receiver sending NACK to receiving the lost data packet T2, the receiver will resend the deny message;

一接收到小组中的所有数据分组,接收方就发送确认(ACK)消息给发送方,确认接收到小组的所有数据分组,接着开始组合接收的数据分组以重新构成该数据消息。类似于NACK消息的发送,接收方在接收到小组的GTR数据分组后可发送ACK消息。接收方在接收到TTR数据分组后也可发送ACK消息,确认接收到数据消息中的所有数据分组。或者,接收方可发送NACK消息,列出一个特定组没有丢失的数据分组,从而隐含确认接收到该特定组中的所有数据分组。 Upon receipt of all data packets in the group, the receiver sends an acknowledgment (ACK) message to the sender, acknowledging receipt of all data packets in the group, and then begins assembling the received data packets to reconstruct the data message. Similar to the sending of a NACK message, the receiver can send an ACK message after receiving the group's GTR data packet. After receiving the TTR data packet, the receiver can also send an ACK message to confirm receipt of all data packets in the data message. Alternatively, the receiver may send a NACK message listing no lost data packets of a particular group, thereby implicitly acknowledging receipt of all data packets in that particular group. the

在特别优选的实施例中,NACK消息不仅列出丢失的数据分组,而且列出接收方接收的数据分组中的最高分组序号。利用这种NACK消息,接收方因此能隐含确认接收到PSN较低的所有数据分组(除了列出的丢失分组)。示意这种NACK消息的例子如下。发送方发送两组数据分组:具有PSN=N,N+1,N+2(GTR)的分组;以及具有PSN=N+3,N+4,N+5(GTR)的分组。PSN=N+2和N+5的两个数据分组包括GTR标志集,因此是它们各自的小组中最后一个数据分组。PSN=N和N+1的数据分组在传输期间丢失。接收方接着发送NACK消息(NACK_1),列出PSN=N和N+1的数据分组为丢失分组,而PSN=N+2的数据分组为接收方接收的最后一个数据分组(即,PSN最 高)。然而,NACK_1在传输期间也丢失了。其间,接收方继续接收下一分组组的数据分组:具有PSN=N+3,N+4和N+5的数据分组。在确定PSN=N和N+1的数据分组仍然丢失之后,接收方发送第二个NACK消息(NACK_2),列出接收的最后一个数据分组(例如,PSN=N+5的数据分组)和仍丢失的数据分组(PSN=N和N+1的数据分组)。接收方接收NACK_2,且认识到接收方已经接收了除PSN=N和N+1的数据分组外在这两个数据分组组中的所有数据分组。发送方之后重新发送丢失的数据分组(PSN=N和N+1)。考虑这个NACK消息可与确认消息组合用于进一步增强发送方和接收方之间的通信可靠性。 In a particularly preferred embodiment, the NACK message lists not only the missing data packets, but also the highest packet sequence number among the data packets received by the receiver. With such a NACK message, the recipient can thus implicitly acknowledge receipt of all data packets with a lower PSN (except for the listed missing packets). An example illustrating such a NACK message is as follows. The sender sends two sets of data packets: packets with PSN=N, N+1, N+2 (GTR); and packets with PSN=N+3, N+4, N+5 (GTR). The two data packets with PSN=N+2 and N+5 include the GTR flag set and are therefore the last data packets in their respective groups. Data packets with PSN=N and N+1 are lost during transmission. The receiver then sends a NACK message (NACK_1), listing data packets with PSN=N and N+1 as lost packets, and data packets with PSN=N+2 as the last data packet received by the receiver (i.e., the data packet with the highest PSN ). However, NACK_1 is also lost during transmission. Meanwhile, the receiver continues to receive data packets of the next packet group: data packets with PSN=N+3, N+4 and N+5. After determining that the data packets with PSN=N and N+1 are still lost, the receiver sends a second NACK message (NACK_2) listing the last data packet received (for example, the data packet with PSN=N+5) and the remaining Lost data packets (data packets with PSN=N and N+1). The receiver receives NACK_2 and realizes that the receiver has received all data packets in these two groups of data packets except those with PSN=N and N+1. The sender then resends the lost data packets (PSN=N and N+1). Consider that this NACK message can be combined with an acknowledgment message to further enhance the communication reliability between the sender and receiver. the

举例说明本发明无线信道数据传输方法,接收方发送数据请求到空中链路15,链路15依次发送该请求给发送方。发送方接收该数据请求并发送给空中链路15具有PSN=N,N+1和N+2的数据分组30。然而空中链路只发送了PSN=N+1和N+2的数据分组,漏掉了PSN=N的数据分组。接收方确定PSN=N的数据分组丢失并发送给空中链路15NACK消息(NACK_1),列出PSN=N的数据分组。但是该NACK消息也丢了,空中链路15无法转发该NACK消息到发送方。 To illustrate the wireless channel data transmission method of the present invention, the receiver sends a data request to the air link 15, and the link 15 sends the request to the sender in turn. The sender receives the data request and sends to the air link 15 data packets 30 with PSN=N, N+1 and N+2. However, the air link only sends the data packets with PSN=N+1 and N+2, and the data packets with PSN=N are missed. The receiver determines that the data packets with PSN=N are lost and sends to the airlink 15 a NACK message (NACK_1) listing the data packets with PSN=N. But the NACK message is also lost, and the air link 15 cannot forward the NACK message to the sender. the

发送方仍响应原始数据请求,发送另一分组组的PSN=N+3和N+4的数据分组30。空中链路15发送给接收方PSN=N+3和N+4的数据分组。接收方在等待时间超过设定的门限值后,再次确认PSN=N的数据分组丢失,并发送列出丢失数据分组的另一NACK消息(NACK_2)到空中链路15,链路15成功地转发该NACK_2消息到发送方。发送方响应NACK_2,通过空中链路15发送丢失的PSN=N的数据分组到接收方。 Still in response to the original data request, the sender sends another packet group of data packets 30 with PSN=N+3 and N+4. Airlink 15 sends data packets to recipients PSN=N+3 and N+4. After the waiting time exceeds the set threshold value, the receiver confirms the loss of the data packet with PSN=N again, and sends another NACK message (NACK_2) listing the lost data packet to the air link 15, and the link 15 successfully Forward the NACK_2 message to the sender. The sender responds to NACK_2 by sending the missing data packet with PSN=N to the receiver over the air link 15 . the

下面介绍另外一个例子,接收方发送数据请求到空中链路15,链路15依次发送该请求到发送方。发送方接着发送PSN=N,N+1的数据分组到空中链路15。空中链路丢失了PSN=N的数据分组,只发送PSN=N+1的数据分组到接收方。接收方发送给空中链路15否认消息(NACK_1),列出PSN=N的数据分组。发送方继续发送PSN=N+2的数据分组到空中链路15,链路15成 功发送该数据分组到接收方。接收方确定(在接收到GTR分组之前或之后)PSN=N的数据分组丢失,之后发送另一否认消息(NACK_2)。然而,空中链路最后发送NACK_1给发送方,其响应是发送PSN=N的数据分组给空中链路15。空中链路15传送PSN=N的数据分组给接收方。发送方预先设定T1用来控制重发丢失数据分组的时间,在此时间内,不管接收到什么,发送方都不重发丢失的数据分组,只有在大于T1的时间时,收到了NACK就重发丢失数据分组。发送方在小于一个T1(即,预定的时间间隔)的时间间隔内发送该数据分组(PSN=N)后,发送方接收到请求同一数据分组(即,PSN=N)的NACK_2。由于NACK_2是在小于一个T1内接收的,因此发送方不理睬NACK_2,拒绝发送所请求的数据分组。 In another example, the receiver sends a data request to the air link 15, which in turn sends the request to the sender. The sender then sends a data packet with PSN=N, N+1 to the air link 15 . The data packet with PSN=N is lost in the air link, and only the data packet with PSN=N+1 is sent to the receiver. The receiver sends an airlink 15 acknowledgment message (NACK_1) listing the data packets with PSN=N. The sender continues to send data packets with PSN=N+2 to the air link 15, which successfully sends the data packets to the receiver. The receiver determines (either before or after receiving the GTR packet) that the data packet with PSN=N is lost, and then sends another acknowledgment message (NACK_2). However, the airlink finally sends NACK_1 to the sender, which responds by sending a data packet with PSN=N to the airlink 15 . The air link 15 transmits data packets with PSN=N to the recipient. The sender pre-sets T1 to control the retransmission time of the lost data packet. During this time, no matter what is received, the sender will not resend the lost data packet. Only when the time is greater than T1, the NACK is received. Resend lost data packets. After the sender sends the data packet (PSN=N) within a time interval less than one T1 (ie, a predetermined time interval), the sender receives NACK_2 requesting the same data packet (ie, PSN=N). Since NACK_2 was received within less than one T1, the sender ignores NACK_2, refusing to send the requested data packet. the

最后所应说明的是,以上实施例仅用以说明本发明实施例的技术方案而非限制,尽管参照较佳实施例对本发明实施例进行了详细说明,本领域的普通技术人员应当理解,可以对本发明实施例的技术方案进行修改或者等同替换,而不脱离本发明实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention rather than limit them. Although the embodiments of the present invention have been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that they can Modifications or equivalent replacements are made to the technical solutions of the embodiments of the present invention without departing from the spirit and scope of the technical solutions of the embodiments of the present invention. the

Claims (3)

1.一种工业无线传感器网络的广播信道数据传输方法,其特征在于包括:1. A broadcast channel data transmission method of an industrial wireless sensor network, characterized in that it comprises: 步骤1,发送方按照分组序号顺序发送数据分组给接收方,分组序号较低的数据分组应先于分组序号较高的数据分组到达接收方;Step 1, the sender sends data packets to the receiver in the order of packet sequence numbers, and data packets with lower packet sequence numbers should arrive at the receiver before data packets with higher packet sequence numbers; 步骤2,如果接收方接收到分组序号较高的数据分组但是没有接收到分组序号较低的的数据分组,则判断该分组序号较低的数据分组丢失;Step 2, if the receiver receives a data packet with a higher packet sequence number but does not receive a data packet with a lower packet sequence number, then judge that the data packet with a lower packet sequence number is lost; 步骤3,接收方会发送否认消息给发送方,该否认消息中列出丢失的分组数据数序;Step 3, the receiver will send a denial message to the sender, and the denial message lists the sequence of lost packet data; 步骤4,从接收方接收到否认消息后,发送方检测自发送在否认消息中列出的每个丢失的数据分组后过去的时间是否小于预定的时间间隔;Step 4, after receiving the acknowledgment message from the receiver, the sender detects whether the time elapsed since sending each lost data packet listed in the acknowledgment message is less than a predetermined time interval; 步骤5,如果对丢失的数据分组来说过去的时间小于预定的时间间隔,则发送方并不重传所否认消息中所请求的被丢失的数据分组;否则,Step 5, if the elapsed time for the lost data packet is less than the predetermined time interval, the sender does not retransmit the requested lost data packet in the denied message; otherwise, 步骤6,如丢失的数据分组所经过的时间大于预定的时间间隔,则发送方重传否认消息中所请求的被丢失的数据分组;Step 6, if the elapsed time of the lost data packet is greater than a predetermined time interval, the sender retransmits the requested lost data packet in the deny message; 步骤7,接收方向发送方发送否认消息后,等待发送方重发丢失的数据分组,但是如果等待的时间超过了预先设定的门限值,则接收方重新向发送方发送否认消息;Step 7, after the receiver sends a deny message to the sender, it waits for the sender to resend the lost data packet, but if the waiting time exceeds a preset threshold value, the receiver sends a deny message to the sender again; 步骤8,一旦接收到所有数据分组,接收方就发送确认消息给发送方,确认接收到所有数据分组。Step 8, once all the data packets are received, the receiver sends an acknowledgment message to the sender to confirm receipt of all the data packets. 2.根据权利要求1所述的方法,其特征在于,所述步骤3中的否认消息不仅列出最近的数据分组组中丢失的分组序号,还要列出在此之前的所有丢失的分组序号。2. The method according to claim 1, characterized in that the deny message in said step 3 not only lists the packet sequence numbers lost in the latest data packet group, but also lists all the packet sequence numbers lost before this . 3.根据权利要求1或2所述的方法,其特征在于,所述否认消息不仅列出丢失的数据分组序号,而且列出接收方已接收到的数据分组中的最高分组序号。3. The method according to claim 1 or 2, characterized in that the acknowledgment message not only lists the missing data packet sequence numbers, but also lists the highest packet sequence number among the data packets already received by the receiver.
CN2008100467846A 2008-01-25 2008-01-25 Broadcast channel data transmission method for industrial wireless sensor network Expired - Fee Related CN101232452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100467846A CN101232452B (en) 2008-01-25 2008-01-25 Broadcast channel data transmission method for industrial wireless sensor network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100467846A CN101232452B (en) 2008-01-25 2008-01-25 Broadcast channel data transmission method for industrial wireless sensor network

Publications (2)

Publication Number Publication Date
CN101232452A CN101232452A (en) 2008-07-30
CN101232452B true CN101232452B (en) 2011-02-09

Family

ID=39898635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100467846A Expired - Fee Related CN101232452B (en) 2008-01-25 2008-01-25 Broadcast channel data transmission method for industrial wireless sensor network

Country Status (1)

Country Link
CN (1) CN101232452B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8983681B2 (en) * 2011-10-06 2015-03-17 General Motors Llc Method of communicating with a vehicle having a telematics unit
CN114503533B (en) * 2019-11-01 2024-04-19 哈希公司 Get dynamic information without connection through wireless transmission

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000008808A1 (en) * 1998-08-04 2000-02-17 Opuswave Networks, Inc. Efficient error control for wireless packet transmissions
CN1863168A (en) * 2005-05-13 2006-11-15 索尼株式会社 Transmission and reception system, transmitter, transmission method, receiver, reception method, and program
CN1906914A (en) * 2004-01-09 2007-01-31 日本电气株式会社 Communication method
CN1973500A (en) * 2004-06-23 2007-05-30 皇家飞利浦电子股份有限公司 Method of, and system for and a station for transmitting data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000008808A1 (en) * 1998-08-04 2000-02-17 Opuswave Networks, Inc. Efficient error control for wireless packet transmissions
CN1906914A (en) * 2004-01-09 2007-01-31 日本电气株式会社 Communication method
CN1973500A (en) * 2004-06-23 2007-05-30 皇家飞利浦电子股份有限公司 Method of, and system for and a station for transmitting data
CN1863168A (en) * 2005-05-13 2006-11-15 索尼株式会社 Transmission and reception system, transmitter, transmission method, receiver, reception method, and program

Also Published As

Publication number Publication date
CN101232452A (en) 2008-07-30

Similar Documents

Publication Publication Date Title
CN100413241C (en) Data retransmission method
CN101977100B (en) The block simplifying recipient state information confirms
US7688755B2 (en) Method and apparatus for group leader selection in wireless multicast service
US8898532B2 (en) Multi-carier configuration, activation and scheduling
CN104202774A (en) Reliable and real-time industrial wireless local area network transmission method
CN101018195B (en) Transmission method of burst message in the MANET information distribution ordering platform
CN100505608C (en) An adaptive congestion control method and system suitable for satellite networks
US20130070581A1 (en) Controlling Data Transmission
CN101232452B (en) Broadcast channel data transmission method for industrial wireless sensor network
CN101267241A (en) Method, system and relay station for automatic retransmission request in relay network
CN101656750A (en) TCP split connection method suitable for space communication network
CN105872986B (en) Broadcast Method Based on Node Successful Broadcast Rate and Energy Balance in Mobile Ad Hoc Network
CN108667563A (en) A kind of forward error correction packet number acquisition methods and device
CN101465719B (en) Data retransmission method and device
WO2024031995A1 (en) Data interaction method based on near field communication
CN105553627B (en) It is a kind of that quickly persistently m data validations etc. stop wireless sensor network data transmission method
Ayadi et al. Improving distributed TCP caching for wireless sensor networks
Zheng et al. XBC: XOR-based buffer coding for reliable transmissions over wireless networks
CN110572186A (en) Dual-mode communication network system and communication mode selection method thereof
CN114268925B (en) Wireless gateway protocol optimization method, electronic device and storage medium
Yang et al. Research on TCP transmission performance optimization based on satellite communication conditions
US20240259767A1 (en) Method for communicating messages between a plurality of pieces of user equipment
HK1081759B (en) Data retransmission method
CN116709209A (en) A method for reliable multi-source broadcasting in wireless single-hop networks based on piggyback acknowledgment
CN118450474A (en) Method for dynamically adjusting transmission parameters of distributed low-power IoT devices

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110209

Termination date: 20120125