CN113365308B - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN113365308B
CN113365308B CN202010138558.1A CN202010138558A CN113365308B CN 113365308 B CN113365308 B CN 113365308B CN 202010138558 A CN202010138558 A CN 202010138558A CN 113365308 B CN113365308 B CN 113365308B
Authority
CN
China
Prior art keywords
packet
layer entity
message
pdcp
sequence number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010138558.1A
Other languages
Chinese (zh)
Other versions
CN113365308A (en
Inventor
唐洪川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202010138558.1A priority Critical patent/CN113365308B/en
Publication of CN113365308A publication Critical patent/CN113365308A/en
Application granted granted Critical
Publication of CN113365308B publication Critical patent/CN113365308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a data transmission method and a data transmission device, which are used for solving the problem of low transmission efficiency. The method is applied to communication equipment which comprises a PDCP layer entity, wherein the PDCP layer entity receives a first message, and a first sequence number of the first message is different from a lower boundary sequence number of a PDCP reordering window; when the communication equipment is configured to submit data to an upper layer according to the sequence number sequence, the PDCP layer entity submits the first message to the upper layer entity of the PDCP layer entity when determining that the first message is the feedback message.

Description

Data transmission method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
Background
In the fifth Generation Mobile communication (5G) technology, a Packet Data Convergence Protocol (PDCP) layer entity performs a reordering function. The PDCP layer entity generally performs sorting on the received out-of-order data packets and delivers the sorted out-of-order data packets in sequence. But for some services with higher delay requirements, the transmission efficiency is lower.
Disclosure of Invention
The invention provides a data transmission method and a data transmission device, which are used for solving the problem of low transmission efficiency.
In a first aspect, an embodiment of the present invention provides a data transmission method, where the method is applied to a communication device, where the communication device includes a PDCP layer entity, and the PDCP layer entity receives a first packet, where a first sequence number of the first packet is not adjacent to a maximum sequence number of a data packet that has been delivered to an upper layer of the PDCP layer entity; when the communication equipment is configured to submit data to an upper layer in sequence of sequence numbers, and the PDCP layer entity determines that the first message is a feedback message, the first message is submitted to the upper layer entity of the PDCP layer entity.
The first sequence number of the first packet is not adjacent to the maximum sequence number of a data packet submitted to an upper layer of a PDCP layer entity, or the first sequence number of the first packet is different from a lower boundary sequence number of a PDCP reordering window. The PDCP reordering window is configured to buffer data packets that are currently received by the PDCP layer entity and are not submitted to an upper layer entity of the PDCP layer entity in sequence of sequence numbers.
Through the scheme, the PDCP layer entity bears network data service, the default configuration is in-sequence submitted, the PDCP protocol entity receives the storable cache data message and judges whether the data message is a feedback message, and if so, the data message is directly submitted and processed according to the out-of-sequence no matter whether the data message arrives out of sequence or not. After receiving, the data volume capable of being sent can be increased in advance, so that congestion is reduced, and transmission efficiency is improved.
In an optional implementation manner, the first packet is a transmission control protocol TCP packet.
In an optional implementation manner, the method further includes:
when the PDCP layer entity submits the first packet to an upper layer of the PDCP layer entity, adding a mark to a first sequence number of the first packet, where the mark is used to indicate that a data packet with a sequence number of the first sequence number has been submitted to the upper layer of the PDCP layer entity.
In an optional implementation manner, the method further includes:
and after adding a mark to the first serial number of the first message, the PDCP layer entity receives a second message, wherein the serial number of the second message is equal to the first serial number added with the mark, and discards the second message.
In the implementation mode, the serial numbers of the data packets which are not uploaded in sequence are marked, so that repeated transmission is prevented, and the transmission efficiency is improved.
In an optional implementation manner, the sequence number of the first packet is located within a PDCP reordering window.
In the above implementation manner, the data packet located in the PDCP reordering window is discarded directly by adopting the manner provided by the embodiment of the present invention.
In an optional implementation manner, the method further includes:
and when the PDCP layer entity determines that the first message is a non-feedback message, caching the first message according to the PDCP reordering window.
In the above implementation manner, a non-sequential submission manner, i.e., receiving and sending, is adopted for the feedback packet, and a sequential submission manner is adopted for the non-feedback packet.
In a second aspect, an embodiment of the present invention provides a data transmission apparatus, where the apparatus is applied to a communication device, and the apparatus includes:
a receiving unit, configured to receive a first packet through a PDCP layer entity, where a first sequence number of the first packet is different from a lower boundary sequence number of a PDCP reordering window, and the PDCP reordering window is used to buffer a data packet that is currently received by the PDCP layer entity and is not submitted to an upper layer entity of the PDCP layer entity according to a sequence of the sequence numbers.
A processing unit, configured to determine, by the PDCP layer entity, that the data packet is a feedback packet when the communication device configures that data is submitted to an upper layer in a sequence number order;
a sending unit, configured to submit the first packet to an upper layer entity of the PDCP layer entity.
In an optional implementation manner, the first packet is a transmission control protocol TCP packet.
In an optional implementation manner, the processing unit is further configured to add a mark to a first sequence number of the first packet when the first packet is submitted to an upper layer of the PDCP layer entity by the PDCP layer entity, where the mark is used to indicate that a data packet with a sequence number of the first sequence number has been submitted to the upper layer of the PDCP layer entity.
In an optional implementation manner, the receiving unit is further configured to receive a second packet after the processing unit adds a mark to a first sequence number of the first packet through the PDCP layer entity, where a sequence number of the second packet is equal to the first sequence number to which the mark is added;
the processing unit is further configured to discard the second packet.
In an optional implementation manner, the sequence number of the first packet is located in a PDCP layer reordering window, and the PDCP reordering window is configured to buffer a data packet that is currently received by the PDCP layer entity and is not submitted to an upper layer entity of the PDCP layer entity in the sequence of the sequence number.
In an optional implementation manner, the processing unit is further configured to cache the first packet according to the PDCP reordering window when it is determined that the first packet is a non-feedback packet.
In a third aspect, an embodiment of the present invention provides a data transmission apparatus, where the apparatus may be applied to a communication device, and the apparatus includes a memory and a processor;
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of any implementation mode of the first aspect according to the obtained program.
In a fourth aspect, an embodiment of the present invention provides a readable storage medium, which stores instructions that, when executed on a hardware device, cause the hardware device to perform the above method.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a data transmission method according to an embodiment of the present invention;
fig. 3 is a flowchart of another data transmission method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The application scenario described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by a person skilled in the art that with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems. In the description of the present invention, the term "plurality" means two or more unless otherwise specified.
Fig. 1 illustrates a communication system architecture, it should be understood that the embodiments of the present invention are not limited to the system shown in fig. 1, and moreover, the apparatus in fig. 1 may be hardware, or may be a functionally divided software, or a combination of the two. As shown in fig. 1, a system architecture provided in the embodiment of the present invention includes a terminal device and a network device. The embodiment of the invention does not limit the number of the terminal devices and the network devices included in the system.
A Terminal device (UE), also called a Terminal device, a Terminal, a Mobile Station (MS), a Mobile Terminal (MT), etc., is a device that provides voice and/or data connectivity to a User, for example, a handheld device, a vehicle-mounted device, etc. with a wireless connection function. Currently, some examples of terminals are: a Mobile phone (Mobile phone), a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable Device, a Virtual Reality (VR) Device, an Augmented Reality (AR) Device, a wireless terminal in Industrial Control (Industrial Control), a wireless terminal in unmanned driving (self driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety, a wireless terminal in city (smart city), a wireless terminal in smart home (smart home), and the like.
The network device related in the embodiment of the present invention may also be referred to as a base station, AN Access Node or AN Access Node (AN for short), and provides a wireless Access service for the terminal. The network device may be specifically an evolved Node B (eNB or eNodeB) in a Long Term Evolution (LTE) system, or a base station device (gNB) in a 5G network, which is not limited in the present invention.
In a 5G communication system, a Radio Link Control (RLC) layer cancels a reordering function, the reordering function is moved to a Packet Data Convergence Protocol (PDCP) layer, and a PDCP layer entity performs reordering of Data packets. Data packets may also be referred to as data packets.
The protocol adopted by the PDCP layer has two optional processing modes for the disordered data messages received by the PDCP layer entity at the receiving side, wherein one mode is as follows: out-of-order delivery, another way is sequential-number delivery to the upper layers, with the default configuration being sequential-number delivery.
For unidirectional Transmission Control Protocol (TCP) data Transmission with large traffic, such as File Transfer Protocol (FTP) upload/download, video upload/download, etc., a feedback party usually transmits a pure feedback message. The ACK feedback message may be an Acknowledgement (ACK) feedback or a negative feedback (NACK). For the feedback message, sequential modulation is used, if the feedback message is out of order, the feedback information is delayed, the data downloading of a sender is affected, and the transmission efficiency is low. For interactive services such as web browsing and the like, the static load data of the services are carried in both directions, and when non-sequential delivery is used, a sequencing mode is not adopted, so that data packets can be repeatedly transmitted, and the transmission efficiency is low. The protocol specification of the current PDCP layer generally performs the delivery processing according to a default execution sequence configured by control plane parameters, and thus cannot flexibly cope with various application scenarios.
The execution sequential delivery or out-of-order delivery (non-sequential delivery) is configured, for example, using the control surface parameter outOfOrderDelivery. For example, if outOfOrderDelivery appears in the first scheme, the receiver delivers the data message to the upper layer according to the non-sequence. And in the second scheme, if outOfOrderDelivery does not appear, the receiver submits the data messages to the upper layer according to the sequence.
The invention provides a data transmission method and a data transmission device, which are used for solving the problem of low transmission efficiency. Specifically, the PDCP layer entity carries network data services, and performs in-sequence delivery in default configuration, and the PDCP layer entity receives a data packet that can be stored in a buffer, and determines whether the data packet is a feedback packet, and if so, performs direct processing according to an out-of-sequence delivery regardless of whether the data packet arrives out of sequence or which specific data stream the data packet belongs to, and if not, performs processing according to a protocol reordering flow.
Fig. 2 is a schematic flow chart of a data transmission method according to an embodiment of the present invention. The method is applied to a communication device, and the method may be performed by one or more processors in the communication device or by one or more chips.
S201, the PDCP layer entity receives a first message, wherein a first sequence number of the first message is different from a lower boundary sequence number of a PDCP reordering window.
The PDCP reordering window is configured to buffer a data packet that is currently received by the PDCP layer entity and is not submitted to an upper layer entity of the PDCP layer entity in sequence of a sequence number. The PDCP layer entity sets a lower boundary and an upper boundary of the sequence number, that is, a receiving range of the PDCP sequence number, that is, a PDCP reordering window, for the PDCP sequence number of the data packet.
The first sequence number of the first packet is different from a lower boundary sequence number of a PDCP reordering window, or the first sequence number of the first packet is not adjacent to a maximum sequence number of a data packet that has been delivered to an upper layer of a PDCP layer entity.
S202, when the communication device configures to submit data to an upper layer in sequence of serial numbers, and the PDCP layer entity determines that the first packet is a feedback packet, submitting the first packet to the upper layer entity of the PDCP layer entity.
The feedback message mentioned in the embodiment of the present invention is a message for feeding back a positive or negative, and the message does not include payload data.
Illustratively, the first packet is a transmission control protocol TCP packet. The sequence number of the first packet is located in a PDCP reordering window, and the PDCP reordering window is configured to buffer a data packet that is currently received by the PDCP layer entity and is not submitted to an upper layer entity of the PDCP layer entity according to the sequence number. In one example, the first packet may be discarded if its sequence number is outside the PDCP reordering window.
It should be noted that, the embodiment of the present invention does not limit the packet to be a TCP packet, and is certainly applicable to other types of packets.
In an optional embodiment, when the PDCP layer entity submits the first packet to an upper layer of the PDCP layer entity, a flag is added to a first sequence number of the first packet, where the flag is used to indicate that a data packet with a sequence number of the first sequence number has been submitted to the upper layer of the PDCP layer entity.
Further, after the PDCP layer entity adds a mark to the first sequence number of the first packet, a second packet is received, where the sequence number of the second packet is equal to the first sequence number to which the mark has been added, and the second packet is discarded. Through the design, the transmission efficiency caused by repeated transmission is prevented from being low.
In another optional implementation manner, when the PDCP layer entity determines that the first packet is a non-feedback packet, the first packet is cached according to the PDCP reordering window. And further, submitting the first message to an upper layer according to a mode of submitting as required.
The PDCP layer entity receives and processes various data streams, which may contain payload data that has an ordering function, such as TCP data packets, at an upper layer according to Sequence Numbers (SNs) of the upper layer entities. If the PDCP layer is adopted for non-sequential submission, the non-sequential submission triggers the TCP layer at the receiving side to send the feedback message of the repeated SN, further possibly triggers the sending side to think that the TCP packet loss retransmission data exists at the receiving side, reduces a TCP congestion window at the sending side, influences the data transmission efficiency, does not have the packet loss in the actual situation, and only causes the data transmission efficiency to be reduced because the PDCP layer is out of order and the PDCP does not execute the reordering. By adopting the scheme provided by the embodiment of the invention, aiming at the non-feedback message, the transmission efficiency can be improved by adopting a sequential submission mode.
If the data stream is one-way large-traffic data transmission, and the receiving end is only a TCP feedback message, typical scene FTP uploading \ downloading, video uploading \ downloading and the like are carried out. If the feedback messages are delivered in sequence, if the feedback messages are out of sequence, the latest confirmation information can be fed back to the upper layer only by waiting for the arrival of the feedback messages expected to receive the PDCP SN or the overtime of a reordering timer, so that the probability of the increase of a TCP congestion window of a data sending end is reduced, and the data transmission efficiency is reduced. By the scheme provided by the embodiment of the invention, the feedback message is submitted in an out-of-order mode, so that the transmission delay can be reduced, and the transmission efficiency can be improved.
It should be noted that the embodiment of the present invention can be applied not only to a scene of data transmission with large service volume in one direction, but also to a scene of service in two-way interaction type.
The data transmission method provided by the embodiment of the invention can be applied to a network side and a terminal side. In other words, the communication device in the embodiment of the present invention may be a network device or a terminal device. The PDCP \ RLC entities of the network equipment and the terminal equipment have the same modification on the reordering function, namely the RLC cancels the reordering, and the PDCP entity executes the reordering function. For example, when the communication device is a network device, the feedback message of the pure ACK of the uplink out-of-order TCP is directly submitted to the server, which accelerates the triggering of the server to issue a new TCP message and improves the download rate. For another example, the communication device is a terminal device, and the downlink out-of-order TCP pure ACK packet is directly delivered to the terminal application APP, so as to accelerate the triggering of the terminal application APP to upload a new TCP data packet, and improve the rate of uploading data.
The following describes the scheme provided by the embodiment of the present invention in detail with reference to application scenarios. Take the network data traffic as TCP traffic as an example. The TCP has a feedback mechanism, but the data transmission and feedback of the TCP are different from the PDCP layer/RLC layer processing mode of the radio access layer, and are not based on the number of packets, but on the packet content length. If the TCP packet is a pure feedback message without the service data payload, the data sending end receives the feedback message of the data message, only triggers the processing of the congestion window and the sending of the corresponding data message, and does not trigger the sequence number sequencing of the data message and generate the feedback message. The earlier the data sending end receives the latest feedback message of the opposite end, the more the data sending efficiency can be improved.
In the TCP slow start stage, the congestion window is increased by a power exponent mechanism, that is, the congestion window is increased by how much the data sending end receives the ACK of the data amount. The actual data amount that the data sending end can send is Min { receiving end TCP receiving window, congestion window maintained by the sending end }, and the receiving window of the receiving end is generally large. The data volume which can be sent by the sending end is mainly limited by a congestion window of the sending end in the slow starting stage, and the faster the feedback rate is, the larger the data volume which can be sent is, so that the data downloading rate is improved. Therefore, the feedback message can be submitted out of order without following the configured in-order submission rule. Referring to fig. 3, a flow chart of a possible data transmission method is shown. The method applies communication equipment which is a data receiving end.
S301, the PDCP layer entity receives the packet 1. The sequence number of message 1 is parsed. When the sequence number of the packet 1 is analyzed, the inversion of the COUNT value carried by the packet 1 and used for indicating the sequence number needs to be considered.
S302, the PDCP layer entity decrypts the message 1 and carries out integrity protection. If decryption fails or integrity protection fails to be performed, the message 1 is discarded.
S303, the PDCP layer entity determines whether condition 1 is satisfied and whether condition 2 is satisfied. Condition 1: the SN of this message 1 is located within the PDCP reordering window. Condition 2: and determining that the message 1 is a message with repeated sequence numbers in the PDCP reordering window. If the SN is located in the PDCP reordering window and the packet 1 is not a packet with a duplicate sequence number in the PDCP reordering window, that is, the condition 1 is satisfied and the condition 2 is satisfied, S304 is performed, otherwise, S305 is performed.
S304, store the packet 1 in the receiving buffer. S306 is performed.
S305, discard the message 1.
S306, determining whether the communication equipment is configured to be delivered in sequence, if not, executing S307, and if so, executing S308.
S307, deliver the packet 1 in the receiving cache to the upper layer.
S308, determining whether the message 1 is a feedback message, if so, executing S309, and if not, executing S310.
S309, adding a mark to the serial number of the message 1. S307 is executed.
S310, executing the sequential submission flow. For example, the PDCP layer entity triggers the sliding of the PDCP reordering window according to the sequence number of the received packet. For example, if the sequence number of the received packet is adjacent to the sequence number of the packet already delivered to the upper layer, the packet 1 may be delivered to the upper layer, and the PDCP reordering window may be slid. For another example, if a message consecutive to the sequence number of the message already submitted to the upper layer is not received when the timer expires, the timeout operation of the timer may be triggered.
As an example: take the data receiving end as the terminal device and the data sending end as the network device as an example.
Assuming condition 1, the first packet data SN of the TCP three-way handshake negotiation starts with 0. Assuming condition 2, the terminal device replies with an ACK for each packet data received. In the slow start stage, a TCP sending end sends data of 1000 bytes in 4 packets, and SN of four packets of data are respectively 0 (0-999), 1000 (1000-1999), 2000 (2000-2999) and 3000 (3000-3999). The terminal device responds to feedback messages of 4 packets of pure ACK, and the ACK SN is 1000, 2000, 3000 and 4000 respectively.
If the PDCP layer entity receives the feedback packet with ACK SN 4000 first, if the in-sequence delivery is used, the PDCP layer needs to wait until the first 3 feedback packets arrive or the PDCP reordering timer expires, and then the feedback packet with ACK SN 4000 can be delivered to the upper layer, and the feedback information is delayed. Particularly, in the overtime scene of the waiting timer, the delay time of 4000-byte data volume increase of the congestion window of the data sending end is longer, so that the increase of the congestion window of the sending end is influenced, and the download rate is influenced; if non-in-sequence delivery is used, the PDCP receives the feedback message with ACK SN being 4000 first, can directly deliver the feedback message to an upper layer, increases the amount of data which can be sent in advance, can improve the downloading speed, subsequently receives the former ACK message again and delivers the ACK message to an upper TCP, and the TCP directly discards the non-latest feedback message without other influences.
In the TCP congestion avoiding stage, the congestion window is increased by a linear mechanism, that is, after all the data in the congestion window of the data sending end receives the acknowledgment information, the congestion window of the data sending end is increased by a TCP segment length. The probability of the congestion window expanding in advance can also be increased by using a non-in-order delivery mechanism.
Based on the same inventive concept as the method embodiment described above, an embodiment of the present invention further provides a data transmission apparatus, and as shown in fig. 4, the apparatus may include a receiving unit 401, a processing unit 402, and a sending unit 403.
A receiving unit 401, configured to receive a first packet through a PDCP layer entity, where a first sequence number of the first packet is different from a lower boundary sequence number of a PDCP reordering window.
A processing unit 402, configured to determine, by the PDCP layer entity, that the data packet is a feedback packet when the communication device configures that data is submitted to an upper layer in a sequence number order;
a sending unit 403, configured to submit the first packet to an upper layer entity of the PDCP layer entity.
In an optional implementation manner, the first packet is a transmission control protocol TCP packet.
In an optional implementation manner, the processing unit 402 is further configured to add a mark to a first sequence number of the first packet when the first packet is delivered to an upper layer of the PDCP layer entity by the PDCP layer entity, where the mark is used to indicate that a data packet with a sequence number of the first sequence number has been delivered to the upper layer of the PDCP layer entity.
In an optional implementation manner, the receiving unit 401 is further configured to receive a second packet after the processing unit 402 adds a mark to a first sequence number of the first packet through the PDCP layer entity, where a sequence number of the second packet is equal to the first sequence number to which the mark is added;
the processing unit 402 is further configured to discard the second packet.
In an optional implementation manner, the sequence number of the first packet is located in a PDCP layer reordering window, and the PDCP reordering window is configured to buffer a data packet that is currently received by the PDCP layer entity and is not submitted to an upper layer entity of the PDCP layer entity in the sequence of the sequence number.
In an optional implementation manner, the processing unit 402 is further configured to buffer the first packet according to the PDCP reordering window when it is determined that the first packet is a non-feedback packet.
The division of the unit in the embodiments of the present invention is schematic, and is only a logical function division, and there may be another division manner in actual implementation, and in addition, each functional unit in each embodiment of the present invention may be integrated in one processor, may also exist alone physically, or may also be integrated in one unit by two or more units. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
An embodiment of the present invention further provides another data transmission device, as shown in fig. 5, including:
a communication interface 501, a memory 502, and a processor 503;
wherein, the network device communicates with a terminal device through the communication interface 501, such as receiving data; a memory 502 for storing program instructions; the processor 503 is configured to call the program instructions stored in the memory 502, and execute the method executed by the network device in the foregoing embodiments according to the obtained program. The functions of the receiving unit 401, the processing unit 402, and the transmitting unit 403 may be implemented by the processor 503.
In the embodiment of the present invention, the specific connection medium among the communication interface 501, the memory 502, and the processor 503 is not limited, for example, a bus, and the bus may be divided into an address bus, a data bus, a control bus, and the like.
In the embodiments of the present invention, the processor may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
In the embodiment of the present invention, the memory may be a nonvolatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory, for example, a random-access memory (RAM). The memory can also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in embodiments of the present invention may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, 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, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (13)

1. A data transmission method is applied to a communication device, the communication device comprises a PDCP layer entity and comprises the following steps:
the PDCP layer entity receives a first message, wherein a first sequence number of the first message is different from a lower boundary sequence number of a PDCP reordering window, and the PDCP reordering window is used for caching a data packet which is currently received by the PDCP layer entity and is not submitted to an upper layer entity of the PDCP layer entity according to the sequence of the sequence numbers; the sequence number of the first message is positioned in a PDCP reordering window;
when the communication equipment is configured to submit data to an upper layer in sequence of serial numbers, and the PDCP layer entity determines that the first message is a feedback message, submitting the first message to the upper layer entity of the PDCP layer entity; the feedback message is a message for feeding back affirmance or negativity.
2. The method of claim 1, wherein the first packet is a Transmission Control Protocol (TCP) packet.
3. The method of claim 1 or 2, further comprising:
when the PDCP layer entity submits the first packet to an upper layer of the PDCP layer entity, adding a mark to a first sequence number of the first packet, where the mark is used to indicate that a data packet with a sequence number of the first sequence number has been submitted to the upper layer of the PDCP layer entity.
4. The method of claim 3, further comprising:
and after adding a mark to the first serial number of the first message, the PDCP layer entity receives a second message, wherein the serial number of the second message is equal to the first serial number added with the mark, and discards the second message.
5. The method of claim 1, further comprising:
and when the PDCP layer entity determines that the first message is a non-feedback message, caching the first message according to the PDCP reordering window.
6. A data transmission apparatus, applied to a communication device, comprising:
a receiving unit, configured to receive a first packet through a PDCP layer entity, where a first sequence number of the first packet is different from a lower boundary sequence number of a PDCP reordering window, and the PDCP reordering window is used to buffer a data packet that is currently received by the PDCP layer entity and is not submitted to an upper layer entity of the PDCP layer entity according to a sequence of the sequence numbers; the sequence number of the first message is positioned in a PDCP reordering window;
a processing unit, configured to determine, by the PDCP layer entity, that the first packet is a feedback packet when the communication device configures to submit data to an upper layer in a sequence number order; the feedback message is used for feeding back affirmation or negativity;
a sending unit, configured to submit the first packet to an upper layer entity of the PDCP layer entity.
7. The apparatus of claim 6, wherein the first packet is a Transmission Control Protocol (TCP) packet.
8. The apparatus of claim 6 or 7, wherein:
the processing unit is further configured to add a mark to a first sequence number of the first packet when the first packet is submitted to an upper layer of the PDCP layer entity by the PDCP layer entity, where the mark is used to indicate that a data packet with a sequence number of the first sequence number has been submitted to the upper layer of the PDCP layer entity.
9. The apparatus of claim 8, wherein:
the receiving unit is further configured to receive a second packet after the processing unit adds a mark to a first sequence number of the first packet through the PDCP layer entity, where a sequence number of the second packet is equal to the first sequence number to which the mark is added;
the processing unit is further configured to discard the second packet.
10. The apparatus of claim 6, wherein:
the processing unit is further configured to cache the first packet according to the PDCP reordering window when the first packet is determined to be a non-feedback packet.
11. The apparatus of claim 6, wherein the communication device is a terminal device or a network device.
12. A data transmission apparatus, comprising:
a memory and a processor;
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the method of any one of claims 1 to 5 according to the obtained program.
13. A readable storage medium having stored thereon instructions that, when executed on a hardware device, cause the hardware device to perform the method of any of claims 1-5.
CN202010138558.1A 2020-03-03 2020-03-03 Data transmission method and device Active CN113365308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010138558.1A CN113365308B (en) 2020-03-03 2020-03-03 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010138558.1A CN113365308B (en) 2020-03-03 2020-03-03 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN113365308A CN113365308A (en) 2021-09-07
CN113365308B true CN113365308B (en) 2022-04-29

Family

ID=77523093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010138558.1A Active CN113365308B (en) 2020-03-03 2020-03-03 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN113365308B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065991A (en) * 2022-02-24 2022-09-16 山东浪潮科学研究院有限公司 Method and device for optimizing transmission of uplink and downlink service data of base station

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964362A (en) * 2006-10-13 2007-05-16 华为技术有限公司 A mobile communication system and its method and device for air interface data transmission
CN101141405A (en) * 2007-10-17 2008-03-12 华为技术有限公司 Wireless network data transmission method and wireless network controller
CN102104535A (en) * 2009-12-18 2011-06-22 华为技术有限公司 Method, device and system for transmitting PDCP data
CN104753629A (en) * 2013-12-26 2015-07-01 联芯科技有限公司 Data submitting method and device
CN107801211A (en) * 2017-09-12 2018-03-13 上海华为技术有限公司 A kind of non-sequential of message submits method and RLC entities, base station
WO2018127225A1 (en) * 2017-01-05 2018-07-12 电信科学技术研究院 Data transmission method, network side device and user equipment
CN109561468A (en) * 2017-09-26 2019-04-02 ***通信有限公司研究院 A kind of data delivery method, data transmission method for uplink and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100938090B1 (en) * 2006-10-19 2010-01-21 삼성전자주식회사 Method and apparatus for performing handover in mobile telecommunication system
US10660156B2 (en) * 2017-11-15 2020-05-19 Apple Inc. Flexible flow control mechanism for NG-RAN interfaces

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964362A (en) * 2006-10-13 2007-05-16 华为技术有限公司 A mobile communication system and its method and device for air interface data transmission
CN101141405A (en) * 2007-10-17 2008-03-12 华为技术有限公司 Wireless network data transmission method and wireless network controller
CN102104535A (en) * 2009-12-18 2011-06-22 华为技术有限公司 Method, device and system for transmitting PDCP data
CN104753629A (en) * 2013-12-26 2015-07-01 联芯科技有限公司 Data submitting method and device
WO2018127225A1 (en) * 2017-01-05 2018-07-12 电信科学技术研究院 Data transmission method, network side device and user equipment
CN107801211A (en) * 2017-09-12 2018-03-13 上海华为技术有限公司 A kind of non-sequential of message submits method and RLC entities, base station
CN109561468A (en) * 2017-09-26 2019-04-02 ***通信有限公司研究院 A kind of data delivery method, data transmission method for uplink and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
R2-000636 "Agreed CR 005 to 25.323 on Changes to PDCP";Ericsson;《3GPP tsg_ran\WG2_RL2》;20000304;第4-8部分 *

Also Published As

Publication number Publication date
CN113365308A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
RU2346403C2 (en) Device and method for improved processing of radio channel control data operating in "no acknowledgement" mode
CN101939936B (en) Method and arrangement in a telecommunication system
US20070064631A1 (en) Method and apparatus for transmitting signaling data messages in a wireless communications system
US10959129B2 (en) Data transmission method, apparatus, and system, and device
US8130723B2 (en) Method and apparatus for improving reordering functionality in a wireless communications system
CN114189901A (en) Data receiving state reporting method and device
WO2019178854A1 (en) Method and apparatus for retransmission processing
EP4044480A1 (en) Ntn-based data transmission method and apparatus, and storage medium
US20190349308A1 (en) Data Transmission Method And Apparatus, And Customer-Premises Equipment
CN111262660A (en) Data transmission method, equipment and system
KR100845821B1 (en) Method and apparatus for initiating a storage window in a wireless communications system
CN111756485B (en) Control timer, data packet processing method and equipment
CN111543079B (en) Radio Link Control (RLC) Acknowledged Mode (AM) data reception
CN113365308B (en) Data transmission method and device
US8179913B2 (en) Method and apparatus of handling variable of RLC reset procedure during receiver-side-only re-establishment in wireless communications system
CN111865503A (en) Method and equipment for sending and receiving feedback information
EP3813284B1 (en) Method for transmitting confirmation message, and communication device
US9246638B2 (en) Method and apparatus for polling transmission status in a wireless communications system
CN108200605B (en) Data transmission method and device for base station
JP6935509B2 (en) Wireless communication method and equipment
CN110856120A (en) Message sending and receiving method and device
CN116963175A (en) Data transmission method, device and system
WO2018152791A1 (en) Communication method, terminal device and network device
EP2023524B1 (en) Communication control method, transmission device and computer program
WO2022061751A1 (en) Method and apparatus for multicast and broadcast services

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant