US20120039249A1 - Data transmission method and apparatus - Google Patents
Data transmission method and apparatus Download PDFInfo
- Publication number
- US20120039249A1 US20120039249A1 US13/125,234 US200913125234A US2012039249A1 US 20120039249 A1 US20120039249 A1 US 20120039249A1 US 200913125234 A US200913125234 A US 200913125234A US 2012039249 A1 US2012039249 A1 US 2012039249A1
- Authority
- US
- United States
- Prior art keywords
- ack
- data packet
- tcp
- receiver
- sender
- 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.)
- Abandoned
Links
Images
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
- H04L1/1854—Scheduling and prioritising arrangements
-
- 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/1607—Details of the supervisory signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2466—Traffic characterised by specific attributes, e.g. priority or QoS using signalling traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/163—In-band adaptation of TCP data exchange; In-band control procedures
-
- 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
- H04L2001/0092—Error control systems characterised by the topology of the transmission link
- H04L2001/0097—Relays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
- H04W80/06—Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless
Definitions
- the present invention relates to the mobile communication field, and in particular, to a data transmission method and apparatus.
- a transmission control protocol is generally applied to the packet switched (PS) services in a wireless field.
- a wireless network is characterized by features such as high delay, variable data rate, asymmetry, delay peak, and bandwidth jitter, which may affect the performance of TCP.
- QoS quality of service
- the transmission process includes an upload process and a download process.
- a terminal sends a data packet to a server, and after receiving an acknowledge (ACK) packet from the server, the terminal slides the window to send a new data packet.
- the server sends a data packet to the terminal; after receiving an ACK packet from the terminal, the server slides the window to send a new data packet.
- the server also sends an ACK packet corresponding to the uplink data packet; when the terminal sends a data packet, the terminal also sends an ACK packet corresponding to the downlink data packet.
- the throughput performance demonstrated when data is transmitted in both uplink and downlink simultaneously is an important performance indicator for evaluating a wireless system.
- the inventor of the present invention finds at least these problems in the prior art: In the test on the existing network, the data rate in the downlink direction is low and unstable when data is transmitted in both uplink and downlink directions simultaneously. That is because the ACK corresponding to the downlink data packet is generally arranged after the uplink data packet at the TCP layer of the terminal, which leads to the delay of the ACK corresponding to the downlink data packet, and the performance of the downlink data transmission is seriously affected and an experience to the user is poor.
- the embodiments of the present invention provide a data transmission method and apparatus to improve the performance of downlink data transmission.
- the protocol layer looks up recorded information about the data packet according to a data packet mapping after the protocol layer receives, from the receiver, confirmation information of the data packet, wherein the data packet mapping is a relation between a recorded data packet and a data packet received by the protocol layer;
- acknowledgement destined for the sender according to information about the data packet obtained by the steps of looking up recorded information about received data packets.
- the protocol layer receives confirmation information of the data packet sent by the receiver to the sender, obtaining information about a corresponding data packet according to the confirmation information;
- a receiving unit configured to receive a data packet sent by a sender, and record information about the data packet received
- a sending unit configured to send the data packet received to a receiver through a protocol layer
- a looking-up unit configured to look up recorded information about the data packet according to a data packet mapping after the protocol layer receives, from the receiver, confirmation information of the data packet, wherein the data packet mapping is a relation between a recorded data packet and a data packet received by the protocol layer;
- a constructing unit configured to construct an Acknowledgement, ACK, destined for the sender according to the information about the data packet obtained by the looking-up unit.
- An intermediate Network Element (NE) provided in an embodiment of the present invention includes a protocol layer and the foregoing data transmission apparatus.
- the protocol layer is any protocol layer of the intermediate NE, and a confirmation mechanism exists between this protocol layer and a receiver.
- the receiver returns confirmation information to the protocol layer upon receiving a data packet.
- a data packet mapping is shared between the protocol layer and the data transmission apparatus. After the protocol layer receives the confirmation information returned by the receiver, the data transmission apparatus constructs an ACK and sends it to the sender according to the data packet mapping.
- a second receiving unit configured to receive a data packet sent by a sender
- a second sending unit configured to send the data packet received to a receiver through a protocol layer
- an obtaining unit configured to obtain information about a corresponding data packet according to confirmation information of the data packet after the protocol layer receives the confirmation information of the data packet sent by the receiver to the sender;
- a second constructing unit configured to construct an acknowledgement, ACK,destined for the sender according to the information about the data packet obtained by the obtaining unit.
- Another intermediate NE provided in an embodiment of the present invention includes a protocol layer and the foregoing data transmission apparatus.
- the protocol layer is any protocol layer of the intermediate NE, and a confirmation mechanism exists between this protocol layer and a receiver.
- the receiver returns confirmation information to the protocol layer upon receiving a data packet.
- the data transmission apparatus After the protocol layer receives the confirmation information returned by the receiver, the data transmission apparatus obtains the information about the data packet according to the confirmation information and constructs an ACK destined for the sender according to the information about the data packet.
- an ACK is constructed and sent to the sender after a protocol layer receives confirmation information returned by the receiver, thus preventing, to some extent, the ACK of the data packet from being blocked by the TCP layer of the receiver, enabling the sender to slide the window faster, improving the data transmission performance, and enhancing the user's experience.
- FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present invention
- FIG. 2 is a flowchart of a data transmission method according to another embodiment of the present invention.
- FIG. 3 is a flowchart of a data transmission method according to another embodiment of the present invention.
- FIG. 4 is a flowchart of a data transmission method according to another embodiment of the present invention.
- FIG. 5 shows a structure of a data transmission apparatus according to an embodiment of the present invention
- FIG. 6 shows a structure of a data transmission apparatus according to another embodiment of the present invention.
- FIG. 7 shows a structure of a data transmission apparatus according to another embodiment of the present invention.
- FIG. 8 shows a structure of a data transmission apparatus according to another embodiment of the present invention.
- FIG. 9 shows a structure of an intermediate NE according to an embodiment of the present invention.
- FIG. 10 shows a structure of an intermediate NE according to another embodiment of the present invention.
- FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 1 , the method may include the following steps:
- the sequence number (SN) of the data packet is recorded according to the order of receiving data packets.
- the SN may increase in ascending order. For example, the first data packet received is identified by SN 1, and the second data packet received is identified by SN 2, and so on.
- the number of digits of the SN of the data packet may be not limited, but a too long SN causes inconvenience of recording. Therefore, the SN may start over again if the SN reaches a value. For example, if the SN reaches 65535, after which the SN starts over from 1 again. In this way, plenty of data packets can be accommodated.
- the received data packet is a TCP packet
- the packet length and the TCP sequence number may be recorded.
- the received data packet may be sent to the receiver through a protocol layer.
- the protocol layer may be a Radio Link Control (RLC) layer.
- RLC Radio Link Control
- the protocol layer may also record information about the received data packet, for example, record the SN of the data packet according to the order of receiving the data packet.
- the data packet mapping reflects the relation between the recorded data packet and the data packet received by the protocol layer, and data packet mapping may be a table.
- the data packet mapping may be generated in the following way: Because the information about the received data packet is recorded in step S 101 , and the protocol layer also records the SN of the received data packet, which uniquely corresponds to the SN of the data packet recorded by the TCP proxy. For example, if the first data packet received by the TCP proxy is identified by SN 1, the first data packet received by the protocol layer is also identified by SN 1. Therefore, the order of the data packets recorded by the protocol layer corresponds to the order of the data packets recorded by the TCP proxy in a one-to-one relation. The one-to-one relation is called a data packet mapping.
- the TCP function enhancement entity may be deployed in different positions of the network, for example, including but not limited to: Internet, core network, or radio access network.
- the protocol layer may also be deployed in different positions of the network.
- a confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer.
- the protocol layer After receiving the confirmation information from the receiver, the protocol layer knows which data packets are correctly received by the receiver. Therefore, the corresponding information about the data packets is found according to the generated data packet mapping, thus it is easy to know which data packets forwarded by the TCP function enhancement entity are correctly received by the receiver.
- the data packet mapping may be stored at the protocol layer, or stored into the TCP function enhancement entity.
- the data packet mapping is shared between the TCP function enhancement entity and the protocol layer.
- the mode of recording information of the received data packet is exemplary only.
- the information of the received data packet may be recorded in other modes as long as the corresponding information of a data packet can be found through the data packet mapping according to the recorded SN.
- the sender continues to send data packets to the receiver after receiving the ACK from the receiver.
- the TCP function enhancement entity e.g. a TCP proxy may construct an ACK and send it to the sender.
- the TCP proxy may construct an ACK and send the ACK to the sender.
- the ACK may be constructed according to the information about the data packet found through the data packet mapping.
- the information about the data packet may include SN. If the data packet is a TCP packet, the information about the data packet may further include the TCP sequence number and packet length of the TCP packet, and therefore, the SN of the constructed ACK may be the TCP sequence number plus the packet length of the TCP packet. For other types of data packets, the ACK may be constructed in other ways according to specific conditions.
- the TCP proxy sends the constructed ACK to the sender, and records the SN of the constructed ACK.
- an ACK is constructed actively and sent to the sender through a TCP function enhancement entity, e.g. a TCP proxy, added in an intermediate node in the data transmission process between the sender and the receiver, thus the data transmission rate is improved.
- a TCP function enhancement entity e.g. a TCP proxy
- a TCP function enhancement entity e.g. a TCP proxy
- a judgment about whether the TCP ACK returned by the receiver in response to the corresponding data packet has been received may be made. If no such TCP ACK has been received, an ACK is constructed and sent to the sender. Additionally, after the TCP ACK is received from the receiver, a judgment about whether the corresponding ACK has been constructed and sent to the sender may be made The TCP ACK is forwarded to the sender if no such ACK has been constructed, and the TCP ACK returned by the receiver is discarded if such an ACK has been constructed. That is because, if the SN of the ACK received subsequently by the sender is smaller than the SN of the ACK received previously by the sender, the sender will discard the ACK of the smaller SN.
- FIG. 2 is a flowchart of a data transmission method according to another embodiment of the present invention. As shown in FIG. 2 , the method may include the following steps.
- the TCP proxy receives a data packet sent by the server, and records information about the received data packet.
- the data packet sent by the server to the terminal is forwarded through a TCP proxy, and therefore, all the data packets pass through the TCP proxy.
- the SN of the data packet can be recorded according to the order of receiving the data packet.
- the SN may increase in ascending order. For example, the first data packet received is identified by SN 1, and the second data packet received is identified by SN 2, and so on. If the received data packet is a TCP packet, the packet length and the TCP SN of the TCP packet may be recorded. The information about the data packet length and the TCP SN of the TCP packet may be obtained from the packet header information of the TCP packet.
- the received data packet may be sent to the terminal through the RLC layer, and the RLC layer may also record information about the received data packet, for example, record the SN of the data packet according to the order of receiving the data packet.
- the generated data packet mapping may be stored in the form of a data packet mapping table.
- the data packet mapping may be stored on a TCP proxy or an RLC layer.
- the data packet mapping is shared between the TCP proxy and the RLC layer. In this embodiment, it is assumed that the TCP proxy generates the data packet mapping.
- the RLC layer may also record the SN of the received data packet. That is, if the first data packet received by the TCP proxy is identified by SN 1, the first data packet received by the RLC layer is also identified by SN 1, and so on. Therefore, the order of the data packets recorded by the RLC layer corresponds to the order of the data packets recorded by the TCP proxy in a one-to-one relation.
- the one-to-one relation is called a data packet mapping.
- the RLC layer looks up the corresponding information according to the data packet mapping after receiving the confirmation information from the terminal.
- the terminal is a broad-sense concept, which includes a terminal device and its protocol layer(s).
- the RLC layer may work in two modes: confirmation, and non-confirmation.
- the data transmission confirmation mechanism between the RLC layer and the terminal is utilized here.
- the service data unit (SDU) is split into protocol data units (PDUs) which are sent to the terminal.
- PDUs protocol data units
- the terminal After receiving the PDUs, the terminal returns confirmation information to the RLC layer, indicating that the terminal has received the data packet from the server.
- the RLC layer knows which data packets are correctly received by the terminal according to the confirmation information received from the terminal, and then which data packets on the TCP proxy are received by the terminal may be known by looking up the data packet mapping in step S 202 . Because the TCP proxy also records the information about the data packet, e.g. the packet length and SN of the TCP packet, the information about the corresponding data packet can be found.
- the TCP proxy also records the SN of the TCP ACK which is sent to the TCP proxy from the terminal.
- the information about the data packet may include the SN of the data packet. If the data packet is a TCP packet, the information about the data packet may include the packet length and the SN of the TCP packet. According to the found information about the data packet, the SN of the ACK to be constructed is known. For example, for a TCP packet, if the SN of the first data packet is 1 and the packet length is 1460, the SN of the ACK to be constructed is 1461; the SN of the second data packet is 1461, and the SN of the ACK to be constructed is 2921, and so on. For other types of data packets, the ACK may be constructed in other modes.
- the SN of the TCP ACK returned by the terminal and recorded in the TCP proxy may be compared with the SN of the ACK to be constructed to determine whether it is necessary to construct an ACK.
- the TCP proxy may record at least one SN of the TCP ACK returned by the terminal.
- the maximum SN of the TCP ACK recorded in the TCP proxy is compared with the SN of the ACK to be constructed. If the maximum SN of the TCP ACK returned by the terminal and recorded in the TCP proxy is greater than or equal to the SN of the ACK to be constructed, it indicates that the TCP proxy has received the TCP ACK sent by the terminal and that no more ACK needs to be constructed, and therefore, step S 201 and the subsequent steps need to be repeated.
- step S 206 is performed.
- the TCP proxy If the TCP proxy has not received the TCP ACK returned by the terminal, the TCP proxy constructs an ACK actively and sends it to the server. After receiving the ACK, the server can slide the window to send new data.
- the SN of the constructed ACK is the packet length of the TCP packet plus the SN of the TCP packet.
- the SN of the first data packet is 1, the packet length of the first data packet is 1460, and therefore, the SN of the constructed ACK is 1461; the SN of the second data packet is 1461, the packet length of the second data packet is 1460, and therefore, the SN of the constructed ACK is 2921, and so on.
- the SN of the constructed ACK may be recorded in the TCP proxy.
- the TCP proxy may compare the SN of the TCP ACK returned by the terminal with the SN of the constructed ACK recorded in the TCP proxy.
- the TCP proxy may record more than one constructed ACK.
- the SN of the TCP ACK returned by the terminal may be compared with the maximum recorded SN of the constructed ACK. If the SN of the TCP ACK returned by the terminal is smaller than or equal to the maximum recorded SN of the constructed ACK, it indicates that the TCP proxy has sent the corresponding ACK to the server, and the TCP proxy discards the ACK sent by the terminal instead of forwarding the ACK to the server. If the SN of the TCP ACK returned by the terminal is greater than the maximum recorded SN of the constructed ACK, the TCP proxy forwards the TCP ACK returned by the terminal to the server, and records the SN of the TCP ACK returned by the terminal.
- the TCP proxy constructs an ACK and sends it to the server.
- the method in this embodiment prevents the ACK of the downlink data packet from being blocked at the TCP layer of the terminal to some extent, enables the server to slide the window faster, provides sufficient data for the air interface, avoids lack of data for sending, improves the utilization of the air interface, enhances the performance of data transmission, and enhances the user's experience.
- FIG. 3 is a flowchart of a data transmission method according to another embodiment of the present invention. As shown in FIG. 3 , the method may include the following steps.
- the TCP function enhancement entity receives the data packet sent by the sender, and sends the data packet to the receiver through the protocol layer.
- the TCP function enhancement entity may be deployed in different positions of the network, including but not limited to: Internet, core network, and RAN.
- the protocol layer may also be deployed in different positions of the network.
- the protocol layer is an RLC layer.
- a confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information of a data packet to the protocol layer. Through the confirmation information, the protocol layer knows which data packets are correctly received by the receiver, knows which data packets forwarded by the TCP function enhancement entity are correctly received by the receiver, and can further obtain the information about such data packets.
- the information about the data packet may be an SN of the data packet. If the data packet is a TCP packet, the information about the data packet may further include the TCP SN and packet length of the TCP packet. The packet length and the TCP SN of the TCP packet may be obtained from the packet header information of the TCP packet.
- a TCP function enhancement entity may construct an ACK according to the obtained information about the data packet and send it to the sender.
- the TCP proxy can construct an ACK and send it to the sender.
- the ACK may be constructed in this way: If the data packet is a TCP packet, the information about the data packet further includes the TCP SN and packet length of the TCP packet, and therefore, the SN of the constructed ACK may be the TCP SN of the TCP packet plus the packet length of the TCP packet. For other types of data packets, the ACK may be constructed in other ways according to specific conditions.
- an ACK is constructed and sent to the sender actively through a TCP function enhancement entity, a TCP proxy for example, added in an intermediate node in the data transmission process between the sender and the receiver, thus improving the data transmission rate.
- a judgment about whether the TCP ACK returned by the receiver in response to the corresponding data packet has been received may be made. If no such TCP ACK has been received, an ACK is constructed and sent to the sender. After the TCP ACK is received from the receiver, a judgment about whether the corresponding ACK has been constructed and sent to the sender may be made. The TCP ACK is forwarded to the sender if no such ACK has been constructed, and the TCP ACK returned by the receiver is discarded if such an ACK has been constructed. That is because, if the SN of the ACK received subsequently by the sender is smaller than the SN of the ACK received previously by the sender, the sender will discard the ACK of the smaller SN.
- FIG. 4 is a flowchart of a data transmission method according to another embodiment of the present invention. As shown in FIG. 4 , the method may include the following steps.
- the TCP proxy receives a data packet sent by the server.
- the TCP proxy forwards the received data packet to the terminal.
- the terminal is a broad-sense concept, which includes a terminal device and its protocol layer such as the RLC layer.
- a confirmation mechanism exists between the RLC layer and the terminal device. After receiving PDUs, the terminal device returns confirmation information of a data packet to the RLC layer, indicating that the terminal receives the data packet from the server.
- the RLC layer knows which data packets are correctly received by the terminal device, and which data packets from the TCP proxy are received by the terminal device are known, and the information about the corresponding data packet can be obtained.
- the information about the data packet may be an SN of the data packet. If the data packet is a TCP packet, the information about the data packet may further include the SN and packet length of the TCP packet.
- the TCP proxy may record the SN of the TCP ACK.
- the confirmation information serves as a basis for obtaining the corresponding information about the data packet and knowing the SN of the ACK to be constructed. For example, if the SN of the first data packet is 1 and the packet length is 1460, the SN of the ACK to be constructed is 1461; the SN of the second data packet is 1461, and the SN of the ACK to be constructed is 2921, and so on.
- the SN of the TCP ACK returned by the terminal and recorded in the TCP proxy may be compared with the SN of the ACK to be constructed to determine whether it is necessary to construct an ACK.
- the TCP proxy may record at least one SN of the TCP ACK returned by the terminal.
- the maximum SN of the TCP ACK recorded in the TCP proxy is compared with the SN of the ACK to be constructed.
- step S 405 If the maximum SN of the TCP ACK returned by the terminal and recorded in the TCP proxy is greater than or equal to the SN of the ACK to be constructed, it indicates that the TCP proxy has received the TCP ACK sent by the terminal and that no more ACK needs to be constructed; if the maximum SN of the TCP ACK returned by the terminal and recorded in the TCP proxy is smaller than the SN of the ACK to be constructed, it indicates that the TCP proxy has received no TCP ACK returned by the terminal and that an ACK needs to be constructed, and therefore, step S 405 is performed.
- the TCP proxy Because the TCP proxy has not received the TCP ACK returned by the terminal, the TCP proxy constructs an ACK actively and sends it to the server. After receiving the ACK, the server can slide the window to send new data.
- the ACK may be constructed in this way: If the data packet is a TCP packet, the information about the data packet further includes the TCP SN and packet length of the TCP packet, and therefore, the SN of the constructed ACK may be the TCP SN of the TCP packet plus the packet length of the TCP packet.
- the SN of the first data packet is 1, the packet length of the first data packet is 1460, and therefore, the SN of the constructed ACK is 1461; the SN of the second data packet is 1461, the packet length of the second data packet is 1460, and therefore, the SN of the constructed ACK is 2921, and so on.
- the ACK may be constructed in other ways according to specific conditions.
- the TCP proxy may compare the SN of the TCP ACK returned by the terminal with the SN of the ACK constructed in the TCP proxy.
- the TCP proxy may record more than one constructed ACK.
- the SN of the TCP ACK returned by the terminal may be compared with the maximum SN of the constructed ACK. If the SN of the TCP ACK returned by the terminal is smaller than or equal to the maximum SN of the constructed ACK, it indicates that the TCP proxy has sent the corresponding ACK to the server, and the TCP proxy discards the ACK sent by the terminal instead of forwarding the ACK to the server. If the SN of the TCP ACK returned by the terminal is greater than the maximum SN of the constructed ACK, the TCP proxy forwards the ACK returned by the terminal to the server, and records the SN of the TCP ACK returned by the terminal.
- the TCP proxy constructs an ACK and sends it to the server.
- the method in this embodiment prevents the ACK of the downlink data packet from being blocked at the TCP layer of the terminal to some extent, enables the server to slide the window faster, provides sufficient data for the air interface, avoids lack of data for sending, improves the utilization of the air interface, enhances the performance of data transmission, and enhances the user's experience.
- a data transmission apparatus is provided in an embodiment of the present invention. As shown in FIG. 5 , the apparatus may include a receiving unit 501 , a sending unit 502 , a looking-up unit 503 , and a constructing unit 504 .
- the receiving unit 501 is configured to receive a data packet sent by a sender, and record information about the received data packet.
- the SN of the data packet is recorded according to the order of receiving the data packet.
- the SN may increase in ascending order. For example, the first data packet received is identified by SN 1, and the second data packet received is identified by SN 2, and so on.
- the SN may start over again if the SN reaches a value. For example, if the SN reaches 65535, the SN may start over from 1 again. In this way, plenty of data packets can be accommodated.
- the received data packet is a TCP packet, the packet length and the SN of the TCP packet need to be recorded.
- the sending unit 502 is configured to send the received data packet to a receiver through a protocol layer.
- the received data packet may be sent to the receiver through a protocol layer.
- the protocol layer may be an RLC layer.
- the protocol layer may also record the received data packet, for example, record the SN of the data packet according to the order of receiving the data packet.
- the looking-up unit 503 is configured to looking up the information about the corresponding data packet through the receiving unit 501 according to the generated data packet mapping after the protocol layer receives the confirmation information of a data packet sent by the receiver to the sender.
- a confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer.
- the data packet mapping reflects the corresponding relation between the data packet on the data transmission apparatus and the data packet received by the protocol layer, and data packet mapping may be a mapping table.
- the data packet mapping may be generated in this way: Because the receiving unit 501 records the information about the received data packet, and the protocol layer also records the SN of the received data packet, which uniquely corresponds to the SN of the data packet recorded by the TCP proxy. That is, if the first data packet received by the TCP proxy is identified by SN 1, the first data packet received by the protocol layer is also identified by SN 1, and so on. Therefore, the order of the data packets recorded by the protocol layer corresponds to the order of the data packets recorded by the receiving unit 501 in a one-to-one relation.
- the one-to-one relation is called a data packet mapping.
- the constructing unit 504 is configured to construct an ACK destined for the sender according to the information about the data packet found by the looking-up unit 503 .
- the constructing unit 504 may construct an ACK and send it to the sender.
- the ACK is constructed according to the information about the data packet found by the looking-up unit 503 .
- the information about the data packet may be an SN of the data packet. If the data packet is a TCP packet, the information about the data packet may include the TCP SN and packet length of the TCP packet.
- the ACK may be constructed according to the information about the data packet found through the data packet mapping. If the data packet is a TCP packet, the SN of the constructed ACK may be the TCP SN plus the packet length of the TCP packet. For other types of data packets, the ACK may be constructed in other ways according to specific conditions.
- the constructing unit 504 sends the constructed ACK to the sender, and may record the SN of the constructed ACK.
- the data transmission apparatus may be a TCP function enhancement entity, e.g. a TCP proxy, added in an intermediate node in the data transmission process between the sender and the receiver.
- a TCP function enhancement entity e.g. a TCP proxy
- the data transmission apparatus constructs an ACK and sends it to the sender actively, thus improving the data transmission rate.
- the data transmission apparatus may judge whether the TCP ACK returned by the receiver in response to the corresponding data packet has been received. If no such TCP ACK has been received, the data transmission apparatus constructs an ACK and sends it to the sender. After receiving the TCP ACK from the receiver, the data transmission apparatus may judge whether the ACK has been constructed and sent to the sender, and forward the TCP ACK to the sender if no such ACK has been constructed or discard the TCP ACK returned by the receiver if such an ACK has been constructed.
- the apparatus may include a receiving unit 601 , a sending unit 602 , a generating unit 603 , a looking-up unit 604 , a judging unit 605 , a constructing unit 606 , and a comparing unit 607 .
- the receiving unit 601 is configured to receive a data packet sent by a sender, and record information about the received data packet.
- the functions and the implementation process of the receiving unit 601 are basically the same as those of the receiving unit 501 in the previous embodiment described above.
- the sending unit 602 is configured to send the data packet to a receiver through a protocol layer, where the data packet is received by the receiving unit 601 .
- the functions and the implementation process of the sending unit 602 are basically the same as those of the sending unit 502 in the previous embodiment described above.
- the generating unit 603 is configured to generate a data packet mapping according to the information about the data packet recorded by the receiving unit 601 .
- the data packet mapping may be stored in the data transmission apparatus or at the protocol layer.
- a confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer.
- the data packet mapping is shared between the data transmission apparatus and the protocol layer. In this embodiment, it is assumed that the data transmission apparatus generates the data packet mapping.
- the protocol layer also records the SN of the received data packet. That is, if the first data packet received by the receiving unit 601 is identified by SN 1, the first data packet received by the protocol layer is also identified by SN 1, and so on. Therefore, the order of the data packets recorded by the RLC layer corresponds to the order of the data packets recorded by the TCP proxy in a one-to-one relation.
- the one-to-one relation is called a data packet mapping relation.
- the looking-up unit 604 is configured to looking up the information about the corresponding data packet through the receiving unit 601 according to the data packet mapping generated by the generating unit 603 after the protocol layer receives the confirmation information of a data packet sent by the receiver to the sender.
- the functions of the looking-up unit 604 are basically the same as those of the searching unit 503 in the previous embodiment described above.
- the judging unit 605 is configured to judge whether it is necessary to construct an ACK according to the information about the data packet found by the looking-up unit 604 .
- the judging unit 605 of the data transmission apparatus also records the SN of the ACK.
- the information about the data packet may include the SN of the data packet. If the data packet is a TCP packet, the information of the data packet may include the packet length and the SN of the TCP packet. According to the found information about the data packet, the SN of the ACK to be constructed can be known. For example, for a TCP packet, if the SN of the first data packet is 1 and the packet length is 1460, the SN of the ACK to be constructed is 1461; the SN of the second data packet is 1461, and the SN of the ACK to be constructed is 2921, and so on. For other types of data packets, the ACK may be constructed in other modes.
- the SN of the TCP ACK returned by the terminal and recorded in the judging unit 605 is compared with the SN of the ACK to be constructed to determine whether an ACK is needed to be constructed.
- the judging unit 605 may record at least one SN of the TCP ACK returned by the terminal.
- the maximum SN of the TCP ACK recorded in the judging unit 605 is compared with the SN of the ACK to be constructed.
- the maximum SN of the TCP ACK returned by the receiver and recorded in the judging unit 605 is greater than or equal to the SN of the ACK to be constructed, it indicates that the data transmission apparatus has received the TCP ACK returned by the receiver and that no more ACK needs to be constructed; if the maximum SN of the TCP ACK returned by the receiver and recorded in the judging unit 605 is smaller than the SN of the ACK to be constructed, it indicates that the data transmission apparatus has received no TCP ACK returned by the receiver and that an ACK needs to be constructed.
- the constructing unit 606 is configured to construct an ACK and send it to the sender if the judging unit 605 determines that the ACK is needed to be constructed.
- the constructing unit 606 of the data transmission apparatus constructs an ACK actively and sends it to the sender. After receiving the ACK, the sender can slide the window to send new data.
- the SN of the constructed ACK is the packet length plus the SN of the TCP packet.
- the SN of the first data packet is 1, the packet length of the first data packet is 1460, and therefore, the SN of the constructed ACK is 1461; the SN of the second data packet is 1461, the packet length of the second data packet is 1460, and therefore, the SN of the constructed ACK is 2921, and so on.
- the SN of the constructed ACK may be recorded in the data transmission apparatus.
- the data transmission apparatus may judge whether the constructing unit 606 has constructed the corresponding ACK and sent it to the sender, and forward the TCP ACK to the sender if no such ACK has been constructed, or discard the TCP ACK returned by the receiver if such an ACK has been constructed.
- the data transmission apparatus may further include a comparing unit 607 .
- the comparing unit 607 is configured to compare the SN of the TCP ACK returned by the receiver with the SN of the constructed ACK recorded in the data transmission apparatus.
- the data transmission apparatus may discard the ACK sent by the receiver rather than forward the ACK to the sender; if the SN of the TCP ACK returned by the receiver is greater than the maximum recorded SN of the constructed ACK, the data transmission apparatus sends the ACK returned by the terminal to the sender and records the SN of the TCP ACK returned by the receiver.
- the apparatus may include a second receiving unit 701 , a second sending unit 702 , an obtaining unit 703 , and a second constructing unit 704 .
- the second receiving unit 701 is configured to receive the data packet sent by the sender.
- the second sending unit 702 is configured to send the received data packet to a receiver through a protocol layer.
- the received data packet may be sent to the receiver through a protocol layer.
- the protocol layer may be an RLC layer.
- the obtaining unit 703 is configured to obtain information about the corresponding data packet according to confirmation information of a data packet after the protocol layer receives the confirmation information of the data packet sent by the receiver to the sender.
- a confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer.
- the confirmation information serves as a basis for knowing which data packets are correctly received by the receiver, and which data packets on the data transmission apparatus are correctly received by the receiver. In this way, the information about the data packet corresponding to such data packets can be obtained.
- the information about the data packet may be an SN of the data packet. If the data packet is a TCP packet, the information about the data packet may further include the TCP SN and packet length of the TCP packet. The packet length and the TCP SN of the TCP packet may be obtained from the packet header information of the TCP packet.
- the second constructing unit 704 is configured to construct confirmation information destined for the sender according to the information about the data packet obtained by the obtaining unit 703 .
- the protocol layer has received the confirmation information of a data packet from the receiver but the data transmission apparatus has received no ACK from the receiver in response to the data packet, it can be determined that the receiver has correctly received the data packet sent by the sender, the corresponding information about the data packet can be obtained according to the confirmation information received by the protocol layer, and the second constructing unit 704 may construct an ACK and send it to the sender according to the information about the data packet.
- the ACK may be constructed according to the information about the data packet obtained by the obtaining unit 703 . If the data packet is a TCP packet, the SN of the constructed ACK is the SN plus the packet length of the TCP packet. For other types of data packets, the ACK may be constructed in other ways.
- the data transmission apparatus may be a TCP function enhancement entity, a TCP proxy for example, added in an intermediate node in the data transmission process between the sender and the receiver.
- the data transmission apparatus constructs an ACK and sends it to the sender actively, thus the data transmission rate is improved.
- the data transmission apparatus may judge whether the TCP ACK returned by the receiver in response to the corresponding data packet has been received. If no such TCP ACK has been received, the data transmission apparatus constructs an ACK and sends it to the sender. After receiving the TCP ACK from the receiver, the data transmission apparatus may judge whether the ACK has been constructed and sent to the sender, and forward the TCP ACK to the sender if no such ACK has been constructed or discard the TCP ACK returned by the receiver if such an ACK has been constructed.
- the apparatus may include a second receiving unit 801 , a second sending unit 802 , an obtaining unit 803 , a second judging unit 805 , a second constructing unit 804 , and a second comparing unit 806 .
- the second receiving unit 801 is configured to receive the data packet sent by the sender.
- the functions and the implementation process of the second receiving unit 801 are basically the same as those of the second receiving unit 701 in the previous embodiment described above.
- the second sending unit 802 is configured to send a data packet to the receiver through a protocol layer, where the data packet is received by the second receiving unit 801 .
- the functions and the implementation process of the second sending unit 802 are basically the same as those of the second sending unit 702 in the previous embodiment described above.
- the obtaining unit 803 is configured to obtain the SN of a data packet according to confirmation information of a data packet, and may be further configured to obtain the packet length and the TCP SN of a TCP packet according to the SN of the data packet.
- a confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer.
- the obtaining unit 803 obtains the corresponding information about the data packet according to the confirmation information.
- the second judging unit 805 is configured to judge whether it is necessary to construct an ACK according to the information about data packet obtained by the obtaining unit 803 .
- the information about the data packet may include the SN of the data packet. Therefore, the SN of the data packet can be obtained according to the confirmation information. If the data packet is a TCP packet, the packet length and the SN of the TCP packet can be obtained according to the SN of the data packet.
- the SN of the ACK to be constructed can be obtained according to the information about the data packet. For example, for a TCP packet, if the SN of the first data packet is 1 and the packet length of the first data packet is 1460, the SN of the ACK to be constructed is 1461; the SN of the second data packet is 1461, and the SN of the ACK to be constructed is 2921, and so on. For other types of data packets, the ACK may be constructed in other ways.
- the second judging unit 805 can judge whether it is necessary to construct an ACK by comparing the SN of the TCP ACK returned by the receiver with the SN of the ACK to be constructed.
- the second judging unit 805 may record at least one SN of the TCP ACK returned by the terminal.
- the second judging unit 805 may compare the maximum SN of the TCP ACK returned by the receiver with the SN of the ACK to be constructed.
- the maximum SN of the TCP ACK returned by the receiver is greater than or equal to the SN of the ACK to be constructed, it indicates that the data transmission apparatus has received the TCP ACK returned by the receiver and that no more ACK needs to be constructed; if the maximum SN of the TCP ACK returned by the receiver is smaller than the SN of the ACK to be constructed, it indicates that the data transmission apparatus has received no TCP ACK returned by the receiver and that an ACK needs to be constructed.
- the second constructing unit 804 is configured to construct an ACK and send it to the sender if the second judging unit 805 determines that an ACK needs to be constructed.
- the second constructing unit 804 of the data transmission apparatus constructs an ACK actively and sends it to the sender. After receiving the ACK, the sender can slide the window to send new data.
- the data transmission apparatus may judge whether the second constructing unit 804 has constructed the corresponding ACK and sent it to the sender, and forward the TCP ACK to the sender if no such ACK has been constructed, or discard the TCP ACK returned by the receiver if such an ACK has been constructed.
- the data transmission apparatus may further include a second comparing unit 806 , which is configured to compare the SN of the TCP ACK returned by the receiver with the SN of the constructed ACK recorded in the data transmission apparatus.
- the data transmission apparatus may discard the ACK sent by the receiver rather than forward the ACK to the sender; if the SN of the TCP ACK returned by the receiver is greater than the maximum SN of the constructed ACK, the data transmission apparatus sends the ACK returned by the receiver to the sender and records the SN of the TCP ACK returned by the receiver.
- the intermediate NE may include a protocol layer 901 and a data transmission apparatus 902 .
- the protocol layer 901 may be any protocol layer of the intermediate NE so long as a confirmation mechanism exists between the protocol layer and the receiver. According to the confirmation mechanism, the receiver returns confirmation information to the protocol layer upon receiving a data packet.
- the data transmission apparatus 902 may be the apparatus described in the embodiment corresponding to FIG. 5 or FIG. 6 .
- the protocol layer 901 and the data transmission apparatus 902 share the data packet mapping. For the method of generating the data packet mapping, see the relevant description in the foregoing method embodiments.
- the data transmission apparatus 902 may construct an ACK and send it to the sender; or judge whether it is necessary to construct an ACK and then construct an ACK and send it to the sender. For details of the judging method, see the relevant description in the foregoing method embodiments. It is also necessary to judge whether the ACK sent by the receiver to the data transmission apparatus 902 needs to be forwarded to the sender. For the judging method, see the relevant description in the foregoing method embodiments.
- the intermediate NE above may be a Radio Network Controller (RNC).
- RNC Radio Network Controller
- the data transmission apparatus 902 may be a TCP proxy
- the protocol layer 901 may be an RLC layer.
- the protocol layer 901 and the data transmission apparatus 902 are located in the same intermediate NE. It is understandable that the data transmission apparatus 902 and the protocol layer 901 may be located in different intermediate NEs so long as the data transmission apparatus 902 can construct an ACK according to the data packet mapping between them.
- an ACK is constructed and sent to the sender.
- the sender is enabled to slide the window faster, sufficient data for the air interface is provided, the event of lack of data for sending can be prevented, the utilization of the air interface is improved, and the performance of data transmission and the user's experience are enhanced.
- the intermediate NE may include a protocol layer 1001 and a data transmission apparatus 1002 .
- the data transmission apparatus 1002 may be the apparatus described in the embodiment corresponding to FIG. 7 or FIG. 8 .
- the protocol layer 1001 may be any protocol layer of the intermediate NE so long as a confirmation mechanism exists between the protocol layer and the receiver. According to the confirmation mechanism, the receiver returns confirmation information to the protocol layer 1001 upon receiving a data packet.
- the data transmission apparatus 1002 After the protocol layer 1001 receives the confirmation information returned by the receiver, the data transmission apparatus 1002 obtains the information about the data packet according to confirmation information, and constructs an ACK destined for the sender according to the information about the data packet.
- the data transmission apparatus 1002 may construct an ACK and send it to the sender; or judge whether an ACK needs to be constructed and then construct an ACK and send it to the sender when necessary. For details of the judging manner, see the relevant description in the foregoing method embodiments. To judge whether the ACK sent by the receiver to the data transmission apparatus 1002 needs to be forwarded to the sender may be also implemented.
- the intermediate NE above may be an RNC.
- the data transmission apparatus 1002 may be a TCP proxy, and the protocol layer 1001 may be an RLC layer.
- the data transmission apparatus 1002 and the protocol layer 1001 are located in the same intermediate NE. It is understandable that the data transmission apparatus 1002 and the protocol layer 1001 may be located in different intermediate NEs.
- an ACK is constructed and sent to the sender.
- the sender is enabled to slide the window faster, sufficient data for the air interface is provided, the event of lack of data for sending can be prevented, the utilization of the air interface is improved, and the performance of data transmission and the user's experience are enhanced.
- the steps of the method or algorithm described herein may be implemented through hardware, or through a software module executed by a processor, or through both.
- the software module may be located in a Random Access Memory (RAM), a computer memory, a Read Only Memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a Compact-Disk Read Only Memory (CD-ROM), or any other form of storage media well-known in the art.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
- Mobile Radio Communication Systems (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A data transmission method and a data transmission apparatus are disclosed. The data transmission method includes: receiving a data packet sent by a sender, and recording information about the data packet received; sending the data packet received to a receiver through a protocol layer; looking up recorded information about data packets according to a data packet mapping after the protocol layer receives confirmation information of a data packet sent by the receiver to the sender, wherein the data packet mapping is a relation between a recorded data packet and a data packet received by the protocol layer; and constructing an Acknowledgement, ACK, destined for the sender according to information about the data packet obtained by the steps of looking up recorded information about received data packets. Through the method provided herein, the apparatus constructs an ACK and sends it to the sender actively, thus improving the data transmission rate.
Description
- This application claims priority to Chinese Patent Application No. 200810141665.9, filed with the Chinese Patent Office on Jul. 17, 2008 and entitled “Data Transmission Method and Apparatus”, which is incorporated herein by reference in its entirety.
- The present invention relates to the mobile communication field, and in particular, to a data transmission method and apparatus.
- A transmission control protocol (TCP) is generally applied to the packet switched (PS) services in a wireless field. A wireless network is characterized by features such as high delay, variable data rate, asymmetry, delay peak, and bandwidth jitter, which may affect the performance of TCP. With the development of data services, quality of service (QoS) required by a user is higher and higher. It is important to enhance the transmission performance of TCP in a radio bearer.
- When data transmission occurs in the uplink and downlink directions simultaneously, the transmission process includes an upload process and a download process. In the upload process, a terminal sends a data packet to a server, and after receiving an acknowledge (ACK) packet from the server, the terminal slides the window to send a new data packet. In the download process, the server sends a data packet to the terminal; after receiving an ACK packet from the terminal, the server slides the window to send a new data packet. When the server sends a data packet, the server also sends an ACK packet corresponding to the uplink data packet; when the terminal sends a data packet, the terminal also sends an ACK packet corresponding to the downlink data packet.
- The throughput performance demonstrated when data is transmitted in both uplink and downlink simultaneously is an important performance indicator for evaluating a wireless system. However, the inventor of the present invention finds at least these problems in the prior art: In the test on the existing network, the data rate in the downlink direction is low and unstable when data is transmitted in both uplink and downlink directions simultaneously. That is because the ACK corresponding to the downlink data packet is generally arranged after the uplink data packet at the TCP layer of the terminal, which leads to the delay of the ACK corresponding to the downlink data packet, and the performance of the downlink data transmission is seriously affected and an experience to the user is poor.
- The embodiments of the present invention provide a data transmission method and apparatus to improve the performance of downlink data transmission.
- A data transmission method provided in an embodiment of the present invention includes:
- receiving a data packet sent by a sender, and recording information about the data packet received;
- sending the data packet received to a receiver through a protocol layer;
- looking up recorded information about the data packet according to a data packet mapping after the protocol layer receives, from the receiver, confirmation information of the data packet, wherein the data packet mapping is a relation between a recorded data packet and a data packet received by the protocol layer; and
- constructing an acknowledgement, ACK, destined for the sender according to information about the data packet obtained by the steps of looking up recorded information about received data packets.
- Another data transmission method provided in an embodiment of the present invention includes:
- receiving a data packet sent by a sender;
- sending the data packet received to a receiver through a protocol layer;
- after the protocol layer receives confirmation information of the data packet sent by the receiver to the sender, obtaining information about a corresponding data packet according to the confirmation information; and
- constructing an acknowledgement, ACK, destined for the sender according to obtained information about the corresponding data packet.
- A data transmission apparatus provided in an embodiment of the present invention includes:
- a receiving unit, configured to receive a data packet sent by a sender, and record information about the data packet received;
- a sending unit, configured to send the data packet received to a receiver through a protocol layer;
- a looking-up unit, configured to look up recorded information about the data packet according to a data packet mapping after the protocol layer receives, from the receiver, confirmation information of the data packet, wherein the data packet mapping is a relation between a recorded data packet and a data packet received by the protocol layer; and
- a constructing unit, configured to construct an Acknowledgement, ACK, destined for the sender according to the information about the data packet obtained by the looking-up unit.
- An intermediate Network Element (NE) provided in an embodiment of the present invention includes a protocol layer and the foregoing data transmission apparatus. The protocol layer is any protocol layer of the intermediate NE, and a confirmation mechanism exists between this protocol layer and a receiver. The receiver returns confirmation information to the protocol layer upon receiving a data packet.
- A data packet mapping is shared between the protocol layer and the data transmission apparatus. After the protocol layer receives the confirmation information returned by the receiver, the data transmission apparatus constructs an ACK and sends it to the sender according to the data packet mapping.
- Another data transmission apparatus provided in an embodiment of the present invention includes:
- a second receiving unit, configured to receive a data packet sent by a sender;
- a second sending unit, configured to send the data packet received to a receiver through a protocol layer;
- an obtaining unit, configured to obtain information about a corresponding data packet according to confirmation information of the data packet after the protocol layer receives the confirmation information of the data packet sent by the receiver to the sender; and
- a second constructing unit, configured to construct an acknowledgement, ACK,destined for the sender according to the information about the data packet obtained by the obtaining unit.
- Another intermediate NE provided in an embodiment of the present invention includes a protocol layer and the foregoing data transmission apparatus. The protocol layer is any protocol layer of the intermediate NE, and a confirmation mechanism exists between this protocol layer and a receiver. The receiver returns confirmation information to the protocol layer upon receiving a data packet.
- After the protocol layer receives the confirmation information returned by the receiver, the data transmission apparatus obtains the information about the data packet according to the confirmation information and constructs an ACK destined for the sender according to the information about the data packet.
- In conclusion, by using the method and apparatus provided in the embodiments of the present invention, an ACK is constructed and sent to the sender after a protocol layer receives confirmation information returned by the receiver, thus preventing, to some extent, the ACK of the data packet from being blocked by the TCP layer of the receiver, enabling the sender to slide the window faster, improving the data transmission performance, and enhancing the user's experience.
-
FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present invention; -
FIG. 2 is a flowchart of a data transmission method according to another embodiment of the present invention; -
FIG. 3 is a flowchart of a data transmission method according to another embodiment of the present invention; -
FIG. 4 is a flowchart of a data transmission method according to another embodiment of the present invention; -
FIG. 5 shows a structure of a data transmission apparatus according to an embodiment of the present invention; -
FIG. 6 shows a structure of a data transmission apparatus according to another embodiment of the present invention; -
FIG. 7 shows a structure of a data transmission apparatus according to another embodiment of the present invention; -
FIG. 8 shows a structure of a data transmission apparatus according to another embodiment of the present invention; -
FIG. 9 shows a structure of an intermediate NE according to an embodiment of the present invention; and -
FIG. 10 shows a structure of an intermediate NE according to another embodiment of the present invention. - A data transmission method is provided in an embodiment of the present invention. The data transmission process can be implemented by a TCP function enhancement entity, e.g. a TCP proxy which is added in an intermediate node in the data transmission process between the sender and the receiver.
FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown inFIG. 1 , the method may include the following steps: - S101. Receive a data packet sent by a sender, and record information about the received data packet.
- After the data packet is received from the sender, the sequence number (SN) of the data packet is recorded according to the order of receiving data packets. The SN may increase in ascending order. For example, the first data packet received is identified by SN 1, and the second data packet received is identified by SN 2, and so on. The number of digits of the SN of the data packet may be not limited, but a too long SN causes inconvenience of recording. Therefore, the SN may start over again if the SN reaches a value. For example, if the SN reaches 65535, after which the SN starts over from 1 again. In this way, plenty of data packets can be accommodated. If the received data packet is a TCP packet, the packet length and the TCP sequence number may be recorded.
- S102. Send the received data packet to the receiver through a protocol layer.
- The received data packet may be sent to the receiver through a protocol layer. The protocol layer may be a Radio Link Control (RLC) layer. The protocol layer may also record information about the received data packet, for example, record the SN of the data packet according to the order of receiving the data packet.
- S103. Look up the recorded information about data packets according to the data packet mapping after the protocol layer receives the confirmation information of a data packet sent by the receiver to the sender.
- The data packet mapping reflects the relation between the recorded data packet and the data packet received by the protocol layer, and data packet mapping may be a table. The data packet mapping may be generated in the following way: Because the information about the received data packet is recorded in step S101, and the protocol layer also records the SN of the received data packet, which uniquely corresponds to the SN of the data packet recorded by the TCP proxy. For example, if the first data packet received by the TCP proxy is identified by SN 1, the first data packet received by the protocol layer is also identified by SN 1. Therefore, the order of the data packets recorded by the protocol layer corresponds to the order of the data packets recorded by the TCP proxy in a one-to-one relation. The one-to-one relation is called a data packet mapping.
- It should be noted that the TCP function enhancement entity may be deployed in different positions of the network, for example, including but not limited to: Internet, core network, or radio access network. Likewise, the protocol layer may also be deployed in different positions of the network.
- A confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer.
- After receiving the confirmation information from the receiver, the protocol layer knows which data packets are correctly received by the receiver. Therefore, the corresponding information about the data packets is found according to the generated data packet mapping, thus it is easy to know which data packets forwarded by the TCP function enhancement entity are correctly received by the receiver.
- In addition, the data packet mapping may be stored at the protocol layer, or stored into the TCP function enhancement entity. The data packet mapping is shared between the TCP function enhancement entity and the protocol layer.
- It should be noted that in this embodiment, the mode of recording information of the received data packet is exemplary only. In practice, the information of the received data packet may be recorded in other modes as long as the corresponding information of a data packet can be found through the data packet mapping according to the recorded SN.
- S104. Construct an ACK destined for the sender according to the information about the data packet obtained by the steps of looking up recorded information about received data packets.
- The sender continues to send data packets to the receiver after receiving the ACK from the receiver. To prevent the ACK from being blocked at the receiver, the TCP function enhancement entity, e.g. a TCP proxy may construct an ACK and send it to the sender.
- If the protocol layer has received the confirmation information from the receiver but the TCP proxy has received no TCP ACK from the receiver in response to the data packet, it can be determined that the receiver has received the data packet sent by the sender correctly, and the TCP proxy may construct an ACK and send the ACK to the sender. The ACK may be constructed according to the information about the data packet found through the data packet mapping. The information about the data packet may include SN. If the data packet is a TCP packet, the information about the data packet may further include the TCP sequence number and packet length of the TCP packet, and therefore, the SN of the constructed ACK may be the TCP sequence number plus the packet length of the TCP packet. For other types of data packets, the ACK may be constructed in other ways according to specific conditions. The TCP proxy sends the constructed ACK to the sender, and records the SN of the constructed ACK.
- In conclusion, in the data transmission method provided in this embodiment, an ACK is constructed actively and sent to the sender through a TCP function enhancement entity, e.g. a TCP proxy, added in an intermediate node in the data transmission process between the sender and the receiver, thus the data transmission rate is improved.
- In the case that a TCP function enhancement entity, e.g. a TCP proxy, is added in the intermediate node in the data transmission process between the sender and the receiver, before the ACK is constructed, a judgment about whether the TCP ACK returned by the receiver in response to the corresponding data packet has been received may be made. If no such TCP ACK has been received, an ACK is constructed and sent to the sender. Additionally, after the TCP ACK is received from the receiver, a judgment about whether the corresponding ACK has been constructed and sent to the sender may be made The TCP ACK is forwarded to the sender if no such ACK has been constructed, and the TCP ACK returned by the receiver is discarded if such an ACK has been constructed. That is because, if the SN of the ACK received subsequently by the sender is smaller than the SN of the ACK received previously by the sender, the sender will discard the ACK of the smaller SN. The following describes the method with reference to embodiments.
- A data transmission method is provided in another embodiment of the present invention. In this embodiment, the sender is a server, the receiver is a terminal, the TCP function enhancement entity added in the intermediate node in the data transmission process between the sender and the receiver is a TCP proxy, and the protocol layer is an RLC layer.
FIG. 2 is a flowchart of a data transmission method according to another embodiment of the present invention. As shown inFIG. 2 , the method may include the following steps. - S201. The TCP proxy receives a data packet sent by the server, and records information about the received data packet.
- For the downlink transmission process, the data packet sent by the server to the terminal is forwarded through a TCP proxy, and therefore, all the data packets pass through the TCP proxy. Thus the SN of the data packet can be recorded according to the order of receiving the data packet. The SN may increase in ascending order. For example, the first data packet received is identified by SN 1, and the second data packet received is identified by SN 2, and so on. If the received data packet is a TCP packet, the packet length and the TCP SN of the TCP packet may be recorded. The information about the data packet length and the TCP SN of the TCP packet may be obtained from the packet header information of the TCP packet.
- S202. Send the received data packet to the terminal through the RLC layer.
- The received data packet may be sent to the terminal through the RLC layer, and the RLC layer may also record information about the received data packet, for example, record the SN of the data packet according to the order of receiving the data packet.
- S203. Generate a data packet mapping according to the recorded information about the data packet.
- The generated data packet mapping may be stored in the form of a data packet mapping table.
- It should be noted that the data packet mapping may be stored on a TCP proxy or an RLC layer. The data packet mapping is shared between the TCP proxy and the RLC layer. In this embodiment, it is assumed that the TCP proxy generates the data packet mapping.
- The RLC layer may also record the SN of the received data packet. That is, if the first data packet received by the TCP proxy is identified by SN 1, the first data packet received by the RLC layer is also identified by SN 1, and so on. Therefore, the order of the data packets recorded by the RLC layer corresponds to the order of the data packets recorded by the TCP proxy in a one-to-one relation. The one-to-one relation is called a data packet mapping.
- S204. The RLC layer looks up the corresponding information according to the data packet mapping after receiving the confirmation information from the terminal.
- It should be noted that the terminal is a broad-sense concept, which includes a terminal device and its protocol layer(s).
- The RLC layer may work in two modes: confirmation, and non-confirmation. The data transmission confirmation mechanism between the RLC layer and the terminal is utilized here. When passing through the RLC layer, the service data unit (SDU) is split into protocol data units (PDUs) which are sent to the terminal. After receiving the PDUs, the terminal returns confirmation information to the RLC layer, indicating that the terminal has received the data packet from the server. The RLC layer knows which data packets are correctly received by the terminal according to the confirmation information received from the terminal, and then which data packets on the TCP proxy are received by the terminal may be known by looking up the data packet mapping in step S202. Because the TCP proxy also records the information about the data packet, e.g. the packet length and SN of the TCP packet, the information about the corresponding data packet can be found.
- S205. Make a judgment about whether it is necessary to construct an ACK, according to the found information about the data packet.
- The TCP proxy also records the SN of the TCP ACK which is sent to the TCP proxy from the terminal.
- The information about the data packet may include the SN of the data packet. If the data packet is a TCP packet, the information about the data packet may include the packet length and the SN of the TCP packet. According to the found information about the data packet, the SN of the ACK to be constructed is known. For example, for a TCP packet, if the SN of the first data packet is 1 and the packet length is 1460, the SN of the ACK to be constructed is 1461; the SN of the second data packet is 1461, and the SN of the ACK to be constructed is 2921, and so on. For other types of data packets, the ACK may be constructed in other modes.
- The SN of the TCP ACK returned by the terminal and recorded in the TCP proxy may be compared with the SN of the ACK to be constructed to determine whether it is necessary to construct an ACK. The TCP proxy may record at least one SN of the TCP ACK returned by the terminal. The maximum SN of the TCP ACK recorded in the TCP proxy is compared with the SN of the ACK to be constructed. If the maximum SN of the TCP ACK returned by the terminal and recorded in the TCP proxy is greater than or equal to the SN of the ACK to be constructed, it indicates that the TCP proxy has received the TCP ACK sent by the terminal and that no more ACK needs to be constructed, and therefore, step S201 and the subsequent steps need to be repeated. If the maximum SN of the TCP ACK returned by the terminal and recorded in the TCP proxy is smaller than the SN of the ACK to be constructed, it indicates that the TCP proxy has not received the TCP ACK returned by the terminal and that an ACK needs to be constructed, and therefore, step S206 is performed.
- S206. Construct an ACK and send it to the server.
- If the TCP proxy has not received the TCP ACK returned by the terminal, the TCP proxy constructs an ACK actively and sends it to the server. After receiving the ACK, the server can slide the window to send new data.
- The SN of the constructed ACK is the packet length of the TCP packet plus the SN of the TCP packet. For example, the SN of the first data packet is 1, the packet length of the first data packet is 1460, and therefore, the SN of the constructed ACK is 1461; the SN of the second data packet is 1461, the packet length of the second data packet is 1460, and therefore, the SN of the constructed ACK is 2921, and so on. The SN of the constructed ACK may be recorded in the TCP proxy.
- In addition, if the TCP proxy receives the TCP ACK returned by the terminal, the TCP proxy may compare the SN of the TCP ACK returned by the terminal with the SN of the constructed ACK recorded in the TCP proxy. The TCP proxy may record more than one constructed ACK. The SN of the TCP ACK returned by the terminal may be compared with the maximum recorded SN of the constructed ACK. If the SN of the TCP ACK returned by the terminal is smaller than or equal to the maximum recorded SN of the constructed ACK, it indicates that the TCP proxy has sent the corresponding ACK to the server, and the TCP proxy discards the ACK sent by the terminal instead of forwarding the ACK to the server. If the SN of the TCP ACK returned by the terminal is greater than the maximum recorded SN of the constructed ACK, the TCP proxy forwards the TCP ACK returned by the terminal to the server, and records the SN of the TCP ACK returned by the terminal.
- Therefore, through the data transmission method provided in this embodiment, the TCP proxy constructs an ACK and sends it to the server. The method in this embodiment prevents the ACK of the downlink data packet from being blocked at the TCP layer of the terminal to some extent, enables the server to slide the window faster, provides sufficient data for the air interface, avoids lack of data for sending, improves the utilization of the air interface, enhances the performance of data transmission, and enhances the user's experience.
- A data transmission method is provided in another embodiment of the present invention. The data transmission process can be implemented by a TCP function enhancement entity, e.g. a TCP proxy, added in an intermediate node in the data transmission process between the sender and the receiver.
FIG. 3 is a flowchart of a data transmission method according to another embodiment of the present invention. As shown inFIG. 3 , the method may include the following steps. - S301. Receive a data packet sent by a sender.
- S302. Send the received data packet to a receiver through a protocol layer.
- The TCP function enhancement entity receives the data packet sent by the sender, and sends the data packet to the receiver through the protocol layer. The TCP function enhancement entity may be deployed in different positions of the network, including but not limited to: Internet, core network, and RAN. The protocol layer may also be deployed in different positions of the network. For example, the protocol layer is an RLC layer.
- S303: After the protocol layer receives the confirmation information of a data packet sent by the receiver to the sender, obtain information about a corresponding data packet according to the confirmation information.
- A confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information of a data packet to the protocol layer. Through the confirmation information, the protocol layer knows which data packets are correctly received by the receiver, knows which data packets forwarded by the TCP function enhancement entity are correctly received by the receiver, and can further obtain the information about such data packets. The information about the data packet may be an SN of the data packet. If the data packet is a TCP packet, the information about the data packet may further include the TCP SN and packet length of the TCP packet. The packet length and the TCP SN of the TCP packet may be obtained from the packet header information of the TCP packet.
- S304. Construct an ACK destined for the sender according to the obtained information about the data packet.
- The sender continues to send the next data packet to the receiver after receiving the ACK from the receiver. To prevent the ACK from being blocked at the receiver, a TCP function enhancement entity, a TCP proxy for example, may construct an ACK according to the obtained information about the data packet and send it to the sender.
- When the protocol layer receives the confirmation information from the receiver, it can be determined that the receiver has correctly received the data packet sent by the sender, and the TCP proxy can construct an ACK and send it to the sender. The ACK may be constructed in this way: If the data packet is a TCP packet, the information about the data packet further includes the TCP SN and packet length of the TCP packet, and therefore, the SN of the constructed ACK may be the TCP SN of the TCP packet plus the packet length of the TCP packet. For other types of data packets, the ACK may be constructed in other ways according to specific conditions.
- In conclusion, in the data transmission method provided in this embodiment, an ACK is constructed and sent to the sender actively through a TCP function enhancement entity, a TCP proxy for example, added in an intermediate node in the data transmission process between the sender and the receiver, thus improving the data transmission rate.
- Before the ACK is constructed, a judgment about whether the TCP ACK returned by the receiver in response to the corresponding data packet has been received may be made. If no such TCP ACK has been received, an ACK is constructed and sent to the sender. After the TCP ACK is received from the receiver, a judgment about whether the corresponding ACK has been constructed and sent to the sender may be made. The TCP ACK is forwarded to the sender if no such ACK has been constructed, and the TCP ACK returned by the receiver is discarded if such an ACK has been constructed. That is because, if the SN of the ACK received subsequently by the sender is smaller than the SN of the ACK received previously by the sender, the sender will discard the ACK of the smaller SN.
- A data transmission method is provided in another embodiment of the present invention. In this embodiment, the sender is a server, the receiver is a terminal, the TCP function enhancement entity added to the intermediate node in the data transmission process between the sender and the receiver is a TCP proxy, and the protocol layer is an RLC layer.
FIG. 4 is a flowchart of a data transmission method according to another embodiment of the present invention. As shown inFIG. 4 , the method may include the following steps. - S401. The TCP proxy receives a data packet sent by the server.
- S402. The TCP proxy forwards the received data packet to the terminal.
- It should be noted that the terminal is a broad-sense concept, which includes a terminal device and its protocol layer such as the RLC layer. A confirmation mechanism exists between the RLC layer and the terminal device. After receiving PDUs, the terminal device returns confirmation information of a data packet to the RLC layer, indicating that the terminal receives the data packet from the server.
- S403. After the RLC layer receiving confirmation information of a data packet from the terminal device, obtain information about a corresponding data packet according to the confirmation information.
- Through the confirmation information received from the terminal device, the RLC layer knows which data packets are correctly received by the terminal device, and which data packets from the TCP proxy are received by the terminal device are known, and the information about the corresponding data packet can be obtained. The information about the data packet may be an SN of the data packet. If the data packet is a TCP packet, the information about the data packet may further include the SN and packet length of the TCP packet.
- S404. Make a judgment about whether it is necessary to construct an ACK according to the obtained information about the data packet.
- For the TCP ACK sent by the terminal device to the TCP proxy, the TCP proxy may record the SN of the TCP ACK. The confirmation information serves as a basis for obtaining the corresponding information about the data packet and knowing the SN of the ACK to be constructed. For example, if the SN of the first data packet is 1 and the packet length is 1460, the SN of the ACK to be constructed is 1461; the SN of the second data packet is 1461, and the SN of the ACK to be constructed is 2921, and so on.
- The SN of the TCP ACK returned by the terminal and recorded in the TCP proxy may be compared with the SN of the ACK to be constructed to determine whether it is necessary to construct an ACK. The TCP proxy may record at least one SN of the TCP ACK returned by the terminal. The maximum SN of the TCP ACK recorded in the TCP proxy is compared with the SN of the ACK to be constructed. If the maximum SN of the TCP ACK returned by the terminal and recorded in the TCP proxy is greater than or equal to the SN of the ACK to be constructed, it indicates that the TCP proxy has received the TCP ACK sent by the terminal and that no more ACK needs to be constructed; if the maximum SN of the TCP ACK returned by the terminal and recorded in the TCP proxy is smaller than the SN of the ACK to be constructed, it indicates that the TCP proxy has received no TCP ACK returned by the terminal and that an ACK needs to be constructed, and therefore, step S405 is performed.
- S405. Construct an ACK and send it to the server.
- Because the TCP proxy has not received the TCP ACK returned by the terminal, the TCP proxy constructs an ACK actively and sends it to the server. After receiving the ACK, the server can slide the window to send new data.
- The ACK may be constructed in this way: If the data packet is a TCP packet, the information about the data packet further includes the TCP SN and packet length of the TCP packet, and therefore, the SN of the constructed ACK may be the TCP SN of the TCP packet plus the packet length of the TCP packet. For example, the SN of the first data packet is 1, the packet length of the first data packet is 1460, and therefore, the SN of the constructed ACK is 1461; the SN of the second data packet is 1461, the packet length of the second data packet is 1460, and therefore, the SN of the constructed ACK is 2921, and so on. For other types of data packets, the ACK may be constructed in other ways according to specific conditions. In addition, if the TCP proxy receives the TCP ACK returned by the terminal, the TCP proxy may compare the SN of the TCP ACK returned by the terminal with the SN of the ACK constructed in the TCP proxy. The TCP proxy may record more than one constructed ACK. The SN of the TCP ACK returned by the terminal may be compared with the maximum SN of the constructed ACK. If the SN of the TCP ACK returned by the terminal is smaller than or equal to the maximum SN of the constructed ACK, it indicates that the TCP proxy has sent the corresponding ACK to the server, and the TCP proxy discards the ACK sent by the terminal instead of forwarding the ACK to the server. If the SN of the TCP ACK returned by the terminal is greater than the maximum SN of the constructed ACK, the TCP proxy forwards the ACK returned by the terminal to the server, and records the SN of the TCP ACK returned by the terminal.
- Therefore, through the data transmission method provided in this embodiment, the TCP proxy constructs an ACK and sends it to the server. The method in this embodiment prevents the ACK of the downlink data packet from being blocked at the TCP layer of the terminal to some extent, enables the server to slide the window faster, provides sufficient data for the air interface, avoids lack of data for sending, improves the utilization of the air interface, enhances the performance of data transmission, and enhances the user's experience.
- A data transmission apparatus is provided in an embodiment of the present invention. As shown in
FIG. 5 , the apparatus may include a receiving unit 501, a sendingunit 502, a looking-upunit 503, and aconstructing unit 504. - The receiving unit 501 is configured to receive a data packet sent by a sender, and record information about the received data packet.
- After the data packet is received from the sender, the SN of the data packet is recorded according to the order of receiving the data packet. The SN may increase in ascending order. For example, the first data packet received is identified by SN 1, and the second data packet received is identified by SN 2, and so on. To prevent too long SNs, the SN may start over again if the SN reaches a value. For example, if the SN reaches 65535, the SN may start over from 1 again. In this way, plenty of data packets can be accommodated. If the received data packet is a TCP packet, the packet length and the SN of the TCP packet need to be recorded.
- The sending
unit 502 is configured to send the received data packet to a receiver through a protocol layer. - The received data packet may be sent to the receiver through a protocol layer. The protocol layer may be an RLC layer. The protocol layer may also record the received data packet, for example, record the SN of the data packet according to the order of receiving the data packet.
- The looking-up
unit 503 is configured to looking up the information about the corresponding data packet through the receiving unit 501 according to the generated data packet mapping after the protocol layer receives the confirmation information of a data packet sent by the receiver to the sender. - A confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer.
- The data packet mapping reflects the corresponding relation between the data packet on the data transmission apparatus and the data packet received by the protocol layer, and data packet mapping may be a mapping table. The data packet mapping may be generated in this way: Because the receiving unit 501 records the information about the received data packet, and the protocol layer also records the SN of the received data packet, which uniquely corresponds to the SN of the data packet recorded by the TCP proxy. That is, if the first data packet received by the TCP proxy is identified by SN 1, the first data packet received by the protocol layer is also identified by SN 1, and so on. Therefore, the order of the data packets recorded by the protocol layer corresponds to the order of the data packets recorded by the receiving unit 501 in a one-to-one relation. The one-to-one relation is called a data packet mapping.
- After receiving the confirmation information from the receiver by the protocol layer, which data packets are correctly received by the receiver are known. Therefore, once the corresponding information about the data packet is found according to the generated data packet mapping, it is easy to know which data packets on the data transmission apparatus are correctly received by the receiver.
- The constructing
unit 504 is configured to construct an ACK destined for the sender according to the information about the data packet found by the looking-upunit 503. - If the protocol layer has received the confirmation information from the receiver but the data transmission apparatus has not received the ACK from the receiver in response to the data packet, it can be determined that the receiver has correctly received the data packet sent by the sender, and the
constructing unit 504 may construct an ACK and send it to the sender. The ACK is constructed according to the information about the data packet found by the looking-upunit 503. The information about the data packet may be an SN of the data packet. If the data packet is a TCP packet, the information about the data packet may include the TCP SN and packet length of the TCP packet. The ACK may be constructed according to the information about the data packet found through the data packet mapping. If the data packet is a TCP packet, the SN of the constructed ACK may be the TCP SN plus the packet length of the TCP packet. For other types of data packets, the ACK may be constructed in other ways according to specific conditions. - The constructing
unit 504 sends the constructed ACK to the sender, and may record the SN of the constructed ACK. - It should be noted that the data transmission apparatus may be a TCP function enhancement entity, e.g. a TCP proxy, added in an intermediate node in the data transmission process between the sender and the receiver.
- In conclusion, the data transmission apparatus provided in this embodiment constructs an ACK and sends it to the sender actively, thus improving the data transmission rate.
- Further, before the ACK is constructed, the data transmission apparatus may judge whether the TCP ACK returned by the receiver in response to the corresponding data packet has been received. If no such TCP ACK has been received, the data transmission apparatus constructs an ACK and sends it to the sender. After receiving the TCP ACK from the receiver, the data transmission apparatus may judge whether the ACK has been constructed and sent to the sender, and forward the TCP ACK to the sender if no such ACK has been constructed or discard the TCP ACK returned by the receiver if such an ACK has been constructed.
- Another data transmission apparatus is provided in another embodiment of the present invention. As shown in
FIG. 6 , the apparatus may include a receivingunit 601, a sendingunit 602, agenerating unit 603, a looking-upunit 604, a judgingunit 605, aconstructing unit 606, and a comparingunit 607. - The receiving
unit 601 is configured to receive a data packet sent by a sender, and record information about the received data packet. - The functions and the implementation process of the receiving
unit 601 are basically the same as those of the receiving unit 501 in the previous embodiment described above. - The sending
unit 602 is configured to send the data packet to a receiver through a protocol layer, where the data packet is received by the receivingunit 601. - The functions and the implementation process of the sending
unit 602 are basically the same as those of the sendingunit 502 in the previous embodiment described above. - The generating
unit 603 is configured to generate a data packet mapping according to the information about the data packet recorded by the receivingunit 601. - It should be noted that the data packet mapping may be stored in the data transmission apparatus or at the protocol layer. A confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer. The data packet mapping is shared between the data transmission apparatus and the protocol layer. In this embodiment, it is assumed that the data transmission apparatus generates the data packet mapping.
- The protocol layer also records the SN of the received data packet. That is, if the first data packet received by the receiving
unit 601 is identified by SN 1, the first data packet received by the protocol layer is also identified by SN 1, and so on. Therefore, the order of the data packets recorded by the RLC layer corresponds to the order of the data packets recorded by the TCP proxy in a one-to-one relation. The one-to-one relation is called a data packet mapping relation. - The looking-up
unit 604 is configured to looking up the information about the corresponding data packet through the receivingunit 601 according to the data packet mapping generated by the generatingunit 603 after the protocol layer receives the confirmation information of a data packet sent by the receiver to the sender. - The functions of the looking-up
unit 604 are basically the same as those of the searchingunit 503 in the previous embodiment described above. - The judging
unit 605 is configured to judge whether it is necessary to construct an ACK according to the information about the data packet found by the looking-upunit 604. - For the TCP ACK sent by the receiver to the data transmission apparatus, the judging
unit 605 of the data transmission apparatus also records the SN of the ACK. - The information about the data packet may include the SN of the data packet. If the data packet is a TCP packet, the information of the data packet may include the packet length and the SN of the TCP packet. According to the found information about the data packet, the SN of the ACK to be constructed can be known. For example, for a TCP packet, if the SN of the first data packet is 1 and the packet length is 1460, the SN of the ACK to be constructed is 1461; the SN of the second data packet is 1461, and the SN of the ACK to be constructed is 2921, and so on. For other types of data packets, the ACK may be constructed in other modes.
- The SN of the TCP ACK returned by the terminal and recorded in the judging
unit 605 is compared with the SN of the ACK to be constructed to determine whether an ACK is needed to be constructed. The judgingunit 605 may record at least one SN of the TCP ACK returned by the terminal. The maximum SN of the TCP ACK recorded in the judgingunit 605 is compared with the SN of the ACK to be constructed. If the maximum SN of the TCP ACK returned by the receiver and recorded in the judgingunit 605 is greater than or equal to the SN of the ACK to be constructed, it indicates that the data transmission apparatus has received the TCP ACK returned by the receiver and that no more ACK needs to be constructed; if the maximum SN of the TCP ACK returned by the receiver and recorded in the judgingunit 605 is smaller than the SN of the ACK to be constructed, it indicates that the data transmission apparatus has received no TCP ACK returned by the receiver and that an ACK needs to be constructed. - The constructing
unit 606 is configured to construct an ACK and send it to the sender if the judgingunit 605 determines that the ACK is needed to be constructed. - If the data transmission apparatus has not received the TCP ACK returned by the receiver, the constructing
unit 606 of the data transmission apparatus constructs an ACK actively and sends it to the sender. After receiving the ACK, the sender can slide the window to send new data. - The SN of the constructed ACK is the packet length plus the SN of the TCP packet. For example, the SN of the first data packet is 1, the packet length of the first data packet is 1460, and therefore, the SN of the constructed ACK is 1461; the SN of the second data packet is 1461, the packet length of the second data packet is 1460, and therefore, the SN of the constructed ACK is 2921, and so on. The SN of the constructed ACK may be recorded in the data transmission apparatus.
- If the data transmission apparatus receives the TCP ACK returned by the receiver, the data transmission apparatus may judge whether the constructing
unit 606 has constructed the corresponding ACK and sent it to the sender, and forward the TCP ACK to the sender if no such ACK has been constructed, or discard the TCP ACK returned by the receiver if such an ACK has been constructed. The data transmission apparatus may further include a comparingunit 607. The comparingunit 607 is configured to compare the SN of the TCP ACK returned by the receiver with the SN of the constructed ACK recorded in the data transmission apparatus. - If the SN of the TCP ACK returned by the receiver is smaller than or equal to the maximum recorded SN of the constructed ACK, it indicates that the data transmission apparatus has sent the confirmation information to the sender, and the data transmission apparatus may discard the ACK sent by the receiver rather than forward the ACK to the sender; if the SN of the TCP ACK returned by the receiver is greater than the maximum recorded SN of the constructed ACK, the data transmission apparatus sends the ACK returned by the terminal to the sender and records the SN of the TCP ACK returned by the receiver.
- Another data transmission apparatus is provided in an embodiment of the present invention. As shown in
FIG. 7 , the apparatus may include asecond receiving unit 701, asecond sending unit 702, an obtainingunit 703, and asecond constructing unit 704. - The
second receiving unit 701 is configured to receive the data packet sent by the sender. - The
second sending unit 702 is configured to send the received data packet to a receiver through a protocol layer. - The received data packet may be sent to the receiver through a protocol layer. The protocol layer may be an RLC layer.
- The obtaining
unit 703 is configured to obtain information about the corresponding data packet according to confirmation information of a data packet after the protocol layer receives the confirmation information of the data packet sent by the receiver to the sender. - A confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer. The confirmation information serves as a basis for knowing which data packets are correctly received by the receiver, and which data packets on the data transmission apparatus are correctly received by the receiver. In this way, the information about the data packet corresponding to such data packets can be obtained. The information about the data packet may be an SN of the data packet. If the data packet is a TCP packet, the information about the data packet may further include the TCP SN and packet length of the TCP packet. The packet length and the TCP SN of the TCP packet may be obtained from the packet header information of the TCP packet.
- The
second constructing unit 704 is configured to construct confirmation information destined for the sender according to the information about the data packet obtained by the obtainingunit 703. - If the protocol layer has received the confirmation information of a data packet from the receiver but the data transmission apparatus has received no ACK from the receiver in response to the data packet, it can be determined that the receiver has correctly received the data packet sent by the sender, the corresponding information about the data packet can be obtained according to the confirmation information received by the protocol layer, and the
second constructing unit 704 may construct an ACK and send it to the sender according to the information about the data packet. The ACK may be constructed according to the information about the data packet obtained by the obtainingunit 703. If the data packet is a TCP packet, the SN of the constructed ACK is the SN plus the packet length of the TCP packet. For other types of data packets, the ACK may be constructed in other ways. - It should be noted that the data transmission apparatus may be a TCP function enhancement entity, a TCP proxy for example, added in an intermediate node in the data transmission process between the sender and the receiver.
- In conclusion, the data transmission apparatus provided in this embodiment constructs an ACK and sends it to the sender actively, thus the data transmission rate is improved.
- Further, before the ACK is constructed, the data transmission apparatus may judge whether the TCP ACK returned by the receiver in response to the corresponding data packet has been received. If no such TCP ACK has been received, the data transmission apparatus constructs an ACK and sends it to the sender. After receiving the TCP ACK from the receiver, the data transmission apparatus may judge whether the ACK has been constructed and sent to the sender, and forward the TCP ACK to the sender if no such ACK has been constructed or discard the TCP ACK returned by the receiver if such an ACK has been constructed.
- Another data transmission apparatus is provided in another embodiment of the present invention. As shown in
FIG. 8 , the apparatus may include asecond receiving unit 801, asecond sending unit 802, an obtainingunit 803, asecond judging unit 805, asecond constructing unit 804, and a second comparingunit 806. - The
second receiving unit 801 is configured to receive the data packet sent by the sender. - The functions and the implementation process of the
second receiving unit 801 are basically the same as those of thesecond receiving unit 701 in the previous embodiment described above. - The
second sending unit 802 is configured to send a data packet to the receiver through a protocol layer, where the data packet is received by thesecond receiving unit 801. - The functions and the implementation process of the
second sending unit 802 are basically the same as those of thesecond sending unit 702 in the previous embodiment described above. - The obtaining
unit 803 is configured to obtain the SN of a data packet according to confirmation information of a data packet, and may be further configured to obtain the packet length and the TCP SN of a TCP packet according to the SN of the data packet. - A confirmation mechanism exists between the protocol layer and the receiver. After receiving the data packet from the sender, the receiver returns confirmation information to the protocol layer. The obtaining
unit 803 obtains the corresponding information about the data packet according to the confirmation information. - The
second judging unit 805 is configured to judge whether it is necessary to construct an ACK according to the information about data packet obtained by the obtainingunit 803. - The information about the data packet may include the SN of the data packet. Therefore, the SN of the data packet can be obtained according to the confirmation information. If the data packet is a TCP packet, the packet length and the SN of the TCP packet can be obtained according to the SN of the data packet. The SN of the ACK to be constructed can be obtained according to the information about the data packet. For example, for a TCP packet, if the SN of the first data packet is 1 and the packet length of the first data packet is 1460, the SN of the ACK to be constructed is 1461; the SN of the second data packet is 1461, and the SN of the ACK to be constructed is 2921, and so on. For other types of data packets, the ACK may be constructed in other ways.
- The
second judging unit 805 can judge whether it is necessary to construct an ACK by comparing the SN of the TCP ACK returned by the receiver with the SN of the ACK to be constructed. Thesecond judging unit 805 may record at least one SN of the TCP ACK returned by the terminal. Thesecond judging unit 805 may compare the maximum SN of the TCP ACK returned by the receiver with the SN of the ACK to be constructed. If the maximum SN of the TCP ACK returned by the receiver is greater than or equal to the SN of the ACK to be constructed, it indicates that the data transmission apparatus has received the TCP ACK returned by the receiver and that no more ACK needs to be constructed; if the maximum SN of the TCP ACK returned by the receiver is smaller than the SN of the ACK to be constructed, it indicates that the data transmission apparatus has received no TCP ACK returned by the receiver and that an ACK needs to be constructed. - The
second constructing unit 804 is configured to construct an ACK and send it to the sender if thesecond judging unit 805 determines that an ACK needs to be constructed. - If the data transmission apparatus has received no TCP ACK returned by the receiver, the
second constructing unit 804 of the data transmission apparatus constructs an ACK actively and sends it to the sender. After receiving the ACK, the sender can slide the window to send new data. - If the data transmission apparatus receives the TCP ACK returned by the receiver, the data transmission apparatus may judge whether the
second constructing unit 804 has constructed the corresponding ACK and sent it to the sender, and forward the TCP ACK to the sender if no such ACK has been constructed, or discard the TCP ACK returned by the receiver if such an ACK has been constructed. The data transmission apparatus may further include a second comparingunit 806, which is configured to compare the SN of the TCP ACK returned by the receiver with the SN of the constructed ACK recorded in the data transmission apparatus. - If the SN of the TCP ACK returned by the receiver is smaller than or equal to the maximum SN of the constructed ACK, it indicates that the data transmission apparatus has sent the confirmation information to the sender, and the data transmission apparatus may discard the ACK sent by the receiver rather than forward the ACK to the sender; if the SN of the TCP ACK returned by the receiver is greater than the maximum SN of the constructed ACK, the data transmission apparatus sends the ACK returned by the receiver to the sender and records the SN of the TCP ACK returned by the receiver.
- An intermediate NE is provided in another embodiment of the present invention. As shown in
FIG. 9 , the intermediate NE may include aprotocol layer 901 and adata transmission apparatus 902. Theprotocol layer 901 may be any protocol layer of the intermediate NE so long as a confirmation mechanism exists between the protocol layer and the receiver. According to the confirmation mechanism, the receiver returns confirmation information to the protocol layer upon receiving a data packet. Thedata transmission apparatus 902 may be the apparatus described in the embodiment corresponding toFIG. 5 orFIG. 6 . Theprotocol layer 901 and thedata transmission apparatus 902 share the data packet mapping. For the method of generating the data packet mapping, see the relevant description in the foregoing method embodiments. After theprotocol layer 901 receives the confirmation information from the receiver, thedata transmission apparatus 902 may construct an ACK and send it to the sender; or judge whether it is necessary to construct an ACK and then construct an ACK and send it to the sender. For details of the judging method, see the relevant description in the foregoing method embodiments. It is also necessary to judge whether the ACK sent by the receiver to thedata transmission apparatus 902 needs to be forwarded to the sender. For the judging method, see the relevant description in the foregoing method embodiments. - It should be noted that the intermediate NE above may be a Radio Network Controller (RNC). In this case, the
data transmission apparatus 902 may be a TCP proxy, and theprotocol layer 901 may be an RLC layer. - In the foregoing embodiment, the
protocol layer 901 and thedata transmission apparatus 902 are located in the same intermediate NE. It is understandable that thedata transmission apparatus 902 and theprotocol layer 901 may be located in different intermediate NEs so long as thedata transmission apparatus 902 can construct an ACK according to the data packet mapping between them. - Therefore, through the data transmission apparatus provided in this embodiment, an ACK is constructed and sent to the sender. Thus the ACK of the downlink data packet being blocked at the TCP layer of the receiver can be prevented to some extent, the sender is enabled to slide the window faster, sufficient data for the air interface is provided, the event of lack of data for sending can be prevented, the utilization of the air interface is improved, and the performance of data transmission and the user's experience are enhanced.
- An intermediate NE is provided in another embodiment of the present invention. As shown in
FIG. 10 , the intermediate NE may include aprotocol layer 1001 and adata transmission apparatus 1002. Thedata transmission apparatus 1002 may be the apparatus described in the embodiment corresponding toFIG. 7 orFIG. 8 . Theprotocol layer 1001 may be any protocol layer of the intermediate NE so long as a confirmation mechanism exists between the protocol layer and the receiver. According to the confirmation mechanism, the receiver returns confirmation information to theprotocol layer 1001 upon receiving a data packet. - After the
protocol layer 1001 receives the confirmation information returned by the receiver, thedata transmission apparatus 1002 obtains the information about the data packet according to confirmation information, and constructs an ACK destined for the sender according to the information about the data packet. Thedata transmission apparatus 1002 may construct an ACK and send it to the sender; or judge whether an ACK needs to be constructed and then construct an ACK and send it to the sender when necessary. For details of the judging manner, see the relevant description in the foregoing method embodiments. To judge whether the ACK sent by the receiver to thedata transmission apparatus 1002 needs to be forwarded to the sender may be also implemented. - It should be noted that the intermediate NE above may be an RNC. In this case, the
data transmission apparatus 1002 may be a TCP proxy, and theprotocol layer 1001 may be an RLC layer. - In the foregoing embodiment, the
data transmission apparatus 1002 and theprotocol layer 1001 are located in the same intermediate NE. It is understandable that thedata transmission apparatus 1002 and theprotocol layer 1001 may be located in different intermediate NEs. - Therefore, through the data transmission apparatus provided in this embodiment, an ACK is constructed and sent to the sender. Thus the ACK of the downlink data packet being blocked at the TCP layer of the receiver can be prevented to some extent, the sender is enabled to slide the window faster, sufficient data for the air interface is provided, the event of lack of data for sending can be prevented, the utilization of the air interface is improved, and the performance of data transmission and the user's experience are enhanced.
- The steps of the method or algorithm described herein may be implemented through hardware, or through a software module executed by a processor, or through both. The software module may be located in a Random Access Memory (RAM), a computer memory, a Read Only Memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a Compact-Disk Read Only Memory (CD-ROM), or any other form of storage media well-known in the art.
- Although the invention is described through some exemplary embodiments, the invention is not limited to such embodiments. It is apparent that those skilled in the art can make modifications and variations to the invention without departing from the spirit and scope of the invention. The invention is intended to cover the modifications and variations provided that they fall within the scope of protection defined by the following claims or their equivalents.
Claims (26)
1. A data transmission method, comprising:
receiving a data packet sent by a sender, and recording information about the data packet received;
sending the data packet received to a receiver through a protocol layer;
looking up recorded information about the data packet according to a data packet mapping after the protocol layer receives, from the receiver, confirmation information of the data packet, wherein the data packet mapping is a relation between a recorded data packet and a data packet received by the protocol layer; and
constructing an acknowledgement, ACK, destined for the sender according to information about the data packet obtained by the steps of looking up recorded information about received data packets.
2. The data transmission method according to claim 1 , wherein the step of recording the information about received data packet comprises:
recording a sequence number, SN, of the data packet received according to the order of receiving the data packet.
3. The data transmission method according to claim 2 , wherein:
if the data packet is a transmission control protocol, TCP, packet, the step of recording the information about received packet further comprises:
recording a packet length and TCP SN of the TCP packet.
4. The data transmission method according to claim 2 , wherein the step of looking up recorded information about the data packet according to the data packet mapping comprises:
looking up a packet length and TCP SN of a corresponding data packet according to the data packet mapping.
5. The data transmission method according to claim 4 , wherein the step of constructing the ACK destined for the sender according to information about the data packet obtained by the steps of looking up comprises:
constructing an ACK according to the packet length and TCP SN of the corresponding data packet, wherein the SN of the ACK is the packet length plus the TCP SN.
6. The data transmission method according to claim 5 , wherein before the constructing the ACK destined for the sender, the method further comprises:
comparing the SN of the ACK, which is a result of the packet length plus the TCP SN, with a maximum SN of a TCP ACK returned by the receiver; and
if the maximum SN of the TCP ACK returned by the receiver is smaller than the SN of the ACK, constructing the ACK destined for the sender; if the maximum SN of the TCP ACK returned by the receiver is greater than or equal to the SN of the ACK, constructing no ACK destined for the sender.
7. The data transmission method according to claim 6 , further comprising:
comparing the SN of the TCP ACK returned by the receiver with the maximum SN of the constructed ACK when receiving the TCP ACK returned by the receiver; and
if the SN of the TCP ACK returned by the receiver is greater than the maximum SN of the constructed ACK, sending the TCP ACK received from the receiver to the sender; if the SN of the TCP ACK returned by the receiver is smaller than or equal to the maximum SN of the constructed ACK, discarding the TCP ACK received from the receiver.
8. A data transmission method, comprising:
receiving a data packet sent by a sender;
sending the data packet received to a receiver through a protocol layer;
after the protocol layer receives confirmation information of the data packet sent by the receiver to the sender, obtaining information about a corresponding data packet according to the confirmation information; and
constructing an acknowledgement, ACK, destined for the sender according to obtained information about the corresponding data packet.
9. The data transmission method according to claim 8 , wherein the step of obtaining information about the corresponding data packet according to the confirmation information comprises:
obtaining a sequence number, SN, of the corresponding data packet according to the confirmation information.
10. The data transmission method according to claim 9 , wherein:
if the data packet is a transmission control protocol, TCP, packet, the step of obtaining the information about the corresponding data packet according to the confirmation information further comprises:
obtaining a packet length and TCP SN of the TCP packet according to the SN of the corresponding data packet.
11. The data transmission method according to claim 10 , wherein the step of constructing the ACK destined for the sender comprises:
constructing an ACK according to the packet length and TCP SN of the TCP packet, wherein the SN of the ACK is the packet length plus the TCP SN.
12. The data transmission method according to claim 11 , wherein before constructing the ACK destined for the sender, the method further comprises:
comparing the SN of the ACK, which is a result of the packet length plus the TCP SN, with a maximum SN of a TCP ACK returned by the receiver; and
if the maximum SN of the TCP ACK returned by the receiver is smaller than the SN of the ACK, constructing the ACK destined for the sender; if the maximum SN of the TCP ACK returned by the receiver is greater than or equal to the SN of the ACK, constructing no ACK destined for the sender.
13. The data transmission method according to claim 12 , further comprising:
comparing the SN of the TCP ACK returned by the receiver with the maximum SN of the constructed ACK when receiving the TCP ACK returned by the receiver; and
if the SN of the TCP ACK returned by the receiver is greater than the maximum SN of the constructed ACK, sending the TCP ACK received from the receiver to the sender; if the SN of the TCP ACK returned by the receiver is smaller than or equal to the maximum SN of the constructed ACK, discarding the TCP ACK received from the receiver.
14. A data transmission apparatus, comprising:
a receiving unit, configured to receive a data packet sent by a sender, and record information about the data packet received;
a sending unit, configured to send the data packet received to a receiver through a protocol layer;
a looking-up unit, configured to look up recorded information about the data packet according to a data packet mapping after the protocol layer receives, from the receiver, confirmation information of the data packet, wherein the data packet mapping is a relation between a recorded data packet and a data packet received by the protocol layer; and
a constructing unit, configured to construct an Acknowledgement, ACK, destined for the sender according to the information about the data packet obtained by the looking-up unit.
15. The data transmission apparatus according to claim 14 , wherein:
the information about the data packet recorded by the receiving unit comprises a Sequence Number, SN, indicating order of the data packet received; and, if the data packet is a transmission control protocol, TCP, packet, the information about the data packet further comprises packet length and TCP SN.
16. The data transmission apparatus according to claim 15 , further comprising:
a generating unit, configured to generate the data packet mapping according to the information about the data packet recorded by the receiving unit; wherein
the protocol layer and the data transmission apparatus share the data packet mapping.
17. The data transmission apparatus according to claim 16 , further comprising:
a judging unit, configured to judge whether it is necessary to construct an ACK according to the information about the data packet obtained by the looking-up unit; wherein
the judging unit judges whether it is necessary to construct the ACK by:
comparing the SN of the ACK, which is a result of the packet length plus the TCP SN of the corresponding data packet, with a maximum SN of a TCP ACK returned by the receiver; and
if the maximum SN of the TCP ACK returned by the receiver is smaller than the SN of the ACK, constructing the ACK destined for the sender; if the maximum SN of the TCP ACK returned by the receiver is greater than or equal to the SN of the ACK, constructing no ACK destined for the sender.
18. The data transmission apparatus according to claim 17 , further comprising:
a comparing unit, configured to compare the SN of the TCP ACK returned by the receiver with the SN of the ACK constructed by the constructing unit; wherein
if the SN of the TCP ACK returned by the receiver is greater than the maximum SN of the constructed ACK, sending the TCP ACK received from the receiver to the sender; if the SN of the TCP ACK returned by the receiver is smaller than or equal to the maximum SN of the constructed ACK, discarding the TCP ACK received from the receiver.
19. A data transmission apparatus, comprising:
a second receiving unit, configured to receive a data packet sent by a sender;
a second sending unit, configured to send the data packet received to a receiver through a protocol layer;
an obtaining unit, configured to obtain information about a corresponding data packet according to confirmation information of the data packet after the protocol layer receives the confirmation information of the data packet sent by the receiver to the sender; and
a second constructing unit, configured to construct an acknowledgement, ACK,destined for the sender according to the information about the data packet obtained by the obtaining unit.
20. The data transmission apparatus according to claim 19 , wherein:
the obtaining unit is configured to obtain a sequence number, SN, of the data packet according to the confirmation information.
21. The data transmission apparatus according to claim 20 , wherein:
the obtaining unit is further configured to obtain the packet length and TCP SN of a TCP packet according to the SN of the data packet.
22. The data transmission apparatus according to claim 21 , wherein:
the second constructing unit constructs the ACK according to the packet length and TCP SN of the TCP packet, and the SN of the ACK is the packet length plus the TCP SN.
23. The data transmission apparatus according to claim 22 , further comprising:
a second judging unit, configured to judge whether it is necessary to construct an ACK; wherein
the second judging unit judges whether it is necessary to construct the ACK by:
comparing the SN of the ACK, which is a result of the packet length plus the TCP SN, with a maximum SN of a TCP ACK returned by the receiver; and
if the maximum SN of the TCP ACK returned by the receiver is smaller than the SN of the ACK, constructing the ACK destined for the sender; if the maximum SN of the TCP ACK returned by the receiver is greater than or equal to the SN of the ACK, constructing no ACK destined for the sender.
24. The data transmission apparatus according to claim 23 , further comprising:
a second comparing unit, configured to compare the SN of the TCP ACK returned by the receiver with the maximum SN of the constructed ACK;
if the SN of the TCP ACK returned by the receiver is greater than the maximum SN of the constructed ACK, sending the TCP ACK received from the receiver to the sender; if the SN of the TCP ACK returned by the receiver is smaller than or equal to the maximum SN of the constructed ACK, discarding the TCP ACK received from the receiver.
25. An intermediate Network Element, configured to transmit data between a sender and a receiver, wherein:
the intermediate Network Element, NE,comprises a protocol layer and the data transmission apparatus according to any one of claims 14 -18;
the protocol layer is any protocol layer of the intermediate NE, and a confirmation mechanism exists between the protocol layer and the receiver; the receiver returns confirmation information to the protocol layer upon receiving a data packet; and
a data packet mapping is shared between the protocol layer and the data transmission apparatus; after the protocol layer receives the confirmation information returned by the receiver, the data transmission apparatus constructs an acknowledgement, ACK, and sends the ACK to the sender according to the data packet mapping.
26. An intermediate Network Element, configured to transmit data between a sender and a receiver, wherein:
the intermediate Network Element, NE,comprises a protocol layer and the data transmission apparatus according to any one of claims 19 -24;
the protocol layer is any protocol layer of the intermediate NE, and a confirmation mechanism exists between the protocol layer and the receiver; the receiver returns confirmation information to the protocol layer upon receiving a data packet; and
after the protocol layer receives confirmation information returned by the receiver, the data transmission apparatus obtains information about the data packet according to the confirmation information, and constructs an acknowledgement, ACK, destined for the sender according to the information about the data packet.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810141665.9 | 2008-07-17 | ||
CN200810141665.9A CN101335603B (en) | 2008-07-17 | 2008-07-17 | Data transmission method and apparatus |
PCT/CN2009/072814 WO2010006557A1 (en) | 2008-07-17 | 2009-07-17 | A method and device for transmitting data |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2009/072814 A-371-Of-International WO2010006557A1 (en) | 2008-07-17 | 2009-07-17 | A method and device for transmitting data |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/279,040 Continuation US8630203B2 (en) | 2008-07-17 | 2011-10-21 | Data transmission method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
US20120039249A1 true US20120039249A1 (en) | 2012-02-16 |
Family
ID=40197944
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/125,234 Abandoned US20120039249A1 (en) | 2008-07-17 | 2009-07-17 | Data transmission method and apparatus |
US13/279,040 Active 2030-02-28 US8630203B2 (en) | 2008-07-17 | 2011-10-21 | Data transmission method and apparatus |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/279,040 Active 2030-02-28 US8630203B2 (en) | 2008-07-17 | 2011-10-21 | Data transmission method and apparatus |
Country Status (7)
Country | Link |
---|---|
US (2) | US20120039249A1 (en) |
EP (1) | EP2302827B1 (en) |
JP (2) | JP5484460B2 (en) |
CN (1) | CN101335603B (en) |
CA (1) | CA2738103C (en) |
RU (1) | RU2474059C1 (en) |
WO (1) | WO2010006557A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102012024706A1 (en) | 2011-12-22 | 2013-06-27 | Volkswagen Aktiengesellschaft | Device for detecting tiredness of driver in motor vehicle i.e. passenger car, has tiredness model determining value characterizing tiredness of driver, and correction module for correcting value based on output parameter of intensity sensor |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101335603B (en) * | 2008-07-17 | 2011-03-30 | 华为技术有限公司 | Data transmission method and apparatus |
CN102761905B (en) * | 2011-04-26 | 2016-03-30 | 华为技术有限公司 | Message treatment method, equipment and system |
CN102263687A (en) * | 2011-08-11 | 2011-11-30 | 武汉思为同飞网络技术有限公司 | VPN (virtual private network) speed-up gateway in WAN (wide area network) as well as speed-up communication and method thereof |
WO2014186944A1 (en) | 2013-05-20 | 2014-11-27 | 华为技术有限公司 | Acknowledgement packet transmission method and device thereof |
CN103534973B (en) * | 2013-06-05 | 2016-09-28 | 华为技术有限公司 | A kind of methods, devices and systems reducing transmission control layer confirmation message |
KR102205331B1 (en) * | 2013-08-26 | 2021-01-19 | 콘티넨탈 테베스 아게 운트 코. 오하게 | Processing-path-dependent filtering of data packets received in the car2x network |
CN105940627B (en) * | 2014-08-21 | 2019-05-21 | 深圳市大疆创新科技有限公司 | Unmanned vehicle and its communication means and ground based terminal |
CN105635058B (en) * | 2014-10-30 | 2019-05-17 | 中国科学院声学研究所 | Go-between's processing method of TCP is directed under a kind of no-protocol mode stack |
CN106209733B (en) * | 2015-04-30 | 2019-05-10 | 华为技术有限公司 | A kind of data processing method and device |
CN106341348B (en) * | 2015-07-17 | 2019-06-21 | 普天信息技术有限公司 | A kind of flow control methods and access network elements towards TCP traffic |
EP4329419A3 (en) | 2016-05-13 | 2024-04-24 | Telefonaktiebolaget LM Ericsson (publ) | Systems and methods of recommending a data rate in a wireless communications system |
CN107465625A (en) * | 2016-06-06 | 2017-12-12 | 普天信息技术有限公司 | The transmission method and device of transmission control protocol |
EP3562076A4 (en) * | 2017-01-24 | 2020-01-08 | Huawei Technologies Co., Ltd. | Data transmission method and apparatus, and customer premises equipment |
CN107659558A (en) * | 2017-08-22 | 2018-02-02 | 上海华为技术有限公司 | A kind of data transmission method and base station |
CN109525374B (en) * | 2017-09-20 | 2020-10-16 | 华为技术有限公司 | Data transmission method, wireless access point, user equipment and transmission equipment |
CN110035477B (en) * | 2019-04-17 | 2021-03-16 | 彭泽春 | Intelligent management talent training method and system based on Internet of things |
KR102654182B1 (en) * | 2019-07-03 | 2024-04-02 | 텔레폰악티에볼라겟엘엠에릭슨(펍) | Packet acknowledgment technology for improved network traffic management |
CN112243266B (en) * | 2019-07-18 | 2024-04-19 | 大唐联仪科技有限公司 | Data packet method and device |
CN113055193B (en) * | 2021-03-16 | 2023-02-17 | 盛立安元科技(杭州)股份有限公司 | Data multicast transmission method, device, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6173333B1 (en) * | 1997-07-18 | 2001-01-09 | Interprophet Corporation | TCP/IP network accelerator system and method which identifies classes of packet traffic for predictable protocols |
US20010032325A1 (en) * | 2000-04-17 | 2001-10-18 | Mo-Han Fong | Dual protocol layer automatic retransmission request scheme for wireless air interface |
US20020191564A1 (en) * | 2001-06-19 | 2002-12-19 | At&T Corp. | Error-rate management in wireless systems |
US20040054796A1 (en) * | 2002-08-30 | 2004-03-18 | Shunsuke Kikuchi | Load balancer |
US20060136598A1 (en) * | 2004-12-17 | 2006-06-22 | Britestream Networks, Inc. | TCP/IP proxy utilizing transparent acknowledgements |
US20060182025A1 (en) * | 2005-02-11 | 2006-08-17 | Kil-Lyeon Kim | Transmission control protocol (TCP) congestion control using multiple TCP acknowledgments (ACKs) |
US20070172208A1 (en) * | 1997-09-17 | 2007-07-26 | Tomoyuki Okada | Optical disc, video data editing apparatus, computer-readable recording medium storing an editing program, reproduction apparatus for the optical disc, and computer-readable recording medium storing an reproduction program |
US20090203374A1 (en) * | 2008-01-31 | 2009-08-13 | Lg Electronics Inc. | Method for sending status information in mobile telecommunications system and receiver of mobile telecommunications |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1045551A3 (en) * | 1999-04-15 | 2003-06-18 | Lucent Technologies Inc. | Method for transmission between data networks and wireless communication system |
JP3727198B2 (en) * | 1999-07-21 | 2005-12-14 | 沖電気工業株式会社 | Gateway device |
FI20002320A (en) * | 2000-10-20 | 2002-04-21 | Nokia Corp | Blocking Management in Wireless Telecommunication Networks |
WO2002056631A1 (en) * | 2001-01-05 | 2002-07-18 | Matsushita Electric Industrial Co., Ltd. | Mobile communication system and radio communication method |
US7023876B2 (en) * | 2001-07-09 | 2006-04-04 | Quantum Corporation | Point-to-point protocol |
JP2003046432A (en) * | 2001-08-02 | 2003-02-14 | Matsushita Electric Ind Co Ltd | Road side device and on-vehicle device |
CN1272724C (en) * | 2002-12-31 | 2006-08-30 | 联想(北京)有限公司 | No.7 layer load equalization method based on socket butt joint in kernel |
US8644321B2 (en) * | 2003-09-16 | 2014-02-04 | Qualcomm Incorporated | Scheduling packet transmissions |
KR100585230B1 (en) * | 2003-12-27 | 2006-05-30 | 한국전자통신연구원 | Method and system for setting TCP proxy in order to reduce packet loss and transmission delay in wire/wireless integrated IP network |
JP4551331B2 (en) * | 2004-01-15 | 2010-09-29 | パナソニック株式会社 | Dynamic network management apparatus and dynamic network management method |
JP4594110B2 (en) | 2004-01-23 | 2010-12-08 | 株式会社エヌ・ティ・ティ・ドコモ | Transmitting apparatus and program |
JP4624062B2 (en) * | 2004-10-12 | 2011-02-02 | Necインフロンティア株式会社 | Communications system |
US7859996B2 (en) * | 2004-10-29 | 2010-12-28 | Broadcom Corporation | Intelligent congestion feedback apparatus and method |
TWI391018B (en) * | 2004-11-05 | 2013-03-21 | Ruckus Wireless Inc | Throughput enhancement by acknowledgment suppression |
CN101138190A (en) * | 2005-03-10 | 2008-03-05 | 三星电子株式会社 | Transmission control method for tcp bi-directional transmission in asymmetric bandwidth pre-allocated subscriber network and apparatus therefor |
JP4627669B2 (en) * | 2005-03-16 | 2011-02-09 | アラクサラネットワークス株式会社 | Packet transfer apparatus and transfer control method thereof |
US7940713B2 (en) * | 2005-12-08 | 2011-05-10 | Electronics And Telecommunications Research Institute | Apparatus and method for traffic performance improvement and traffic security in interactive satellite communication system |
WO2007095967A1 (en) * | 2006-02-27 | 2007-08-30 | Telefonaktiebolaget Lm Ericsson (Publ) | Flow control mechanism using local and global acknowledgements |
US8365045B2 (en) * | 2007-12-10 | 2013-01-29 | NetCee Systems, Inc. | Flow based data packet processing |
US8320250B2 (en) * | 2008-02-12 | 2012-11-27 | Nvidia Corporation | Method and arrangement for TCP flow control |
CN101335603B (en) * | 2008-07-17 | 2011-03-30 | 华为技术有限公司 | Data transmission method and apparatus |
-
2008
- 2008-07-17 CN CN200810141665.9A patent/CN101335603B/en active Active
-
2009
- 2009-07-17 RU RU2011134389/08A patent/RU2474059C1/en active
- 2009-07-17 WO PCT/CN2009/072814 patent/WO2010006557A1/en active Application Filing
- 2009-07-17 US US13/125,234 patent/US20120039249A1/en not_active Abandoned
- 2009-07-17 CA CA2738103A patent/CA2738103C/en active Active
- 2009-07-17 JP JP2011517740A patent/JP5484460B2/en active Active
- 2009-07-17 EP EP09797404.2A patent/EP2302827B1/en active Active
-
2011
- 2011-10-21 US US13/279,040 patent/US8630203B2/en active Active
-
2013
- 2013-10-18 JP JP2013217537A patent/JP5740449B2/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6173333B1 (en) * | 1997-07-18 | 2001-01-09 | Interprophet Corporation | TCP/IP network accelerator system and method which identifies classes of packet traffic for predictable protocols |
US20070172208A1 (en) * | 1997-09-17 | 2007-07-26 | Tomoyuki Okada | Optical disc, video data editing apparatus, computer-readable recording medium storing an editing program, reproduction apparatus for the optical disc, and computer-readable recording medium storing an reproduction program |
US20010032325A1 (en) * | 2000-04-17 | 2001-10-18 | Mo-Han Fong | Dual protocol layer automatic retransmission request scheme for wireless air interface |
US20020191564A1 (en) * | 2001-06-19 | 2002-12-19 | At&T Corp. | Error-rate management in wireless systems |
US20040054796A1 (en) * | 2002-08-30 | 2004-03-18 | Shunsuke Kikuchi | Load balancer |
US20060136598A1 (en) * | 2004-12-17 | 2006-06-22 | Britestream Networks, Inc. | TCP/IP proxy utilizing transparent acknowledgements |
US20060182025A1 (en) * | 2005-02-11 | 2006-08-17 | Kil-Lyeon Kim | Transmission control protocol (TCP) congestion control using multiple TCP acknowledgments (ACKs) |
US20090203374A1 (en) * | 2008-01-31 | 2009-08-13 | Lg Electronics Inc. | Method for sending status information in mobile telecommunications system and receiver of mobile telecommunications |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102012024706A1 (en) | 2011-12-22 | 2013-06-27 | Volkswagen Aktiengesellschaft | Device for detecting tiredness of driver in motor vehicle i.e. passenger car, has tiredness model determining value characterizing tiredness of driver, and correction module for correcting value based on output parameter of intensity sensor |
Also Published As
Publication number | Publication date |
---|---|
EP2302827A1 (en) | 2011-03-30 |
JP2014045499A (en) | 2014-03-13 |
RU2474059C1 (en) | 2013-01-27 |
JP5484460B2 (en) | 2014-05-07 |
CN101335603B (en) | 2011-03-30 |
CN101335603A (en) | 2008-12-31 |
CA2738103C (en) | 2014-04-01 |
WO2010006557A1 (en) | 2010-01-21 |
EP2302827B1 (en) | 2016-11-09 |
US20120033579A1 (en) | 2012-02-09 |
EP2302827A4 (en) | 2011-12-28 |
JP5740449B2 (en) | 2015-06-24 |
CA2738103A1 (en) | 2010-01-21 |
US8630203B2 (en) | 2014-01-14 |
JP2011528198A (en) | 2011-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2738103C (en) | Data transmission method and apparatus | |
TWI382773B (en) | Method of generating lower layer data block in wireless mobile communication system | |
US9979653B2 (en) | System and method of providing improved throughput control under delay-based congestion situation in a network | |
US20030099305A1 (en) | System and method for polling a protocol data unit of a transmission buffer | |
US20080259862A1 (en) | Method for Scheduling in Mobile Communication and Apparatus Thereof | |
KR100750170B1 (en) | Method and apparatus for transmitting data frame efficiently in communication network | |
RU2649298C1 (en) | Gateway device and method of its management | |
JP2009544259A (en) | Method and apparatus for policy enforcement in a wireless communication system | |
US8301799B2 (en) | Method and apparatus for managing transmission of TCP data segments | |
WO2012129922A1 (en) | Packet handling method, forwarding device and system | |
US8000245B2 (en) | Internet protocol header compression reordering | |
KR20150066335A (en) | Method And Apparatus For Reducing The Discarded Packets In Wireless Communication | |
CN102130756A (en) | Data transmission method and device | |
JP5124591B2 (en) | Method for displaying consecutive data units in RAN | |
CN108777607B (en) | Method for intercepting acknowledgement packet and access network equipment | |
JP2007324700A (en) | Transmission control method | |
US20090257377A1 (en) | Reducing buffer size for repeat transmission protocols | |
WO2017200435A1 (en) | Radio base station with tcp ack awareness |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: HUAWEI TECHNOLOGIES CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LIAO, JUNHUA;ZHANG, YANQIANG;REEL/FRAME:026158/0422 Effective date: 20110329 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |