Data transmission method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for data transmission.
Background
With the rapid development of smart phones, more and more mobile communication terminals integrate communication modules of wireless local area networks. On the other hand, with the increasing demand for mobile broadband, the existing communication systems are under pressure of larger and larger data traffic. The wireless cellular network has the advantages of wide coverage range, support of high-speed movement and the like, has the defects of low data rate, high price, large transmission power and the like, and is more suitable for scenes such as high-speed movement, outdoor large-range activities and the like. While a Wireless Local Area Network (WLAN) has the advantages of high data rate, low price, low transmission power, and the like, and meanwhile, has a small coverage Area, and is relatively suitable for scenes such as relative stillness and indoor small-range activities. In consideration of the respective advantages and disadvantages of the wireless cellular network and the wireless local area network, a feasible method is to fuse the wireless cellular technology and the WLAN technology, and utilize the WLAN to shunt the data traffic of the wireless cellular communication system, thereby improving the user experience and realizing efficient and low-cost communication. A technology of adopting mutual convergence of a conventional Wireless cellular network communication between a base station and a terminal and a Wireless Local Area network communication between a WLAN and the terminal is called MSA (Multi Stream Aggregation), where a logical interface exists between the base station and a WLAN AC (Wireless Local Area network Access control) or a WLAN AP (Wireless Local Area network Access Point).
The WLAN is based on a contention mechanism for data transmission, and when the WLAN is connected to multiple UEs at the same time, the resource of the WLAN is limited, which may reduce the channel quality between the WLAN and the UE transmitting data, thereby causing data loss. Moreover, when the base station and the WLAN access device perform packet transmission, on a logical interface between the base station and the WLAN access device, when a packet is lost, the packet cannot be retransmitted, so that the packet is permanently lost. The data packet that may be generated by the retransmission machine based on the WLAN access device is lost permanently, and the data packet that may be caused when the base station transmits the data packet with the WLAN access device is lost permanently, so in the prior art, the packet loss rate caused by transmitting data through the WLAN side is high, resulting in low transmission performance of the whole network.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for data transmission, which are used to improve performance of network transmission.
A first aspect of an embodiment of the present invention provides a method for data transmission, including:
the sending equipment receives a status report, wherein the status report comprises a first identifier of a lost data packet and the number of the lost data packets; the first identification of the lost data packet comprises a sequence number of the lost data packet, wherein the sequence number comprises a sequence number which can be identified by the WLAN access equipment;
the sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets;
the transmitting device retransmits the missing data packet.
With reference to the first aspect of the embodiment of the present invention, in a first implementation manner of the first aspect of the embodiment of the present invention, the receiving, by the sending device, a status report includes: the sending equipment receives the status report through WLAN access equipment; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number of the lost data packet, which is confirmed by the WLAN access equipment by sequencing the first sequence number of the received data packet; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the retransmitting of the missing data packet by the transmitting device includes:
the sending equipment retransmits the determined lost data packet containing the first sequence number to the WLAN access equipment; or,
the transmitting device transmits the determined missing data packet to the receiving device over the cellular communication link.
With reference to the first aspect of the embodiment of the present invention, in a second implementation manner of the first aspect of the embodiment of the present invention, the receiving, by the sending device, the status report includes: the sending equipment receives the status report through WLAN access equipment; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, the first sequence number of the lost data packet comprises a sequence number determined by the WLAN access device according to a first mapping relation, and the first mapping relation comprises a mapping relation between the first sequence number and a data packet, wherein the first sequence number is analyzed and stored by the WLAN access device for the data packet containing the first sequence number and received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still does not receive a confirmation message after exceeding the preset retransmission times; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the retransmitting of the missing data packet by the transmitting device includes:
the sending equipment retransmits the lost data packet containing the first sequence number to the WLAN access equipment; or,
the sequence numbers of the lost data packets further comprise a second sequence number of the lost data packets, the sending equipment determines the second sequence number of the lost data packets according to a preset second mapping relation between the first sequence number and the second sequence number, the second sequence number comprises the sequence number which can be identified by the sending equipment and the receiving equipment, and the sending equipment sends the lost data packets containing the second sequence number to the receiving equipment through a cellular communication link.
With reference to the first aspect of the embodiment of the present invention, in a third implementation manner of the first aspect of the embodiment of the present invention, the receiving, by the sending device, the status report includes: the sending device receives the status report through a receiving device; the sequence numbers of the lost data packets comprise second sequence numbers of the lost data packets, and the second sequence numbers of the lost data packets comprise sequence numbers of the lost data packets, which are confirmed by the receiving equipment through sequencing the second sequence numbers of the received data packets; the second sequence number comprises a sequence number which can be identified by the sending equipment and the receiving equipment, and the lost data packet is a data packet lost when the sending equipment sends a data packet to the receiving equipment or a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the retransmitting of the missing data packet by the transmitting device includes:
the transmitting device retransmitting the missing data packet containing the second sequence number to the receiving device over a cellular communication link; or,
the sequence number of the lost data packet further comprises a first sequence number of the lost data packet, and the sending equipment determines the first sequence number of the lost data packet according to a second mapping relation between the first sequence number and a second sequence number, wherein the first sequence number comprises sequence numbers which can be identified by the sending equipment and the WLAN access equipment; and the sending equipment sends the lost data packet containing the first sequence number to the WLAN access equipment.
With reference to the first aspect of the embodiment of the present invention, in a fourth implementation manner of the first aspect of the embodiment of the present invention, the receiving, by the sending device, the status report includes: the sending equipment receives the status report through WLAN access equipment; the sequence numbers of the lost data packets comprise a second sequence number of the lost data packets, and the second sequence number of the lost data packets comprises a sequence number which is obtained by the WLAN access equipment by sequencing the second sequence number of the received data packets to confirm that the data packets are lost; the second serial number comprises serial numbers which can be identified by the sending equipment, the receiving equipment and the WLAN access equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the retransmitting of the missing data packet by the transmitting device includes:
the sending equipment retransmits the determined lost data packet containing the second sequence number to the WLAN access equipment; or,
the transmitting device transmits the determined missing data packet containing the second sequence number to a receiving device over a cellular communication link.
With reference to the first aspect of the embodiment of the present invention, in a fifth implementation manner of the first aspect of the embodiment of the present invention, the status report further includes a second identifier, where the second identifier is used to indicate a sequence number of a maximum data packet received by the receiving device;
the method further comprises the following steps:
the sending equipment determines the size of data sent to the WLAN access equipment according to the second identifier, and then determines the number of data packets sent to the WLAN access equipment by the sending equipment according to the size of the data;
and the sending equipment sends new data packets to the WLAN access equipment according to the determined number.
With reference to the fifth implementation manner of the first aspect of the embodiment of the present invention, in a sixth implementation manner of the first aspect of the embodiment of the present invention, the receiving, by the sending device, the status report includes: the sending equipment receives the status report through WLAN access equipment; the second identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of a data packet of a confirmation message sent by receiving equipment and received by the WLAN access equipment;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device.
With reference to the fifth implementation manner of the first aspect of the embodiment of the present invention, in a seventh implementation manner of the first aspect of the embodiment of the present invention, the receiving, by the sending device, the status report includes: the sending device receives the status report through a receiving device; the second identification comprises a maximum second sequence number of a data packet received by the receiving device; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment;
the determining, by the sending device, the size of the data to be sent to the WLAN access device according to the second identifier includes:
the transmitting equipment determines the maximum first sequence number of the data packet successfully transmitted to the receiving equipment by the WLAN access equipment according to the maximum second sequence number of the data packet; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment;
the sending equipment calculates the rate of sending the data packets to the receiving equipment by the WLAN access equipment according to a first sequence number of the data packets successfully sent to the receiving equipment by the WLAN access equipment, the period of receiving the status report by the sending equipment through the receiving equipment and the size of the data packets sent to the WLAN access equipment by the sending equipment;
and the sending equipment determines the size of the data sent to the WLAN access equipment according to the rate of sending the data to the receiving equipment by the WLAN access equipment.
A second aspect of the embodiments of the present invention provides a method for data transmission, including:
determining, by a WLAN access device, a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet, and the sequence number includes a sequence number that can be recognized by the WLAN access device;
and the WLAN access equipment sends a status report to the sending equipment, wherein the status report comprises the number of the lost data packets and the first identifier of the lost data packets, so that the sending equipment determines the lost data packets according to the number of the lost data packets and the first identifier of the lost data packets, and the sending equipment retransmits the lost data packets.
With reference to the second aspect of the present embodiment, in a first implementation manner of the second aspect of the present embodiment, the sequence number of the lost data packet includes a first sequence number of the lost data packet, and the first sequence number of the lost data packet includes a sequence number that is missed when the WLAN access device performs sequencing on the first sequence number of the received data packet to confirm; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the method further comprises the following steps:
the WLAN access equipment receives the lost data packet which contains the first sequence number and is retransmitted by the sending equipment;
and the WLAN access equipment sends the lost data packet to the receiving equipment.
With reference to the second aspect of the present embodiment, in a second implementation manner of the second aspect of the present embodiment, the sequence number of the missing data packet includes a first sequence number of the missing data packet, the first sequence number of the missing data packet includes a sequence number determined by the WLAN access device according to a first mapping relationship, and the first mapping relationship includes a mapping relationship between a first sequence number and a data packet, where the first sequence number is analyzed and stored by the WLAN access device for the data packet that includes the first sequence number and is received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still fails to receive a confirmation message when the number of retransmission times exceeds a preset number; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the method further comprises the following steps:
the WLAN access equipment receives the lost data packet which contains the first sequence number and is retransmitted by the sending equipment;
and the WLAN access equipment sends the lost data packet to the receiving equipment.
With reference to the second aspect of the present invention, the first implementation manner of the second aspect, and any one implementation manner of the second aspect, in a third implementation manner of the second aspect of the present invention, the status report further includes a second identifier, where the second identifier is used to indicate a data size requested by the WLAN access device and a maximum sequence number of a data packet of an acknowledgement message sent by a receiving device and received by the WLAN access device;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device;
the WLAN access equipment receives a new data packet which is determined by the sending equipment according to the second identifier and is sent to the WLAN access equipment;
and the WLAN access equipment sends the new data packet to receiving equipment.
A third aspect of the embodiments of the present invention provides a method for data transmission, including:
the method comprises the steps that receiving equipment determines a first identifier of a lost data packet, wherein the first identifier of the lost data packet comprises a second sequence number of the lost data packet, and the second sequence number comprises a sequence number which is sequenced by the receiving equipment to confirm that the second sequence number of the received data packet is lost; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment; the lost data packet is a data packet lost when the sending equipment sends the data packet to the receiving equipment, or a data packet lost when the WLAN access equipment sends the data packet to the receiving equipment;
and the receiving equipment sends a status report to the sending equipment, wherein the status report comprises the first identifier of the lost data packet and the number of the lost data packets, so that the sending equipment determines the lost data packet according to the first identifier of the lost data packet and the number of the lost data packets and retransmits the lost data packet.
With reference to the third aspect of the embodiment of the present invention, in a first implementation manner of the third aspect of the embodiment of the present invention, the method further includes:
the receiving device receiving the missing data packet containing the second sequence number retransmitted by the sending device through a cellular communication link; or,
and the receiving equipment receives the lost data packet which is retransmitted by the WLAN access equipment and contains the second sequence number.
With reference to the third aspect of the present invention or the first implementation manner of the third aspect, in a second implementation manner of the third aspect of the present invention, the receiving device sends a status report to the sending device according to a preset cycle;
the status report further includes a second identifier, where the second identifier includes a maximum second sequence number of the data packets received by the receiving device, so that the transmitting device determines, according to the second identifier, a number of data packets to transmit to the WLAN access device.
A fourth aspect of the embodiments of the present invention provides a method for data transmission, including:
the sending equipment receives a status report, wherein the status report comprises a data packet identifier, and the data packet identifier is used for indicating the sequence number of the maximum data packet received by the receiving equipment;
the sending equipment determines the size of data sent to WLAN access equipment according to the data packet identification, and then determines the number of data packets sent to the WLAN access equipment by the sending equipment according to the size;
and the sending equipment sends new data packets to the WLAN access equipment according to the determined number.
With reference to the fourth aspect of the present embodiment, in a first implementation manner of the fourth aspect of the present embodiment, the receiving, by the sending device, the status report includes: the sending equipment receives the status report through WLAN access equipment; the data packet identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of the data packet of the acknowledgement message sent by the receiving equipment and received by the WLAN access equipment;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device.
With reference to the fourth aspect of the present embodiment, in a second implementation manner of the fourth aspect of the present embodiment, the receiving, by the sending device, the status report includes: the sending device receives the status report through a receiving device; the data packet identifier comprises a maximum second sequence number of a data packet received by the receiving device, wherein the second sequence number comprises a sequence number which can be identified by both the sending device and the receiving device;
the step of the sending device determining the size of the data packet sent to the WLAN access device according to the data packet identifier comprises the following steps:
the transmitting equipment determines the maximum first sequence number of the data packet successfully transmitted to the receiving equipment by the WLAN access equipment according to the maximum second sequence number of the data packet; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment;
the sending equipment calculates the rate of sending data to the receiving equipment by the WLAN access equipment according to a first sequence number of a data packet successfully sent to the receiving equipment by the WLAN access equipment, the period of receiving the status report by the sending equipment through the receiving equipment and the size of the data packet sent to the WLAN access equipment by the sending equipment;
and the sending equipment determines the size of data which can be sent to the WLAN access equipment according to the rate of sending data to the receiving equipment by the WLAN access equipment.
A fifth aspect of the embodiments of the present invention provides a method for data transmission, including:
the WLAN access equipment sends a status report to sending equipment, wherein the status report comprises a data packet identifier, and the data packet identifier is used for indicating the data size requested by the WLAN access equipment and the maximum sequence number of a data packet of a confirmation message sent by receiving equipment and received by the WLAN access equipment;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device; enabling the sending equipment to determine the number of data packets sent to the WLAN access equipment according to the data packet identification, and enabling the sending equipment to send new data packets to the WLAN access equipment according to the determined number;
the WLAN access equipment receives a new data packet which is determined by the sending equipment according to the data packet identification and is sent to the WLAN access equipment;
and the WLAN access equipment sends the new data packet to receiving equipment.
A sixth aspect of the present invention provides a method for data transmission, including:
the method comprises the steps that a receiving device sends a status report to a sending device according to a preset period, wherein the status report comprises a data packet identifier, the data packet identifier comprises a maximum second sequence number of a data packet received by the receiving device, and the second sequence number comprises a sequence number which can be identified by both the sending device and the receiving device, so that the sending device determines the number of the data packets sent to a WLAN access device according to the data packet identifier.
A seventh aspect of the embodiments of the present invention provides a transmission apparatus, including:
a receiving unit, configured to receive a status report, where the status report includes a first identifier of a lost data packet and a number of the lost data packets; the first identification of the lost data packet comprises a sequence number of the lost data packet, wherein the sequence number comprises a sequence number which can be identified by the WLAN access equipment;
a first determining unit, configured to determine a missing data packet according to the number of the missing data packets and a first identifier of the missing data packet;
a retransmission unit for retransmitting the lost packet.
With reference to the seventh aspect of the embodiment of the present invention, in a first implementation manner of the seventh aspect of the embodiment of the present invention, the receiving unit includes: a first receiving subunit, configured to receive the status report through a WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number of the lost data packet, which is confirmed by the WLAN access equipment by sequencing the first sequence number of the received data packet; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the retransmission unit includes:
a first retransmission subunit, configured to retransmit the determined missing data packet containing the first sequence number to the WLAN access device; or,
transmitting the determined missing data packet to the receiving device over the cellular communication link.
With reference to the seventh aspect of the embodiment, in a second implementation manner of the seventh aspect of the embodiment, the receiving unit includes: a second receiving subunit, configured to receive the status report through a WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, the first sequence number of the lost data packet comprises a sequence number determined by the WLAN access device according to a first mapping relation, and the first mapping relation comprises a mapping relation between the first sequence number and a data packet, wherein the first sequence number is analyzed and stored by the WLAN access device for the data packet containing the first sequence number and received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still does not receive a confirmation message after exceeding the preset retransmission times; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the retransmission unit includes:
a second retransmission subunit, configured to retransmit the missing data packet containing the first sequence number to the WLAN access device; or,
and sending the lost data packet containing the second sequence number to a receiving device through a cellular communication link, wherein the sequence number of the lost data packet further comprises the second sequence number of the lost data packet, the sending device determines the second sequence number of the lost data packet according to a preset second mapping relation between the first sequence number and the second sequence number, and the second sequence number comprises the sequence number which can be identified by both the sending device and the receiving device.
With reference to the seventh aspect of the embodiment, in a third implementation manner of the seventh aspect of the embodiment, the receiving unit includes: a third receiving subunit, configured to receive, by a receiving device, the status report; the sequence numbers of the lost data packets comprise second sequence numbers of the lost data packets, and the second sequence numbers of the lost data packets comprise sequence numbers of the lost data packets, which are confirmed by the receiving equipment through sequencing the second sequence numbers of the received data packets; the second sequence number comprises a sequence number which can be identified by the sending equipment and the receiving equipment, and the lost data packet is a data packet lost when the sending equipment sends a data packet to the receiving equipment or a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the retransmission unit includes:
a third retransmission subunit operable to retransmit the missing data packet containing the second sequence number to the receiving device over a cellular communication link; or,
and sending the missing data packet containing the first sequence number to the WLAN access equipment, wherein the sequence number of the missing data packet also comprises the first sequence number of the missing data packet, and the sending equipment determines the first sequence number of the missing data packet according to a second mapping relation between the first sequence number and the second sequence number, wherein the first sequence number comprises the sequence numbers which can be identified by the sending equipment and the WLAN access equipment.
With reference to the seventh aspect of the embodiment, in a fourth implementation manner of the seventh aspect of the embodiment, the receiving unit includes: a fourth receiving subunit, configured to receive the status report through a WLAN access device; the sequence numbers of the lost data packets comprise a second sequence number of the lost data packets, and the second sequence number of the lost data packets comprises a sequence number which is obtained by the WLAN access equipment by sequencing the second sequence number of the received data packets to confirm that the data packets are lost; the second serial number comprises serial numbers which can be identified by the sending equipment, the receiving equipment and the WLAN access equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the retransmission unit includes:
a fourth retransmission subunit, configured to retransmit the determined missing data packet containing the second sequence number to the WLAN access device; or,
transmitting the determined missing data packet containing the second sequence number to a receiving device over a cellular communication link.
With reference to the seventh aspect of the present embodiment, in a fifth implementation manner of the seventh aspect of the present embodiment, the status report further includes a second identifier, where the second identifier is used to indicate a sequence number of a largest data packet received by the receiving device;
the transmission apparatus further includes:
a second determining unit, configured to determine, according to the second identifier, a size of data to be sent to the WLAN access device, and then determine, according to the size of the data, a number of data packets to be sent by the sending device to the WLAN access device;
and a sending unit, configured to send a new data packet to the WLAN access device according to the determined number.
With reference to the fifth implementation manner of the seventh aspect of the embodiment of the present invention, in a sixth implementation manner of the seventh aspect of the embodiment of the present invention, the receiving unit includes: a fifth receiving subunit, configured to receive the status report through a WLAN access device; the second identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of a data packet of a confirmation message sent by receiving equipment and received by the WLAN access equipment;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device.
With reference to the fifth implementation manner of the seventh aspect of the embodiment of the present invention, in the seventh implementation manner of the seventh aspect of the embodiment of the present invention, the receiving unit includes: a sixth receiving subunit, configured to receive, by a receiving device, the status report; the second identification comprises a maximum second sequence number of a data packet received by the receiving device; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment;
the second determination unit includes:
a first determining subunit, configured to determine, according to the maximum second sequence number of the data packet, a maximum first sequence number of the data packet that is successfully sent by the WLAN access device to a receiving device; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment;
a second determining subunit, configured to calculate, according to a first sequence number of a data packet successfully sent by the WLAN access device to a receiving device, a period in which the sending device receives the status report through the receiving device, and a size of a data packet that has been sent by the sending device to the WLAN access device, a rate at which the WLAN access device sends the data packet to the receiving device;
and the third determining subunit is configured to determine, according to a rate at which the WLAN access device sends data to the receiving device, a size of data sent to the WLAN access device.
An eighth aspect of the present invention provides a WLAN access device, including:
a determining unit, configured to determine a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet, and the sequence number includes a sequence number that can be recognized by the WLAN access device;
a first sending unit, configured to send a status report to the sending device, where the status report includes the number of the missing data packets and the first identifier of the missing data packet, so that the sending device determines the missing data packet according to the number of the missing data packets and the first identifier of the missing data packet, and causes the sending device to retransmit the missing data packet.
With reference to the eighth aspect of the present embodiment, in a first implementation manner of the eighth aspect of the present embodiment, the sequence number of the lost data packet includes a first sequence number of the lost data packet, and the first sequence number of the lost data packet includes a sequence number that is lost when the WLAN access device performs sequencing on the first sequence number of the received data packet to confirm; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the WLAN access device further comprises:
a first receiving unit, configured to receive a retransmission of a missing data packet including the first sequence number by the sending device;
a second sending unit, configured to send the missing data packet to the receiving device.
With reference to the eighth aspect of the present embodiment, in a second implementation manner of the eighth aspect of the present embodiment, the sequence number of the missing data packet includes a first sequence number of the missing data packet, the first sequence number of the missing data packet includes a sequence number determined by the WLAN access device according to a first mapping relationship, and the first mapping relationship includes a mapping relationship between a first sequence number and a data packet, where the first sequence number is analyzed and stored by the WLAN access device for the data packet that includes the first sequence number and is received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still fails to receive a confirmation message when the number of retransmission times exceeds a preset number; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the WLAN access device further comprises:
a second receiving unit, configured to receive a retransmission of the missing data packet including the first sequence number by the sending device;
a third sending unit, configured to send the missing data packet to the receiving device.
With reference to the eighth aspect of the present invention, the first implementation manner of the eighth aspect, and the second implementation manner of the eighth aspect, in a third implementation manner of the eighth aspect of the present invention, the status report further includes a second identifier, where the second identifier is used to indicate a data size requested by the WLAN access device and a maximum sequence number of a data packet of an acknowledgement message sent by a receiving device and received by the WLAN access device;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device;
the WLAN access device further comprises:
a third receiving unit, configured to receive a new data packet that is determined by the sending device according to the second identifier and is sent to the WLAN access device;
and the fourth sending unit is used for sending the new data packet to the receiving equipment.
A ninth aspect of an embodiment of the present invention provides a receiving apparatus, including:
a determining unit, configured to determine a first identifier of a lost data packet, where the first identifier of the lost data packet includes a second sequence number of the lost data packet, and the second sequence number includes a sequence number that the receiving device sorts the second sequence number of the received data packet to confirm that the second sequence number is lost; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment; the lost data packet is a data packet lost when the sending equipment sends the data packet to the receiving equipment, or a data packet lost when the WLAN access equipment sends the data packet to the receiving equipment;
and the sending unit is used for sending a status report to the sending equipment, wherein the status report comprises the first identifier of the lost data packet and the number of the lost data packets, so that the sending equipment determines the lost data packet according to the first identifier of the lost data packet and the number of the lost data packets, and retransmits the lost data packet.
With reference to the ninth aspect of the present embodiment, in a first implementation manner of the ninth aspect of the present embodiment, the receiving device further includes:
a receiving unit configured to receive a retransmission of the missing data packet containing the second sequence number by the transmitting device over a cellular communication link; or,
and receiving the lost data packet which is retransmitted by the WLAN access equipment and contains the second sequence number.
With reference to the ninth aspect of the present invention or the first implementation manner of the ninth aspect, in a second implementation manner of the ninth aspect of the present invention, the sending unit includes: the sending subunit is configured to send a status report to the sending device according to a preset period; the status report further includes a second identifier, where the second identifier includes a maximum second sequence number of the data packets received by the receiving device, so that the transmitting device determines, according to the second identifier, a number of data packets to transmit to the WLAN access device.
A tenth aspect of the embodiments of the present invention provides a transmission device, including:
a receiving unit, configured to receive a status report, where the status report includes a packet identifier, and the packet identifier is used to indicate a sequence number of a largest packet received by a receiving device;
a determining unit, configured to determine, according to the data packet identifier, a size of data to be sent to a WLAN access device, and then determine, according to the size, a number of data packets to be sent to the WLAN access device by the sending device;
and a sending unit, configured to send a new data packet to the WLAN access device according to the determined number.
With reference to the tenth aspect of the embodiment of the present invention, in a first implementation manner of the tenth aspect of the embodiment of the present invention, the receiving unit includes: a first receiving subunit, configured to receive the status report through a WLAN access device; the data packet identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of the data packet of the acknowledgement message sent by the receiving equipment and received by the WLAN access equipment;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device.
With reference to the tenth aspect of the embodiment of the present invention, in a second implementation manner of the tenth aspect of the embodiment of the present invention, the receiving unit includes: a second receiving subunit, configured to receive, by a receiving device, the status report; the data packet identifier comprises a maximum second sequence number of a data packet received by the receiving device, wherein the second sequence number comprises a sequence number which can be identified by both the sending device and the receiving device;
the determination unit includes:
a first determining subunit, configured to determine, according to the maximum second sequence number of the data packet, a maximum first sequence number of the data packet that is successfully sent by the WLAN access device to a receiving device; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment;
a second determining subunit, configured to calculate, according to a first sequence number of a data packet successfully sent by the WLAN access device to a receiving device, a period in which the sending device receives the status report through the receiving device, and a size of a data packet that has been sent by the sending device to the WLAN access device, a rate at which the WLAN access device sends data to the receiving device;
and the third determining subunit is configured to determine, according to a rate at which the WLAN access device sends data to the receiving device, a size of data sent to the WLAN access device.
An eleventh aspect of the present invention provides a WLAN access device, including:
a first sending unit, configured to send a status report to a sending device, where the status report includes a packet identifier, and the packet identifier is used to indicate a data size requested by the WLAN access device and a maximum sequence number of a packet of an acknowledgement message sent by a receiving device and received by the WLAN access device;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device; enabling the sending equipment to determine the number of data packets sent to the WLAN access equipment according to the data packet identification, and enabling the sending equipment to send new data packets to the WLAN access equipment according to the determined number;
a receiving unit, configured to receive, by the WLAN access device, a new data packet that is determined by the sending device according to the data packet identifier and is sent to the WLAN access device;
and the second sending unit is used for sending the new data packet to the receiving equipment.
A twelfth aspect of an embodiment of the present invention provides a receiving apparatus, including;
the sending unit is configured to send a status report to a sending device according to a preset period, where the status report includes a packet identifier, the packet identifier includes a maximum second sequence number of a packet received by the receiving device, and the second sequence number includes a sequence number that can be recognized by both the sending device and the receiving device, so that the sending device determines, according to the packet identifier, the number of packets to be sent to the WLAN access device.
A thirteenth aspect of an embodiment of the present invention provides a communication system, including;
any transmitting device as described in the seventh aspect above, any WLAN access device as described in the eighth aspect above, and any receiving device as described in the ninth aspect above.
A fourteenth aspect of an embodiment of the present invention provides a communication system, including:
a transmitting device according to any one of the tenth aspect, a WLAN access device according to the eleventh aspect, and a receiving device according to the twelfth aspect.
The invention includes a data transmission method for improving the performance of network transmission, which comprises the following steps: the sending equipment receives a status report, wherein the status report comprises a first identifier of a lost data packet and the number of the lost data packets; the first identification of the lost data packet comprises a sequence number of the lost data packet, wherein the sequence number comprises a sequence number which can be identified by the WLAN access equipment; the sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets; the transmitting device retransmits the missing data packet. In this way, the serial number of the data packet is a serial number that can be identified by the WLAN access device, so that the WLAN access device can analyze the serial number of the received data packet after receiving the data packet sent by the sending device, thereby determining the serial number of the lost data packet and the number of the lost data packets between the sending device and the WLAN access device; and the WLAN access equipment feeds back the sequence number of the lost data packets and the number of the lost data packets to the sending equipment. When receiving the serial number containing the lost data packet and the number of the lost data packets, the sending equipment determines the corresponding lost data packet and then retransmits the lost data packet, thereby reducing the packet loss rate of the data packet and improving the transmission performance of the network.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a multi-stream aggregation MSA network architecture in which a wireless cellular communication link and a wireless local area network communication link are merged in the background art;
FIG. 2 is a diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 3 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 4 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 5 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 6 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 7 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 8 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 9 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 10 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 11 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 12 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 13 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 14 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 15 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 16 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 17 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 18 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 19 is another diagram illustrating a data transmission method according to an embodiment of the present invention;
FIG. 20 is a schematic diagram of a transmitting device in an embodiment of the invention;
fig. 21 is another schematic diagram of a transmitting device in an embodiment of the invention;
fig. 22 is another schematic diagram of a transmitting device in an embodiment of the invention;
fig. 23 is another schematic diagram of a transmitting device in an embodiment of the invention;
fig. 24 is a schematic diagram of a WLAN access device in an embodiment of the present invention;
fig. 25 is another schematic diagram of a WLAN access device in an embodiment of the present invention;
fig. 26 is another schematic diagram of a WLAN access device in an embodiment of the present invention;
fig. 27 is a schematic diagram of a receiving apparatus in an embodiment of the present invention;
fig. 28 is another schematic diagram of a receiving apparatus in an embodiment of the invention;
fig. 29 is another schematic diagram of a receiving apparatus in an embodiment of the invention;
fig. 30 is another schematic diagram of a transmitting device in an embodiment of the invention;
fig. 31 is another schematic diagram of a transmitting device in an embodiment of the invention;
fig. 32 is another schematic diagram of a WLAN access device in an embodiment of the invention;
fig. 33 is another schematic diagram of a transmitting device in an embodiment of the invention;
fig. 34 is another schematic diagram of a WLAN access device in an embodiment of the invention;
fig. 35 is another schematic diagram of a receiving apparatus in an embodiment of the invention;
fig. 36 is a schematic diagram of a specific application scenario of the data transmission method in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
In an MSA network architecture, as shown in fig. 1. Taking an eNB (evolved Node B) as a base station and a UE (User Equipment) as a terminal, for example, the downlink data transmitted to the UE by the eNB may include a first part of downlink data and a second part of downlink data. The eNB shunts the first part of downlink data to the WLAN AC or AP, and then sends the first part of downlink data to the UE through the WLAN AP; the second part of downlink data is directly sent to the UE by the eNB through the wireless cellular network, so that the transmission capability of the wireless cellular network and the transmission capability of the WLAN can be simultaneously utilized, and the higher downlink peak transmission rate of the UE can be realized. For uplink data transmitted by the UE to the eNB, the uplink data may include a first portion of uplink data and a second portion of uplink data. The UE shunts the first part of uplink data to the WLAN AP and then sends the first part of uplink data to the eNB through the WLAN AC or the AP; the second part of uplink data is directly sent to the eNB by the UE through the wireless cellular network, so that the transmission capability of the wireless cellular network and the transmission capability of the WLAN network can be simultaneously utilized, and the higher uplink peak transmission rate of the UE can be realized. Taking the connection of the eNB and the WLAN AP as an example, in the downlink direction, the eNB may shunt Data in a PDCP (Packet Data Convergence Protocol) layer, that is, distribute a first portion of PDCP PDUs (Packet Data Convergence Protocol Data units) to the WLAN AP and send the packets to the UE through the WLAN network; the eNB transfers the second PDCP PDU to a lower RLC layer, and sends the second PDCP PDU to the UE through an LTE (Long Term Evolution) network. After the first part of PDCP PDU reaches the WLAN AP, the WLAN AP sends the first part of PDCP PDU to the UE through a WLAN communication mode according to the corresponding indication, reaches a WLAN module in the UE and finally uploads the first part of PDCP PDU to a PDCP layer of the UE; the second part PDCP PDU reaches an LTE module of the UE through a cellular network and is converged with the first part PDCP PDU at a PDCP layer. And the two parts of PDCP PDUs reach a PDCP layer of the UE, are sequenced and are finally uploaded to an upper layer application in sequence. In the uplink direction, the UE may shunt data on the PDCP layer, distribute a first PDCP PDU to a WLAN module in the UE, and send the first PDCP PDU to the WLAN AP in a WLAN communication manner, and after receiving the first PDCP PDU, the WLAN AP transmits the first PDCP PDU to the eNB according to a corresponding indication; and transferring the second part of PDCP PDU to a lower layer RLC, and sending the second part of PDCP PDU to the eNB through the LTE network. The first part of PDCP PDUs are transmitted to a PDCP layer of the eNB through a logic interface between the WLAN AP and the eNB, the second part of PDCP PDUs reach the PDCP layer of the eNB through an LTE network, the two parts of PDCP PDUs are converged at the PDCP layer, and the PDCP layer sequences the PDCP PDUs and then uploads the PDCP PDUs to an upper layer in sequence.
An embodiment of the present invention discloses a data transmission method and an apparatus thereof, and a detailed description is given below with reference to fig. 2 for an embodiment of the data transmission method provided by the present invention.
In the embodiment of the invention, the data transmission method comprises the following steps:
101. the sending equipment receives a status report, wherein the status report comprises a first identifier of a lost data packet and the number of the lost data packets; the first identification of the missing data packet comprises a sequence number of the missing data packet; the first identification of the lost data packet comprises a sequence number of the lost data packet, wherein the sequence number comprises a sequence number which can be identified by the WLAN access equipment;
in an LTE network, the identifier of a data packet is identifiable between a sending device and a receiving device, so that if the sending device directly sends the data packet to a WLAN access device, the WLAN access device can only receive or send the data packet, but cannot identify or analyze the data packet, and meanwhile, the identifier of the data packet sent to the WLAN access device by the sending device is not necessarily continuous or regular, and therefore, even if the WLAN access device can read the identifier of the data packet, the WLAN access device cannot determine whether the data packet is lost according to the identifier. In the invention, the serial number is a serial number that can be identified by the WLAN access device, so that when the WLAN access device receives a data packet sent by the sending device, the data packet can be identified, and the serial number of the data packet is processed, thereby determining the serial number of a lost data packet, and sending the number of the lost data packet and the serial number of the lost data packet to the sending device.
And the sending equipment and the WLAN access equipment establish a signaling link for the WLAN access equipment to feed back a status report, wherein the status report comprises the sequence number of the lost data packet, so that the sending equipment determines the lost data packet after receiving the sequence number of the lost data packet and retransmits the lost data packet.
102. The sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets;
after receiving the first identifier of the missing data packet, that is, the sequence number of the missing data packet, the sending device can determine the missing data packet corresponding to the sequence number of the missing data packet.
103. The transmitting device retransmits the missing data packet;
after determining the lost data packet, the transmitting device retransmits the lost data packet, thereby reducing the packet loss rate of the data packet.
In the embodiment of the invention, the serial number of the data packet is the serial number which can be identified by the WLAN access equipment, so that the WLAN access equipment can analyze the serial number of the received data packet after receiving the data packet sent by the sending equipment, and the serial number of the lost data packet between the sending equipment and the WLAN access equipment can be determined; the WLAN access equipment feeds back the sequence number of the lost data packet to the sending equipment. When receiving the serial number containing the lost data packet, the sending device determines the corresponding lost data packet, and then retransmits the lost data packet, thereby reducing the packet loss rate of the data packet and improving the transmission performance of the network.
In practical applications, the sending device receives the first identifier of the missing data packet through the WLAN access device, where the first is that the sending device loses a data packet when sending the data packet to the WLAN access device; the second is that the WLAN access device loses the data packet when forwarding the data packet to the receiving device. To specifically describe the first case, referring to fig. 3, another embodiment of the data transmission method in the embodiment of the present invention includes:
201. the sending equipment receives the number of the lost data packets and a first sequence number of the lost data packets through Wireless Local Area Network (WLAN) access equipment, wherein the first sequence number of the lost data packets comprises a sequence number which is sequenced by the WLAN access equipment to confirm the loss of the received first sequence number of the data packets; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
because WLAN and LTE are completely different network systems, after a sending device sends a data packet to a WLAN access device, the WLAN access device may not be able to analyze the data packet, and although this current situation does not affect the WLAN access device to forward the data packet to the sending device, the WLAN end cannot feed back the sending condition of the received data packet to the sending device at this time. In the invention, the sending device sets a first serial number which can be identified by the WLAN access device to the data packet, and the first serial number can be realized by relying on a GTP-U protocol or a CAPWAP, 802.3, IP and other protocols. The following is an example of GTP-U:
in practical application, in a downlink direction, the transmitting device includes an eNB, the receiving device includes a UE, and the WLAN access device includes a WLAN AP, or a WLAN AC, or an adaptation layer between a WLAN side and an LTE side, or a logical node between the WLAN side and the LTE side; in the uplink direction, the transmitting device comprises a UE, the receiving device comprises an eNB, and the WLAN access device comprises a WLAN module in the UE. The sending device encapsulates a Packet Data protocol Data Unit (PDCP PDU) to be sent into a Data Packet, and allocates a continuous independent first sequence number to the Data Packet. In the embodiment of the present invention, a downlink direction is taken as an example, where a WLAN access device includes a WLAN AP, the first sequence number may be written in a GTP-U extension header, and after receiving the data packet, the WLAN AP can read the first sequence number of the data packet and solve a payload of the data packet, that is, the PDCP PDU, and then send the PDCP PDU to a WLAN module of a UE through a WLAN transmission method.
The occurrence of Packet loss between the sending device and the WLAN access device may be determined by the first sequence number, for example, the sending device encapsulates PDUs with PDCP SNs (Packet Data Convergence Protocol sequence number) of 3, 4, 7, and 8 in the LTE network system and sends the encapsulated PDUs to the WLAN access device, where the specific encapsulation manner is not limited, and each PDCP PDU may be encapsulated into one Data Packet, or a plurality of PDCP PDUs may be encapsulated into one Data Packet, or one PDCP PDU may be encapsulated into a plurality of Data packets. In this embodiment, each PDCP PDU is encapsulated into one data packet, and at this time, four data packets are obtained after encapsulation, and the four data packets are respectively assigned first sequence numbers 1, 2, 3, and 4. The WLAN access equipment receives data packets with first sequence numbers of 1, 2 and 4, and when the data packet with the first sequence number of 4 is received, the data packet with the first sequence number of 3 can be determined to be lost if the data packet with the first sequence number of 4 is found to be discontinuous with the previously received data packet 2. Preferably, when the WLAN access device receives the data packet with the first sequence number 4 but does not receive the data packet with the first sequence number 3, the WLAN access device may also start the sequencing timer, and after the timer expires, it determines that the data packet with the first sequence number 3 is lost. And after the WLAN access equipment confirms that the data packet with the first sequence number of 3 is lost, the WLAN access equipment feeds back and informs the sending equipment in a next state report to request to retransmit the data packet with the first sequence number of 3. It should be noted that, in network transmission, a start flag is added to the first packet and an end flag is added to the last packet in transmission of a segment of packet, so in this embodiment of the present invention, if a lost packet is the first or the last packet, the WLAN access device can also recognize the lost packet.
It should be noted that the status report should also include the number of the lost data packets, so that when receiving the status report, the sending device can accurately analyze the first sequence numbers of all the lost data packets, and further retransmit the lost data packets.
In addition, the implementation manner of the first serial number that may depend on protocols such as CAPWAP, 802.3, IP, etc. is similar to the above-mentioned manner, and details are not described here.
In another implementation manner of the embodiment of the present invention, when the sending device sends a data packet to the WLAN access device, the sending device may also encapsulate the data into an IP packet, perform matching with the receiving device by using an IP address and a related domain, perform bearer mapping, and the like. The header identification field of the IP packet uniquely identifies each packet sent by the host, and its value will be incremented by 1 for each packet sent. After receiving the IP packet after the PDCP PDU plus the IP header, the WLAN access device reads the identification field in the IP header, and uses the identification field as a basis for interaction between the WLAN access device and the sending device, such as the first sequence number described in the above embodiment. The method is similar to that described in the above embodiments, and is not described herein again.
As described above, when the sending device forwards the initial packet PDCP PDU to the WLAN access device, in order to implement some functions, the PDCP PDU is not generally transmitted directly, but in a certain form, that is, an interface between the sending device and the WLAN access device is implemented in a certain protocol, which may be a GTP-U protocol, and then a GTP-U header is added on the basis of the PDCP PDU; or IP protocol, the form of transmitting PDCP PDU is to add an IP header on the basis of PDCP PDU; and the transmission mode can also be GTP-U + IP, and the transmission form of the PDCP PDU is to add a GTP-U head and an IP head on the basis of the PDCP PDU.
202. The sending equipment determines the lost data packets according to the number of the lost data packets and the first sequence number of the lost data packets;
since the transmitting device will maintain the mapping relationship between the data packets and the first identifier, the transmitting device can determine the missing data packets according to the first sequence numbers of the missing data packets.
203. The sending equipment retransmits the lost data packet containing the first sequence number to the WLAN access equipment; or, the sending device sends the determined missing data packet to the receiving device over a cellular communication link;
after the sending device determines the missing data packet, the sending device may retransmit the missing data packet containing the first sequence number to the WLAN access device, and then the WLAN access device forwards the missing data packet to the receiving device; the determined missing data packet may also be transmitted to the receiving device over a cellular communication link. The specific selection of which retransmission method is to be used can be determined by the transmitting device according to the transmission state and the stable condition of the actual link.
In the embodiment of the invention, when the data packet loss occurs between the sending equipment and the WLAN access equipment, the WLAN access equipment sequences the first serial number of the received data packet, determines the lost data packet, and feeds back the first serial number of the lost data packet to the sending equipment; if the sending device sends the determined lost data packet to the receiving device through the LTE link, the LTE network has the characteristic of strong stability compared with the WLAN network, so that the stability of network transmission is improved, and the quality of network transmission is improved.
The foregoing embodiment describes processing a case where a packet loss occurs in transmission between the sending device and the WLAN access device, and details processing a case where a packet loss occurs in transmission between the WLAN access device and the receiving device are described below, and referring to fig. 4, another embodiment of a data transmission method in an embodiment of the present invention includes:
301. a sending device receives a first sequence number of a lost data packet through a WLAN access device, wherein the first sequence number of the lost data packet comprises a sequence number determined by the WLAN access device according to a first mapping relation, and the first mapping relation comprises a mapping relation between the first sequence number and a data packet, which is obtained by analyzing and storing the data packet containing the first sequence number and received from the sending device by the WLAN access device; the lost data packet comprises a data packet which is obtained after the WLAN access equipment sends an analyzed data packet to receiving equipment and still fails to receive a confirmation message after exceeding the preset retransmission times; the first sequence number comprises a sequence number which can be identified by the WLAN access equipment and is set by the sending equipment for a data packet needing to be sent; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
packet loss over the air interface between the WLAN access device and the receiving device may be determined by the mechanism of the WLAN. For example, the sending device sequentially allocates first sequence numbers 1, 2, 3, and 4 (where the data packet is a PDCP PDU and the SN is a second sequence number) to data packets with SNs of 3, 4, 7, and 8 in the LTE network, and sends the data packets to the WLAN access device. And the data packet is stored in a cache of the WLAN access equipment after reaching the WLAN access equipment, the WLAN access equipment sequentially takes out the data packet from the cache, analyzes the data packet, and then sends the analyzed data packet, namely the data packet only containing the second serial number, to the receiving equipment according to the specification of the 802.11 protocol. In the process that the WLAN access device sends a data packet to the receiving device, the data packet with the second sequence number of 7 is lost in the sending process, that is, the data packet corresponding to the data packet payload with the first sequence number of 3 is lost, and after the retransmission times of the WLAN access device for the data packet with the second sequence number of 7 reaches the maximum retransmission times, an Acknowledgement message ACK (Acknowledgement character) sent by the receiving device is still not received, and then the WLAN access device discards the data packet with the second sequence number of 7.
Since the WLAN maintains a first mapping relationship, where the first mapping relationship includes a mapping relationship between a first sequence number and a data packet, which is received by the WLAN access device from the sending device and includes the first sequence number, and is stored, that is, the WLAN access device can know that a data packet with a second sequence number of 7 corresponds to a data packet with a first sequence number of 3, the WLAN access device may notify the sending device to request the sending device to retransmit the data packet with the first sequence number of 3 while discarding or after discarding the data packet with the second sequence number of 7.
302. The sending equipment determines the lost data packets according to the number of the lost data packets and the first sequence number of the lost data packets;
the details can be referred to the description of S202.
303. The sending equipment retransmits the lost data packet containing the first sequence number to the WLAN access equipment, and then the lost data packet is sent to the receiving equipment by the WLAN access equipment; or the sequence number of the lost data packet further includes a second sequence number of the lost data packet, the sending device determines the second sequence number of the lost data packet according to a preset mapping relation between the first sequence number and the second sequence number, the second sequence number includes a sequence number which can be identified by both the sending device and the receiving device, and the sending device sends the lost data packet including the second sequence number to the receiving device through the cellular communication link;
after the sending equipment receives the determined lost data packet, the retransmission of the lost data packet comprises two options, one is to directly retransmit the lost data packet containing the first sequence number to the WLAN access equipment through a WLAN link; and the other is that the second sequence number of the lost data packet is determined according to the mapping relation between the first sequence number and the second sequence number, and then the data packet containing the second sequence number is sent to the receiving equipment through the cellular communication link.
In the embodiment of the invention, when the data packet loss occurs between the WLAN access equipment and the receiving equipment, the WLAN access equipment determines the lost data packet, and then feeds back the number of the lost data packet and the first sequence number of the lost data packet to the sending equipment, and the sending equipment retransmits the lost data packet containing the first sequence number to the WLAN access equipment or retransmits the lost data packet containing the second sequence number to the receiving equipment. Therefore, the sending equipment can judge the two transmission links according to the actual situation, and then select the transmission link with high quality to retransmit the lost data packet, so that the transmission efficiency of the network is improved.
In the foregoing embodiment, the sending device receives the status report including the number of the missing data packets and the first identifier of the missing data packets through the WLAN access device, and in practical applications, the sending device may also receive the status report including the number of the missing data packets and the first identifier of the missing data packets through the receiving device, which is specifically described below, with reference to fig. 5, another embodiment of the data transmission method in the embodiment of the present invention includes:
401. the sending equipment receives a status report containing the number of the lost data packets and first identification of the lost data packets through receiving equipment, wherein the first identification of the lost data packets comprises a second serial number of the lost data packets, and the second serial number comprises a serial number which is used for sequencing the second serial number of the received data packets by the receiving equipment to confirm that the second serial number is lost; wherein the second serial number includes a serial number that can be recognized by both the transmitting apparatus and the receiving apparatus,
the second sequence number is a packet sequence number that can be identified by both the transmitting device and the receiving device in the LTE network, and the determining, by the receiving device, of the missing packet specifically includes: for example, the data packet is a PDCP PDU, the second sequence number is a SN, the sending device needs to send PDCP PDUs with SNs of 3, 4, 5, 6, 7, and 8 to the receiving device, and distribute the data packet with SNs of 3, 4, 7, and 8 to the WLAN access device, and after receiving the PDCP PDU, the WLAN access device sends the PDCP PDU with SNs of 3, 4, 7, and 8 to the receiving device; and the transmitting equipment transmits the PDCP PDU with SN 5 and SN 6 to the receiving equipment through the LTE network. The receiving device sequences the SNs of the PDCP PDUs after receiving the PDCP PDUs through the two links, and if a disorder condition is found, for example, after receiving a PDCP PDU with SN 6, a PDCP PDU with SN 8 is received, at this time, a timer is started for the PDCP PDU with SN 7, and after the timer expires, a PDCP PDU with SN 7 is not received, and loss is confirmed. At this time, the receiving device may feed back to the transmitting device to request retransmission of the PDCP PDU with SN 7.
It should be noted that, in the foregoing process, the data packet with the second sequence number of 7 may be lost at an interface between the wLAN access device and the receiving device, or may be lost at an air interface between the wLAN access device and the sending device, and if two data packets are lost on the receiving device, one data packet may be lost at the interface between the wLAN access device and the receiving device, and the other data packet may be lost at the air interface between the wLAN access device and the sending device, and in any case, the method provided in the embodiment of the present invention can be used to implement retransmission.
402. The sending equipment determines the lost data packets according to the number of the lost data packets and the first sequence number of the lost data packets;
the details can be referred to the description of S202.
403. The transmitting device retransmitting the missing data packet containing the second sequence number to the receiving device over a cellular communication link; or the sequence number of the lost data packet further includes a first sequence number of the lost data packet, and the sending device determines the first sequence number of the lost data packet according to a preset mapping relationship between the first sequence number and a second sequence number, where the first sequence number includes a sequence number that can be identified by both the sending device and the WLAN access device; the sending equipment sends the lost data packet containing the first sequence number to the WLAN access equipment;
after receiving the identifier of the determined lost data packet, the sending device retransmits the lost data packet by two options, one is to directly retransmit the lost data packet containing the second sequence number to the receiving device through a cellular communication link; and the other is that the first sequence number of the lost data packet is determined according to the mapping relation between the first sequence number and the second sequence number, the data packet containing the first sequence number is sent to the WLAN access equipment through the WLAN link, and then the data packet is sent to the receiving equipment by the WLAN access equipment.
In the embodiment of the invention, the receiving equipment sequences the second serial numbers of the received data packets, determines the lost data packets, the sending equipment receives the status report containing the first identification of the lost data packets through the receiving equipment, and the sending equipment determines the lost data packets and retransmits the lost data packets. Therefore, the lost data packet is determined by sequencing the second sequence number of the received data packet through the receiving equipment, the overhead of the system is reduced, and the network transmission efficiency is improved.
It should be noted that, in the LTE network in the prior art, the sequence number of the data packet is the second sequence number described in the embodiment of the present invention, which is that the sequence number of the data packet is recognizable by both the sending device and the receiving device, but the WLAN access device cannot recognize the sequence number, so that the first sequence number, which can be received by both the WLAN access device and the sending device, is added to the data packet in the present invention, so that the WLAN access device can recognize the data packet and perform corresponding operations. However, the invention also protects the enhancement of the capability of the WLAN access equipment, so that the WLAN access equipment can identify the second sequence number of the data packet, thereby realizing the operation of analyzing, sequencing and the like of the WLAN access equipment on the received data packet only containing the second sequence number. The specific implementation is similar to the above embodiments, and details are not repeated here.
In the embodiment of the present invention, when the sending device distributes the data packet to the WLAN access device, the buffer space of the WLAN access device, and the sending capability and rate of the WLAN access device need to be considered fully. Particularly, when the WLAN access device is connected to multiple receiving devices simultaneously, due to the fact that competition is intense, the data transmission rate is slow, if the transmitting device estimates the transmission rate and the buffer space of the WLAN access device incorrectly at this time, too many data packets are distributed to the WLAN access device, and the buffer space of the WLAN access device is limited, the buffer of the WLAN access device overflows, and a large number of data packets are discarded; even if the problem of buffer overflow is not involved, when the data packet forwarded by the WLAN access device is too slow, if the sending device continues to send the data packet to the WLAN access device, the delay of the whole transmission will be increased; when the WLAN access device is idle, the transmitting device does not transmit data packets to the WLAN access device, which results in waste of WLAN resources. Obviously, these conditions seriously affect the reliability of the system.
In view of the above problems, the present invention also provides the following solutions. Referring to fig. 6, another embodiment of the method for data transmission in the embodiment of the present invention includes:
501. the sending equipment receives a status report, wherein the status report comprises a first identifier of a lost data packet and the number of the lost data packets; the first identification of the missing data packet comprises a sequence number of the missing data packet; the status report further comprises a second identifier, wherein the second identifier is used for indicating the sequence number of the largest data packet received by the receiving device;
the status report further comprises a second identifier, wherein the second identifier is used for indicating the serial number of the maximum data packet received by the receiving device, and after the sending device obtains the serial number of the maximum data packet received by the receiving device, the situation that the data packet sent by the sending device is received by the receiving device can be known, so that the sending device can intelligently send the subsequent data packet to be sent.
502. The sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets;
the details can be referred to the description of S102.
503. The transmitting device retransmits the missing data packet;
the details can be referred to the description of S103.
504. The sending equipment determines the size of data sent to the WLAN access equipment according to the second identifier, and then determines the number of data packets sent to the WLAN access equipment by the sending equipment according to the size;
since the WLAN network has a fast transmission speed compared to the LTE network, preferably, the sending device can send more data packets through the WLAN network, and after knowing the maximum sequence number of the data packets received by the receiving device, the sending device can determine the number of the data packets that can be sent to the WLAN access device.
505. The sending equipment sends new data packets to the WLAN access equipment according to the determined quantity;
when the sending device determines the number of data packets to be sent to the WLAN access device, a corresponding number of new data packets may be sent to the WLAN access device; when the sending device determines that the number of data packets that can be sent to the WLAN access device is 0, the sending device does not send a new data packet to the WLAN access device, or the sending device sends the new data packet again while waiting for the WLAN access device to receive the new data packet.
In the embodiment of the present invention, the status report further includes a second identifier, where the second identifier is used to indicate a sequence number of a maximum data packet received by the receiving device, the sending device determines, according to the second identifier, a size of data that can be sent to the WLAN access device, and the sending device sends, according to the determined size of the data, a new data packet to the WLAN access device, so that the sending device sends, to the WLAN access device, the number of data packets that can be received by the WLAN access device, and reliability of the system is improved.
In the foregoing embodiment, the second identifier is used to indicate the sequence number of the largest data packet received by the receiving device, and in practical applications, when the sending device receives the status report through the WLAN access device, the second identifier includes the data size requested by the WLAN access device and the first sequence number of the largest data packet of the acknowledgement message sent by the receiving device and received by the WLAN access device, which is described in detail below, with reference to fig. 7, another embodiment of the data transmission method in the embodiment of the present invention includes:
601. the sending equipment receives a status report, wherein the status report comprises a first identifier of a lost data packet and the number of the lost data packets; the first identification of the missing data packet comprises a sequence number of the missing data packet; the status report further comprises a second identifier, wherein the second identifier is used for indicating the sequence number of the largest data packet received by the receiving device; the second identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of a data packet of a confirmation message sent by receiving equipment and received by the WLAN access equipment; the data size requested by the WLAN access equipment comprises any one of the following five types: the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device;
in the LTE network, taking a transmitting device as an eNB and a receiving device as a UE as examples: each UE can establish 8 data bearers at most simultaneously, corresponding to 8 QoS (Quality of Service) requirements, and at the WLAN side, there are only four QoS classes corresponding to four Access categories, AC (Access Category), including BK (Background), BE (Best Effort), VI (Video), and VO (Voice), so that the bearers need to BE mapped to the Access categories. In the WLAN AP, a cache space is opened up for each UE, and the cache space corresponding to each UE is logically divided into four parts corresponding to four types of access types. The WLAN module inside the UE correspondingly divides the buffer space into four parts, corresponding to four types of access types.
In the embodiment of the present invention, the WLAN access device feeds back the minimum data size requested by the WLAN access device for the receiving device to the sending device, so that the sending device must send data, which is not less than the minimum requested data size, to the WLAN access device for the access device, thereby avoiding waste of WLAN resources due to no new data arriving when the WLAN access device is idle; the WLAN access equipment feeds back the data size of the corresponding access type request of the receiving equipment, which is taken as the WLAN access equipment, to the sending equipment, so that the sending equipment can determine to send the data with the corresponding size to the WLAN access equipment according to the data size of the access type request of the receiving equipment, and the overflow caused by sending of too many data packets by the sending equipment is avoided; the WLAN access equipment feeds back the data size of the corresponding bearing request of the WLAN access equipment as the receiving equipment to the sending equipment, so that the sending equipment can send the data with the corresponding size to the WLAN access equipment according to the data size of the bearing request of the receiving equipment, and the overflow of data packets is avoided.
When determining that the data size of the corresponding access type or the corresponding bearer request of the receiving device is smaller than the buffer space size allocated to the access type or the bearer by the WLAN access device, and when the sending device receives the data size of the access type or the bearer request, the data size may be considered as the maximum data size that can be received by the access type or the bearer, that is, the data size sent by the sending device according to the request should be smaller than or equal to the data size of the request, thereby achieving the purpose of avoiding buffer overflow. Taking the receiving device as the UE as an example, since each UE may have at most 8 data bearers and only 4 access types, it is possible to map multiple bearers to the same access type. For example, if 2 data bearers are mapped to the same access type, if the WLAN access device feeds back the data size requested by the corresponding access type of the receiving device, since the sending device can know the mapping relationship between the data bearers and the access types, after receiving the data size requested by the corresponding type of the receiving device, the sending device can make a decision to send the corresponding data sizes for the 2 data bearers respectively, and the sum of the corresponding data sizes sent for the 2 data bearers should be smaller than the data size of the access type, that is, the sending device determines the data size sent for each type of bearer at this time; if the WLAN access device feeds back the data size of the corresponding bearer request of the receiving device, the WLAN access device knows the cache information of each type of access type and the mapping relationship between the bearer and the access type, at this time, the WLAN access device may define the cache space size of the 2 data bearers, and determine the size of the data respectively requested to be received for the 2 data bearers, that is, the WLAN access device determines the data size requested by each type of bearer at this time.
602. The sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets;
the details can be referred to the description of S102.
Optionally, in another implementation manner, the sending device determines the missing data packet according to the number of the missing data packets and the first sequence number of the missing data packet;
the details can be referred to the description of S202.
603. The transmitting device retransmits the missing data packet;
the details can be referred to the description of S103.
Optionally, in another implementation, the sending device retransmits the missing data packet containing the first sequence number to the WLAN access device; or, the sending device sends the determined missing data packet to the receiving device over a cellular communication link;
the details can be referred to the description of S203.
Optionally, in another implementation, the sending device retransmits the missing data packet containing the first sequence number to the WLAN access device, and then the WLAN access device sends the missing data packet to the receiving device; or the sequence number of the lost data packet further includes a second sequence number of the lost data packet, the sending device determines the second sequence number of the lost data packet according to a preset mapping relation between the first sequence number and the second sequence number, the second sequence number includes a sequence number which can be identified by both the sending device and the receiving device, and the sending device sends the lost data packet including the second sequence number to the receiving device through the cellular communication link;
the details can be referred to the description of S303.
604. The sending equipment determines the size of data sent to the WLAN access equipment according to the second identifier, and then determines the number of data packets sent to the WLAN access equipment by the sending equipment according to the size;
after receiving the data size requested by the WLAN access device and the first sequence number, which is the largest of the data packets of the acknowledgement message sent by the receiving device, received by the WLAN access device, the sending device may also delete the data packets that are smaller than the largest first sequence number and cached before, or remove the mapping relationship between the first sequence number and the second sequence number of the corresponding data packets.
Determining the number of data packets to send to the WLAN access device specifically includes: the sending device calculates the size of data which has been distributed to the WLAN access device but has not received confirmation, and subtracts the size of the data with the size of the data requested by the received WLAN access device, so that the sending device can obtain the size of data which can be newly distributed to the WLAN access device. 605. The sending equipment sends new data packets to the WLAN access equipment according to the determined quantity;
the details can be referred to the description of S505.
In the embodiment of the present invention, the second identifier includes a data size requested by the WLAN access device and a maximum serial number of a data packet of a confirmation message sent by the receiving device and received by the WLAN access device, and the sending device determines, according to the second identifier, the number of data packets that can be sent to the WLAN access device, so that when the sending device sends a data packet to the WLAN access device, the situation that the cache of the WLAN access device overflows due to too many data packets being sent does not occur, and meanwhile, the wireless resource on the WLAN side can be fully utilized.
In the foregoing embodiment, when the sending device receives the status report through the WLAN access device, the second identifier includes a data size requested by the WLAN access device and a maximum sequence number of a data packet of an acknowledgement message sent by the receiving device and received by the WLAN access device, and in practical applications, when the sending device receives the status report through the receiving device, the second identifier includes a maximum second sequence number of a data packet received by the receiving device, which is described in detail below, and as shown in fig. 8, another embodiment of the data transmission method in this embodiment of the present invention includes:
701. the sending equipment receives the status report according to a preset period through receiving equipment, wherein the status report comprises a first identifier of a lost data packet; the status report further comprises a second identifier, the second identifier comprises a maximum second sequence number of the data packet received by the receiving device, and the second sequence number comprises a sequence number which can be recognized by both the sending device and the receiving device;
because each data packet contains a second sequence number, which is a sequence number that can be recognized by both the sending device and the receiving device, the largest second sequence number of the data packets received by the receiving device is the largest second sequence number in the second sequence numbers of the received data packets as feedback information when the receiving device needs to feed back a status report after receiving one or more data packets. Since the sending device sends the data packet and the WLAN access device sends the data packet to the receiving device according to the sequence of the second sequence number, when the sending device receives the maximum second sequence number of the data packet fed back by the receiving device, the state that the receiving device receives the data packet at the moment can be known.
And the receiving equipment feeds back the status report to the sending equipment according to a preset period. The second sequence number is a sequence number that can be recognized by both the transmitting device and the receiving device in the LTE network, for example, a PDCP SN, and the largest second sequence number of the data packet received by the receiving device may be received from the WLAN access device through the WLAN network or received from the transmitting device through the LTE network.
702. The sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets;
the details can be referred to the description of S102.
Optionally, in another implementation manner, the sending device determines the missing data packet according to the number of the missing data packets and the first sequence number of the missing data packet;
details may refer to the description of S402.
703. The transmitting device retransmits the missing data packet;
the details can be referred to the description of S103.
Optionally, in another implementation, the sending device retransmits the missing data packet containing the second sequence number to the receiving device through a cellular communication link; or the sequence number of the lost data packet further includes a first sequence number of the lost data packet, and the sending device determines the first sequence number of the lost data packet according to a preset mapping relationship between the first sequence number and a second sequence number, where the first sequence number includes a sequence number that can be identified by both the sending device and the WLAN access device; the sending equipment sends the lost data packet containing the first sequence number to the WLAN access equipment;
the details can be referred to the description of S403.
704. The transmitting equipment determines the maximum first serial number of the data packet successfully transmitted to the receiving equipment by the WLAN access equipment according to the maximum second serial number of the data packet, wherein the first serial number is the serial number which can be identified by both the transmitting equipment and the WLAN access equipment;
the corresponding relation between the first serial number and the second serial number is prestored in the sending equipment, so that the maximum first serial number corresponding to the maximum second serial number can be obtained. If the data packet with the maximum second sequence number is sent through the LTE network in the cellular communication, the sending device searches for the maximum second sequence number that is only the maximum second sequence number and is sent through the WLAN network, and further obtains the maximum first sequence number corresponding to the maximum second sequence number.
705. The sending equipment calculates the rate of sending the data packets to the receiving equipment by the WLAN access equipment according to a first sequence number of the data packets successfully sent to the receiving equipment by the WLAN access equipment, the period of receiving the status report by the sending equipment through the receiving equipment and the size of the data packets sent to the WLAN access equipment by the sending equipment;
when a first sequence number of a data packet successfully sent to a receiving device by a WLAN access device, a period for the sending device to receive the status report through the receiving device, and a size of a data packet sent to the WLAN access device by the sending device are all determined, the sending device can calculate a rate for the WLAN access device to send the data packet to the receiving device, and the specific calculation method is as follows: the method comprises the steps that the size of a data packet between the maximum first sequence number successfully sent by the WLAN access equipment and the first sequence number last sent to the WLAN access equipment by the sending equipment at the moment is subtracted from the size of a data packet sent to the WLAN access equipment by the sending equipment, namely the size of the data packet successfully sent to the receiving equipment by the WLAN access equipment in a feedback period is obtained, and then the size of the data packet successfully sent to the receiving equipment is divided by the feedback period, so that the rate of sending the data packet to the receiving equipment by the WLAN access equipment is obtained.
706. The sending equipment determines the number of data packets sent to the WLAN access equipment according to the rate of sending the data packets to the receiving equipment by the WLAN access equipment;
the sending device may determine the number of data packets distributed to the WLAN access device according to the rate at which the WLAN access device sends data packets and the size of data packets that the sending device needs to send subsequently.
707. The sending equipment sends new data packets to the WLAN access equipment according to the determined quantity;
the details may refer to the description of S605.
In the embodiment of the present invention, the second identifier includes a maximum second sequence number of the data packet received by the receiving device, and the sending device calculates a rate at which the WLAN access device sends the data packet, and further determines the number of the data packets sent to the WLAN access device.
Referring to fig. 9, another embodiment of the method for data transmission according to the embodiment of the present invention includes:
801. determining, by a WLAN access device, a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet, and the sequence number includes a sequence number that can be recognized by the WLAN access device;
the details can be referred to the description of S101.
802. The WLAN access equipment sends a status report to the sending equipment, wherein the status report comprises the number of the lost data packets and the first identification of the lost data packets, so that the sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets, and the sending equipment retransmits the lost data packets;
the details can be referred to the description of S102 and S103.
Referring to fig. 10, another embodiment of the method for data transmission according to the embodiment of the present invention includes:
901. the WLAN access equipment determines a first identifier of a lost data packet, wherein the first identifier of the lost data packet comprises a sequence number of the lost data packet; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number which is obtained by sequencing the first sequence number of the received data packet by the WLAN access equipment and confirms to be lost; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the details can be referred to the description of S201.
902. The WLAN access equipment sends a status report to the sending equipment, wherein the status report comprises the number of the lost data packets and the first identification of the lost data packets, so that the sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets, and the sending equipment retransmits the lost data packets;
the details can be referred to the description of S802.
903. The WLAN access equipment receives the lost data packet which contains the first sequence number and is retransmitted by the sending equipment;
the details can be referred to the description of S203.
904. The WLAN access equipment sends the lost data packet to the receiving equipment;
when the WLAN access device receives the lost data packet retransmitted by the sending device, the lost data packet may be sent to the receiving device, so as to avoid the loss of the data packet.
Referring to fig. 11, another embodiment of the method for data transmission according to the embodiment of the present invention includes:
1001. the WLAN access equipment determines a first identifier of a lost data packet, wherein the first identifier of the lost data packet comprises a sequence number of the lost data packet; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, the first sequence number of the lost data packet comprises a sequence number determined by the WLAN access device according to a first mapping relation, and the first mapping relation comprises a mapping relation between the first sequence number and a data packet, wherein the first sequence number is analyzed and stored by the WLAN access device for the data packet containing the first sequence number and received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still fails to receive a confirmation message when the number of retransmission times exceeds a preset number; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the details can be referred to the description of S301.
1002. The WLAN access equipment sends a status report to the sending equipment, wherein the status report comprises the number of the lost data packets and the first identification of the lost data packets, so that the sending equipment determines the lost data packets according to the number of the lost data packets and the first identification of the lost data packets, and the sending equipment retransmits the lost data packets;
the details can be referred to the description of S102 and S103.
1003. The WLAN access equipment receives the lost data packet which contains the first sequence number and is retransmitted by the sending equipment;
the details can be referred to the description of S903.
1004. The WLAN access equipment sends the lost data packet to the receiving equipment;
details may refer to the description of S904.
Referring to fig. 12, another embodiment of the method for data transmission according to the embodiment of the present invention includes:
1101. determining, by a WLAN access device, a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet, and the sequence number includes a sequence number that can be recognized by the WLAN access device;
the details can be referred to the description of S101.
Optionally, in another implementation manner, the WLAN access device determines a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number which is obtained by sequencing the first sequence number of the received data packet by the WLAN access equipment and confirms to be lost; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the details can be referred to the description of S201.
Optionally, in another implementation manner, the WLAN access device determines a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, the first sequence number of the lost data packet comprises a sequence number determined by the WLAN access device according to a first mapping relation, and the first mapping relation comprises a mapping relation between the first sequence number and a data packet, wherein the first sequence number is analyzed and stored by the WLAN access device for the data packet containing the first sequence number and received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still fails to receive a confirmation message when the number of retransmission times exceeds a preset number; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the details can be referred to the description of S301.
1102. The WLAN access equipment sends a status report to the sending equipment, wherein the status report comprises the number of the lost data packets and the first identification of the lost data packets; the status report further comprises a second identifier, wherein the second identifier is used for indicating the data size requested by the WLAN access device and the maximum sequence number of a data packet of an acknowledgement message sent by a receiving device and received by the WLAN access device; wherein, the data size requested by the WLAN access device includes any one of the following five types: the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device;
the details can be referred to the description of S601.
1103. The WLAN access equipment receives the lost data packet which contains the first sequence number and is retransmitted by the sending equipment;
the details can be referred to the description of S903.
1104. The WLAN access equipment sends the lost data packet to the receiving equipment;
details may refer to the description of S904.
1105. The WLAN access equipment receives a new data packet which is determined by the sending equipment according to the second identifier and is sent to the WLAN access equipment;
the details can be referred to the description of S604.
1106. The WLAN access equipment sends the new data packet to receiving equipment;
when the WLAN access device receives a new data packet sent by the sending device, the WLAN access device may forward the new data packet to a receiving device.
Referring to fig. 13, another embodiment of the method for data transmission in the embodiment of the present invention includes:
1201. the method comprises the steps that receiving equipment determines a first identifier of a lost data packet, wherein the first identifier of the lost data packet comprises a second sequence number of the lost data packet, and the second sequence number comprises a sequence number which is sequenced by the receiving equipment to confirm that the second sequence number of the received data packet is lost; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment; the lost data packet is a data packet lost when the sending equipment sends the data packet to the receiving equipment, or a data packet lost when the WLAN access equipment sends the data packet to the receiving equipment;
the details can be referred to the description of S401.
1202. The receiving equipment sends a status report to the sending equipment, wherein the status report comprises the first identification of the lost data packets and the number of the lost data packets, so that the sending equipment determines the lost data packets according to the first identification of the lost data packets and the number of the lost data packets and retransmits the lost data packets;
the details can be referred to the description of S402 and S403.
Referring to fig. 14, another embodiment of the method for data transmission in the embodiment of the present invention includes:
1301. the method comprises the steps that receiving equipment determines a first identifier of a lost data packet, wherein the first identifier of the lost data packet comprises a second sequence number of the lost data packet, and the second sequence number comprises a sequence number which is sequenced by the receiving equipment to confirm that the second sequence number of the received data packet is lost; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment; the lost data packet is a data packet lost when the sending equipment sends the data packet to the receiving equipment, or a data packet lost when the WLAN access equipment sends the data packet to the receiving equipment;
the details can be referred to the description of S1201.
1302. The receiving equipment sends a status report to the sending equipment, wherein the status report comprises the first identification of the lost data packets and the number of the lost data packets, so that the sending equipment determines the lost data packets according to the first identification of the lost data packets and the number of the lost data packets and retransmits the lost data packets; the status report further comprises a second identifier, wherein the second identifier comprises a maximum second sequence number of the data packets received by the receiving device, so that the sending device determines the number of the data packets sent to the WLAN access device according to the second identifier;
the details can be referred to the description of S701.
1303. The receiving device receiving the missing data packet containing the second sequence number retransmitted by the sending device through a cellular communication link; or, the receiving device receives the lost data packet containing the second sequence number retransmitted by the WLAN access device;
the details can be referred to the description of S403.
Referring to fig. 15, another embodiment of the method for data transmission according to the embodiment of the present invention includes:
1401. the sending equipment receives a status report, wherein the status report comprises a data packet identifier, and the data packet identifier is used for indicating the sequence number of the maximum data packet received by the receiving equipment;
the status report comprises a data packet identifier, wherein the data packet identifier is used for indicating the serial number of the maximum data packet received by the receiving equipment, and after the transmitting equipment obtains the serial number of the maximum data packet received by the receiving equipment, the condition that the data packet transmitted by the transmitting equipment is received by the receiving equipment can be known, so that the transmitting equipment can intelligently transmit the subsequent data packet to be transmitted.
1402. The sending equipment determines the size of data sent to WLAN access equipment according to the data packet identification, and then determines the number of data packets sent to the WLAN access equipment by the sending equipment according to the size;
details may refer to the description of S504.
1403. The sending equipment sends new data packets to the WLAN access equipment according to the determined quantity;
the details can be referred to the description of S505.
In the embodiment of the invention, the status report comprises a data packet identifier, the data packet identifier is used for indicating the serial number of the maximum data packet received by the receiving equipment, the sending equipment determines the size of data which can be sent to the WLAN access equipment according to the data identifier, and the sending equipment sends a new data packet to the WLAN access equipment according to the determined size of the data, so that the sending equipment sends the number of the data packets which can be received by the WLAN access equipment to the WLAN access equipment, and the reliability of the system is improved.
Referring to fig. 16, another embodiment of the method for data transmission according to the embodiment of the present invention includes:
1501. the sending equipment receives the status report through WLAN access equipment; the data packet identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of the data packet of the acknowledgement message sent by the receiving equipment and received by the WLAN access equipment; wherein, the data size requested by the WLAN access device includes any one of the following five types: the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device;
the details can be referred to the description of S601.
1502. The sending equipment determines the size of data sent to WLAN access equipment according to the data packet identification, and then determines the number of data packets sent to the WLAN access equipment by the sending equipment according to the size;
details may refer to the description of S504.
1503. The sending equipment sends new data packets to the WLAN access equipment according to the determined quantity;
the details can be referred to the description of S505.
Referring to fig. 17, another embodiment of the method for data transmission according to the embodiment of the present invention includes:
1601. the sending device receives the status report through a receiving device; the data packet identifier comprises a maximum second sequence number of a data packet received by the receiving device, wherein the second sequence number comprises a sequence number which can be identified by both the sending device and the receiving device;
the details can be referred to the description of S701.
1602. The transmitting equipment determines the maximum first sequence number of the data packet successfully transmitted to the receiving equipment by the WLAN access equipment according to the maximum second sequence number of the data packet; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment;
details may refer to the description of S704.
1603. The sending equipment calculates the rate of sending data to the receiving equipment by the WLAN access equipment according to a first sequence number of a data packet successfully sent to the receiving equipment by the WLAN access equipment, the period of receiving the status report by the sending equipment through the receiving equipment and the size of the data packet sent to the WLAN access equipment by the sending equipment;
the details can be referred to the description of S705.
1604. The sending equipment determines the number of data packets which can be sent to the WLAN access equipment according to the rate of sending data to the receiving equipment by the WLAN access equipment;
the details can be referred to the description of S706.
1605. The sending equipment sends new data packets to the WLAN access equipment according to the determined quantity;
the details can be referred to the description of S707.
Referring to fig. 18, another embodiment of the method for data transmission in the embodiment of the present invention includes:
1701. the WLAN access equipment sends a status report to sending equipment, wherein the status report comprises a data packet identifier, and the data packet identifier is used for indicating the data size requested by the WLAN access equipment and the maximum sequence number of a data packet of a confirmation message sent by receiving equipment and received by the WLAN access equipment; wherein, the data size requested by the WLAN access device includes any one of the following five types: the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device; enabling the sending equipment to determine the number of data packets sent to the WLAN access equipment according to the data packet identification, and enabling the sending equipment to send new data packets to the WLAN access equipment according to the determined number;
the details can be referred to the description of S601.
1702. The WLAN access equipment receives a new data packet which is determined by the sending equipment according to the data packet identification and is sent to the WLAN access equipment;
the details may refer to the description of S605.
1703. The WLAN access equipment sends the new data packet to receiving equipment;
the details can be referred to the description of S1605.
Referring to fig. 19, another embodiment of the method for data transmission according to the embodiment of the present invention includes:
1901. the method comprises the steps that a receiving device sends a status report to a sending device according to a preset period, wherein the status report comprises a data packet identifier, the data packet identifier comprises a maximum second serial number of a data packet received by the receiving device, and the second serial number comprises serial numbers which can be recognized by the sending device and the receiving device, so that the sending device determines the number of the data packets sent to a WLAN access device according to the data packet identifier;
the details can be referred to the description of S701.
1902. The receiving equipment receives a new data packet sent by the sending equipment; or the sending equipment receives a new data packet forwarded by the WLAN access equipment.
Referring to fig. 20, an embodiment of a sending device in the embodiment of the present invention includes:
a receiving unit 2001, configured to receive a status report, where the status report includes a first identifier of a missing data packet and the number of the missing data packets; the first identification of the lost data packet comprises a sequence number of the lost data packet, wherein the sequence number comprises a sequence number which can be identified by the WLAN access equipment;
the details can be referred to the description of S101.
A first determining unit 2002, configured to determine a missing data packet according to the number of the missing data packets and a first identifier of the missing data packet;
the details can be referred to the description of S102.
A retransmission unit 2003 for retransmitting the lost packet;
the details can be referred to the description of S103.
Referring to fig. 21, another embodiment of the sending device in the embodiment of the present invention includes:
optionally, the receiving unit 2101 includes: a first receiving subunit 21011, configured to receive the status report through a WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number of the lost data packet, which is confirmed by the WLAN access equipment by sequencing the first sequence number of the received data packet; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the details can be referred to the description of S201.
A first determining unit 2102, configured to determine a missing data packet according to the number of the missing data packets and a first identifier of the missing data packet;
the details can be referred to the description of S202.
The retransmission unit 2103 includes:
a first retransmission subunit 21031, configured to retransmit the determined missing data packet containing the first sequence number to the WLAN access device; or transmitting the determined missing data packet to the receiving device over the cellular communication link;
the details can be referred to the description of S203.
Optionally, the receiving unit 2101 includes: a second receiving subunit 21012, where the sending device receives the status report through a WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, the first sequence number of the lost data packet comprises a sequence number determined by the WLAN access device according to a first mapping relation, and the first mapping relation comprises a mapping relation between the first sequence number and a data packet, wherein the first sequence number is analyzed and stored by the WLAN access device for the data packet containing the first sequence number and received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still does not receive a confirmation message after exceeding the preset retransmission times; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the details can be referred to the description of S301.
The retransmission unit 2103 includes:
a second retransmission subunit 21032, configured to retransmit the missing data packet containing the first sequence number to the WLAN access device; or sending the missing data packet containing the second sequence number to a receiving device through a cellular communication link, wherein the sequence number of the missing data packet further includes the second sequence number of the missing data packet, the sending device determines the second sequence number of the missing data packet according to a preset second mapping relation between the first sequence number and the second sequence number, and the second sequence number includes sequence numbers which can be identified by the sending device and the receiving device;
the details can be referred to the description of S303.
Optionally, the receiving unit 2101 includes: a third receiving subunit 21013, configured to receive the status report through a receiving device; the sequence numbers of the lost data packets comprise second sequence numbers of the lost data packets, and the second sequence numbers of the lost data packets comprise sequence numbers of the lost data packets, which are confirmed by the receiving equipment through sequencing the second sequence numbers of the received data packets; the second sequence number comprises a sequence number which can be identified by the sending equipment and the receiving equipment, and the lost data packet is a data packet lost when the sending equipment sends a data packet to the receiving equipment or a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the details can be referred to the description of S401.
The retransmission unit 2103 includes:
a third retransmission subunit 21033 for retransmitting the missing data packet comprising the second sequence number to the receiving device over a cellular communication link; or sending a missing data packet containing the first sequence number to the WLAN access device, where the sequence number of the missing data packet further includes a first sequence number of the missing data packet, and the sending device determines the first sequence number of the missing data packet according to a second mapping relationship between the first sequence number and a second sequence number, where the first sequence number includes sequence numbers that can be recognized by both the sending device and the WLAN access device;
the details can be referred to the description of S403.
Optionally, the receiving unit 2101 includes: a fourth receiving subunit 21014, configured to receive the status report through a WLAN access device; the sequence numbers of the lost data packets comprise a second sequence number of the lost data packets, and the second sequence number of the lost data packets comprises a sequence number which is obtained by the WLAN access equipment by sequencing the second sequence number of the received data packets to confirm that the data packets are lost; the second serial number comprises serial numbers which can be identified by the sending equipment, the receiving equipment and the WLAN access equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
it should be noted that, in the LTE network in the prior art, the sequence number of the data packet is the second sequence number described in the embodiment of the present invention, which is that the sequence number of the data packet is recognizable by both the sending device and the receiving device, but the WLAN access device cannot recognize the sequence number, so that the first sequence number, which can be received by both the WLAN access device and the sending device, is added to the data packet in the present invention, so that the WLAN access device can recognize the data packet and perform corresponding operations. However, the invention also protects the enhancement of the capability of the WLAN access equipment, so that the WLAN access equipment can identify the second sequence number of the data packet, thereby realizing the operation of analyzing, sequencing and the like of the WLAN access equipment on the received data packet only containing the second sequence number. The specific implementation is similar to the above embodiments, and details are not repeated here.
The retransmission unit 2103 includes:
a fourth retransmission subunit 21034, configured to retransmit the determined missing data packet containing the second sequence number to the WLAN access device; or transmitting the determined missing data packet containing the second sequence number to a receiving device over a cellular communication link.
The details can be referred to the description of S203.
Referring to fig. 22, another embodiment of the sending device in the embodiment of the present invention includes:
a receiving unit 2201, configured to receive a status report, where the status report includes a first identifier of a lost data packet and a number of the lost data packets; the first identification of the lost data packet comprises a sequence number of the lost data packet, wherein the sequence number comprises a sequence number which can be identified by the WLAN access equipment; the status report further comprises a second identifier, wherein the second identifier is used for indicating the sequence number of the largest data packet received by the receiving device;
the details can be referred to the description of S501.
A first determining unit 2202, configured to determine a missing data packet according to the number of the missing data packets and the first identifier of the missing data packet;
the details can be referred to the description of S102.
A retransmission unit 2203 for retransmitting the lost packet;
the details can be referred to the description of S103.
The transmission apparatus further includes:
a second determining unit 2204, configured to determine, according to the second identifier, a size of data to be sent to the WLAN access device, and then determine, according to the size of the data, a number of data packets to be sent by the sending device to the WLAN access device;
details may refer to the description of S504.
A sending unit 2205, configured to send a new data packet to the WLAN access device according to the determined number;
the details can be referred to the description of S505.
Referring to fig. 23, another embodiment of the sending device in the embodiment of the present invention includes:
optionally, the receiving unit 2301 includes: a fifth receiving subunit 23015, configured to receive the status report through a WLAN access device; the second identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of a data packet of a confirmation message sent by receiving equipment and received by the WLAN access equipment;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device;
the details can be referred to the description of S601.
Optionally, the receiving unit 2301 includes: a sixth receiving subunit 23016, configured to receive the status report through a receiving device; the second identification comprises a maximum second sequence number of a data packet received by the receiving device; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment;
the details can be referred to the description of S701.
A first determining unit 2302, configured to determine a missing data packet according to the number of the missing data packets and the first identifier of the missing data packet;
the details can be referred to the description of S102.
A retransmission unit 2303 configured to retransmit the lost packet;
the details can be referred to the description of S103.
The second determining unit 2304 includes:
a first determining subunit 23041, configured to determine, according to the largest second sequence number of the data packet, a largest first sequence number of a data packet that is successfully sent by the WLAN access device to a receiving device; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment;
details may refer to the description of S704.
A second determining subunit 23042, configured to calculate, according to a first sequence number of a packet that the WLAN access device successfully sends to a receiving device, a period for the sending device to receive the status report through the receiving device, and a size of a packet that the sending device has sent to the WLAN access device, a rate for the WLAN access device to send a packet to the receiving device;
the details can be referred to the description of S705.
A third determining subunit 23043, configured to determine, according to a rate at which the WLAN access device sends data to the receiving device, a size of data sent to the WLAN access device;
the details can be referred to the description of S706.
Referring to fig. 24, an embodiment of the WLAN access device in the embodiment of the present invention includes:
a determining unit 2401, configured to determine a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet, and the sequence number includes a sequence number that can be recognized by the WLAN access device;
the details can be referred to the description of S801.
A first sending unit 2402, configured to send a status report to the sending device, where the status report includes the number of the missing data packets and the first identifier of the missing data packet, so that the sending device determines the missing data packet according to the number of the missing data packets and the first identifier of the missing data packet, and causes the sending device to retransmit the missing data packet;
the details can be referred to the description of S802.
Referring to fig. 25, another embodiment of the WLAN access device in the embodiment of the present invention includes:
a determining unit 2501, configured to determine a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet, and the sequence number includes a sequence number that can be recognized by the WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number which is obtained by sequencing the first sequence number of the received data packet by the WLAN access equipment and confirms to be lost; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the details can be referred to the description of S901.
A first sending unit 2502, configured to send a status report to the sending device, where the status report includes the number of the missing data packets and the first identifier of the missing data packet, so that the sending device determines the missing data packet according to the number of the missing data packets and the first identifier of the missing data packet, and causes the sending device to retransmit the missing data packet;
the details can be referred to the description of S902.
The WLAN access device further comprises:
a first receiving unit 2503, configured to receive a retransmission of a missing data packet including the first sequence number by the sending device;
the details can be referred to the description of S903.
A second sending unit 2504, configured to send the missing data packet to the receiving device;
details may refer to the description of S904.
Optionally, the sequence number of the missing data packet includes a first sequence number of the missing data packet, the first sequence number of the missing data packet includes a sequence number determined by the WLAN access device according to a first mapping relationship, and the first mapping relationship includes a mapping relationship between the first sequence number and a data packet, where the first sequence number is obtained by the WLAN access device parsing and storing the data packet containing the first sequence number and received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still fails to receive a confirmation message when the number of retransmission times exceeds a preset number; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the details may refer to the description of S1001.
The WLAN access device further comprises:
a second receiving unit 2505, configured to receive a retransmission of a missing data packet containing the first sequence number by the sending device;
the details may refer to the description of S1003.
A third sending unit 2506, configured to send the missing data packet to the receiving device;
the details can be referred to the description of S1004.
Referring to fig. 26, another embodiment of the WLAN access device in the embodiment of the present invention includes:
a determining unit 2601, configured to determine a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet, and the sequence number includes a sequence number that can be recognized by the WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number which is obtained by sequencing the first sequence number of the received data packet by the WLAN access equipment and confirms to be lost; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the details can be referred to the description of S1101.
A first sending unit 2602, configured to send a status report to the sending device, where the status report includes the number of the missing data packets and the first identifier of the missing data packet, so that the sending device determines the missing data packet according to the number of the missing data packets and the first identifier of the missing data packet, and causes the sending device to retransmit the missing data packet; the status report further comprises a second identifier, wherein the second identifier is used for indicating the data size requested by the WLAN access device and the maximum sequence number of a data packet of an acknowledgement message sent by a receiving device and received by the WLAN access device;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device;
the details can be referred to the description of S1102.
The WLAN access device further comprises:
a third receiving unit 2603, configured to receive a new data packet that is determined by the sending device according to the second identifier and sent to the WLAN access device;
the details may refer to the description of S1105.
A fourth sending unit 2604, configured to send the new data packet to a receiving device;
details may refer to the description of S1106.
Referring to fig. 27, an embodiment of a receiving apparatus in the embodiment of the present invention includes:
a determining unit 2701, configured to determine a first identifier of a lost data packet, where the first identifier of the lost data packet includes a second sequence number of the lost data packet, and the second sequence number includes a sequence number that the receiving device sorts the second sequence numbers of the received data packets to confirm that the second sequence numbers are lost; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment; the lost data packet is a data packet lost when the sending equipment sends the data packet to the receiving equipment, or a data packet lost when the WLAN access equipment sends the data packet to the receiving equipment;
the details can be referred to the description of S1201.
A sending unit 2702, configured to send a status report to the sending device, where the status report includes the first identifier of the missing data packet and the number of the missing data packets, so that the sending device determines the missing data packet according to the first identifier of the missing data packet and the number of the missing data packets, and retransmits the missing data packet;
the details can be referred to the description of S1202.
Referring to fig. 28, another embodiment of the receiving apparatus in the embodiment of the present invention includes:
a determining unit 2801, configured to determine a first identifier of a missing data packet, where the first identifier of the missing data packet includes a second sequence number of the missing data packet, and the second sequence number includes a sequence number of a missing data packet that is determined by the receiving device by sorting the second sequence number of the received data packet; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment; the lost data packet is a data packet lost when the sending equipment sends the data packet to the receiving equipment, or a data packet lost when the WLAN access equipment sends the data packet to the receiving equipment;
the details can be referred to the description of S1201.
A sending unit 2802, configured to send a status report to the sending device, where the status report includes the first identifier of the missing data packet and the number of the missing data packets, so that the sending device determines the missing data packet according to the first identifier of the missing data packet and the number of the missing data packets, and retransmits the missing data packet;
for details, reference may be made to the description of S1202
The receiving apparatus further includes:
a receiving unit 2803 configured to receive a retransmission of the missing data packet containing the second sequence number by the transmitting device over a cellular communication link; or,
receiving a lost data packet which is retransmitted by the WLAN access equipment and contains the second sequence number;
the details can be referred to the description of S1303.
Referring to fig. 29, another embodiment of the receiving apparatus in the embodiment of the present invention includes:
a determining unit 2901 configured to determine a first identifier of a missing data packet, where the first identifier of the missing data packet includes a second sequence number of the missing data packet, and the second sequence number includes a sequence number of the missing data packet that is confirmed by the receiving device by ordering the second sequence number of the received data packet; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment; the lost data packet is a data packet lost when the sending equipment sends the data packet to the receiving equipment, or a data packet lost when the WLAN access equipment sends the data packet to the receiving equipment;
for details, refer to the description of S1301
The transmitting unit 2902 includes: a sending subunit 29021, configured to send a status report to the sending device according to a preset period; the status report further comprises a second identifier, wherein the second identifier comprises a maximum second sequence number of the data packets received by the receiving device, so that the sending device determines the number of the data packets sent to the WLAN access device according to the second identifier;
the details can be referred to the description of S1302.
The embodiment of the communication system in the embodiment of the invention comprises:
any of the transmitting devices described in the above embodiments, any of the WLAN access devices described in the above embodiments, and any of the receiving devices described above.
The embodiment of the communication system in the embodiment of the invention comprises:
any one of the transmitting devices described in the following embodiments, any one of the WLAN access devices described in the following embodiments, and any one of the receiving devices described in the following embodiments.
Referring to fig. 30, an embodiment of the sending device in the embodiment of the present invention includes:
a receiving unit 3001, configured to receive a status report, where the status report includes a packet identifier, and the packet identifier is used to indicate a sequence number of a largest packet received by a receiving device;
the details may refer to the description of S1401.
A determining unit 3002, configured to determine, according to the data packet identifier, a size of data to be sent to a WLAN access device, and then determine, according to the size, a number of data packets sent by the sending device to the WLAN access device;
the details may refer to the description of S1402.
A sending unit 3003, configured to send a new data packet to the WLAN access device according to the determined number;
the details can be referred to the description of S1403.
Referring to fig. 31, another embodiment of the receiving apparatus in the embodiment of the present invention includes:
optionally, the receiving unit 3101 includes: a first receiving subunit 31011, configured to receive the status report through the WLAN access device; the data packet identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of the data packet of the acknowledgement message sent by the receiving equipment and received by the WLAN access equipment;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device;
the details can be referred to the description of S1501.
Optionally, the receiving unit 3101 includes: a second receiving subunit 31012, configured to receive the status report by the receiving device; the data packet identifier comprises a maximum second sequence number of a data packet received by the receiving device, wherein the second sequence number comprises a sequence number which can be identified by both the sending device and the receiving device;
the details can be referred to the description of S1601.
The determination unit 3102 includes:
a first determining subunit 31021, configured to determine, according to the maximum second sequence number of the data packet, the maximum first sequence number of the data packet that is successfully sent by the WLAN access device to the receiving device; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment;
the details can be referred to the description of S1602.
A second determining subunit 31022, configured to calculate, according to a first sequence number of a packet that the WLAN access device successfully sends to a receiving device, a period for the sending device to receive the status report through the receiving device, and a size of a packet that the sending device has sent to the WLAN access device, a rate for the WLAN access device to send data to the receiving device;
the details may refer to the description of S1603.
A third determining subunit 31023, configured to determine the number of data packets sent to the WLAN access device according to the rate at which the WLAN access device sends data to the receiving device.
The details can be referred to the description of S1604.
A sending unit 3103, configured to send new data packets to the WLAN access device according to the determined number.
The details can be referred to the description of S1605.
Referring to fig. 32, an embodiment of the WLAN access device in the embodiment of the present invention includes:
a first sending unit 3201, configured to send a status report to a sending device, where the status report includes a packet identifier, and the packet identifier is used to indicate a data size requested by the WLAN access device and a maximum sequence number of a packet of an acknowledgement message sent by a receiving device and received by the WLAN access device;
wherein, the data size requested by the WLAN access device includes any one of the following five types:
the minimum data size requested by the WLAN access device for the receiving device, the data size requested by the WLAN access device for the corresponding access type of the receiving device, the data size requested by the WLAN access device for the corresponding bearer of the receiving device, the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding access type of the receiving device, and the minimum data size requested by the WLAN access device for the receiving device and the data size requested by the WLAN access device for the corresponding bearer of the receiving device; enabling the sending equipment to determine the number of data packets sent to the WLAN access equipment according to the data packet identification, and enabling the sending equipment to send new data packets to the WLAN access equipment according to the determined number;
details may be referred to the description of S1701.
A receiving unit 3202, configured to receive, by the WLAN access device, a new data packet that is determined by the sending device according to the data packet identifier and is sent to the WLAN access device;
details may refer to the description of S1702.
A second sending unit 3203, configured to send the new data packet to a receiving device;
the details may refer to the description of S1703.
An embodiment of a sending device in an embodiment of the present invention includes:
the sending unit is configured to send a status report to a sending device according to a preset period, where the status report includes a packet identifier, the packet identifier includes a maximum second sequence number of a packet received by the receiving device, and the second sequence number includes a sequence number that can be recognized by both the sending device and the receiving device, so that the sending device determines, according to the packet identifier, the number of packets to be sent to the WLAN access device.
The details can be referred to the description of S701.
The transmitting device described in all the above embodiments may be a base station (e.g. eNB) or a terminal (e.g. UE); the WLAN access equipment can be a WLAN module of a WLAN AC and a terminal, and can also be a WLAN module of a WLAN AP and a terminal; the receiving device may be a terminal (e.g., UE) or a base station (e.g., eNB). Further, when the sending device is a base station, the receiving device is a terminal, and the WLAN access device is a WLAN AC and a WLAN module of the terminal, or the WLAN access device is a WLAN AP and a WLAN module of the terminal; when the sending equipment is a terminal, the receiving equipment is a base station, and the WLAN access equipment is a WLAN AC and a WLAN module of the terminal, or the WLAN access equipment is a WLAN AP and a WLAN module of the terminal. And is not particularly limited.
The specific structure of the transmitting device is explained from the perspective of the functional units in the embodiments shown in fig. 20 to 23, and the specific structure of the transmitting device is explained from the perspective of hardware in conjunction with the embodiment shown in fig. 33 as follows:
as shown in fig. 33, the transmission apparatus includes: a transmitter 3301, a receiver 3302, a processor 3303, and a memory 3304.
Alternatively, the transmitter 3301, the receiver 3302, the processor 3303, and the memory 3304 may be connected by a bus (bus), or may be connected by other direct or indirect connections, which is not limited in this embodiment of the invention.
The sending device related to the embodiment of the invention can be a terminal device or a base station. The transmitter and the receiver related to the embodiment of the invention can realize air interface transmission and logic link transmission. Transmitting devices to which embodiments of the invention relate may have more or fewer components than shown in fig. 33, may combine two or more components, or may have different configurations or arrangements of components, each of which may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The receiver 3302, configured to receive a status report, where the status report includes a first identifier of a missing data packet and the number of the missing data packets; the first identification of the lost data packet comprises a sequence number of the lost data packet, wherein the sequence number comprises a sequence number which can be identified by the WLAN access equipment;
the processor 3303, configured to determine a missing data packet according to the number of the missing data packets and the first identifier of the missing data packet;
a transmitter 3301 configured to retransmit the missing data packet.
In another embodiment, the receiver 3302 is further configured to receive the status report via a WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number of the lost data packet, which is confirmed by the WLAN access equipment by sequencing the first sequence number of the received data packet; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the transmitter 3301, further configured to retransmit the determined missing data packet containing the first sequence number to the WLAN access device; or transmitting the determined missing data packet to the receiving device over the cellular communication link.
In another embodiment, the receiver 3302 is further configured to receive the status report via a WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, the first sequence number of the lost data packet comprises a sequence number determined by the WLAN access device according to a first mapping relation, and the first mapping relation comprises a mapping relation between the first sequence number and a data packet, wherein the first sequence number is analyzed and stored by the WLAN access device for the data packet containing the first sequence number and received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still does not receive a confirmation message after exceeding the preset retransmission times; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the transmitter 3301, further configured to retransmit the missing data packet containing the first sequence number to the WLAN access device; or sending the missing data packet containing the second sequence number to a receiving device through a cellular communication link, wherein the sequence number of the missing data packet further includes the second sequence number of the missing data packet, the sending device determines the second sequence number of the missing data packet according to a preset second mapping relation between the first sequence number and the second sequence number, and the second sequence number includes sequence numbers which can be identified by the sending device and the receiving device.
In another embodiment, the receiver 3302 is further configured to receive the status report via a WLAN access device; the sequence number of the lost data packet comprises a first sequence number of the lost data packet, and the first sequence number of the lost data packet comprises a sequence number of the lost data packet, which is confirmed by the WLAN access equipment by sequencing the first sequence number of the received data packet; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment and is added to the data packet by the sending equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the transmitter 3301, further configured to retransmit the determined missing data packet containing the first sequence number to the WLAN access device; or transmitting the determined missing data packet to the receiving device over the cellular communication link.
In another embodiment, the receiver 3302 is further configured to receive the status report via a WLAN access device; the sequence numbers of the lost data packets comprise a second sequence number of the lost data packets, and the second sequence number of the lost data packets comprises a sequence number which is obtained by the WLAN access equipment by sequencing the second sequence number of the received data packets to confirm that the data packets are lost; the second serial number comprises serial numbers which can be identified by the sending equipment, the receiving equipment and the WLAN access equipment; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
the transmitter 3301, further configured to retransmit the determined missing data packet containing the second sequence number to the WLAN access device; or transmitting the determined missing data packet containing the second sequence number to a receiving device over a cellular communication link.
In another embodiment, the status report further comprises a second identifier indicating a sequence number of a largest data packet received by the receiving device; the processor 3303 is further configured to determine, according to the second identifier, a size of data to be sent to the WLAN access device, and then determine, according to the size of the data, a number of data packets to be sent by the sending device to the WLAN access device;
the transmitter 3301 is further configured to transmit a new data packet to the WLAN access device according to the determined number.
In another embodiment, the receiver 3302 is further configured to receive the status report via a WLAN access device; the second identifier comprises the data size requested by the WLAN access equipment and the maximum serial number of a data packet of a confirmation message sent by receiving equipment and received by the WLAN access equipment;
in another embodiment, the receiver 3302 is further configured to receive the status report through a receiving device; the second identification comprises a maximum second sequence number of a data packet received by the receiving device; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment;
the processor 3303, further configured to determine, according to the largest second sequence number of the data packet, a largest first sequence number of a data packet that the WLAN access device successfully sends to a receiving device; the first sequence number comprises a sequence number which can be identified by the sending equipment and the WLAN access equipment;
calculating the rate of sending data packets to the receiving equipment by the WLAN access equipment according to a first sequence number of data packets successfully sent to the receiving equipment by the WLAN access equipment, the period of receiving the status report by the sending equipment through the receiving equipment and the size of the data packets sent to the WLAN access equipment by the sending equipment;
and determining the size of the data sent to the WLAN access equipment according to the rate of sending the data to the receiving equipment by the WLAN access equipment.
The embodiments shown in fig. 24 to fig. 26 describe the specific structure of the WLAN access device from the perspective of functional modules, and the following describes the specific structure of the WLAN access device from the perspective of hardware in conjunction with the embodiment shown in fig. 34:
as shown in fig. 34, the WLAN access device includes: a transmitter 3401, a receiver 3402, a processor 3403, and a memory 3404.
Alternatively, the transmitter 3401, the receiver 3402, the processor 3403 and the memory 3404 may also be connected by a bus, or may also be connected by other direct or indirect connection methods, which is not particularly limited in this embodiment of the present invention.
WLAN access devices to which embodiments of the invention relate may have more or fewer components than shown in fig. 34, may combine two or more components, or may have different configurations or arrangements of components, each of which may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A processor 3403 configured to determine a first identifier of a missing data packet, where the first identifier of the missing data packet includes a sequence number of the missing data packet, and the sequence number includes a sequence number that can be recognized by the WLAN access device;
a transmitter 3401, configured to send a status report to the sending device, where the status report includes the number of the missing data packets and the first identifier of the missing data packet, so that the sending device determines the missing data packet according to the number of the missing data packets and the first identifier of the missing data packet, and causes the sending device to retransmit the missing data packet.
In another embodiment, the sequence numbers of the missing data packets include a first sequence number of the missing data packet, and the first sequence number of the missing data packet includes a sequence number that the WLAN access device orders the first sequence numbers of the received data packets to confirm missing; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the sending equipment sends a data packet to the WLAN access equipment;
a receiver 3402 configured to receive a retransmission of a missing data packet including the first sequence number by the transmitting device;
the transmitter 3401 is further configured to send the missing data packet to the receiving device.
In another embodiment, the sequence number of the missing data packet includes a first sequence number of the missing data packet, the first sequence number of the missing data packet includes a sequence number determined by the WLAN access device according to a first mapping relationship, and the first mapping relationship includes a mapping relationship between the first sequence number and the data packet, where the first mapping relationship is obtained by the WLAN access device parsing and storing the data packet containing the first sequence number received from the sending device; the lost data packet comprises a data packet which is obtained by sending an analyzed data packet to receiving equipment by the WLAN access equipment and still fails to receive a confirmation message when the number of retransmission times exceeds a preset number; the first sequence number comprises a sequence number which is added to a data packet by a sending device and can be identified by the sending device and the WLAN access device; the lost data packet is a data packet lost when the WLAN access equipment sends a data packet to the receiving equipment;
the receiver 3402 is further configured to receive a retransmission of the missing data packet including the first sequence number by the sending device;
the transmitter 3401 is further configured to send the missing data packet to the receiving device.
In another embodiment, the status report further includes a second identifier, where the second identifier is used to indicate the data size requested by the WLAN access device and the maximum sequence number of the data packet received by the WLAN access device from the acknowledgement message sent by the receiving device;
the receiver 3402 is further configured to receive a new data packet that is determined by the sending device according to the second identifier and sent to the WLAN access device;
the transmitter 3401 is further configured to send the new data packet to a receiving device.
The embodiments shown in fig. 27 to 29 explain the specific structure of the receiving device from the perspective of the functional module, and the following describes the specific structure of the receiving device from the perspective of hardware in conjunction with the embodiment shown in fig. 35:
as shown in fig. 35, the reception apparatus includes: a transmitter 3501, a receiver 3502, a processor 3503, and a memory 3504.
Optionally, the transmitter 3501, the receiver 3502, the processor 3503, and the memory 3504 may also be connected by a bus, or may also be connected by other direct or indirect connection methods, which is not particularly limited in this embodiment of the present invention.
The receiving device according to the embodiment of the present invention may be a terminal or a base station, and both the transmitter and the receiver according to the embodiment of the present invention may implement air interface transmission and logical link transmission. Embodiments of the present invention relate to a receiving device having more or fewer components than shown in fig. 35, may combine two or more components, or may have a different configuration or arrangement of components, and each component may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A processor 3503, configured to determine a first identifier of a lost packet, where the first identifier of the lost packet includes a second sequence number of the lost packet, and the second sequence number includes a sequence number of the received packet that is ordered by the receiving device to confirm loss; the second serial number comprises a serial number which can be identified by both the sending equipment and the receiving equipment; the lost data packet is a data packet lost when the sending equipment sends the data packet to the receiving equipment, or a data packet lost when the WLAN access equipment sends the data packet to the receiving equipment;
a transmitter 3501, configured to send a status report to the sending device, where the status report includes the first identifier of the lost data packet and the number of the lost data packets, so that the sending device determines the lost data packet according to the first identifier of the lost data packet and the number of the lost data packets, and retransmits the lost data packet.
In another embodiment, a receiver 3502 for receiving lost data packets containing the second sequence number retransmitted by the sending device through a cellular communication link; or receiving the lost data packet containing the second sequence number retransmitted by the WLAN access equipment.
In another embodiment, the transmitter 3501 is further configured to transmit a status report to the sending device according to a preset period; the status report further includes a second identifier, where the second identifier includes a maximum second sequence number of the data packets received by the receiving device, so that the transmitting device determines, according to the second identifier, a number of data packets to transmit to the WLAN access device.
The following examples are given. In a scenario where LTE and WLAN perform multi-stream convergence, a downlink is used, a sending device is an eNB, a receiving device is a UE, a WLAN access device is a WLAN AP and a WLAN module of the UE, a data packet is a PDCP PDU, a first Sequence Number is an Xw-U SN (Xw User plane Sequence Number ), a second Sequence Number is a PDCP SN, as an example, as shown in fig. 36, and the following description is specifically made:
the PDCP layer of the eNB encapsulates upper layer data into PDCP PDUs, and divides all the PDCP PDUs into two parts according to indexes such as network load, time delay, channel environment and the like. The first part PDCP PDU is sent to a lower layer RLC, and is sent to an LTE module of the UE through an LTE network; the second partial PDCP PDU is sent to the WLAN AP via the WLAN network to the WLAN module of the UE.
The eNB assigns a continuous unique sequence number to each or a plurality of PDCP PDUs, a sequence number Xw-U SN that is recognizable between the WLAN AP and the eNB. The eNB sends the PDCP PDUs with PDCP SNs 1, 2, 3, 4, 5, 6, 7 and 8 to the UE, wherein the eNB directly sends the PDCP PDUs with PDCP SNs 1, 2, 5 and 6 to the UE in an LTE link mode; the eNB allocates Xw-U SN 1, 2, 3, 4 for PDCP PDUs with PDCP SNs 3, 4, 7, 8 and sends to the AP. And storing the Xw-U packet in a cache of the AP after the Xw-U packet reaches the AP, taking out one Xw-U packet from the cache by the AP each time, solving the PDCP PDU, and then transmitting the PDCP PDU to the UE according to the specification of the 802.11 protocol. In the process of transmitting the PDCP PDU to the UE by the AP, the PDCP PDU7 is lost in the transmission process, that is, after the retransmission times of the PDCP PDU7 reaches the maximum retransmission times, the ACK sent by the UE is still not received, and then the AP discards the PDCP PDU 7.
Because the AP keeps the mapping relationship after the PDCP PDU and the Xw-U packet is analyzed, namely the AP can know that the PDCP PDU7 corresponds to the Xw-U packet with the Xw-U SN of 3, the AP can inform the eNB while/after discarding the PDCP PDU7 and request the eNB to retransmit the Xw-U packet with the Xw-U SN of 3. After receiving the retransmitted Xw-U packet, the AP may give priority to transmitting PDCP PDUs corresponding to the Xw-U packet.
The AP may also feed back a corresponding indication to the eNB, where the fed back indication includes D (Desrred, request) and SNmax (Sequence Number max). SNmax represents the maximum Xw-U SN that the AP acknowledges successful transmission to the UE; d represents the data size requested by the AP;
the eNB receives the indication to first do some actions depending on SNmax. The action can be deleting the Xw-U packet buffered before, or clearing the corresponding PDCP PDU and the mapping relation between the stored Xw-U and the PDCP SN. And then deciding how many PDCP PDUs are distributed to the AP according to the D.
Specifically, the eNB can know the data size which has been distributed to the AP but has not received the acknowledgement, and determine the data size which the eNB needs to newly distribute to the AP according to the data size requested by the AP and the data size which the eNB has sent to the AP but has not received the acknowledgement, and then determine a corresponding number of PDCP PDUs according to the data size which needs to be newly distributed to the AP, and distribute the determined PDCP PDUs to the AP.
It is to be understood that the transmitter and the receiver according to the embodiments of the present invention may be two independent devices, or may be a device having functions of a transmitter and a receiver, such as a transceiver.
It should be understood that the descriptions of the first and second steps appearing in the embodiment of the present invention are only for distinguishing different objects, and do not represent a limitation on the execution order or the quality or the number of the described objects, and cannot constitute any limitation on the embodiment of the present invention.
It is clear to those skilled in the art that for convenience and brevity of description, the specific working procedures of the above described apparatus and modules may be described with reference to the corresponding procedures in the foregoing method embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another device, or some features may be omitted, or not executed.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, each of the modules may exist alone physically, or two or more modules are integrated into one module.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer readable medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.