CN103534973B - A kind of methods, devices and systems reducing transmission control layer confirmation message - Google Patents
A kind of methods, devices and systems reducing transmission control layer confirmation message Download PDFInfo
- Publication number
- CN103534973B CN103534973B CN201380000825.7A CN201380000825A CN103534973B CN 103534973 B CN103534973 B CN 103534973B CN 201380000825 A CN201380000825 A CN 201380000825A CN 103534973 B CN103534973 B CN 103534973B
- Authority
- CN
- China
- Prior art keywords
- control layer
- transmission control
- sending end
- message
- checksum
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1829—Arrangements specially adapted for the receiver end
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
本发明的实施例公开一种减少传输控制层确认报文的方法、装置和系统,涉及通信领域,解决在无线通信中解决接收端发送的确认报文占据大量空中接口资源,对其它通信数据形成干扰的问题。本发明提供的方案为:接收发送端发出的数据报文和发送端校验和;所述发送端校验和由所述发送端根据所述数据报文生成;根据接收到的所述数据报文生成接收端校验和;当判断所述发送端校验和与所述接收端校验和相同时,将所述数据报文传递至接收端的传输控制层;向所述发送端返回数据接收确认;当收到所述接收端的传输控制层发出的传输控制层确认报文时,将所述传输控制层确认报文丢弃。本发明主要应用在网络通信系统中。
The embodiment of the present invention discloses a method, device and system for reducing transmission control layer acknowledgment messages, which relate to the communication field and solve the problem that in wireless communication, the acknowledgment messages sent by the receiving end occupy a large amount of air interface resources and cause problems for other communication data. The problem of interference. The solution provided by the present invention is: receiving the data message sent by the sending end and the sending end checksum; the sending end checksum is generated by the sending end according to the data message; according to the received data message The text generates the checksum of the receiving end; when it is judged that the checksum of the sending end is the same as the checksum of the receiving end, the data message is passed to the transmission control layer of the receiving end; the data received is returned to the sending end Acknowledgment: discarding the transmission control layer confirmation message when receiving the transmission control layer confirmation message sent by the transmission control layer of the receiving end. The present invention is mainly applied in network communication systems.
Description
技术领域technical field
本发明涉及通信领域,特别涉及一种减少传输控制层确认报文的方法、装置和系统。The invention relates to the field of communications, in particular to a method, device and system for reducing transmission control layer confirmation messages.
背景技术Background technique
在数据无线传输的过程中,网络侧和用户侧一般遵循数据传输的五层模型,即,应用层,传输控制(Transfer Control Protocol,TCP)层,网络层,无线链路控制(Radio link Control,RLC)层和物理(Physical,PHY)层。当网络侧向用户侧发送数据时,数据从网络侧的应用层出发,经网络侧的传输控制层、网络层、无线链路控制层和物理层后,经由传输链路到用户侧的物理层,并经由用户侧的无线链路控制层和网络层,最后到达用户侧的应用层。反之亦然。In the process of wireless data transmission, the network side and the user side generally follow the five-layer model of data transmission, namely, application layer, transmission control (Transfer Control Protocol, TCP) layer, network layer, radio link control (Radio link control, RLC) layer and physical (Physical, PHY) layer. When the network side sends data to the user side, the data starts from the application layer on the network side, passes through the transmission control layer, network layer, radio link control layer and physical layer on the network side, and then reaches the physical layer on the user side via the transmission link , and go through the radio link control layer and network layer on the user side, and finally reach the application layer on the user side. vice versa.
为避免在传输过程中出现数据缺失或数据错误的情况,在上述数据传输的过程中引入接收数据确认机制,发送方发送一次数据后,只有等到接收方反馈回的确认信息后,才发送第二次数据。In order to avoid data loss or data errors during the transmission process, a data confirmation mechanism is introduced in the above data transmission process. After the sender sends data once, it will only send the second data after receiving the confirmation information fed back by the receiver. secondary data.
一般情况下,被发送数据会经历两次检测,当前终端接收到其他终端的数据后,首先由物理层通过校验和对接收的数据进行检测。所谓校验和是按照校验算法将接收的数据转换成的一个数值,用于检测数据在发送过程中是否有丢失损坏。当校验正确时,当前终端的物理层将检测结果发送至无线链路控制层,无线链路控制层将数据发到上层的传输控制层,由传输控制层对数据进行第二次检测。Generally, the data to be sent undergoes two detections. After the current terminal receives data from other terminals, the physical layer first detects the received data through a checksum. The so-called checksum is a value converted from the received data according to the checksum algorithm, which is used to detect whether the data is lost or damaged during the sending process. When the verification is correct, the physical layer of the current terminal sends the detection result to the radio link control layer, and the radio link control layer sends the data to the upper transmission control layer, and the transmission control layer performs a second detection on the data.
举例来说,网络侧无线链路控制层接收到上层发送的数据ABC后,将该数据发送给网络侧物理层,网络侧物理层对数据ABC进行校验运算,得到网络侧校验和,然后,把数据ABC和网络侧校验和一起发送给用户侧物理层。用户侧物理层对数据ABC进行校验运算,得出用户侧校验和,然后,对比网络侧校验和用户侧校验和,并将数据ABC和对比结果向上层发送,到达用户侧传输控制层。用户侧传输控制层按照该层的计算方法对数据进行检测,根据检测结果生成ACK(Acknowledgement,确认信息),并将该ACK传回网络侧,网络侧传输控制层根据接收到的ACK来决定发送下一个数据或重发上一个数据。For example, after the wireless link control layer on the network side receives the data ABC sent by the upper layer, it sends the data to the physical layer on the network side, and the physical layer on the network side performs a check operation on the data ABC to obtain a checksum on the network side, and then , and send the data ABC and the network-side checksum to the user-side physical layer. The user-side physical layer performs a check operation on the data ABC to obtain the user-side checksum, then compares the network-side checksum with the user-side checksum, and sends the data ABC and the comparison result to the upper layer to reach the user-side transmission control layer. The user-side transmission control layer detects the data according to the calculation method of this layer, generates ACK (Acknowledgment, confirmation information) according to the detection result, and sends the ACK back to the network side, and the network-side transmission control layer decides to send the data according to the received ACK. Next data or resend last data.
在实现上述方案的过程中,至少存在以下技术问题:In the process of realizing the above scheme, there are at least the following technical problems:
数据接收方传输控制层需要回复大量的ACK,占据大量空中接口的资源,并且大量的ACK对其它通信数据形成干扰。The transmission control layer of the data receiver needs to reply a large number of ACKs, occupying a large number of air interface resources, and a large number of ACKs interfere with other communication data.
发明内容Contents of the invention
本发明的实施例提供一种减少传输控制层确认报文的方法、装置和系统,解决在数据传输过程中,接收方传输控制层对于每个接收的数据都要发送确认报文,占据大量空中接口的资源,对其它通信数据形成干扰的技术问题。Embodiments of the present invention provide a method, device, and system for reducing transmission control layer acknowledgment messages, solving the problem that during data transmission, the receiver transmission control layer must send acknowledgment messages for each received data, occupying a large amount of space. Interface resources, technical issues that interfere with other communication data.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,提供一种减少传输控制层确认报文的方法,包括:In the first aspect, a method for reducing transmission control layer confirmation messages is provided, including:
接收发送端发出的数据报文和发送端校验和;所述发送端校验和由所述发送端根据所述数据报文生成;receiving the data message sent by the sender and the checksum of the sender; the checksum of the sender is generated by the sender according to the data message;
根据接收到的所述数据报文生成接收端校验和;Generate a checksum at the receiving end according to the received data message;
当判断所述发送端校验和与所述接收端校验和相同时,将所述数据报文传递至接收端的传输控制层;其中,所述接收端的传输控制层接收所述数据报文后,发出传输控制层确认报文;并且,当判断所述发送端校验和与所述接收端校验和相同时,向所述发送端发送数据接收确认,以便于所述发送端接收所述数据接收确认后,构造发送端传输控制层确认报文并将所述发送端传输控制层确认报文发送给所述发送端的传输控制层;When it is judged that the checksum of the sending end is the same as the checksum of the receiving end, the data message is delivered to the transmission control layer of the receiving end; wherein, after receiving the data message, the transmission control layer of the receiving end , send a transmission control layer confirmation message; and, when it is judged that the checksum of the sending end is the same as the checksum of the receiving end, send a data reception confirmation to the sending end, so that the sending end can receive the After the data is received and confirmed, construct the transmission control layer confirmation message of the sending end and send the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end;
当收到所述接收端的传输控制层发出的所述传输控制层确认报文时,将所述传输控制层确认报文丢弃,从而减少传输控制层确认报文的数量。When the transmission control layer confirmation message sent by the transmission control layer of the receiving end is received, the transmission control layer confirmation message is discarded, thereby reducing the number of transmission control layer confirmation messages.
结合第一方面,在第一方面的第一种可能实现的方式中,所述方法还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
当判断所述发送端校验和与所述接收端校验和不相同时,将所述数据报文丢弃。When it is judged that the checksum of the sending end is different from the checksum of the receiving end, the data packet is discarded.
结合第一方面,在第一方面的第二种可能的实现方式中,当所述接收端为用户终端,所述发送端为网络侧时,在接收发送端发出的数据报文和发送端校验和之前,所述方法还包括:With reference to the first aspect, in a second possible implementation of the first aspect, when the receiving end is a user terminal and the sending end is a network side, receiving the data message sent by the sending end and the sending end calibration Before checking and, described method also comprises:
所述用户终端向所述网络侧发送减少传输控制层确认报文能力信息,以便所述网络侧根据所述减少传输控制层确认报文能力信息,确定所述用户终端具有减少所述传输控制成确认报文的能力。The user terminal sends reduced transmission control layer acknowledgment message capability information to the network side, so that the network side determines that the user terminal has the ability to reduce the transmission control layer according to the reduced transmission control layer acknowledgment message capability information. Ability to acknowledge packets.
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,在向所述网络侧发送减少传输控制层确认报文能力信息之前,所述方法还包括:With reference to the second possible implementation of the first aspect, in the third possible implementation of the first aspect, before sending the reduced transmission control layer confirmation message capability information to the network side, the method further includes :
所述用户终端接收所述网络侧发送的减少传输控制层确认报文能力查询消息。The user terminal receives the reduced transmission control layer confirmation message capability query message sent by the network side.
结合第一方面的第二种可能的实现方式或第三种可能的实现方式,在第四种可能的实现方式中,在向所述网络侧发送减少传输控制层确认报文能力信息之后,所述方法还包括:With reference to the second possible implementation manner or the third possible implementation manner of the first aspect, in a fourth possible implementation manner, after sending the reduced transmission control layer confirmation message capability information to the network side, the The method also includes:
接收所述网络侧发送的减少传输控制层确认报文启动消息,以便开启减少传输控制层确认报文的功能。receiving the start message of reducing transmission control layer acknowledgment messages sent by the network side, so as to enable the function of reducing transmission control layer acknowledgment messages.
第二方面,提供一种减少传输控制层确认报文的方法,包括:In the second aspect, a method for reducing transmission control layer confirmation messages is provided, including:
接收发送端的传输控制层发出的数据报文;Receive the data message sent by the transmission control layer of the sending end;
根据所述发送端的所述传输控制层发出的数据报文生成发送端校验和;generating a sending end checksum according to the data message sent by the transmission control layer of the sending end;
将所述数据报文和所述发送端校验和发送至接收端,以便所述接收端根据接收到的所述数据报文生成接收端校验和,并当判断所述发送端校验和与所述接收端校验和相同时,向所述发送端发送数据接收确认;Send the data message and the checksum of the sending end to the receiving end, so that the receiving end generates a checksum of the receiving end according to the received data message, and when judging the checksum of the sending end When the checksum of the receiving end is the same, sending a data reception confirmation to the sending end;
接收所述接收端返回的数据接收确认;所述数据接收确认由所述接收端在所述发送端校验和与接收端校验和相同时返回给所述发送端;receiving the data reception confirmation returned by the receiving end; the data receiving confirmation is returned to the sending end by the receiving end when the checksum of the sending end is the same as the checksum of the receiving end;
接收所述数据接收确认后,构造发送端传输控制层确认报文;After receiving the data reception confirmation, constructing a transmission control layer confirmation message at the sending end;
将所述发送端传输控制层确认报文传递给所述发送端的传输控制层。passing the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end.
结合第二方面,在第二方面的第一种可能的实现方式中,所述方法还包括:将所述发送端传输控制层确认报文传递给所述发送端的传输控制层后,所述发送端的传输控制层继续按顺序发送其他数据报文。With reference to the second aspect, in the first possible implementation manner of the second aspect, the method further includes: after transmitting the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end, the sending The transmission control layer at the end continues to send other data packets in sequence.
结合第二方面,在第二方面的第二种可能的实现方式中,将所述数据报文和所述发送端校验和发送至接收端后,所述方法还包括:With reference to the second aspect, in a second possible implementation of the second aspect, after sending the data message and the sender checksum to the receiver, the method further includes:
当在预设的等待时间内未收到所述数据接收确认时,所述发送端的传输控制层重新发送所述数据报文。When the data reception acknowledgment is not received within the preset waiting time, the transmission control layer at the sending end resends the data message.
结合第二方面,在第二方面的第三种可能的实现方式中,在接收所述发送端的传输控制层发出的数据报文后,还包括:With reference to the second aspect, in a third possible implementation of the second aspect, after receiving the data message sent by the transmission control layer of the sending end, further include:
当所述发送端的传输控制层发送的数据报文出现漏传时,构造数据报文缺失反馈信息;所述数据报文缺失反馈信息中包含漏传的数据报文的信息;When the data message sent by the transmission control layer of the sending end is leaked, the data message missing feedback information is constructed; the data message missing feedback information includes the information of the missing data message;
将所述数据报文缺失反馈信息发送至所述发送端的传输控制层,以使所述发送端的传输控制层根据所述数据报文缺失反馈信息发送所述漏传的数据报文。Sending the missing data message feedback information to the transmission control layer of the sending end, so that the transmission control layer of the sending end sends the missing data message according to the missing data message feedback information.
结合第二方面,在第二方面的第四种可能的实现方式中,当所述接收端为用户终端,所述发送端为网络侧时,在接收发送端的传输控制层发出的数据报文前,所述方法还包括:With reference to the second aspect, in a fourth possible implementation of the second aspect, when the receiving end is a user terminal and the sending end is a network side, before receiving the data message sent by the transmission control layer of the sending end , the method also includes:
所述网络侧接收所述用户终端发送的减少传输控制层确认报文能力信息,以便所述网络侧根据所述减少传输控制层确认报文能力信息,确定所述用户终端具有减少所述传输控制层确认报文的能力。The network side receives the reduced transmission control layer acknowledgment message capability information sent by the user terminal, so that the network side determines that the user terminal has the ability to reduce the transmission control layer according to the reduced transmission control layer acknowledgment message capability information. The ability of the layer to confirm the message.
结合第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,在接收所述用户终端发送的减少传输控制层确认报文能力信息前,所述方法还包括:With reference to the fourth possible implementation of the second aspect, in the fifth possible implementation of the second aspect, before receiving the reduced transmission control layer confirmation packet capability information sent by the user terminal, the method further include:
向所述用户终端发送减少传输控制层确认报文能力查询消息。Sending a reduced transmission control layer confirmation message capability query message to the user terminal.
结合第二方面的第四种可能的实现方式或第五种可能的实现方式,在第二方面的第六种可能的实现方式中,在接收所述用户终端发送的减少传输控制层确认报文能力信息后,所述方法还包括:With reference to the fourth possible implementation manner or the fifth possible implementation manner of the second aspect, in the sixth possible implementation manner of the second aspect, after receiving the transmission reduction control layer confirmation message sent by the user terminal After the capability information, the method further includes:
向所述用户终端发送减少传输控制层确认报文启动消息,以便所述用户终端开启减少传输控制层确认报文的功能。Sending the start message of reducing transmission control layer acknowledgment messages to the user terminal, so that the user terminal enables the function of reducing transmission control layer acknowledgment messages.
第三方面,提供一种接收端,包括:In a third aspect, a receiving end is provided, including:
接收单元,用于接收发送端发出的数据报文和发送端校验和;所述发送端校验和由所述发送端根据所述数据报文生成;The receiving unit is used to receive the data message sent by the sending end and the checksum of the sending end; the checksum of the sending end is generated by the sending end according to the data message;
校验和生成单元,用于根据所述接收单元接收到的所述数据报文生成接收端校验和;a checksum generating unit, configured to generate a receiving end checksum according to the data message received by the receiving unit;
接收端传递单元,用于当判断所述发送端校验和与所述校验和生成单元生成的接收端校验和相同时,将所述数据报文传递至接收端的传输控制层;其中,所述接收端的传输控制层接收所述数据报文后,发出传输控制层确认报文;The receiving end transfer unit is used to transfer the data message to the transmission control layer of the receiving end when judging that the sending end checksum is the same as the receiving end checksum generated by the checksum generating unit; wherein, After receiving the data message, the transmission control layer at the receiving end sends a transmission control layer confirmation message;
数据确认发送单元,用于当判断所述发送端校验和与所述校验和生成单元生成的接收端校验和相同时,向所述发送端返回数据接收确认;以便于所述发送端接收所述数据接收确认后,构造发送端传输控制层确认报文并将所述发送端传输控制层确认报文发送给所述发送端的传输控制层;A data confirmation sending unit, configured to return a data reception acknowledgment to the sending end when it is judged that the sending end checksum is the same as the receiving end checksum generated by the checksum generating unit; so that the sending end After receiving the data reception confirmation, constructing a transmission control layer confirmation message of the sending end and sending the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end;
确认报文丢弃单元,用于当收到所述接收端传输控制层发送的所述传输控制层确认报文时,将所述传输控制层确认报文丢弃,从而减少传输控制层确认报文的数量。A confirmation message discarding unit, configured to discard the transmission control layer confirmation message when receiving the transmission control layer confirmation message sent by the transmission control layer of the receiving end, thereby reducing the transmission control layer confirmation message quantity.
结合第三方面,在第三方面的第一种可能的实现方式中,所述接收端还包括:With reference to the third aspect, in a first possible implementation manner of the third aspect, the receiving end further includes:
数据报文丢弃单元,用于当判断所述发送端校验和与所述校验和生成单元生成的接收端校验和不相同时,将所述数据报文丢弃。A data message discarding unit, configured to discard the data message when it is judged that the checksum of the sending end is different from the checksum of the receiving end generated by the checksum generating unit.
结合第三方面,在第三方面的第二种可能的实现方式中,当所述接收端为用户终端,所述发送端为网络侧时,所述接收端还包括:With reference to the third aspect, in a second possible implementation manner of the third aspect, when the receiving end is a user terminal and the sending end is a network side, the receiving end further includes:
能力信息发送单元,用于在所述接收单元接收发送端发出的数据报文和发送端校验和之前,向所述网络侧发送减少传输控制层确认报文能力信息,以便所述网络侧根据所述减少传输控制层确认报文能力信息,确定所述用户终端具有减少所述传输控制成确认报文的能力。A capability information sending unit, configured to send the reduced transmission control layer confirmation message capability information to the network side before the receiving unit receives the data message sent by the sender and the checksum of the sender, so that the network side according to The reducing transmission control layer confirmation message capability information determines that the user terminal has the capability of reducing the transmission control confirmation message.
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述接收单元还用于,在所述能力信息发送单元向所述网络侧发送减少传输控制层确认报文能力信息之前,接收所述网络侧发送的减少传输控制层确认报文能力查询消息。With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the receiving unit is further configured to send the reduction transmission to the network side by the capability information sending unit Before the control layer confirms the message capability information, it receives the reduced transmission control layer confirmation message capability query message sent by the network side.
结合第三方面的第二种或第三种可能的实现方式,在第三方面的第四种可能的实现方式中,所述接收单元还用于,在所述能力信息发送单元向所述网络侧发送减少传输控制层确认报文能力信息之后,接收所述网络侧发送的减少传输控制层确认报文启动消息,以便开启减少传输控制层确认报文的功能。With reference to the second or third possible implementation of the third aspect, in a fourth possible implementation of the third aspect, the receiving unit is further configured to, when the capability information sending unit sends the network After sending the reduced transmission control layer confirmation message capability information, the side receives the reduced transmission control layer confirmation message start message sent by the network side, so as to enable the function of reducing the transmission control layer confirmation message.
第四方面,提供一种发送端,包括:In a fourth aspect, a sending end is provided, including:
数据报文接收单元,用于接收所述发送端的传输控制层发出的数据报文;A data message receiving unit, configured to receive a data message sent by the transmission control layer of the sending end;
校验和生成单元,用于根据所述数据报文接收单元接收的所述传输控制层发出的数据报文生成发送端校验和;A checksum generation unit, configured to generate a sender checksum according to the data message sent by the transmission control layer received by the data message receiving unit;
发送单元,用于将所述数据报文和所述发送端校验和发送至接收端,以便所述接收端根据接收到的所述数据报文生成接收端校验和,并当判断所述发送端校验和与所述接收端校验和相同时,向所述发送端发送数据接收确认;a sending unit, configured to send the data message and the checksum of the sending end to the receiving end, so that the receiving end generates a receiving end checksum according to the received data message, and when judging the When the checksum of the sending end is the same as the checksum of the receiving end, sending a data reception confirmation to the sending end;
数据确认接收单元,用于接收所述接收端返回的数据接收确认;所述数据接收确认由所述接收端在所述发送端校验和与接收端校验和相同时返回给所述发送端;A data confirmation receiving unit, configured to receive a data reception confirmation returned by the receiving end; the data receiving confirmation is returned to the sending end by the receiving end when the checksum of the sending end is the same as the checksum of the receiving end ;
确认报文构造单元,用于在所述数据确认单元接收所述数据接收确认后,构造发送端传输控制层确认报文;A confirmation message construction unit, configured to construct a transmission control layer confirmation message at the sending end after the data confirmation unit receives the data reception confirmation;
确认报文传递单元,用于将所述确认报文构造单元构造的所述发送端传输控制层确认报文传递给所述发送端的传输控制层。An acknowledgment message delivery unit, configured to deliver the acknowledgment message of the transmission control layer of the sending end constructed by the acknowledgment message construction unit to the transmission control layer of the sending end.
结合第四方面,在第四方面的第一种可能的实现方式中,所述发送单元还用于,在所述确认报文传递单元将所述发送端传输控制层确认报文传递给所述发送端的传输控制层后,继续按顺序发送其它数据报文。With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the sending unit is further configured to, at the confirmation message delivery unit, deliver the sending end transmission control layer confirmation message to the After the transmission control layer of the sending end, continue to send other data packets in sequence.
结合第四方面,在第四方面的第二种可能的实现方式中,所述发送端的传输控制层还用于当在预设的等待时间内未收到所述数据接收确认时,重新发送所述数据报文。With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, the transmission control layer at the sending end is further configured to resend the received data when the data reception confirmation is not received within a preset waiting time. the data message.
结合第四方面,在第四方面的第三种可能的实现方式中,所述确认报文构造单元,还用于:With reference to the fourth aspect, in a third possible implementation of the fourth aspect, the confirmation message construction unit is also used for:
当所述发送端的传输控制层发送的数据报文出现漏传时,构造数据报文缺失反馈信息;所述数据报文缺失反馈信息中包含漏传的数据报文的信息;When the data message sent by the transmission control layer of the sending end is leaked, the data message missing feedback information is constructed; the data message missing feedback information includes the information of the missing data message;
将所述数据报文缺失反馈信息发送至所述发送端的传输控制层,以使所述发送端的传输控制层根据所述数据报文缺失反馈信息发送所述漏传的数据报文。Sending the missing data message feedback information to the transmission control layer of the sending end, so that the transmission control layer of the sending end sends the missing data message according to the missing data message feedback information.
结合第四方面,在第四方面的第四种可能的实现方式中,当所述接收端为用户终端,所述发送端为网络侧时,所述发送端还包括:With reference to the fourth aspect, in a fourth possible implementation manner of the fourth aspect, when the receiving end is a user terminal and the sending end is a network side, the sending end further includes:
能力信息接收单元,用于接收所述用户终端发送的减少传输控制层确认报文能力信息,以便所述网络侧根据所述减少传输控制层确认报文能力信息,确定所述用户终端具有减少所述传输控制层确认报文的能力。The capability information receiving unit is configured to receive the capability information of the reduced transmission control layer confirmation message sent by the user terminal, so that the network side can determine that the user terminal has the capability of the reduced transmission control layer confirmation message according to the capability information of the reduced transmission control layer confirmation message. Describes the ability of the transport control layer to acknowledge messages.
结合第四方面的第四种可能的实现方式,在第四方面的第五种可能的实现方式中,所述发送单元还用于,在所述能力信息接收单元接收所述用户终端发送的减少传输控制层确认报文能力信息前,向所述用户终端发送减少传输控制层确认报文能力查询消息。With reference to the fourth possible implementation manner of the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the sending unit is further configured to receive, at the capability information receiving unit, the reduction information sent by the user terminal. Before the transmission control layer confirms the message capability information, it sends a reduced transmission control layer confirmation message capability query message to the user terminal.
结合第四方面的第四种可能的实现方式或第五种可能的实现方式,在第四方面的第六种可能的实现方式中,所述发送单元还用于,在所述能力信息接收单元接收所述用户终端发送的减少传输控制层确认报文能力信息后,向所述用户终端发送减少传输控制层确认报文启动消息,以便所述用户终端开启减少传输控制层确认报文的功能。With reference to the fourth possible implementation manner or the fifth possible implementation manner of the fourth aspect, in a sixth possible implementation manner of the fourth aspect, the sending unit is further configured to, in the capability information receiving unit After receiving the reduced transmission control layer confirmation message capability information sent by the user terminal, sending a reduced transmission control layer confirmation message start message to the user terminal, so that the user terminal enables the function of reducing the transmission control layer confirmation message.
第五方面,提供一种接收端,包括:In the fifth aspect, a receiving end is provided, including:
接收器,用于接收发送端发出的数据报文和发送端校验和;所述发送端校验和由所述发送端根据所述数据报文生成;The receiver is configured to receive the data message sent by the sending end and the checksum of the sending end; the checksum of the sending end is generated by the sending end according to the data message;
处理器,用于根据接收到的所述数据报文生成接收端校验和,当所述发送端校验和与所述接收端校验和相同时,将所述数据报文传递至接收端的传输控制层;其中,所述接收端的传输控制层接收所述数据报文后,发出传输控制层确认报文;所述处理器还用于当接收所述接收端的传输控制层发出的传输控制层确认报文时,将所述传输控制层确认报文丢弃,从而减少传输控制层确认报文的数量;A processor, configured to generate a receiving end checksum according to the received data message, and when the sending end checksum is the same as the receiving end checksum, transfer the data message to the receiving end's checksum Transmission control layer; wherein, after receiving the data message, the transmission control layer of the receiving end sends a transmission control layer confirmation message; the processor is also used for receiving the transmission control layer sent by the transmission control layer of the receiving end When confirming the message, the transmission control layer confirmation message is discarded, thereby reducing the number of transmission control layer confirmation messages;
发送器,用于当所述发送端校验和与所述接收端校验和相同时,向所述发送端返回数据接收确认;以便于所述发送端接收所述数据接收确认后,构造发送端传输控制层确认报文并将所述发送端传输控制层确认报文发送给所述发送端的传输控制层。a sender, configured to return a data reception confirmation to the sending terminal when the checksum of the sending terminal is the same as the checksum of the receiving terminal; so that the transmitting terminal constructs a sending terminal after receiving the data receiving confirmation; The transmission control layer of the sending end confirms the message and sends the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end.
结合第五方面,在第五方面的第一种可能的实现方式中,所述处理器还用于当所述发送端校验和与所述接收端校验和不相同时,将所述数据报文丢弃。With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the processor is further configured to convert the data to The packet is discarded.
结合第五方面,在第五方面的第二种可能的实现方式中,当所述接收端为用户终端,所述发送端为网络侧时,所述发送器还用于:With reference to the fifth aspect, in a second possible implementation manner of the fifth aspect, when the receiving end is a user terminal and the sending end is a network side, the transmitter is further configured to:
在所述接收器接收发送端发出的数据报文和发送端校验和之前,向所述网络侧发送减少传输控制层确认报文能力信息,以便所述网络侧根据所述减少传输控制层确认报文能力信息,确定所述用户终端具有减少所述传输控制成确认报文的能力。Before the receiver receives the data message sent by the sender and the checksum of the sender, send the reduced transmission control layer confirmation message capability information to the network side, so that the network side can confirm according to the reduced transmission control layer Message capability information, determining that the user terminal has the capability of reducing the transmission control into a confirmation message.
结合第五方面的第二种可能的实现方式,在第五方面的第三种可能的实现方式中,所述接收器还用于,在所述发送器向所述网络侧发送减少传输控制层确认报文能力信息之前,接收所述网络侧发送的减少传输控制层确认报文能力查询消息。With reference to the second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, the receiver is further configured to, when the sender sends the transmission control layer Before confirming the message capability information, receiving the reduced transmission control layer confirmation message capability query message sent by the network side.
结合第五方面的第二种可能的实现方式或第三种可能的实现方式,在第五方面的第四种可能的实现方式中,在所述发送器向所述网络侧发送减少传输控制层确认报文能力信息之后,接收所述网络侧发送的减少传输控制层确认报文启动消息,以便开启减少传输控制层确认报文的功能。With reference to the second possible implementation manner or the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, when the sender transmits the reduced transmission control layer to the network side After confirming the message capability information, receiving the start message of reducing the transmission control layer confirmation message sent by the network side, so as to start the function of reducing the transmission control layer confirmation message.
第六方面,提供一种发送端,包括:In a sixth aspect, a sending end is provided, including:
处理器,用于接收发送端的传输控制层发出的数据报文;根据所述发送端的所述传输控制层发出的数据报文生成发送端校验和;A processor, configured to receive a data message sent by the transmission control layer of the sending end; generate a sending end checksum according to the data message sent by the transmission control layer of the sending end;
发送器,用于将所述数据报文和所述发送端校验和发送至接收端,以便所述接收端根据接收到的所述数据报文生成接收端校验和,并当判断所述发送端校验和与所述接收端校验和相同时,向所述发送端发送数据接收确认;a transmitter, configured to send the data message and the checksum of the sending end to the receiving end, so that the receiving end generates a receiving end checksum according to the received data message, and when judging the When the checksum of the sending end is the same as the checksum of the receiving end, sending a data reception confirmation to the sending end;
接收器,用于接收所述接收端返回的数据接收确认;a receiver, configured to receive a data reception confirmation returned by the receiving end;
所述处理器还用于在所述接收器接收所述数据接收确认后,构造发送端传输控制层确认报文;并将所述发送端传输控制层确认报文传递给所述发送端的传输控制层。The processor is further configured to construct a transmission control layer confirmation message of the sending end after the receiver receives the data reception confirmation; and pass the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end layer.
结合第六方面,在第六方面的第一种可能的实现方式中,所述发送器还用于,在所述处理器将所述发送端传输控制层确认报文传递给所述发送端的传输控制层后,继续按顺序发送其它数据报文。With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the sender is further configured to, at the processor, pass the transmission control layer confirmation message of the sending end to the transmission of the sending end After the control layer, continue to send other data packets in sequence.
结合第六方面,在第六方面的第二种可能的实现方式中,所述发送器,还用于当在预设的等待时间内未收到所述数据接收确认时,重新发送所述数据报文。With reference to the sixth aspect, in a second possible implementation manner of the sixth aspect, the transmitter is further configured to resend the data when the data reception confirmation is not received within a preset waiting time message.
结合第六方面,在第六方面的第三种可能的实现方式中,所述处理器,还用于:With reference to the sixth aspect, in a third possible implementation manner of the sixth aspect, the processor is further configured to:
当所述发送端的传输控制层发送的数据报文出现漏传时,构造数据报文缺失反馈信息;所述数据报文缺失反馈信息中包含漏传的数据报文的信息;When the data message sent by the transmission control layer of the sending end is leaked, the data message missing feedback information is constructed; the data message missing feedback information includes the information of the missing data message;
将所述数据报文缺失反馈信息发送至所述发送端的传输控制层,以使所述发送端的传输控制层根据所述数据报文缺失反馈信息发送所述漏传的数据报文。Sending the missing data message feedback information to the transmission control layer of the sending end, so that the transmission control layer of the sending end sends the missing data message according to the missing data message feedback information.
结合第六方面,在第六方面的第四种可能的实现方式中,当所述接收端为用户终端,所述发送端为网络侧时,所述接收器还用于:With reference to the sixth aspect, in a fourth possible implementation manner of the sixth aspect, when the receiving end is a user terminal and the sending end is a network side, the receiver is further configured to:
接收所述用户终端发送的减少传输控制层确认报文能力信息,以便所述网络侧根据所述减少传输控制层确认报文能力信息,确定所述用户终端具有减少所述传输控制层确认报文的能力。receiving the reduced transmission control layer confirmation message capability information sent by the user terminal, so that the network side determines that the user terminal has the ability to reduce the transmission control layer confirmation message according to the reduced transmission control layer confirmation message capability information Ability.
结合第六方面的第四种可能的实现方式,在第六方面的第五种可能的实现方式中,所述发送器还用于,在所述接收器接收所述用户终端发送的减少传输控制层确认报文能力信息前,向所述用户终端发送减少传输控制层确认报文能力查询消息。With reference to the fourth possible implementation manner of the sixth aspect, in a fifth possible implementation manner of the sixth aspect, the transmitter is further configured to receive, at the receiver, the reduced transmission control sent by the user terminal Before the layer confirms the message capability information, it sends a reduced transmission control layer confirmation message capability query message to the user terminal.
结合第六方面的第四种可能的实现方式或第五种可能的实现方式,在第六方面的第六种可能的实现方式中,所述发送器还用于,在所述接收器接收所述用户终端发送的减少传输控制层确认报文能力信息后,向所述用户终端发送减少传输控制层确认报文启动消息,以便所述用户终端开启减少传输控制层确认报文的功能。With reference to the fourth possible implementation manner or the fifth possible implementation manner of the sixth aspect, in a sixth possible implementation manner of the sixth aspect, the transmitter is further configured to, when the receiver receives the After the capability information of the reduced transmission control layer confirmation message sent by the user terminal, send a reduced transmission control layer confirmation message start message to the user terminal, so that the user terminal starts the function of reducing the transmission control layer confirmation message.
第七方面,提供一种减少传输控制层确认报文的系统,包括:发送端、接收端和空中接口;其中:In the seventh aspect, a system for reducing transmission control layer confirmation messages is provided, including: a sending end, a receiving end, and an air interface; wherein:
发送端包含第五方面所述的任意一项发送端;The sending end includes any sending end described in the fifth aspect;
接收端包含第六方面所述的任意一项接收端;The receiving end includes any receiving end described in the sixth aspect;
所述空中接口用于连接所述发送端和所述接收端;所述空中接口是为所述发送端和所述接收端进行无线连接时提供的接口。The air interface is used to connect the sending end and the receiving end; the air interface is an interface provided for wireless connection between the sending end and the receiving end.
本发明的实施例提供一种减少传输控制层确认报文的方法、装置和系统,一方面,接收端接收发送端发出的数据报文和发送端校验和;根据接收到的所述数据报文生成接收端校验和;当判断所述发送端校验和与所述接收端校验和相同时,将所述数据报文传递至接收端的传输控制层;向所述发送端返回数据接收确认;当收到所述接收端的传输控制层发出的传输控制层确认报文时,将所述传输控制层确认报文丢弃。另一方面,发送端接收所述发送端的传输控制层发出的数据报文;根据所述发送端的传输控制层发出的数据报文生成发送端校验和;将所述数据报文和所述发送端校验和发送至接收端;接收所述接收端返回的数据接收确认;构造发送端传输控制层确认报文;将所述发送端传输控制层确认报文传递给所述发送端的传输控制层。通过上述方案,可以减少接收端向发送端传输的确认报文,解决接收端发送的确认报文占据大量空中接口资源,对其它通信数据形成干扰的问题。Embodiments of the present invention provide a method, device and system for reducing transmission control layer confirmation messages. On the one hand, the receiving end receives the data message sent by the sending end and the checksum of the sending end; according to the received data message The text generates the checksum of the receiving end; when it is judged that the checksum of the sending end is the same as the checksum of the receiving end, the data message is passed to the transmission control layer of the receiving end; the data received is returned to the sending end Acknowledgment: discarding the transmission control layer confirmation message when receiving the transmission control layer confirmation message sent by the transmission control layer of the receiving end. On the other hand, the sending end receives the data message sent by the transmission control layer of the sending end; generates the sending end checksum according to the data message sent by the transmission control layer of the sending end; The end checksum is sent to the receiving end; the data receiving confirmation returned by the receiving end is received; the transmission control layer confirmation message of the sending end is constructed; the transmission control layer confirmation message of the sending end is passed to the transmission control layer of the sending end . Through the above solution, the number of confirmation messages transmitted from the receiving end to the sending end can be reduced, and the problem that the confirmation messages sent by the receiving end occupy a large amount of air interface resources and cause interference to other communication data can be solved.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为现有技术中发送端向接收端发送数据的示意图;FIG. 1 is a schematic diagram of sending data from a sending end to a receiving end in the prior art;
图2为本发明实施例1中一种减少传输控制层确认报文的方法的接收端的流程框图;FIG. 2 is a block flow diagram of a receiving end of a method for reducing transmission control layer confirmation messages in Embodiment 1 of the present invention;
图3为本发明实施例1中一种减少传输控制层确认报文的方法的发送端的流程框图;FIG. 3 is a flowchart of a sending end of a method for reducing transmission control layer confirmation messages in Embodiment 1 of the present invention;
图4为本发明实施例2中另一种减少传输控制层确认报文的方法的流程框图;FIG. 4 is a block flow diagram of another method for reducing transmission control layer confirmation messages in Embodiment 2 of the present invention;
图5为本发明实施例2中另一种减少传输控制层确认报文的方法的示意图;FIG. 5 is a schematic diagram of another method for reducing transmission control layer confirmation messages in Embodiment 2 of the present invention;
图6为本发明实施例2中另一种减少传输控制层确认报文的方法的发送端的流程框图;FIG. 6 is a block flow diagram of the sending end of another method for reducing transmission control layer acknowledgment messages in Embodiment 2 of the present invention;
图7为本发明实施例3中一种接收端的框图;FIG. 7 is a block diagram of a receiving end in Embodiment 3 of the present invention;
图8a为本发明实施例3中另一种接收端的框图;FIG. 8a is a block diagram of another receiving end in Embodiment 3 of the present invention;
图8b为本发明实施例3中另一种接收端的框图;FIG. 8b is a block diagram of another receiving end in Embodiment 3 of the present invention;
图9a为本发明实施例3中一种发送端的框图;FIG. 9a is a block diagram of a sending end in Embodiment 3 of the present invention;
图9b为本发明实施例3中另一种发送端的框图;FIG. 9b is a block diagram of another sending end in Embodiment 3 of the present invention;
图10为本发明实施例4中一种接收端的框图;FIG. 10 is a block diagram of a receiving end in Embodiment 4 of the present invention;
图11为本发明实施例4中一种发送端的框图;FIG. 11 is a block diagram of a sending end in Embodiment 4 of the present invention;
图12为本发明实施例4中一种减少传输控制层确认报文的系统的示意图;FIG. 12 is a schematic diagram of a system for reducing transmission control layer confirmation messages in Embodiment 4 of the present invention;
图13为本发明实施例2中确定用户终端是否具有减少传输控制层确认报文的能力的示意图。Fig. 13 is a schematic diagram of determining whether the user terminal has the ability to reduce transmission control layer acknowledgment messages in Embodiment 2 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
目前网络通信中,发送端将数据报文传递至接收端的过程可以参考图1,其中,发送端A的传输控制层将待传的数据报文发给A的无线链路控制层,A的无线链路控制层将数据报文给A的物理层,并由A的物理层根据数据报文生成校验和后,将该数据报文和对应的校验和一同发送给远端的接收端B。B的物理层根据接收的数据报文同样也生成一个校验和,然后由B的物理层上一层的无线链路控制层判断发送端和接收端的两个校验和是否一致。当校验和一致时,B的无线链路控制层将数据报文继续传给B的传输控制层,B的传输控制层收到数据报文后生成一个确认报文,该确认报文逐层传递至B的物理层,然后返回给A。A的物理层将接收到的B发回的确认报文逐层上传,直至传递给A的传输控制层,A的传输控制层根据接收到的确认报文,决定发送下一个数据报文或者重传上一个数据报文。由以上描述可见,A每由传输控制层发出一个数据报文,都要等到B的传输控制层返回一个确认报文后才能执行后续步骤。大量的确认报文不携带有效数据,并会占据巨量空口资源。In the current network communication, the process of transmitting the data message from the sending end to the receiving end can refer to Figure 1, in which, the transmission control layer of the sending end A sends the data message to be transmitted to the wireless link control layer of A, and the wireless link control layer of A The link control layer sends the data message to the physical layer of A, and after the physical layer of A generates a checksum based on the data message, it sends the data message and the corresponding checksum to the remote receiving end B . The physical layer of B also generates a checksum according to the received data message, and then the radio link control layer above the physical layer of B judges whether the two checksums of the sending end and the receiving end are consistent. When the checksums are consistent, the wireless link control layer of B will continue to pass the data message to the transmission control layer of B, and the transmission control layer of B will generate a confirmation message after receiving the data message, and the confirmation message will be layer by layer Passed to the physical layer of B, and then returned to A. The physical layer of A uploads the received confirmation message sent back by B layer by layer until it is passed to the transmission control layer of A, and the transmission control layer of A decides to send the next data message or repeat Upload a datagram. It can be seen from the above description that each time A sends a data message from the transmission control layer, the subsequent steps cannot be performed until the transmission control layer of B returns a confirmation message. A large number of confirmation messages do not carry valid data and will occupy a huge amount of air interface resources.
实施例1:Example 1:
本发明的一个实施例提供一种减少传输控制层确认报文的方法,一方面,在接收端一侧,如图2所示,该实施例提供的方法包括如下步骤:An embodiment of the present invention provides a method for reducing transmission control layer confirmation messages. On the one hand, on the receiving end side, as shown in FIG. 2 , the method provided by this embodiment includes the following steps:
101、接收发送端发出的数据报文和发送端校验和;该发送端校验和由发送端根据数据报文生成。101. Receive the data message sent by the sender and the checksum of the sender; the checksum of the sender is generated by the sender according to the data message.
接收端接收的数据由两部分构成,一部分是数据报文,另一部分是根据报文生成的校验和。所谓校验和是按照预定的校验算法,对数据报文进行计算所得的值。显然,只要数据报文在传输过程中没有发生错误或丢失,对传输前后的数据报文按照相同算法进行计算,在传输前计算出的数值和传输后计算出的数值应该相同。The data received by the receiving end consists of two parts, one part is the data message, and the other part is the checksum generated according to the message. The so-called checksum is a value obtained by calculating the data message according to a predetermined check algorithm. Obviously, as long as there is no error or loss during the transmission of the data message, the data message before and after the transmission is calculated according to the same algorithm, and the value calculated before the transmission should be the same as the value calculated after the transmission.
102、根据接收到的数据报文生成接收端校验和。102. Generate a receiving end checksum according to the received data packet.
103、当判断发送端校验和与接收端校验和相同时,将数据报文传递至接收端的传输控制层。103. When it is judged that the checksum of the sending end is the same as the checksum of the receiving end, deliver the data message to the transmission control layer of the receiving end.
其中,接收端的传输控制层接收该数据报文后,生成传输控制层确认报文,并向下层进行发送。Wherein, after receiving the data message, the transmission control layer at the receiving end generates a transmission control layer confirmation message and sends it to the lower layer.
当步骤103所述的发送端校验和与接收端校验和相同时,可以确定在数据报文的传输过程中没有出现错误或丢失。When the checksum at the sending end described in step 103 is the same as the checksum at the receiving end, it can be determined that there is no error or loss during the transmission of the data message.
104、向发送端返回数据接收确认;以便于发送端接收该数据接收确认后,构造发送端传输控制层确认报文并将该发送端传输控制层确认报文发送给发送端的传输控制层。104. Return a data reception confirmation to the sender; so that after receiving the data reception confirmation, the sender constructs a transmission control layer confirmation message of the sender and sends the transmission control layer confirmation message of the sender to the transmission control layer of the sender.
步骤104所述的返回数据接收确认是在对数据报文根据校验和进行检查并确认数据报文准确无误的情况下执行的操作。The returning data receipt confirmation in step 104 is an operation performed after checking the data message according to the checksum and confirming that the data message is correct.
105、当收到接收端的传输控制层发出的传输控制层确认报文时,将传输控制层确认报文丢弃。105. When receiving the transmission control layer confirmation message sent by the transmission control layer of the receiving end, discard the transmission control layer confirmation message.
现有应用场景下,接收端的传输控制层收到发送端的数据报文后,会生成并发出一个传输控制层确认报文给下层,以便将该传输控制层数据确认传递回发送端,发送端接收该传输控制层确认报文后开始进行后续数据发送动作。本发明实施例中,步骤104向发送端返回数据接收确认后,会引发发送端向发送端自身的传输控制层发出一个发送端传输控制层确认报文,该发送端传输控制层确认报文格式和内容与接收端传输控制层生成的传输控制层确认报文一致,发送端的传输控制层接收到该发送端传输控制层确认报文后,将执行后续的数据发送动作。而步骤105中,在接收端一侧,对接收端的传输控制层发出的传输控制层确认报文实行丢弃动作,不会将其传送回发送端。In the existing application scenario, after the transmission control layer of the receiving end receives the data message from the sending end, it will generate and send a transmission control layer confirmation message to the lower layer, so as to pass the transmission control layer data confirmation back to the sending end, and the sending end receives After the transmission control layer confirms the message, it starts to send subsequent data. In the embodiment of the present invention, after step 104 returns the data reception confirmation to the sending end, it will cause the sending end to send a sending end transmission control layer confirmation message to the transmission control layer of the sending end itself, and the transmission control layer confirmation message format of the sending end is The content is consistent with the transmission control layer confirmation message generated by the transmission control layer of the receiving end. After receiving the transmission control layer confirmation message of the sending end, the transmission control layer of the sending end will execute subsequent data sending actions. In step 105, at the receiving end, the transmission control layer confirmation message sent by the transmission control layer of the receiving end is discarded, and will not be sent back to the sending end.
通过步骤104和105的配合,一方面不会将接收端的传输控制层确认报文发给发送端,另一方面能为发送端的传输控制层提供一个发送端传输控制层确认报文(该发送端传输控制层确认报文的作用相当于传输控制层确认报文),以使得发送端的传输控制层继续数据发送。Through the cooperation of steps 104 and 105, on the one hand, the transmission control layer confirmation message of the receiving end will not be sent to the sending end, and on the other hand, a transmission control layer confirmation message of the sending end can be provided for the transmission control layer of the sending end (the sending end The function of the transmission control layer confirmation message is equivalent to the transmission control layer confirmation message), so that the transmission control layer at the sending end continues to send data.
另一方面,如图3所示,在发送端一侧,该实施例提供的方法包括如下步骤:On the other hand, as shown in FIG. 3, on the side of the sending end, the method provided in this embodiment includes the following steps:
201、接收发送端的传输控制层发出的数据报文。201. Receive a data packet sent by the transmission control layer of the sending end.
发送端和接收端建立连接以后,发送端传输控制层将需要发送的数据进行处理后生成数据报文,传递到发送端无线链路控制层。After the connection between the sending end and the receiving end is established, the transmission control layer of the sending end processes the data to be sent to generate a data message, and transmits it to the wireless link control layer of the sending end.
202、根据发送端的传输控制层发出的数据报文生成发送端校验和。202. Generate a sender checksum according to the data packet sent by the transmission control layer of the sender.
发送端无线链路控制层接收到数据报文后,下发给发送端物理层。发送端物理层按照预定的校验算法,对接收到的数据进行校验计算,得到发送端校验和。After receiving the data message, the wireless link control layer of the sending end sends it to the physical layer of the sending end. The physical layer of the sending end performs check calculation on the received data according to a predetermined check algorithm, and obtains the checksum of the sending end.
203、将数据报文和发送端校验和发送至接收端。203. Send the data packet and the checksum of the sending end to the receiving end.
发送端物理层将数据报文和发送端校验和通过空中接口一起发送至接收端物理层。The physical layer of the sending end sends the data packet and the checksum of the sending end to the physical layer of the receiving end through the air interface.
204、接收该接收端返回的数据接收确认。204. Receive a data reception confirmation returned by the receiving end.
该数据接收确认由接收端在发送端校验和与接收端校验和相同时返回给发送端。The data reception confirmation is returned by the receiving end to the sending end when the checksum of the sending end is the same as that of the receiving end.
接收端物理层接收到数据报文和发送端校验和以后,首先对数据报文进行校验计算,得出接收端校验和,然后,将发送端校验和与接收端校验和进行比较,并将数据报文和发送端校验和与接收端校验比较的结果信息发送至接收端无线链路控制层。接收端无线链路控制层接收到发送端校验和与接收端校验和相同的信息后,向发送端无线链路控制层发送数据接收确认。数据接收确认依次通过接收端物理层和发送端物理层,最后到达发送端无线链路控制层。After the physical layer of the receiving end receives the data message and the checksum of the sending end, it first performs check calculation on the data message to obtain the checksum of the receiving end, and then compares the checksum of the sending end with the checksum of the receiving end. Compare, and send the result information of the data packet and the checksum of the sending end to the checksum of the receiving end to the radio link control layer of the receiving end. After receiving the information that the checksum of the sending end is the same as the checksum of the receiving end, the radio link control layer of the receiving end sends a data reception confirmation to the radio link control layer of the sending end. The data reception confirmation passes through the physical layer of the receiving end and the physical layer of the sending end in turn, and finally reaches the radio link control layer of the sending end.
205、构造发送端传输控制层确认报文。205. Construct a transmission control layer confirmation message at the sending end.
发送端的无线链路控制层接收到数据接收确认后,构造发送端传输控制层确认报文。After receiving the data reception confirmation, the radio link control layer at the sending end constructs a transmission control layer confirmation message at the sending end.
在传输控制协议中,发送端传输控制层需要收到接收端传输控制层发送的传输控制层确认报文后,才发送新数据。由于前述步骤105中,已经将接收端的传输控制层发出的传输控制层确认报文丢弃,发送端不会收到接收端的传输控制层发出的传输控制层确认报文。在此情况下为使发送端的传输控制层发送新数据,需由发送端自己构造一个传输控制层确认报文——即发送端传输控制层确认报文。该发送端传输控制层确认报文的格式和内容与接收端的传输控制层发出的传输控制层确认报文的格式和内容一致。In the transmission control protocol, the transmission control layer at the sending end needs to receive the transmission control layer confirmation message sent by the transmission control layer at the receiving end before sending new data. Since the transmission control layer confirmation message sent by the transmission control layer of the receiving end has been discarded in the aforementioned step 105, the sending end will not receive the transmission control layer confirmation message sent by the transmission control layer of the receiving end. In this case, in order to make the transmission control layer of the sender send new data, it is necessary for the sender to construct a transmission control layer confirmation message—that is, the transmission control layer confirmation message of the sender. The format and content of the transmission control layer confirmation message at the sending end are consistent with the format and content of the transmission control layer confirmation message sent by the transmission control layer at the receiving end.
206、将发送端传输控制层确认报文传递给发送端的传输控制层。206. Deliver the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end.
发送端的传输控制层收到发送端传输控制层确认报文后继续按顺序发送其它数据报文。The transmission control layer at the sending end continues to send other data messages in sequence after receiving the confirmation message from the transmission control layer at the sending end.
本发明实施例中的应用场景可以是网络侧作为发送端向用户终端发送数据报文,用户终端作为接收端;也可以是用户终端作为发送端向网络侧发送数据报文,由网络侧作为接收端。The application scenario in the embodiment of the present invention may be that the network side acts as the sending end to send data packets to the user terminal, and the user terminal acts as the receiving end; or the user terminal acts as the sending end to send data packets to the network side, and the network side acts as the receiving end end.
本发明的实施例提供一种减少传输控制层确认报文的方法,一方面,接收端接收发送端发出的数据报文和发送端校验和;根据接收到的数据报文生成接收端校验和;当判断发送端校验和与接收端校验和相同时,将数据报文传递至接收端的传输控制层,并向发送端返回数据接收确认;当收到接收端的传输控制层发出的传输控制层确认报文时,将传输控制层确认报文丢弃。另一方面,发送端接收由发送端的传输控制层发出的数据报文;根据发送端的传输控制层发出的数据报文生成发送端校验和;将数据报文和发送端校验和发送至接收端;接收由接收端返回的数据接收确认;构造发送端传输控制层确认报文;将发送端传输控制层确认报文传递给发送端的传输控制层。通过上述方案,解决接收端发送的确认报文占据大量空中接口资源,对其它通信数据形成干扰的问题。Embodiments of the present invention provide a method for reducing transmission control layer confirmation messages. On the one hand, the receiving end receives the data message sent by the sending end and the checksum of the sending end; generates the receiving end checksum according to the received data message and; when it is judged that the checksum of the sending end is the same as that of the receiving end, pass the data message to the transmission control layer of the receiving end, and return the data reception confirmation to the sending end; when receiving the transmission control layer sent by the receiving end When the control layer confirms the message, it discards the transmission control layer confirmation message. On the other hand, the sender receives the data message sent by the transmission control layer of the sender; generates the checksum of the sender according to the data message sent by the transmission control layer of the sender; sends the data message and the checksum of the sender to the receiver end; receive the data reception confirmation returned by the receiving end; construct the transmission control layer confirmation message of the sending end; pass the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end. Through the above solution, the problem that the confirmation message sent by the receiving end occupies a large amount of air interface resources and interferes with other communication data is solved.
实施例2Example 2
本发明的一个实施例提供一种减少传输控制层确认报文的方法,一方面,如图4所示,该实施例提供的方法包括如下步骤:An embodiment of the present invention provides a method for reducing transmission control layer confirmation messages. On the one hand, as shown in FIG. 4, the method provided by this embodiment includes the following steps:
301、发送端的无线链路控制层接收发送端的传输控制层发出的数据报文。301. The radio link control layer of the sending end receives the data packet sent by the transmission control layer of the sending end.
302、发送端的无线链路控制层将数据报文传递至发送端的物理层。302. The radio link control layer at the sending end transmits the data packet to the physical layer at the sending end.
303、发送端的物理层根据发送端的传输控制层发出的数据报文生成发送端校验和。303. The physical layer of the sending end generates a checksum of the sending end according to the data packet sent by the transmission control layer of the sending end.
304、将数据报文和发送端校验和发送至接收端。304. Send the data packet and the checksum of the sending end to the receiving end.
305、接收端的物理层根据接收到的数据报文生成接收端校验和,并判断发送端校验和与接收端校验和是否相同,然后将数据报文和发送端校验和与接收端校验和是否相同的信息传递至接收端的无线链路控制层。305. The physical layer of the receiving end generates the receiving end checksum according to the received data message, and judges whether the sending end checksum is the same as the receiving end checksum, and then compares the data message and the sending end checksum with the receiving end The information of whether the checksums are the same is transmitted to the radio link control layer of the receiving end.
根据判断结果不同分别执行306和310。Execute 306 and 310 respectively according to different judgment results.
306、当接收端的无线链路控制层接收到数据报文和接收端的物理层发送的发送端校验和与接收端校验和相同的信息后,将数据报文传递至接收端的传输控制层。306. After the radio link control layer at the receiving end receives the data packet and the information that the sending end checksum sent by the physical layer at the receiving end is the same as the receiving end checksum, transfer the data packet to the transmission control layer at the receiving end.
当发送端校验和与接收端校验和相同时,表明数据报文在由发送端至接收端的传输过程中没有出现错误或部分丢失。When the checksum of the sending end is the same as that of the receiving end, it indicates that no error or partial loss occurs during the transmission of the data message from the sending end to the receiving end.
307、接收端的无线链路控制层向发送端的无线链路控制层返回数据接收确认。307. The radio link control layer at the receiving end returns a data reception confirmation to the radio link control layer at the sending end.
当接收端的无线链路控制层接收到数据报文和接收端的物理层发送的发送端校验和与接收端校验和相同的信息后,除了将数据报文传递至接收端的传输控制层外,还要返回一个数据接收确认,该数据接收确认最终传递到发送端的无线链路控制层。When the wireless link control layer of the receiving end receives the data packet and the sending end checksum sent by the physical layer of the receiving end is the same as the receiving end checksum, in addition to passing the data packet to the transmission control layer of the receiving end, A data reception confirmation is also returned, and the data reception confirmation is finally delivered to the radio link control layer of the sending end.
需要说明的是,实际场景中,步骤306和步骤307的顺序可以调换。It should be noted that, in an actual scenario, the order of step 306 and step 307 may be reversed.
另外,在步骤307后,接收端的传输控制层会在接收到数据报文后向接收端的无线链路控制层发一个传输控制层确认报文,在现有技术中,该传输控制层确认报文会被返回给发送端的传输控制层。而在本发明实施例中接收端的无线链路控制层会丢弃该传输控制层确认报文。In addition, after step 307, the transmission control layer of the receiving end will send a transmission control layer confirmation message to the wireless link control layer of the receiving end after receiving the data message. In the prior art, the transmission control layer confirmation message Will be returned to the transport control layer of the sender. However, in the embodiment of the present invention, the radio link control layer at the receiving end will discard the transmission control layer confirmation message.
308、发送端的无线链路控制层接收到数据接收确认后,构造发送端传输控制层确认报文。308. After receiving the data reception confirmation, the radio link control layer at the sending end constructs a transmission control layer confirmation message at the sending end.
309、发送端的无线链路控制层将发送端传输控制层确认报文发给发送端的传输控制层。309. The radio link control layer of the sending end sends the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end.
发送端的传输控制层收到该发送端传输控制层确认报文后,将继续执行数据发送。该发送端传输控制层确认报文格式和内容与接收端传输控制层生成的传输控制层确认报文一致,可见该发送端传输控制层确认报文的作用相当于接收端的传输控制层发出的传输控制层确认报文。由于传输控制层确认报文被接收端的无线链路控制层丢弃,因此步骤309中发送端的无线链路控制层构造一个发送端传输控制层确认报文并发送给发送端的传输控制层,以便发送端的传输控制层继续执行数据发送。After the transmission control layer at the sending end receives the confirmation message from the transmission control layer at the sending end, it will continue to execute data transmission. The format and content of the transmission control layer confirmation message at the sending end are consistent with the transmission control layer confirmation message generated by the transmission control layer at the receiving end. The control layer confirms the message. Since the transmission control layer acknowledgment message is discarded by the radio link control layer of the receiving end, the radio link control layer of the sending end in step 309 constructs a sending end transmission control layer confirmation message and sends it to the transmission control layer of the sending end, so that the transmission control layer of the sending end The transport control layer continues to perform data transmission.
310、当接收端的无线链路控制层接收到接收端的物理层发送的发送端校验和与接收端校验和不相同的信息后,将数据报文丢弃。310. When the radio link control layer of the receiving end receives the information that the checksum of the sending end is different from the checksum of the receiving end sent by the physical layer of the receiving end, discard the data packet.
当发送端校验和与接收端校验和不相同时,表明数据报文在传输过程中出现错误或部分丢失。当接收端无线链路层接收到数据报文、接收端校验和和发送端校验和不相同的信息后,将数据报文丢弃,也不向发送端返回数据接收确认。When the checksum of the sending end is different from the checksum of the receiving end, it indicates that an error or part of the data packet is lost during transmission. When the wireless link layer of the receiver receives the data message, the checksum of the receiver and the checksum of the sender are not the same, the data message is discarded, and the data reception confirmation is not returned to the sender.
311、当在预设的等待时间内未收到数据接收确认时,发送端的传输控制层重新发送数据报文。311. When the data reception confirmation is not received within the preset waiting time, the transmission control layer at the sending end resends the data message.
当接收端无线链路层接收到数据报文、接收端校验和和发送端校验和不相同的信息后,将数据报文丢弃,也不向发送端返回数据接收确认。发送端接收不到数据接收确认,也就不会构造发送端传输控制层确认报文,发送端的传输控制层因为没有接收到发送端传输控制层确认报文,所以不会发送新的数据。在传输控制协议中规定,传输控制层在一定时间后,接收不到传输控制层确认报文,即认为发送的数据报文丢失,重新发送该数据报文。When the wireless link layer of the receiver receives the data message, the checksum of the receiver and the checksum of the sender are not the same, the data message is discarded, and the data reception confirmation is not returned to the sender. If the sender cannot receive the data receipt confirmation, it will not construct the transmission control layer confirmation message of the sender. The transmission control layer of the sender will not send new data because it has not received the confirmation message of the transmission control layer of the sender. It is stipulated in the transmission control protocol that if the transmission control layer fails to receive the confirmation message of the transmission control layer after a certain period of time, it will consider the sent data message as lost and resend the data message.
下面结合图5作为示意图,详细描述上述步骤301至311。以网络侧作为发送端,以用户终端作为接收端。按照上述步骤执行:301,网络侧的无线链路控制层接收网络侧的传输控制层发出的数据报文;302,网络侧的无线链路控制层将数据报文传递至网络侧的物理层;303,网络侧的物理层根据网络侧的传输控制层发出的数据报文生成网络侧校验和;304,将数据报文和网络侧校验和发送至用户终端;305,用户终端的物理层根据接收到的数据报文生成用户终端校验和,并判断网络侧校验和与用户终端校验和是否相同,然后将数据报文和发送端校验和与接收端校验和是否相同的信息传递至接收端的无线链路控制层;根据判断结果不同分别执行306和310;306,当用户终端的无线链路控制层接收到数据报文和用户终端的物理层发送的发送端校验和与接收端校验和相同的信息后,将数据报文传递至用户终端的传输控制层;307,用户终端的无线链路控制层向网络侧的无线链路控制层返回数据接收确认;308,网络侧的无线链路控制层接收到数据接收确认后,构造网络侧传输控制层确认报文;309,网络侧的无线链路控制层将网络侧传输控制层确认报文发给网络侧的传输控制层;310,当用户终端的无线链路控制层接收到用户终端的物理层发送的用户终端校验和与网络侧校验和不相同的信息后,将数据报文丢弃;311、当在预设的等待时间内未收到数据接收确认时,网络侧的传输控制层重新发送数据报文。The above steps 301 to 311 will be described in detail below with reference to FIG. 5 as a schematic diagram. The network side is used as the sending end, and the user terminal is used as the receiving end. Execute according to the above steps: 301, the radio link control layer on the network side receives the data message sent by the transmission control layer on the network side; 302, the radio link control layer on the network side transmits the data message to the physical layer on the network side; 303, the physical layer on the network side generates a network side checksum according to the data message sent by the transmission control layer on the network side; 304, sends the data message and the network side checksum to the user terminal; 305, the physical layer of the user terminal Generate the user terminal checksum according to the received data message, and judge whether the network side checksum is the same as the user terminal checksum, and then check whether the data message and the sending end checksum are the same as the receiving end checksum The information is transmitted to the radio link control layer of the receiving end; respectively execute 306 and 310 according to the judgment results; 306, when the radio link control layer of the user terminal receives the data message and the checksum of the sending end sent by the physical layer of the user terminal After checking the same information as the receiving end, transfer the data message to the transmission control layer of the user terminal; 307, the radio link control layer of the user terminal returns a data reception confirmation to the radio link control layer of the network side; 308, After receiving the data reception confirmation, the wireless link control layer on the network side constructs a network-side transmission control layer confirmation message; 309, the network-side wireless link control layer sends the network-side transmission control layer confirmation message to the network-side transmission control layer Control layer; 310, when the radio link control layer of the user terminal receives information that the user terminal checksum sent by the physical layer of the user terminal is different from the network side checksum, discard the data message; 311, when in When the data reception confirmation is not received within the preset waiting time, the transmission control layer on the network side resends the data message.
需要说明的是,接收端的无线链路控制层通过校验和对数据的正确性进行判断,然后返回数据接收确认。校验和相同表明,在数据报文从发送端无线链路控制层,经发送端物理层,空中接口,到接收端无线链路控制层这一过程正确无误。但不能检测发送端传输控制层到发送端无线链路控制层这一过程中的数据传输是否丢失。因此,在发送端无线链路控制层中需要检测接收到的数据是否完整。进一步的,如图6所示,结合本发明实施例的另一方面,该实施例提供的方法还包括如下步骤:It should be noted that the radio link control layer at the receiving end judges the correctness of the data through the checksum, and then returns a data reception confirmation. The same checksum indicates that the process of the data message from the wireless link control layer at the sending end, through the physical layer at the sending end, the air interface, and the wireless link control layer at the receiving end is correct. However, it cannot detect whether the data transmission is lost in the process from the transmission control layer of the sending end to the radio link control layer of the sending end. Therefore, it is necessary to detect whether the received data is complete in the radio link control layer of the transmitting end. Further, as shown in FIG. 6, in combination with another aspect of the embodiment of the present invention, the method provided in this embodiment further includes the following steps:
401、发送端的无线链路控制层接收发送端的传输控制层发出的数据报文。401. The radio link control layer of the sending end receives the data packet sent by the transmission control layer of the sending end.
402、当发送端的传输控制层发送的数据报文出现漏传时,构造数据报文缺失反馈信息;该数据报文缺失反馈信息中包含漏传的数据报文的信息。402. When the data packet sent by the transmission control layer of the sender is missing, construct missing data packet feedback information; the missing data packet feedback information includes information about the missing data packet.
403、将数据报文缺失反馈信息发送至发送端的传输控制层,以使发送端的传输控制层根据数据报文缺失反馈信息发送漏传的数据报文。403. Send the missing data message feedback information to the transmission control layer at the sending end, so that the transmission control layer at the sending end sends the missing data message according to the missing data message feedback information.
举例来说,上述401至403的数据报文缺失反馈信息的反馈过程如下:For example, the feedback process of the missing feedback information of the above 401 to 403 data packets is as follows:
发送端传输控制层将数据ABCDEF分成AB,CD,EF三个包进行传输,并分别为这三个包加上序号1、2、3。即1号包中的数据是AB,2号包中的数据是CD,3号包中的数据是EF。当在由发送端传输控制层到发送端的无线链路控制层的传输过程中,2包丢失,则发送端无线链路控制层只会接受到1号包和3号包。具体过程是,接收到1号包和3号包后,传递给发送端物理层,发送端物理层生成发送端校验和,将1号包和3号包以及发送端校验和发给接收端。接收端物理层接收数据报文后,生成接收端校验和,经判断,认为发送端校验和与接收端校验和相同,然后将数据报文和发送端校验和与接收端校验和相同的信息发送至接收端的无线链路控制层;接收端无线链路控制层接收到数据报文和发送端校验和与接收端校验和相同的信息后发回数据接收确认。接收端无线链路控制层接收到数据接收确认后,开始构造发送端传输控制层确认报文。由于1号包和3号包的序号不连续,故,发送端无线链路控制层构造的发送端传输控制层确认报文中包含2号包丢失的信息。发送端无线链路控制层将包含2号包丢失的信息的发送端传输控制层确认报文作为数据报文缺失反馈信息发给发送端传输控制层,发送端传输控制层接收到该发送端传输控制层确认报文后,重发2号包。The transmission control layer at the sending end divides the data ABCDEF into three packets of AB, CD, and EF for transmission, and adds sequence numbers 1, 2, and 3 to these three packets respectively. That is, the data in package No. 1 is AB, the data in package No. 2 is CD, and the data in package No. 3 is EF. When packet 2 is lost during transmission from the transmission control layer at the sender to the RLC layer at the sender, the RLC layer at the sender will only receive packets No. 1 and No. 3. The specific process is that after receiving packets No. 1 and No. 3, they are passed to the physical layer of the sender, and the physical layer of the sender generates a checksum of the sender, and sends packets No. 1 and No. 3 and the checksum of the sender to the receiver. end. After receiving the data message at the physical layer of the receiving end, the receiving end checksum is generated. After judgment, the sending end checksum is considered to be the same as the receiving end checksum, and then the data message and the sending end checksum are compared with the receiving end checksum. The same information is sent to the wireless link control layer of the receiving end; the wireless link control layer of the receiving end sends back the data reception confirmation after receiving the data message and the checksum of the sending end and the same information as the checksum of the receiving end. After receiving the data reception confirmation, the radio link control layer at the receiving end starts to construct a transmission control layer confirmation message at the sending end. Since the sequence numbers of the No. 1 packet and the No. 3 packet are not continuous, the transmission control layer confirmation message of the sending end constructed by the radio link control layer of the sending end includes information about the loss of the No. 2 packet. The wireless link control layer of the sending end sends the confirmation message of the transmission control layer of the sending end containing the information about the loss of the No. 2 packet to the transmission control layer of the sending end as the feedback information of missing data packets, and the transmission control layer of the sending end receives the transmission control layer of the sending end. After the control layer confirms the message, it resends the No. 2 packet.
传输控制层确认报文有两种格式,即普通确认报文ACK(Acknowledgement)和选择确认报文SACK(Selection Acknowledgement)。举例说明两者的区别,发送端传输控制层发送的数据为ABCDEF,数据CD在传输过程中丢失。若发送端传输控制层接收到的传输控制层确认报文为ACK,则发送端传输控制层重发数据CDEF,即重发丢失数据以及丢失数据以后的所有数据包;若发送端传输控制层接收到的传输控制层确认报文为SACK,则发送端传输控制层重发的数据为CD,即仅仅只发送丢失的数据。在本发明实施例中,为更好的支持SACK,需要在发送端和接收端建立连接时,互相通知各端是否具有支持SACK功能的能力,若支持则开启该功能,然后执行实施例中的各个步骤。There are two formats of transmission control layer acknowledgment message, that is, common acknowledgment message ACK (Acknowledgment) and selection acknowledgment message SACK (Selection Acknowledgment). To illustrate the difference between the two, the data sent by the transmission control layer at the sending end is ABCDEF, and the data CD is lost during transmission. If the transmission control layer confirmation message received by the transmission control layer at the sending end is ACK, the transmission control layer at the sending end retransmits the data CDEF, that is, resends the lost data and all data packets after the lost data; if the transmission control layer at the sending end receives If the received transmission control layer confirmation message is SACK, the data retransmitted by the transmission control layer at the sending end is CD, that is, only the lost data is sent. In the embodiment of the present invention, in order to better support SACK, it is necessary to notify each other whether each end has the ability to support the SACK function when the connection is established between the sending end and the receiving end, and if so, enable this function, and then execute the various steps.
可选的,图4所示的方法执行之前,先确定用户终端是否具有减少传输控制成确认报文的能力,并在用户终端具有减少传输控制成确认报文的能力时,使用户终端开启该能力。具体的,当上述接收端为用户终端,上述发送端为网络侧时,用户终端需要具有丢弃自身的无线链路控制层产生的传输控制层确认报文的能力。下面结合图13来进行说明。Optionally, before the method shown in FIG. 4 is executed, first determine whether the user terminal has the ability to reduce transmission control into confirmation messages, and when the user terminal has the ability to reduce transmission control into confirmation messages, enable the user terminal to enable the ability. Specifically, when the receiving end is a user terminal and the sending end is a network side, the user terminal needs to have the ability to discard the transmission control layer confirmation message generated by its own radio link control layer. The following will be described in conjunction with FIG. 13 .
1301、用户终端接收网络侧发送的减少传输控制层确认报文能力查询消息。1301. The user terminal receives a reduced transmission control layer confirmation packet capability query message sent by the network side.
1302、用户终端向网络侧发送减少传输控制层确认报文能力信息。1302. The user terminal sends reduced transmission control layer confirmation packet capability information to the network side.
网络侧收到该减少传输控制层确认报文能力信息后,可以判断出用户终端是否具有丢弃自身的无线链路控制层产生的传输控制层确认报文的能力。具体应用中,该减少传输控制层确认报文能力信息可以定义一个字段或比特位,通过字段或比特位取值不同,来表示用户终端是否具有丢弃自身的无线链路控制层产生的传输控制层确认报文的能力。After receiving the reduced transmission control layer acknowledgment message capability information, the network side can determine whether the user terminal has the ability to discard the transmission control layer acknowledgment message generated by its own radio link control layer. In a specific application, the capability information of the reduced transmission control layer confirmation message can define a field or a bit, and the value of the field or bit is different to indicate whether the user terminal has the transmission control layer generated by the radio link control layer that discards itself. Ability to acknowledge packets.
步骤1301是可选的步骤。当存在步骤1301时,是由网络侧发起对用户终端的能力查询;当不存在步骤1301而仅存在步骤1302时,是由用户终端主动向网络侧上报能力信息。Step 1301 is an optional step. When there is step 1301, the network side initiates a capability query for the user terminal; when there is no step 1301 but only step 1302, the user terminal actively reports capability information to the network side.
另外,可选的,在步骤1302后,还存在步骤1303。In addition, optionally, after step 1302, there is also step 1303.
1303、用户终端接收网络侧发送的减少传输控制层确认报文启动消息。1303. The user terminal receives the reduced transmission control layer confirmation packet start message sent by the network side.
用户终端接收该减少传输控制层确认报文启动消息后,开启减少传输控制层确认报文的功能。After receiving the start message of reducing the transmission control layer acknowledgment message, the user terminal starts the function of reducing the transmission control layer acknowledgment message.
步骤1303是可选的,除了接收网络侧的命令,用户终端也可以自行开启减少传输控制层确认报文的功能。Step 1303 is optional. In addition to receiving commands from the network side, the user terminal can also enable the function of reducing transmission control layer confirmation messages by itself.
本发明的实施例提供一种减少传输控制层确认报文的方法,一方面,接收端接收发送端发出的数据报文和发送端校验和;根据接收到的数据报文生成接收端校验和;当判断发送端校验和与接收端校验和相同时,将数据报文传递至接收端的传输控制层;不同时,将发送报文丢弃;向发送端返回数据接收确认;当收到接收端的传输控制层发出的传输控制层确认报文时,将传输控制层确认报文丢弃。另一方面,接收发送端的传输控制层发出的数据报文;根据发送端的传输控制层发出的数据报文生成发送端校验和;将数据报文和发送端校验和发送至接收端;当在预设的等待时间内未收到数据接收确认时,发送端的传输控制层重新发送数据报文;当发送端的传输控制层发送的数据报文出现漏传时,构造数据报文缺失反馈信息。通过上述方案,解决接收端发送的确认报文占据大量空中接口资源,对其它通信数据形成干扰的问题。Embodiments of the present invention provide a method for reducing transmission control layer confirmation messages. On the one hand, the receiving end receives the data message sent by the sending end and the checksum of the sending end; generates the receiving end checksum according to the received data message and; when it is judged that the checksum of the sending end is the same as the checksum of the receiving end, the data message is passed to the transmission control layer of the receiving end; When the transmission control layer confirmation message is sent by the transmission control layer at the receiving end, the transmission control layer confirmation message is discarded. On the other hand, receive the data message sent by the transmission control layer of the sending end; generate the sending end checksum according to the data message sent by the transmission control layer of the sending end; send the data message and the sending end checksum to the receiving end; When the data reception confirmation is not received within the preset waiting time, the transmission control layer at the sending end resends the data message; when the data message sent by the transmission control layer at the sending end is leaked, construct the missing feedback information of the data message. Through the above solution, the problem that the confirmation message sent by the receiving end occupies a large amount of air interface resources and interferes with other communication data is solved.
实施例3Example 3
本发明的一个实施例提供一种接收端和一种发送端,一方面,如图7所示,该实施例提供的接收端包括:An embodiment of the present invention provides a receiving end and a sending end. On the one hand, as shown in FIG. 7, the receiving end provided in this embodiment includes:
接收单元61,用于接收发送端发出的数据报文和发送端校验和;发送端校验和由该发送端根据数据报文生成。The receiving unit 61 is configured to receive the data packet and the checksum of the sender sent by the sender; the checksum of the sender is generated by the sender according to the data packet.
校验和生成单元62,用于根据接收单元61接收到的数据报文生成接收端校验和。The checksum generating unit 62 is configured to generate a receiving end checksum according to the data packet received by the receiving unit 61 .
接收端传递单元63,用于当判断发送端校验和与校验和生成单元62生成的接收端校验和相同时,将数据报文传递至接收端的传输控制层。其中,接收端的传输控制层接收该数据报文后,发出传输控制层确认报文。The receiving end transfer unit 63 is configured to transfer the data message to the transmission control layer of the receiving end when judging that the sending end checksum is the same as the receiving end checksum generated by the checksum generating unit 62 . Wherein, after receiving the data message, the transmission control layer at the receiving end sends a transmission control layer confirmation message.
数据确认发送单元64,用于向发送端返回数据接收确认;以便于发送端接收该数据接收确认后,构造发送端传输控制层确认报文并将发送端传输控制层确认报文发送给发送端的传输控制层。The data confirmation sending unit 64 is used to return the data reception confirmation to the sending end; after the sending end receives the data receiving confirmation, constructs the sending end transmission control layer confirmation message and sends the sending end transmission control layer confirmation message to the sending end transport control layer.
确认报文丢弃单元65,用于当收到接收端传输控制层发出的传输控制层确认报文时,将该传输控制层确认报文丢弃。The confirmation packet discarding unit 65 is configured to discard the transmission control layer confirmation packet when receiving the transmission control layer confirmation packet sent by the transmission control layer of the receiving end.
进一步的,结合该实施例的一方面,如图8a所示,该接收端还包括:Further, in combination with an aspect of this embodiment, as shown in FIG. 8a, the receiving end further includes:
数据报文丢弃单元66,用于当判断发送端校验和与校验和生成单元62生成的接收端校验和不相同时,将数据报文丢弃。The data message discarding unit 66 is configured to discard the data message when it is judged that the checksum of the sending end is different from the checksum of the receiving end generated by the checksum generating unit 62 .
此外,当接收端为用户终端,发送端为网络侧时,网络侧需要预先确定用户终端是否具有减少传输控制层确认报文的能力。如图8b所示,该接收端还包括:In addition, when the receiving end is the user terminal and the sending end is the network side, the network side needs to determine in advance whether the user terminal has the ability to reduce transmission control layer confirmation messages. As shown in Figure 8b, the receiving end also includes:
能力信息发送单元67,用于在接收单元61接收发送端发出的数据报文和发送端校验和之前,向网络侧发送减少传输控制层确认报文能力信息,以便网络侧根据减少传输控制层确认报文能力信息,确定用户终端具有减少传输控制成确认报文的能力。The capability information sending unit 67 is used to send the reduced transmission control layer confirmation message capability information to the network side before the receiving unit 61 receives the data message sent by the sending end and the sending end checksum, so that the network side can reduce the transmission control layer according to the reduced transmission control layer Acknowledgment message capability information, to determine that the user terminal has the ability to reduce transmission control into a confirmation message.
进一步的,接收单元61还用于,在能力信息发送单元67向网络侧发送减少传输控制层确认报文能力信息之前,接收网络侧发送的减少传输控制层确认报文能力查询消息。Further, the receiving unit 61 is also configured to receive a reduced transmission control layer confirmation message capability query message sent by the network side before the capability information sending unit 67 sends the reduced transmission control layer confirmation message capability information to the network side.
进一步的,接收单元61还用于,在能力信息发送单元67向网络侧发送减少传输控制层确认报文能力信息之后,接收网络侧发送的减少传输控制层确认报文启动消息,以便开启减少传输控制层确认报文的功能。Further, the receiving unit 61 is also configured to, after the capability information sending unit 67 sends the reduced transmission control layer confirmation message capability information to the network side, receive the reduced transmission control layer confirmation message start message sent by the network side, so as to start the reduced transmission The function of the control layer to confirm the message.
图7和图8a所述装置中的接收单元61、校验和生成单元62,工作在接收端的物理层;接收端传递单元63,数据确认发送单元64,确认报文丢弃单元65,数据报文丢弃单元66工作在接收端的无线链路控制层。The receiving unit 61 and the checksum generating unit 62 in the device described in Fig. 7 and Fig. 8a work at the physical layer of the receiving end; the receiving end transfer unit 63, the data confirmation sending unit 64, the confirmation message discarding unit 65, and the data message The discarding unit 66 works at the radio link control layer of the receiving end.
另一方面,如图9a所示,该实施例提供的发送端包括:On the other hand, as shown in Figure 9a, the sending end provided by this embodiment includes:
数据报文接收单元71,用于接收发送端的传输控制层发出的数据报文。The data message receiving unit 71 is configured to receive the data message sent by the transmission control layer of the sending end.
校验和生成单元72,用于根据数据报文接收单元71接收的传输控制层发出的数据报文生成发送端校验和。The checksum generation unit 72 is configured to generate a sender checksum according to the data message sent by the transmission control layer received by the data message receiving unit 71 .
发送单元73,用于将数据报文和发送端校验和发送至接收端,以便接收端根据接收到的数据报文生成接收端校验和,并当判断发送端校验和与接收端校验和相同时,向发送端发送数据接收确认。The sending unit 73 is used to send the data message and the checksum of the sending end to the receiving end, so that the receiving end generates the checksum of the receiving end according to the received data message, and when it is judged that the checksum of the sending end is the same as the checking sum of the receiving end When the checksum is the same, send a data reception confirmation to the sender.
数据确认接收单元74,用于接收由接收端返回的数据接收确认;该数据接收确认由接收端在发送端校验和与接收端校验和相同时返回给发送端。The data confirmation receiving unit 74 is configured to receive the data reception confirmation returned by the receiving end; the data reception confirmation is returned by the receiving end to the sending end when the checksum of the sending end is the same as the checksum of the receiving end.
确认报文构造单元75,用于构造发送端传输控制层确认报文;A confirmation message construction unit 75, configured to construct a transmission control layer confirmation message at the sending end;
确认报文传递单元76,用于将确认报文构造单元75构造的发送端传输控制层确认报文传递给发送端的传输控制层。The acknowledgment message delivery unit 76 is configured to deliver the acknowledgment message of the transmission control layer of the sending end constructed by the acknowledgment message construction unit 75 to the transmission control layer of the sending end.
发送单元73还用于在确认报文传递单元76将发送端传输控制层确认报文传递给发送端的传输控制层后,继续按顺序发送其它数据报文。The sending unit 73 is further configured to continue to send other data messages in sequence after the confirmation message delivery unit 76 delivers the confirmation message of the transmission control layer of the sending end to the transmission control layer of the sending end.
进一步的,确认报文构造单元75还用于:当发送端的传输控制层发送的数据报文出现漏传时,构造数据报文缺失反馈信息;数据报文缺失反馈信息中包含漏传的数据报文的信息。Further, the confirmation message construction unit 75 is also used for: when the data message sent by the transmission control layer of the sending end is leaked, constructing the missing feedback information of the data message; the missing data message is included in the data message missing feedback information text information.
确认报文传递单元76还用于,将数据报文缺失反馈信息发送至发送端的传输控制层,以使发送端的传输控制层根据数据报文缺失反馈信息发送漏传的数据报文。The confirmation message transfer unit 76 is also configured to send the missing data message feedback information to the transmission control layer of the sending end, so that the transmission control layer of the sending end sends the missing data message according to the missing data message feedback information.
此外,当接收端为用户终端,发送端为网络侧时,网络侧需要预先确定用户终端是否具有减少传输控制层确认报文的能力。如图9b所示,该发送端还包括:In addition, when the receiving end is the user terminal and the sending end is the network side, the network side needs to determine in advance whether the user terminal has the ability to reduce transmission control layer confirmation messages. As shown in Figure 9b, the sending end also includes:
能力信息接收单元77,用于接收用户终端发送的减少传输控制层确认报文能力信息,以便网络侧根据该减少传输控制层确认报文能力信息,确定用户终端具有减少传输控制层确认报文的能力。The capability information receiving unit 77 is configured to receive the reduced transmission control layer confirmation message capability information sent by the user terminal, so that the network side can determine that the user terminal has the reduced transmission control layer confirmation message capability information according to the reduced transmission control layer confirmation message capability information. ability.
进一步的,发送单元73还用于,在能力信息接收单元77接收用户终端发送的减少传输控制层确认报文能力信息前,向用户终端发送减少传输控制层确认报文能力查询消息。Further, the sending unit 73 is also configured to send a reduced transmission control layer confirmation message capability query message to the user terminal before the capability information receiving unit 77 receives the reduced transmission control layer confirmation message capability information sent by the user terminal.
进一步的,发送单元73还用于,在能力信息接收单元77接收用户终端发送的减少传输控制层确认报文能力信息后,向用户终端发送减少传输控制层确认报文启动消息,以便用户终端开启减少传输控制层确认报文的功能。Further, the sending unit 73 is also configured to, after the capability information receiving unit 77 receives the reduced transmission control layer confirmation message capability information sent by the user terminal, send a reduced transmission control layer confirmation message start message to the user terminal, so that the user terminal starts Reduce the function of transmitting control layer confirmation messages.
图9a中所述发送端中的,数据报文接收单元71,确认报文构造单元75,确认报文传递单元76工作在发送端的无线链路控制层;校验和生成单元72,发送单元73,数据确认接收单元74工作在发送端的物理层。In the sending end described in Fig. 9a, the data message receiving unit 71, the confirmation message construction unit 75, and the confirmation message transfer unit 76 work at the wireless link control layer of the sending end; the checksum generation unit 72, the sending unit 73 , the data confirmation receiving unit 74 works on the physical layer of the sending end.
本发明的实施例提供一种发送端和接收端,一方面,接收端接收发送端发出的数据报文和发送端校验和;根据接收到的数据报文生成接收端校验和;当判断发送端校验和与接收端校验和相同时,将数据报文传递至接收端的传输控制层;向发送端返回数据接收确认;当收到接收端的传输控制层发出的传输控制层确认报文时,将该传输控制层确认报文丢弃。另一方面,发送端接收由发送端的传输控制层发出的数据报文;根据发送端的传输控制层发出的数据报文生成发送端校验和;将数据报文和发送端校验和发送至接收端;接收该接收端返回的数据接收确认;构造发送端传输控制层确认报文;将该发送端传输控制层确认报文传递给发送端的传输控制层。通过上述方案,解决接收端发送的确认报文占据大量空中接口资源,对其它通信数据形成干扰的问题。Embodiments of the present invention provide a sending end and a receiving end. On the one hand, the receiving end receives the data message sent by the sending end and the sending end checksum; generates the receiving end checksum according to the received data message; when judging When the checksum of the sending end is the same as that of the receiving end, the data message is passed to the transmission control layer of the receiving end; the data reception confirmation is returned to the sending end; when the transmission control layer confirmation message sent by the transmission control layer of the receiving end is received , the transmission control layer confirmation message is discarded. On the other hand, the sender receives the data message sent by the transmission control layer of the sender; generates the checksum of the sender according to the data message sent by the transmission control layer of the sender; sends the data message and the checksum of the sender to the receiver Receive the data reception confirmation returned by the receiving end; construct the transmission control layer confirmation message of the sending end; pass the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end. Through the above solution, the problem that the confirmation message sent by the receiving end occupies a large amount of air interface resources and interferes with other communication data is solved.
实施例4Example 4
本发明的一个实施例提供一种接收端和一种发送端,一方面,如图10所示,该实施例提供的接收端包括:An embodiment of the present invention provides a receiving end and a sending end. On the one hand, as shown in FIG. 10, the receiving end provided in this embodiment includes:
接收器81,用于接收发送端发出的数据报文和发送端校验和;发送端校验和由发送端根据数据报文生成。The receiver 81 is configured to receive the data message sent by the sender and the checksum of the sender; the checksum of the sender is generated by the sender according to the data message.
处理器82,用于根据接收到的数据报文生成接收端校验和,当发送端校验和与接收端校验和相同时,将数据报文传递至接收端的传输控制层;其中,接收端的传输控制层接收数据报文后,发出传输控制层确认报文;处理器82还用于当接收接收端的传输控制层发出的传输控制层确认报文时,将该接收端传输控制层确认报文丢弃,从而减少传输控制层确认报文的数量。The processor 82 is configured to generate a receiving end checksum according to the received data message, and when the sending end checksum is the same as the receiving end checksum, transfer the data message to the transmission control layer of the receiving end; wherein, receiving After the transmission control layer at the receiving end receives the data message, it sends a transmission control layer confirmation message; the processor 82 is also used to send the transmission control layer confirmation message at the receiving end when receiving the transmission control layer confirmation message sent by the transmission control layer at the receiving end. The message is discarded, thereby reducing the number of confirmation messages in the transmission control layer.
发送器83,用于当发送端校验和与接收端校验和相同时,向发送端返回数据接收确认;以便于发送端接收该数据接收确认后,构造发送端传输控制层确认报文并将该发送端传输控制层确认报文发送给发送端的传输控制层。Transmitter 83 is used to return the data reception confirmation to the transmission terminal when the transmission terminal checksum is the same as the reception terminal checksum; so that after the transmission terminal receives the data reception confirmation, it constructs the transmission control layer confirmation message of the transmission terminal and Send the transmission control layer acknowledgment message of the sending end to the transmission control layer of the sending end.
进一步的,处理器82还用于当发送端校验和与接收端校验和不相同时,将数据报文丢弃。Further, the processor 82 is further configured to discard the data packet when the checksum of the sending end is different from the checksum of the receiving end.
另外,当接收端为用户终端,发送端为网络侧时,接收端中的发送器83还用于:In addition, when the receiving end is a user terminal and the sending end is a network side, the transmitter 83 in the receiving end is also used for:
在接收器81接收发送端发出的数据报文和发送端校验和之前,向网络侧发送减少传输控制层确认报文能力信息,以便网络侧根据该减少传输控制层确认报文能力信息,确定用户终端具有减少传输控制成确认报文的能力。Before the receiver 81 receives the data message sent by the sender and the checksum of the sender, it sends the reduced transmission control layer confirmation message capability information to the network side, so that the network side determines according to the reduced transmission control layer confirmation message capability information The user terminal has the ability to reduce transmission control into confirmation messages.
接收器81还用于,在发送器83向网络侧发送减少传输控制层确认报文能力信息之前,接收网络侧发送的减少传输控制层确认报文能力查询消息。The receiver 81 is also configured to, before the sender 83 sends the reduced transmission control layer confirmation message capability information to the network side, receive the reduced transmission control layer confirmation message capability query message sent by the network side.
接收器81还用于,在发送器83向网络侧发送减少传输控制层确认报文能力信息之后,接收网络侧发送的减少传输控制层确认报文启动消息,以便开启减少传输控制层确认报文的功能。The receiver 81 is also used to, after the transmitter 83 sends the reduced transmission control layer confirmation message capability information to the network side, receive the reduced transmission control layer confirmation message start message sent by the network side, so as to start the reduced transmission control layer confirmation message function.
另一方面,如图11所示,该实施例提供的发送端包括:On the other hand, as shown in Figure 11, the sending end provided by this embodiment includes:
处理器91,用于接收发送端的传输控制层发出的数据报文;根据发送端的传输控制层发出的数据报文生成发送端校验和。The processor 91 is configured to receive a data message sent by the transmission control layer of the sender; and generate a checksum of the sender according to the data message sent by the transmission control layer of the sender.
发送器92,用于将数据报文和发送端校验和发送至接收端,以便接收端根据接收到的数据报文生成接收端校验和,并当判断发送端校验和与接收端校验和相同时,向发送端发送数据接收确认.The transmitter 92 is used to send the data message and the checksum of the sending end to the receiving end, so that the receiving end generates the checksum of the receiving end according to the received data message, and when it is judged that the checksum of the sending end is the same as the checking sum of the receiving end When the checksum is the same, send a data reception confirmation to the sender.
接收器93,用于接收接收端返回的数据接收确认。The receiver 93 is configured to receive the data reception confirmation returned by the receiving end.
进一步的,处理器91还用于构造发送端传输控制层确认报文;并将该发送端传输控制层确认报文传递给发送端的传输控制层。Further, the processor 91 is further configured to construct a transmission control layer acknowledgment message of the sender, and deliver the acknowledgment message of the transmission control layer of the sender to the transmission control layer of the sender.
进一步的,发送器92还用于在处理器91将发送端传输控制层确认报文传递给发送端的传输控制层后,继续按顺序发送其它数据报文。Further, the sender 92 is also configured to continue to send other data packets in sequence after the processor 91 passes the confirmation message of the transmission control layer of the sending end to the transmission control layer of the sending end.
进一步的,发送器92,还用于当在预设的等待时间内未收到数据接收确认时,重新发送数据报文。Further, the transmitter 92 is also configured to resend the data packet when no data reception confirmation is received within the preset waiting time.
进一步的,处理器91,还用于当发送端的传输控制层发送的数据报文出现漏传时,构造数据报文缺失反馈信息;该数据报文缺失反馈信息中包含漏传的数据报文的信息。并将该数据报文缺失反馈信息发送至发送端的传输控制层,以使发送端的传输控制层根据该数据报文缺失反馈信息发送漏传的数据报文。Further, the processor 91 is also configured to construct missing data message feedback information when the data message sent by the transmission control layer of the sending end is leaked; the data message missing feedback information includes the missing data message information. And sending the missing data message feedback information to the transmission control layer of the sending end, so that the transmission control layer of the sending end sends the missing data message according to the missing data message feedback information.
另外,当接收端为用户终端,发送端为网络侧时,接收器93还用于:接收用户终端发送的减少传输控制层确认报文能力信息,以便网络侧根据该减少传输控制层确认报文能力信息,确定用户终端具有减少传输控制层确认报文的能力。In addition, when the receiving end is the user terminal and the sending end is the network side, the receiver 93 is also used to: receive the reduced transmission control layer confirmation message capability information sent by the user terminal, so that the network side can confirm the message according to the reduced transmission control layer Capability information, to determine that the user terminal has the capability of reducing transmission control layer confirmation messages.
进一步的,发送器92还用于,在接收器93接收用户终端发送的减少传输控制层确认报文能力信息前,向用户终端发送减少传输控制层确认报文能力查询消息。Further, the transmitter 92 is also configured to send a reduced transmission control layer confirmation message capability query message to the user terminal before the receiver 93 receives the reduced transmission control layer confirmation message capability information sent by the user terminal.
发送器92还用于,在接收器93接收用户终端发送的减少传输控制层确认报文能力信息后,向用户终端发送减少传输控制层确认报文启动消息,以便用户终端开启减少传输控制层确认报文的功能。The transmitter 92 is also configured to, after the receiver 93 receives the reduced transmission control layer acknowledgment message capability information sent by the user terminal, send a reduced transmission control layer acknowledgment message start message to the user terminal, so that the user terminal enables the reduced transmission control layer acknowledgment function of the message.
本发明的实施例提供一种接收端和发送端,一方面,接收端接收发送端发出的数据报文和发送端校验和;根据接收到的数据报文生成接收端校验和;当判断发送端校验和与接收端校验和相同时,将数据报文传递至接收端的传输控制层;向发送端返回数据接收确认;当收到接收端的传输控制层发出的传输控制层确认报文时,将该传输控制层确认报文丢弃。另一方面,发送端接收发送端的传输控制层发出的数据报文;根据发送端的传输控制层发出的数据报文生成发送端校验和;将数据报文和发送端校验和发送至接收端;接收由接收端返回的数据接收确认;构造发送端传输控制层确认报文;将发送端传输控制层确认报文传递给发送端的传输控制层。通过上述方案,解决接收端发送的确认报文占据大量空中接口资源,对其它通信数据形成干扰的问题。Embodiments of the present invention provide a receiving end and a sending end. On the one hand, the receiving end receives the data message sent by the sending end and the sending end checksum; generates the receiving end checksum according to the received data message; when judging When the checksum of the sending end is the same as that of the receiving end, the data message is passed to the transmission control layer of the receiving end; the data reception confirmation is returned to the sending end; when the transmission control layer confirmation message sent by the transmission control layer of the receiving end is received , the transmission control layer confirmation message is discarded. On the other hand, the sender receives the data message sent by the transmission control layer of the sender; generates the checksum of the sender according to the data message sent by the transmission control layer of the sender; sends the data message and the checksum of the sender to the receiver ; Receive the data reception confirmation returned by the receiving end; construct the transmission control layer confirmation message of the sending end; pass the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end. Through the above solution, the problem that the confirmation message sent by the receiving end occupies a large amount of air interface resources and interferes with other communication data is solved.
进一步的,本发明实施例提供一种减少传输控制层确认报文的系统。如图12所示,该系统包括:发送端1001、接收端1002和空中接口1003;其中:Further, the embodiment of the present invention provides a system for reducing transmission control layer confirmation messages. As shown in Figure 12, the system includes: a sending end 1001, a receiving end 1002 and an air interface 1003; wherein:
发送端1001为本发明实施例4中图11所示的发送端。The sending end 1001 is the sending end shown in FIG. 11 in Embodiment 4 of the present invention.
接收端1002为本发明实施例4中图10所示的接收端。The receiving end 1002 is the receiving end shown in FIG. 10 in Embodiment 4 of the present invention.
空中接口用于连接发送端和接收端。The air interface is used to connect the sender and receiver.
本发明的实施例提供一种减少传输控制层确认报文的系统,一方面,接收端接收发送端发出的数据报文和发送端校验和;根据接收到的数据报文生成接收端校验和;当判断发送端校验和与接收端校验和相同时,将数据报文传递至接收端的传输控制层;向发送端返回数据接收确认;当收到所述接收端的传输控制层发出的传输控制层确认报文时,将传输控制层确认报文丢弃。另一方面,发送端接收由发送端的传输控制层发出的数据报文;根据发送端的传输控制层发出的数据报文生成发送端校验和;将数据报文和发送端校验和发送至接收端;接收由接收端返回的数据接收确认;构造发送端传输控制层确认报文;将该发送端传输控制层确认报文传递给发送端的传输控制层。发送端和接收端通过空中接口连接。通过上述方案,解决接收端发送的确认报文占据大量空中接口资源,对其它通信数据形成干扰的问题。Embodiments of the present invention provide a system for reducing transmission control layer confirmation messages. On the one hand, the receiving end receives the data message sent by the sending end and the checksum of the sending end; generates the receiving end checksum according to the received data message and; when it is judged that the checksum of the sending end is the same as that of the receiving end, the data message is delivered to the transmission control layer of the receiving end; the data reception confirmation is returned to the sending end; when the transmission control layer of the receiving end is received When the transmission control layer confirms the message, the transmission control layer confirmation message is discarded. On the other hand, the sender receives the data message sent by the transmission control layer of the sender; generates the checksum of the sender according to the data message sent by the transmission control layer of the sender; sends the data message and the checksum of the sender to the receiver Receive the data reception confirmation returned by the receiving end; construct the transmission control layer confirmation message of the sending end; pass the transmission control layer confirmation message of the sending end to the transmission control layer of the sending end. The sender and receiver are connected through the air interface. Through the above solution, the problem that the confirmation message sent by the receiving end occupies a large amount of air interface resources and interferes with other communication data is solved.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general-purpose hardware, and of course also by hardware, but in many cases the former is a better embodiment . Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a floppy disk of a computer , a hard disk or an optical disk, etc., including several instructions for enabling a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (37)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2013/076787 WO2014194493A1 (en) | 2013-06-05 | 2013-06-05 | Method, device and system for reducing confirmation packets at transmission control layer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103534973A CN103534973A (en) | 2014-01-22 |
| CN103534973B true CN103534973B (en) | 2016-09-28 |
Family
ID=49935405
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201380000825.7A Active CN103534973B (en) | 2013-06-05 | 2013-06-05 | A kind of methods, devices and systems reducing transmission control layer confirmation message |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103534973B (en) |
| WO (1) | WO2014194493A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105187949B (en) * | 2015-08-21 | 2019-06-25 | 广州市百果园网络科技有限公司 | A kind of transmission method and client of video |
| CN105939282B (en) * | 2016-02-04 | 2019-09-06 | 杭州迪普科技股份有限公司 | The method of adjustment and device of packet size |
| CN108933735B (en) | 2017-05-27 | 2020-12-25 | 华为技术有限公司 | Method, device and equipment for sending message |
| CN107483063A (en) * | 2017-09-21 | 2017-12-15 | 宁夏软件工程院有限公司 | Wireless communication method, apparatus and system |
| CN111435866B (en) * | 2019-01-14 | 2023-02-10 | 华为技术有限公司 | Data transmission method and related device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1697535A (en) * | 2005-06-14 | 2005-11-16 | 北京交通大学 | A Mobile Router Selection Technology Based on Entropy Model in Mobile Networks |
| CN1842052A (en) * | 2005-03-29 | 2006-10-04 | 华为技术有限公司 | Data transmission method of radio link control layer |
| CN1852079A (en) * | 2005-10-18 | 2006-10-25 | 上海华为技术有限公司 | Wireless data transmission method |
| CN1964348A (en) * | 2005-11-09 | 2007-05-16 | 大唐移动通信设备有限公司 | A method and method for data transmission |
| CN101335603A (en) * | 2008-07-17 | 2008-12-31 | 华为技术有限公司 | Data transmission method and device |
| CN103001727A (en) * | 2011-09-09 | 2013-03-27 | 中兴通讯股份有限公司 | Method and system for controlling data transmission of radio network |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5961605A (en) * | 1997-02-06 | 1999-10-05 | Gte Laboratories Incorporated | Method and apparatus for acknowledging TCP data packets |
-
2013
- 2013-06-05 WO PCT/CN2013/076787 patent/WO2014194493A1/en active Application Filing
- 2013-06-05 CN CN201380000825.7A patent/CN103534973B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1842052A (en) * | 2005-03-29 | 2006-10-04 | 华为技术有限公司 | Data transmission method of radio link control layer |
| CN1697535A (en) * | 2005-06-14 | 2005-11-16 | 北京交通大学 | A Mobile Router Selection Technology Based on Entropy Model in Mobile Networks |
| CN1852079A (en) * | 2005-10-18 | 2006-10-25 | 上海华为技术有限公司 | Wireless data transmission method |
| CN1964348A (en) * | 2005-11-09 | 2007-05-16 | 大唐移动通信设备有限公司 | A method and method for data transmission |
| CN101335603A (en) * | 2008-07-17 | 2008-12-31 | 华为技术有限公司 | Data transmission method and device |
| CN103001727A (en) * | 2011-09-09 | 2013-03-27 | 中兴通讯股份有限公司 | Method and system for controlling data transmission of radio network |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2014194493A1 (en) | 2014-12-11 |
| CN103534973A (en) | 2014-01-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8416809B2 (en) | Apparatus for reporting reception result of packets in mobile communication system | |
| US9300602B2 (en) | Method, device, and apparatus for error detection and correction in wireless communications | |
| US8402335B2 (en) | Status report messages for multi-layer ARQ protocol | |
| US8976814B2 (en) | Method of transporting data from sending node to destination node | |
| US9871625B2 (en) | Status reporting for retransmission protocol | |
| CN102025474B (en) | Network data transmission method | |
| CN103534973B (en) | A kind of methods, devices and systems reducing transmission control layer confirmation message | |
| CN104780029B (en) | A hybrid automatic repeat request method and related device | |
| CN105262746A (en) | Method for guaranteeing reliable data transmission on the basis of UDP protocol | |
| KR20150017910A (en) | Communication method of an access point and a terminal for retransmission of multicast packet based on feedback in a network including access point and a plural of terminals, the access point and the terminal | |
| CN103999394B (en) | Data retransmission and feedback methods, and corresponding apparatus | |
| WO2015038921A1 (en) | System and method for performing hybrid automatic repeat request (harq) in a wlan system | |
| CN112088508B (en) | Communication method, device, terminal and readable storage medium of wireless local area network | |
| CN101414899A (en) | Method, system and apparatus for configuring HARQ parameter | |
| CN102377544A (en) | Retransmission method in communication system | |
| US11463201B2 (en) | HARQ TXOP frame exchange for HARQ retransmission using HARQ threads | |
| JP2016174211A (en) | Communication system | |
| US8438444B2 (en) | Method of associating automatic repeat request with hybrid automatic repeat request | |
| CN103975624B (en) | Transmit or receive method and user equipment, the base station of up SPS business datums | |
| CN106100797B (en) | A kind of method for transmitting deep space file based on the asynchronous acceleration re-transmission policy of LTP | |
| CN103078722B (en) | A kind of method and device of request data retransmission | |
| JP2013026820A (en) | Communication apparatus, communication method and communication system | |
| CN117544280A (en) | Message transmission method, system, device, equipment and storage medium | |
| CN117811702A (en) | Communication data processing method, device and system | |
| CN116418892A (en) | UDP-based data security transmission method and system |
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 |