Disclosure of Invention
The embodiment of the invention provides a method and equipment for sending a data packet, which are used for solving the problem of low transmission reliability of the data packet at present.
In a first aspect, a method for sending a data packet provided in an embodiment of the present invention includes:
firstly, a Packet Data Convergence Protocol (PDCP) layer receives a QoS flow sent by a core network; and finally, the PDCP layer transmits the data packet with the first indication mark in the QoS flow.
In the method, the PDCP layer transmits the data packet with the first indication mark in the QoS flow, thereby effectively improving the transmission reliability of the high-reliability data packet.
In a possible implementation manner, after receiving the Qos flow sent by the core network, before transmitting the data packet with the first indicator, the PDCP layer further includes: the PDCP layer adds a second indicator for indicating that the PDCP PDU needs to receive acknowledgement in a PDCP PDU (Protocol Data Unit) carrying the first indicator packet.
In the method, the PDCP layer adds the second indicator for indicating that the PDCP PDU needs to be received and confirmed in the PDCP PDU carrying the first indicator data packet, so that the receiver transmits the PDCP PDU with the second indicator after receiving the second indicator, thereby improving the reliability of data transmission.
In a possible implementation manner, after the PDCP layer transmits the data packet with the first indication flag in the Qos flow, the method further includes: and if the PDCP layer does not receive the status report carrying the indication correct receiving within the preset time, retransmitting the data packet.
In the method, in the process of transmitting the data packet with the first identifier by the PDCP layer, a retransmission mechanism is added, so that the success rate of transmitting the data packet with the first indicator identifier is higher.
In a possible implementation manner, before retransmitting the data packet, if the PDCP layer does not receive a status report carrying an indication of correct reception within a preset time, the method further includes: the PDCP layer determines that a number of retransmissions does not exceed a threshold.
In the method, the PDCP layer sets a threshold of the number of transmissions, and if the PDCP layer does not receive a status report carrying an indication of correct reception within a preset time, and the number of retransmissions does not exceed the threshold, retransmissions are performed.
In a possible implementation manner, after the PDCP layer transmits the data packet with the first indication flag in the Qos flow, the method further includes: and if the PDCP layer determines that the transmission of the transmitted data packet fails, feeding back a third indication identifier for indicating the transmission failure information to the core network.
In the method, after the PDCP layer determines that the transmission of the transmitted data packet fails, a third indication identifier for indicating the transmission failure information is fed back to the core network, so that the core network can better determine the transmission condition of the high-reliability data packet.
In a possible implementation manner, if it is determined that the transmitted data packet fails to be sent, the PDCP layer further includes: the PDCP layer sends a fourth indication mark for indicating a data packet sending sequence number to the core network; the data packet used for indicating is a data packet which fails to be sent.
In the method, the fourth indication identifier for indicating the data packet sending sequence number is added, so that the core network determines the high-reliability data packet with transmission failure according to the third indication identifier and the fourth indication identifier after receiving the third indication identifier and the fourth indication identifier.
In a second aspect, a method for sending a data packet provided in an embodiment of the present invention includes:
firstly, the PDCP layer judges whether the transmission of a data packet in the Qos flow for transmission fails; and finally, after determining that the transmission of the data packet for transmission fails, the PDCP layer feeds back a third indication identifier for transmitting failure information to a core network.
In the method, after the PDCP layer determines that the transmission of the transmitted data packet fails, a third indication identifier for indicating the transmission failure information is fed back to the core network, so that the core network can better determine the transmission condition of the high-reliability data packet.
In a possible implementation manner, after determining that the transmission of the data packet for transmission fails, the PDCP layer further includes: the PDCP layer sends a fourth indication mark for indicating a data packet sending sequence number to a core network; the data packet used for indicating is a data packet which fails to be sent.
In the method, the fourth indication identifier for indicating the data packet sending sequence number is added, so that the core network determines the high-reliability data packet with transmission failure according to the third indication identifier and the fourth indication identifier after receiving the third indication identifier and the fourth indication identifier.
In a third aspect, a method for sending a data packet provided in an embodiment of the present invention includes:
firstly, a core network determines a high-reliability data packet in Qos flow sent to a PDCP layer; then the core network adds a first indicator mark in the high-reliability data packet; and finally, the core network sends the QoS flow to the PDCP layer so that the PDCP layer transmits a data packet with a first indication mark in the QoS flow after receiving the QoS flow.
In the method, when the core network sends the Qos flow to the PDCP layer, the core network determines a high-reliability data packet in the Qos flow sent to the PDCP layer, and then the core network adds a first indication mark to the high-reliability data packet, so that the PDCP layer transmits the data packet with the first indication mark in the Qos flow after receiving the Qos flow, thereby effectively improving the transmission reliability of the high-reliability data packet.
In a possible implementation manner, after receiving the third indication identifier sent by the PDCP layer, the core network determines that there is a high-reliability data packet transmission failure.
In the above method, after receiving the third indication identifier sent by the PDCP layer, the core network determines that the sending of the data packet with high reliability fails, so that the core network can better determine the sending condition of the data packet with high reliability.
In a possible implementation manner, after receiving a fourth indication identifier for indicating a sequence number for sending a data packet, the core network determines that the data packet indicated by the fourth indication identifier fails to be sent.
In the method, the fourth indication identifier for indicating the data packet sending sequence number is added, so that the core network determines the high-reliability data packet with transmission failure according to the third indication identifier and the fourth indication identifier after receiving the third indication identifier and the fourth indication identifier.
In a fourth aspect, a method for sending a data packet provided in an embodiment of the present invention includes:
firstly, a core network receives a third indication identifier sent by a PDCP layer; and finally, the core network determines that the data packet with high reliability fails to be sent according to the received third indication identifier.
In the above method, after receiving the third indication identifier sent by the PDCP layer, the core network determines that the sending of the data packet with high reliability fails, so that the core network can better determine the sending condition of the data packet with high reliability.
In a possible implementation manner, after receiving a fourth indication identifier for indicating a sequence number for sending a data packet, the core network determines that the data packet indicated by the fourth indication identifier fails to be sent.
In the method, the fourth indication identifier for indicating the data packet sending sequence number is added, so that the core network determines the high-reliability data packet with transmission failure according to the third indication identifier and the fourth indication identifier after receiving the third indication identifier and the fourth indication identifier.
In a fifth aspect, an embodiment of the present invention provides an apparatus for sending a data packet, including: a processor and a transceiver:
the processor is used for receiving the Qos flow sent by the core network through the transceiver; and transmitting the data packet with the first indication mark in the Qos flow.
In a sixth aspect, an embodiment of the present invention provides an apparatus for sending a data packet, including: a processor and a transceiver:
the processor is used for judging whether the data packet in the Qos flow for transmission fails to be sent; and after determining that the transmission of the data packet for transmission fails, feeding back a third indication identifier for transmitting failure information to the core network.
In a seventh aspect, an embodiment of the present invention provides a device for distributing quantum keys, including: a processor and a transceiver:
the processor is used for determining a data packet with high reliability in the QoS flow sent to the PDCP layer through the transceiver; adding a first indicator mark in the high-reliability data packet; and sending the QoS flow to the PDCP layer so that the PDCP layer transmits the data packet with the first indication mark in the QoS flow after receiving the QoS flow.
In an eighth aspect, an embodiment of the present invention provides a device for quantum key distribution, including: a processor and a transceiver:
the processor is configured to receive, through the transceiver, a third indication identifier sent by the PDCP layer; and determining that the data packet with high reliability fails to be sent according to the received third indication identifier.
In a ninth aspect, an embodiment of the present invention further provides an apparatus for sending a data packet, where the apparatus includes:
at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the functions of the embodiments of any of the first to fourth aspects.
In a tenth aspect, the present application further provides a computer storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the method of any one of the first to fourth aspects.
In addition, for technical effects brought by any one implementation manner of the fifth aspect to the tenth aspect, reference may be made to technical effects brought by different implementation manners of the first aspect to the fourth aspect, and details are not described here again.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without any creative efforts shall fall within the protection scope of the embodiments of the present invention.
Some of the words that appear in the text are explained below:
(1) in the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
(2) "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
(3) The core network in the embodiment of the invention mainly provides user connection, user management and service completion bearing, and is used as an interface for providing a bearing network to an external network.
(4) The PDCP referred by the embodiment of the invention is a short for packet data convergence protocol.
(5) The "AM" referred to in the embodiments of the present invention mainly refers to a data transmission mode that has a very high requirement for accuracy.
(6) The "UM" referred to in the embodiments of the present invention mainly refers to a general data transmission mode.
(7) The "GTP-U (GPRS tunneling Protocol for the user plane" referred to in the embodiments of the present invention refers to a GPRS (general packet radio service) tunneling Protocol on a user plane.
As shown in fig. 1, an embodiment of the present invention provides a first system for transmitting a data packet, where the system includes:
a PDCP layer 100, configured to receive Qos flow sent by a core network through a transceiver; and transmitting the data packet with the first indication mark in the Qos flow.
A core network 101, configured to determine a high-reliability data packet in Qos flow sent to a PDCP layer through a transceiver; adding a first indicator mark in the high-reliability data packet; and sending the QoS flow to the PDCP layer so that the PDCP layer transmits the data packet with the first indication mark in the QoS flow after receiving the QoS flow.
By the method, when the core network sends the QoS flow to the PDCP layer, the core network determines a high-reliability data packet in the QoS flow sent to the PDCP layer, and then the core network adds a first indication mark in the high-reliability data packet, so that the PDCP layer transmits the data packet with the first indication mark in the QoS flow after receiving the QoS flow, thereby effectively improving the transmission reliability of the high-reliability data packet.
Wherein the high reliability data packet can be transmitted in an AM mode or an UM mode.
The first identifier in the embodiment of the present invention may be stored in different locations, which are listed as follows:
storage position 1: the TNL layer protocol of the core network and the base station transmission network layer is stored.
For example, the header of GTP-U carries HQI (high Quality Indicator) as shown in Table 1.
TABLE 1GTP-U header Format
Storage position 2: may be present in the PDU Session User Plane Protocol (Session User Plane Protocol).
For example, as a GTP-U load, such as HQI in Table 2.
Table 2PDU connect user plane protocol packet structure
In order to ensure that the success rate of transmitting the data packet with the first indication identifier is higher, the embodiment of the invention adds a retransmission mechanism in the process of transmitting the data packet with the first indication identifier by the PDCP layer.
In order to enable the receiving side to determine which data packet needs to be received and confirmed, the embodiment of the invention adds a second indication identifier for indicating that the receiving side needs to be received and confirmed.
Specifically, the PDCP layer adds a second indicator for indicating that the PDCP PDU needs to receive acknowledgement in the PDCP PDU carrying the first indicator packet.
In the embodiment of the present invention, there may be various situations for triggering the PDCP layer to perform retransmission, which are described in detail below.
Retransmission case 1: and if the PDCP layer does not receive the status report carrying the indication correct receiving within the preset time, retransmitting the data packet.
And the PDCP layer sets a threshold, for example, the threshold is 3S, and sends the PDCP PDU carrying the second identifier to the receiver, and starts timing after sending the PDCP PDU.
Wherein, if the receiver correctly receives the PDCP PDU, the receiver sends a status report to inform the sender that the PDCP PDU is correctly received. The receiving side does not transmit the status report if it does not correctly receive the PDCP PDU.
And if the PDCP layer does not receive the status report carrying the indication of correct reception in 3S, the PDCP layer retransmits the data packet.
Retransmission case 2: and if the PDCP layer receives a data packet damage report, retransmitting the data packet.
And the PDCP layer sends a PDCP PDU with a second identifier to a receiver, the receiver correctly receives the PDCP PDU, but confirms that a data packet in the PDCP PDU is damaged, the receiver sends a data packet damage report to the PDCP layer, and if the PDCP layer receives the data packet damage report, the receiver retransmits the data packet.
It should be noted that the retransmission case 1 and the retransmission case 2 may exist simultaneously.
In the embodiment of the present invention, a retransmission time threshold may be set, and when the retransmission time exceeds the threshold, the PDCP layer stops retransmitting the data packet, and it is determined that the data packet is lost.
In the embodiment of the present invention, the retransmission timing may be performed by setting a timer.
In this embodiment of the present invention, the second identifier may be placed in a PDCP PDU header, as shown in FR (feedback request) in table 3 or table 4 below:
...
table 312 bits PDCP SN PDCP data PDU format
...
Table 418 bits PDCP SN PDCP data PDU format
And if the PDCP layer determines that the transmission of the transmitted data packet fails, feeding back a third indication identifier for indicating transmission failure information to the core network.
For example, when the retransmission number exceeds a threshold, the PDCP layer stops retransmitting the data packet, and thus it is determined that the data packet is lost. Then, the PDCP layer feeds back a third indicator indicating transmission failure information to the core network.
In order to identify a data packet that fails to be transmitted, a sequence number corresponding to the data packet when being transmitted needs to be carried.
Specifically, the PDCP layer sends a fourth indication flag indicating a packet send sequence number to the core network.
The data packet used for indicating is a data packet which fails to be sent.
In the embodiment of the present invention, the storage positions of the third identifier and the fourth identifier may be in various situations, which are listed as follows:
storage position 1: the TNL layer protocol of the core network and the base station transmission network layer is stored.
E.g., the header of GTP-U, such as FI and TSN (Transmission Sequence Number) in table 5.
TABLE 5GTP-U header format
Storage position 2: stored in PDU Session User Plane Protocol.
For example, as the load of GTP-U, such as FI and TSN in Table 6.
Table 6PDU connect user plane protocol packet structure
As shown in fig. 2, an embodiment of the present invention provides a second system for sending a data packet, where the system includes: a PDCP layer 200, configured to determine whether a data packet in a Qos flow for transmission fails to be sent; and after determining that the transmission of the data packet for transmission fails, feeding back a third indication identifier for transmitting failure information to the core network.
A core network 201, configured to determine a high-reliability data packet in Qos flow sent to the PDCP layer; adding a first indicator mark in the high-reliability data packet; and sending the QoS flow to the PDCP layer so that the PDCP layer transmits the data packet with the first indication mark in the QoS flow after receiving the QoS flow.
By the method, after the PDCP layer determines that the transmission of the transmitted data packet fails, a third indication identifier for indicating the transmission failure information is fed back to the core network, so that the core network can better determine the transmission condition of the high-reliability data packet.
And if the PDCP layer determines that the transmission of the transmitted data packet fails, feeding back a third indication identifier for indicating transmission failure information to the core network, and determining that the transmission of the data packet with high reliability fails by the core network according to the received third indication identifier.
In order to identify a data packet that fails to be transmitted, a sequence number corresponding to the data packet when being transmitted needs to be carried.
Specifically, the PDCP layer sends a fourth indication flag indicating a packet send sequence number to the core network.
The data packet used for indicating is a data packet which fails to be sent.
And after receiving a fourth indication identifier for indicating a data packet transmission sequence number, the core network determines that the data packet transmission indicated by the fourth indication identifier fails.
In some possible implementations, aspects of a method for transmitting a data packet provided by the embodiments of the present invention can also be implemented in the form of a program product including program code for causing a computer device to perform the steps of the method for transmitting a data packet according to various exemplary implementations of the present invention described in this specification when the program code runs on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A program product for data forwarding control according to an embodiment of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a server device. However, the program product of the present invention is not limited thereto, and in this document, the readable storage medium may be any tangible medium containing or storing the program, which can be used by or in connection with an information transmission, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the periodic network action system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device.
As shown in fig. 3, an embodiment of the present invention provides an apparatus for sending a data packet, including: processor 300 and transceiver 301:
the processor 300 is configured to receive a Qos flow sent by a core network through a transceiver; transmitting the data packet with the first indication mark in the Qos flow
Optionally, the processor 300 is further configured to:
and adding a second indication identifier for indicating that the PDCP PDU needs to carry out reception confirmation in the PDCP PDU carrying the first indication identifier data packet.
Optionally, the processor 300 is further configured to:
and if the status report carrying the indication of correct reception is not received within the preset time, retransmitting the data packet.
Optionally, the processor 300 is further configured to:
determining that the number of retransmissions does not exceed a threshold.
Optionally, the processor 300 is further configured to:
and if the data packet transmitted is determined to be failed to be sent, feeding back a third indication identifier for indicating information of failed sending to the core network.
Optionally, the processor 300 is further configured to:
sending a fourth indication identifier for indicating a data packet sending sequence number to the core network;
the data packet used for indicating is a data packet which fails to be sent.
As shown in fig. 4, the present invention provides an apparatus for transmitting a data packet, the apparatus comprising:
at least one processing unit 400 and at least one memory unit 401, wherein said memory unit stores program code which, when executed by said processing unit, causes said processing unit to perform the following processes:
the QoS flow is used for receiving the QoS flow sent by the core network; and transmitting the data packet with the first indication mark in the Qos flow.
Optionally, the processing unit 400 is further configured to:
and adding a second indication identifier for indicating that the PDCP PDU needs to carry out reception confirmation in the PDCP PDU carrying the first indication identifier data packet.
Optionally, the sending device is configured to perform multi-channel transmission, and the processing unit 400 is further configured to:
and if the status report carrying the indication of correct reception is not received within the preset time, retransmitting the data packet.
Optionally, the processing unit 400 is further configured to:
determining that the number of retransmissions does not exceed a threshold.
Optionally, the processing unit 400 is further configured to:
and if the data packet transmitted is determined to be failed to be sent, feeding back a third indication identifier for indicating information of failed sending to the core network.
Optionally, the processing unit 400 is further configured to:
sending a fourth indication identifier for indicating a data packet sending sequence number to the core network;
the data packet used for indicating is a data packet which fails to be sent.
As shown in fig. 5, an embodiment of the present invention provides an apparatus for sending a data packet, including: processor 500 and transceiver 501:
the processor 500: the method is used for judging whether the data packet in the Qos flow for transmission fails to be sent; and after determining that the transmission of the data packet for transmission fails, feeding back a third indication identifier for transmitting failure information to the core network.
Optionally, the processor 500 is further configured to:
sending a fourth indication identifier for indicating a data packet sending sequence number to a core network;
the data packet used for indicating is a data packet which fails to be sent.
As shown in fig. 6, the present invention provides an apparatus for transmitting a data packet, the apparatus comprising:
at least one processing unit 600 and at least one memory unit 601, wherein said memory unit stores program code which, when executed by said processing unit, causes said processing unit to perform the following:
the method is used for judging whether the data packet in the Qos flow for transmission fails to be sent; and after determining that the transmission of the data packet for transmission fails, feeding back a third indication identifier for transmitting failure information to the core network.
Optionally, the processing unit 600 is further configured to:
sending a fourth indication identifier for indicating a data packet sending sequence number to a core network;
the data packet used for indicating is a data packet which fails to be sent.
As shown in fig. 7, an embodiment of the present invention provides an apparatus for sending a data packet, including: processor 700 and transceiver 701:
the processor 700: a data packet for determining high reliability in Qos flow transmitted to the PDCP layer through the transceiver; adding a first indicator mark in the high-reliability data packet; and sending the QoS flow to the PDCP layer so that the PDCP layer transmits the data packet with the first indication mark in the QoS flow after receiving the QoS flow.
Optionally, the processor 700 is further configured to:
and after receiving the third indication mark sent by the PDCP layer, determining that the data packet with high reliability fails to be sent.
Optionally, the processor 700 is further configured to:
and after receiving a fourth indication identifier for indicating a data packet transmission sequence number, determining that the data packet indicated by the fourth indication identifier fails to be transmitted.
As shown in fig. 8, the present invention provides an apparatus for transmitting a data packet, the apparatus comprising:
at least one processing unit 800 and at least one memory unit 801, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
a data packet for determining high reliability in Qos flow transmitted to the PDCP layer through the transceiver; adding a first indicator mark in the high-reliability data packet; and sending the QoS flow to the PDCP layer so that the PDCP layer transmits the data packet with the first indication mark in the QoS flow after receiving the QoS flow.
Optionally, the processing unit 800 is further configured to:
and after receiving the third indication mark sent by the PDCP layer, determining that the data packet with high reliability fails to be sent.
Optionally, the processing unit 800 is further configured to:
and after receiving a fourth indication identifier for indicating a data packet transmission sequence number, determining that the data packet indicated by the fourth indication identifier fails to be transmitted.
As shown in fig. 9, an embodiment of the present invention provides an apparatus for sending a data packet, including: processor 900 and transceiver 901:
the processor 900: a third indication identifier for receiving the PDCP layer through the transceiver; and determining that the data packet with high reliability fails to be sent according to the received third indication identifier.
Optionally, the processor 900 is further configured to:
and after receiving a fourth indication identifier for indicating a data packet transmission sequence number, determining that the data packet indicated by the fourth indication identifier fails to be transmitted.
As shown in fig. 10, the present invention provides an apparatus for transmitting a data packet, the apparatus comprising:
at least one processing unit 1000 and at least one memory unit 1001, wherein said memory unit stores program code which, when executed by said processing unit, causes said processing unit to perform the following processes:
a third indication identifier for receiving the PDCP layer through the transceiver; and determining that the data packet with high reliability fails to be sent according to the received third indication identifier.
Optionally, the processing unit 1000 is further configured to:
after receiving a fourth indication identifier for indicating a data packet transmission sequence number, determining that the data packet transmission indicated by the fourth indication identifier fails
An embodiment of the present invention further provides a non-volatile readable storage medium, which includes program code for causing a computing device to perform the steps of the method for packet transmission when the program code runs on the computing device.
Based on the same inventive concept, the embodiment of the present invention further provides a method for sending a data packet, and since the device corresponding to the method is the device for sending the data packet in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are not repeated.
As shown in fig. 11, a method for sending a data packet according to an embodiment of the present invention specifically includes the following steps:
step 1100, the PDCP layer receives the QoS flow sent by the core network;
step 1101, the PDCP layer transmits the data packet with the first indication flag in the Qos flow.
Optionally, after receiving the Qos flow sent by the core network, the PDCP layer further includes, before transmitting the data packet with the first indicator:
and the PDCP layer adds a second indication identifier for indicating that PDCP PDUs need to be subjected to reception confirmation in the PDCP PDUs carrying the first indication identifier data packets.
Optionally, after the PDCP layer transmits the data packet with the first indicator in the Qos flow, the method further includes:
and if the PDCP layer does not receive the status report carrying the indication correct receiving within the preset time, retransmitting the data packet.
Optionally, if the PDCP layer does not receive the status report carrying the indication of correct reception within the preset time, before retransmitting the data packet, the method further includes:
the PDCP layer determines that a number of retransmissions does not exceed a threshold.
Optionally, after the PDCP layer transmits the data packet with the first indicator in the Qos flow, the method further includes:
and if the PDCP layer determines that the transmission of the transmitted data packet fails, feeding back a third indication identifier for indicating the transmission failure information to the core network.
Optionally, after determining that the transmitted data packet fails to be sent, the PDCP layer further includes:
the PDCP layer sends a fourth indication mark for indicating a data packet sending sequence number to the core network;
the data packet used for indicating is a data packet which fails to be sent.
Based on the same inventive concept, the embodiment of the present invention further provides a method for sending a data packet, and since the device corresponding to the method is the device for sending the data packet in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are not repeated.
As shown in fig. 12, an embodiment of the present invention further provides a method for sending a data packet, where the method includes:
step 1200, the PDCP layer determines whether the transmission of the data packet in the Qos flow for transmission fails;
step 1201, after determining that the transmission of the data packet for transmission fails, the PDCP layer feeds back a third indication identifier for transmitting failure information to a core network.
Optionally, after determining that the transmission of the data packet for transmission fails, the PDCP layer further includes:
the PDCP layer sends a fourth indication mark for indicating a data packet sending sequence number to a core network; the data packet used for indicating is a data packet which fails to be sent.
Based on the same inventive concept, the embodiment of the present invention further provides a method for sending a data packet, and since the device corresponding to the method is the device for sending the data packet in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are not repeated.
As shown in fig. 13, an embodiment of the present invention further provides a method for sending a data packet, where the method includes:
step 1300, the core network determines a high-reliability data packet in Qos flow sent to the PDCP layer;
step 1301, the core network adds a first indicator in the high-reliability data packet;
step 1302, the core network sends the Qos flow to the PDCP layer, so that the PDCP layer transmits a data packet with a first indication flag in the Qos flow after receiving the Qos flow.
Optionally, the method further includes:
and after receiving the third indication identifier sent by the PDCP layer, the core network determines that the data packet with high reliability fails to be sent.
Optionally, the method further includes:
and after receiving a fourth indication identifier for indicating a data packet transmission sequence number, the core network determines that the data packet transmission indicated by the fourth indication identifier fails.
Based on the same inventive concept, the embodiment of the present invention further provides a method for sending a data packet, and since the device corresponding to the method is the device for sending the data packet in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are not repeated.
As shown in fig. 14, an embodiment of the present invention further provides a method for sending a data packet, where the method includes:
step 1400, the core network receives a third indication identifier sent by the PDCP layer;
step 1401, the core network determines that the data packet with high reliability fails to be sent according to the received third indication identifier.
Optionally, the method further includes:
after receiving a fourth indication identifier for indicating a data packet transmission sequence number, the core network determines that the data packet indicated by the fourth indication identifier fails to be transmitted
In the embodiments provided in the present application, the method provided in the embodiments of the present application is introduced from the perspective that the core network and the PDCP layer are taken as execution subjects. In order to implement the functions in the method provided by the embodiment of the present application, the sending device and the receiving device may include a hardware structure and/or a software module, and the functions are implemented in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
As shown in fig. 15, a method for sending a data packet according to an embodiment of the present invention specifically includes the following steps, where the high reliability data packet transmission is introduced by selecting an AM mode:
step 1500, the core network determines a high-reliability data packet in the Qos flow sent to the PDCP layer;
step 1501, the core network adds a first indicator in the high-reliability data packet;
step 1502, the core network sends the Qos flow to the PDCP layer;
step 1503, the PDCP layer receives the Qos flow sent by the core network, and determines whether the Qos flow contains a data packet with a first indication flag, if so, executes step 1504, and if not, executes step 1505;
step 1504, the PDCP layer transmits the data packet with the first indicator in the Qos flow through an AM mode;
step 1505, the PDCP layer transmitting the data packet without the first indication flag in the Qos flow through UM mode;
step 1506, the PDCP layer determines whether a status report carrying an indication of correct reception is received within a preset time, if so, performs step 1507, otherwise, performs step 1508; (ii) a
Step 1507, the PDCP layer determines whether the retransmission number exceeds a threshold, if so, performs step 1509, otherwise, performs step 1510;
step 1508, the PDCP layer successfully transmits the data packet with the first indicator;
step 1509, the PDCP layer determines that the data packet transmitted in the AM mode fails to be transmitted, and feeds back a third indicator indicating transmission failure information and a fourth indicator indicating a data packet transmission sequence number to the core network;
step 1510, the PDCP layer retransmits the data packet;
step 1511, after receiving the third indication identifier and the fourth indication identifier sent by the PDCP layer, the core network determines that the data packet sent by the fourth indication identifier fails to be sent.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.