CN112865934B - Data transmission method, device, base station and storage medium - Google Patents

Data transmission method, device, base station and storage medium Download PDF

Info

Publication number
CN112865934B
CN112865934B CN202011641970.1A CN202011641970A CN112865934B CN 112865934 B CN112865934 B CN 112865934B CN 202011641970 A CN202011641970 A CN 202011641970A CN 112865934 B CN112865934 B CN 112865934B
Authority
CN
China
Prior art keywords
queue
priority queue
data packet
deepening
retransmission
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
CN202011641970.1A
Other languages
Chinese (zh)
Other versions
CN112865934A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN202011641970.1A priority Critical patent/CN112865934B/en
Publication of CN112865934A publication Critical patent/CN112865934A/en
Application granted granted Critical
Publication of CN112865934B publication Critical patent/CN112865934B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1835Buffer management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The application relates to a data transmission method, a data transmission device, a base station and a storage medium. The data transmission method comprises the following steps: when the FTP server is detected to transmit the retransmission data packet, the retransmission data packet is put into a corresponding priority queue; the priority queue comprises a GTPU priority queue, an SDAP priority queue and/or a PDCP priority queue; and transmitting the retransmission data packet to the MAC layer by adopting the priority queue so as to send the retransmission data packet to the UE. According to the method and the device, the retransmission packet loss is sent preferentially through the priority queue, namely the retransmission packet is sent preferentially to the normal cache queue data, so that the time delay generated by data queuing sending is reduced, the data congestion is relieved, the downlink speed is improved, the robustness of the system is enhanced, and the user experience is improved.

Description

Data transmission method, device, base station and storage medium
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a data transmission method, an apparatus, a base station, and a storage medium.
Background
In a wireless communication system, when Data transmission is performed between a base station and a core network, user plane Data is transmitted to a Service Data Adaptation Protocol (SDAP) layer through a wireless Service tunneling Protocol (General PACKet Radio Service tunneling Protocol) and then is transmitted to a Radio Link Control (RLC) layer through a PACKet Data Convergence Protocol (PDCP) layer, after PACKet header compression and encryption, the Radio Link Control (RLC) layer is separated and concatenated and then is transmitted to Media Access Control (MAC) to finally form a wireless signal from an air interface, and the wireless signal is transmitted.
According to the requirements and characteristics of services, data transmission is divided into an ACKnowledged Mode (AM) and an ACKnowledged Mode (UM), where the AM Mode requires that a transmitting side adds necessary control protocol overhead to higher-layer data before transmitting the data and ensures the data to be transmitted to a peer entity. In commercial deployment, situations such as poor air interface environment, abnormal configuration of core network equipment and transmission network equipment, and the like occur, so that transmission performance is greatly reduced, and packet loss retransmission occurs. In the implementation process, the inventor finds that at least the following problems exist in the conventional technology: the traditional scheme aiming at packet loss retransmission can reduce the downlink transmission rate of the base station.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a data transmission method, apparatus, base station and storage medium capable of improving a transmission rate.
In order to achieve the above object, in one aspect, an embodiment of the present invention provides a data transmission method, including:
when the FTP server is detected to transmit the retransmission data packet, the retransmission data packet is put into a corresponding priority queue; the priority queue comprises a GTPU priority queue, an SDAP priority queue and/or a PDCP priority queue;
and transmitting the retransmission data packet to the MAC layer by adopting the priority queue so as to send the retransmission data packet to the UE.
In one embodiment, the method further comprises the following steps:
when the base station is powered on, a GTPU priority queue, an SDAP priority queue and a PDCP priority queue are created.
In one embodiment, in the step of transmitting the retransmission packet to the MAC layer by using the priority queue:
under the condition that the cache data in the current work queue reach a cache threshold value, deepening the current work queue by adopting a preset deepening rule to obtain a deepened queue; the current work queue is an RLC queue, a GTPU priority queue, an SDAP priority queue or a PDCP priority queue;
presetting deepening rules comprises dynamically and progressively deepening the current work queue until a deepening threshold condition is met.
In one embodiment, the deepening threshold condition includes that the depth of a deepening queue is smaller than the depth of a normal queue of the base station with a preset multiple, and the dynamically increasing deepening application memory is smaller than the residual available memory in the base station;
further comprising the steps of:
and under the condition that the cache data in the deepened queue is detected to be lower than a cache threshold value, dynamically releasing the deepened queue based on the size of the cache data in the deepened queue.
In one embodiment, when it is detected that the FTP server transmits the retransmitted data packet, before the step of placing the retransmitted data packet into the corresponding priority queue, the method further includes the steps of:
and confirming whether the data packet currently transmitted by the FTP server is a retransmission data packet or not according to the TCP confirmation number.
In one embodiment, the method further comprises the following steps:
if the UE uplink messages containing the same TCP confirmation numbers are received, determining the data packets corresponding to the same TCP confirmation numbers as retransmission data packets, and marking the retransmission data packets; wherein, the TCP confirmation number is obtained by analyzing the UE uplink message through a corresponding protocol layer.
In one embodiment, the step of transmitting the retransmission packet to the MAC layer using the priority queue includes:
the GTPU layer searches a corresponding TCP confirmation number through Hash, and puts the retransmission data packet into a GTPU priority queue to be transmitted to the SDAP layer;
the SDAP layer searches a corresponding TCP confirmation number through Hash, and puts the retransmission data packet into an SDAP priority queue to be transmitted to the PDCP layer;
the PDCP layer adopts a PDCP priority queue to transmit the retransmission data packet to the RLC layer;
and the RLC layer transmits the retransmission data packet to the MAC layer so as to send the retransmission data packet to the UE through an air interface.
A data transmission apparatus comprising:
the packet loss detection module is used for placing the retransmission data packet into a corresponding priority queue under the condition that the FTP server is detected to transmit the retransmission data packet; the priority queue comprises a GTPU priority queue, an SDAP priority queue and/or a PDCP priority queue;
and the data transmission module is used for transmitting the retransmission data packet to the MAC layer by adopting the priority queue so as to send the retransmission data packet to the UE.
A base station for implementing the steps of the above method.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
One of the above technical solutions has the following advantages and beneficial effects:
the method and the device optimize the packet loss scene, create the corresponding priority queue, and preferentially send the retransmitted packet loss through the priority queue when the packet loss occurs and the corresponding TCP retransmission packet transmitted by the FTP server is received, namely, the retransmission packet is sent out prior to the normal cache queue data, so that the time delay generated by data queuing and sending is reduced, the congestion of data is relieved, the downlink speed is improved, the robustness of the system is enhanced, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an exemplary data transmission method;
FIG. 2 is a flow diagram illustrating a method for data transmission according to one embodiment;
fig. 3 is a schematic diagram illustrating a message format of an uplink message of a UE in an embodiment;
FIG. 4 is a flowchart illustrating a data transmission method according to an embodiment;
FIG. 5 is a flow chart illustrating a data transmission method according to another embodiment;
FIG. 6 is a flow diagram illustrating queue deepening and reclaiming in one embodiment;
fig. 7 is a block diagram showing the structure of a data transmission device according to an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements should not be limited by these terms. These terms are only used to distinguish one element from another.
Spatially relative terms, such as "under," "below," "beneath," "under," "above," "over," and the like, may be used herein to describe one element or feature's relationship to another element or feature as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements or features described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the exemplary terms "under" and "under" can encompass both an orientation of above and below. In addition, the device may also include additional orientations (e.g., rotated 90 degrees or other orientations) and the spatial descriptors used herein interpreted accordingly.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or be connected to the other element through intervening elements. Further, "connection" in the following embodiments is understood to mean "electrical connection", "communication connection", or the like, if there is a transfer of electrical signals or data between the connected objects.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, as used in this specification, the term "and/or" includes any and all combinations of the associated listed items.
In commercial deployment, conditions such as poor air interface environment, abnormal configuration of core network equipment and transmission network equipment, etc. may occur, which may greatly reduce transmission performance and cause packet loss retransmission. If the air interface environment is poor, the User Equipment (UE) performs a TCP (Transmission Control Protocol) service in the AM mode, and the PDCP layer of the UE is reordered and overtime, which may cause packet loss. The packet loss occurring in this situation is retransmitted by a corresponding FTP (File Transfer Protocol) server, and the retransmitted data continues to be sent down through the GTPU and the SDAP module until the UE receives the corresponding packet loss, and the data transmission of the entire link cannot continue to be sent down. However, the packet loss retransmitted by the FTP server is transmitted after the data is cached by the GTPU and the SDAP, so that time delay is introduced and the downlink transmission rate of the base station is reduced.
When the UE performs downlink TCP service, the packet loss may occur due to bad air interface environment or abnormal network element. The UE responds to the TCPACK to the FTP server, and the FTP server retransmits the lost packet or packets of data until the UE receives the corresponding packet loss, and the data transmission of the whole link can not continue downwards. However, in the conventional technology, the packet loss retransmitted by the FTP server is sent after the data is cached by the GTPU and the SDAP, so that the time delay is introduced, and meanwhile, the downlink transmission rate of the base station is reduced, which affects the user experience.
The method and the device give priority to the problems of retransmission packet loss time delay and optimized data congestion, reduce the time delay of data retransmission by opening up a priority queue, relieve the data congestion and reduce the packet loss by dynamically deepening a normal queue; furthermore, the method and the device reduce the time consumption of packet loss of retransmission and reduce time delay by opening up a priority queue and dynamically deepening the queue.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method and the device optimize the packet loss scene of the TCP business, and can reduce the data transmission time delay. The data transmission method provided by the application can be applied to the application environment shown in fig. 1. The data transmission between the NR (New Radio) base station and the core network is performed, and user plane data is transmitted to the SDAP layer via the GTPU layer, then passed through the PDCP layer, compressed and encrypted by a packet header, then transferred to the RLC layer, then transferred to the MAC layer after being divided and concatenated, and finally transmitted as a wireless signal from an air interface to the UE.
The UE referred to in this application is not limited to 5G networks, including: the system comprises a mobile phone, an Internet of things device, an intelligent household device, an industrial control device, a vehicle device and the like. The User equipment may also be referred to as a Terminal (Terminal), a Terminal Device (Terminal Device), a Mobile Station (Mobile Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), and a User Agent (User Agent), which are not limited herein. The user equipment may also be an automobile in Vehicle-To-Vehicle (V2V) communication, a machine in machine-type communication, or the like.
In addition, the base station referred to in the present application may be a Base Station (BS) device deployed in a radio access network to provide a UE with a wireless communication function, and includes various forms of macro base stations, micro base stations, relay stations, controllers, access points, and the like. In systems using different radio access technologies, names of devices having functions of base stations may be different, for example, in an LTE network, referred to as an evolved NodeB (eNB), in a third generation 3G network, referred to as a Node B (Node B), or a communication Node applied in a fifth generation communication system, an NR base station, and the like, and may also be other similar network devices.
The data transmission method provided by the application can be applied to an LTE system, an LTE-Advanced (LTE-A) system or other wireless communication systems adopting various wireless access technologies, such as systems adopting access technologies of code division multiple access, frequency division multiple access, time division multiple access, orthogonal frequency division multiple access, carrier Aggregation (CA) and the like. Furthermore, it may also be applicable to use of a subsequent evolution system, such as a fifth generation 5G system, etc.
In one embodiment, as shown in fig. 2, a data transmission method is provided, which is described by taking the application of the method to the NR base station in fig. 1 as an example, and includes the following steps:
step 202, when detecting that the FTP server transmits the retransmission data packet, putting the retransmission data packet into a corresponding priority queue; the priority queues include a GTPU priority queue, an SDAP priority queue, and/or a PDCP priority queue.
The FTP server in the present application may be referred to as a server supporting the FTP protocol. The server may be implemented as a stand-alone server or as a server cluster of multiple servers. And when packet loss occurs, retransmitting the packet by the corresponding FTP server until the UE receives the corresponding packet loss. The retransmission packet may refer to a packet transmitted by the FTP or a packet loss in the packet transmitted by the FTP. In one example, the retransmission packet may refer to a TCP (Transmission Control Protocol) packet with an ACKSN retransmission sequence number retransmitted by the FTP server.
Specifically, the packet loss scene is optimized, and the retransmission data packet is put into the corresponding priority queue to preferentially send the retransmission packet loss when the FTP server is detected to transmit the retransmission data packet. According to the method and the device, the retransmission packet is sent out prior to the normal cache queue data, and time delay caused by data queuing and sending is reduced.
Further, the priority queues in the present application may include GTPU priority queues, SDAP priority queues, and/or PDCP priority queues. According to the method and the device, the retransmission data packet can be placed in the corresponding priority queue, for example, when a packet loss scene occurs, the retransmission data packet is retransmitted by the corresponding FTP server, when the packet loss reaches GTPU, the packet loss is placed in the priority queue, and then the retransmission data packet is preferentially sent by searching the corresponding TCP packet confirmation number. Similarly, when the packet loss reaches the SDAP, the same operation is performed and the packet loss is sent to the PDCP priority queue.
In addition, the NR base station may open up priority queues. In one embodiment, the method further comprises the following steps:
when the base station is powered on, a GTPU priority queue, an SDAP priority queue and a PDCP priority queue are created.
Specifically, the priority queue may be created by the NR base station at system initialization, for example, the creation of the priority queue is started when the base station is powered on; the priority queue in the application can be created simultaneously with the normal queue, and the priority queue exists for a long time like the normal queue.
It should be noted that, in the present application, the PDCP queue may refer to a queue used by the PDCP to receive the SDAP data. Meanwhile, the priority queue and the later deepened queue in the application are not the same queue, and the deepened queue is dynamically applied and released by the base station in the service process.
In one embodiment, when it is detected that the FTP server transmits the retransmitted data packet, before the step of placing the retransmitted data packet into the corresponding priority queue, the method may further include the steps of:
and confirming whether the data packet currently transmitted by the FTP server is a retransmission data packet or not according to the TCP confirmation number.
Specifically, when packet loss occurs and a corresponding TCP retransmission packet is received, the retransmission packet loss can be preferentially sent through the acknowledgement number of the TCP header. Namely, packet loss is marked after the protocol layer of the base station detects that the confirmation number is reread, and then packet loss data marked by the retransmission of the FTP server is put into a priority queue, and the corresponding message retransmission is found through the confirmation number.
Wherein, the acknowledgement number of the TCP header may refer to an acknowledgement field or an acknowledgement sequence number; the acknowledgement number in this application may indicate the sequence number of the next byte expected to be received.
In one embodiment, the method further comprises the following steps:
if the UE uplink messages containing the same TCP confirmation numbers are received, determining the data packets corresponding to the same TCP confirmation numbers as retransmission data packets, and marking the retransmission data packets; wherein, the TCP confirmation number is obtained by analyzing the UE uplink message through a corresponding protocol layer.
Specifically, the protocol layer for analyzing the uplink packet of the UE may be referred to as an SDAP layer; for example, when the UE performs downlink TCP service, the base station receives a UE reply message (i.e., a UE uplink message), and can parse the TCP message header through the SDAP layer, and when receiving a duplicate TCP packet acknowledgement number (ACKSN), consider a packet with a sequence number of ACKSN as a packet loss. The preset number may be 2.
Further, the UE performs downlink TCP service, the base station receives the uplink ACK packet from the UE, analyzes the TCP packet header through the SDAP layer, and after checking that the acknowledgement sequence number field is valid, when receiving a duplicate TCP packet acknowledgement sequence number (ACKSN), considers that the packet with the acknowledgement sequence number ACKSN is a packet loss. Under the condition of no packet loss, the acknowledgement numbers ACKSN are continuous, and if two identical acknowledgement numbers are continuously received, the packet loss can be considered to be generated. And the FTP server can retransmit the TCP message with the sequence number ACKSN.
As shown in fig. 3, when the base station performs the downlink TCP service, the base station receives the uplink message from the UE, the format of the message may be as shown in fig. 3, the header of the IP message has a header field specified by the TCP/IP protocol, and the SDAP of the base station records the acknowledgement sequence number by parsing the IP message in the message.
In one example, the base station side SDAP analyzes, receives a TCP header in an uplink message of the UE, marks the next packet data if an acknowledgement number (ACKSN) is continuously received and is repeated, and the serial number ACKS is a packet loss; the GTPU analyzes the packet from the network side, and confirms whether the packet is lost or not by the TCP header confirmation number.
It should be noted that, as shown in fig. 4, if it is determined that the FTP server transmits a packet without packet loss, the packet may be put into a normal queue, and then sent to the UE through the air interface via the SDAP, PDCP, RLC, and MAC. The arrow direction between the base station side SDAP analysis and GTPU analysis is only for illustration, the interdependency relationship exists logically, normal TCP downlink service, data are from FTP to the base station network for measuring GTP, then to SDAP, to PDCP and RLC, then down, and finally to UE. The UE receives the ACK message corresponding to the packet and sends the ACK message to the core side through the base station, the core network and the server.
And step 204, transmitting the retransmission data packet to the MAC layer by adopting the priority queue so as to send the retransmission data packet to the UE.
Specifically, when the FTP server is detected to have the retransmitted packet loss, the packet loss is put into the corresponding priority queue to preferentially send the retransmitted packet, so that the time delay caused by data queuing and sending is reduced, the congestion of data is relieved, the downlink rate is improved, the robustness of the system is enhanced, and the user experience is improved.
In one embodiment, the step of transmitting the retransmission packet to the MAC layer by using the priority queue may include:
the GTPU layer searches a corresponding TCP confirmation number through Hash, and puts the retransmission data packet into a GTPU priority queue to be transmitted to the SDAP layer;
the SDAP layer searches a corresponding TCP confirmation number through Hash, and puts the retransmission data packet into an SDAP priority queue to be transmitted to the PDCP layer;
the PDCP layer adopts a PDCP priority queue to transmit the retransmission data packet to the RLC layer;
and the RLC layer transmits the retransmission data packet to the MAC layer so as to send the retransmission data packet to the UE through an air interface.
Specifically, when detecting that the FTP server has a retransmitted packet loss, putting the packet loss into a priority queue, searching for a corresponding TCP packet acknowledgement number through hash, and preferentially sending a retransmitted packet.
For example, in a bad air interface environment and in a packet loss scene, a corresponding FTP server retransmits a packet loss (i.e., retransmits a data packet), and when the packet loss reaches GTPU, the packet loss is put into a priority queue, and the corresponding TCP packet acknowledgment number is searched by hash, so that the retransmission packet is preferentially sent. Similarly, when the packet loss reaches the SDAP, the same operation is performed and the packet loss is sent to the PDCP priority queue. In one example, as shown in fig. 4, the packet loss is put into a GTPU priority queue and is preferentially sent to the SDAP, the SDAP parses the packet loss in the packet from the GTPU, puts the packet loss into an SDAP priority queue, and preferentially sends the packet loss to the PDCP, and then sends the packet loss to the UE through an air interface via the RLC and the MAC.
Therefore, the retransmission packet is sent out prior to the normal cache queue data, and time delay caused by data queuing and sending is reduced. The method and the device relieve data congestion, improve downlink rate, enhance robustness of the system and improve user experience.
In one embodiment, as shown in fig. 5, a data transmission method is provided, which is described by taking the application of the method to the NR base station in fig. 1 as an example, and includes the following steps:
step 502, when detecting that the FTP server transmits the retransmission data packet, putting the retransmission data packet into a corresponding priority queue; the priority queues include a GTPU priority queue, an SDAP priority queue, and/or a PDCP priority queue.
Step 504, the retransmission data packet is transmitted to the MAC layer by using the priority queue, so as to send the retransmission data packet to the UE.
In one embodiment, for step 504, the step may further include:
under the condition that the cache data in the current work queue reach a cache threshold value, deepening the current work queue by adopting a preset deepening rule to obtain a deepened queue; the current work queue is an RLC queue, a GTPU priority queue, an SDAP priority queue or a PDCP priority queue;
presetting deepening rules comprises dynamically and progressively deepening the current work queue until a deepening threshold condition is met.
Specifically, the steps 502 to 504 can be implemented by adopting the specific implementation manner of the steps 202 to 204 in the foregoing embodiment, and are not described herein again. Further, aiming at the process of transmitting the retransmission data packet to the MAC layer by adopting the priority queue, the application provides the GTPU priority queue, the SDAP priority queue, the PDCP priority queue and the RLC queue preset a threshold (namely a buffer threshold), and further a needle data congestion scene.
Wherein, the buffer threshold may take a value of 95%. That is, a threshold (e.g. 95%) is preset for GTPU, SDAP, PDCP, and RLC queues, and if the UE performs downlink TCP service, the queues are deepened if the buffered data in the queues reaches the threshold.
It should be noted that, in the present application, the threshold is set for the queue, and all the queues are referred to as normal queues. RLC has no priority queue in this application, only refers to deepening the queue. The deepening of the queue is dynamically deepening and recycling in the process of doing business. In the application, when the downlink data reaches the RLC, the downlink data is encrypted, and the TCP serial number of the data packet cannot be seen, so that the RLC does not relate to a priority queue.
In one embodiment, the deepening threshold condition may include that the depth of a deepening queue is less than a preset multiple of the depth of a normal queue of the base station, and that a dynamically incrementally deepened application memory is less than a remaining available memory in the base station; as shown in fig. 5, the method may further include the steps of:
and dynamically releasing the deepened queue based on the size of the cache data in the deepened queue under the condition that the cache data in the deepened queue is detected to be lower than a cache threshold value.
Specifically, in the present application, the deepening threshold condition may include that the depth of a deepening queue is less than a preset multiple of the depth of a normal queue of the base station, and that a dynamically incrementally deepened application memory is less than a remaining available memory in the base station; specific numerical values are not limited in the application for the preset multiple, the preset multiple may be an empirical value, and in one example, the preset multiple may be 10 times.
Further, the present application proposes a rule for determining the upper limit of the threshold, for example, the upper limit rule, i.e. the deepening threshold condition, may be: (1) the depth is 10 times smaller than the normal queue depth of the base station; (2) the dynamic memory is smaller than the residual available memory in the base station.
Aiming at the deepening of the current work queue by adopting the preset deepening rule provided by the application, a deepened queue is obtained, the deepening threshold condition can comprise that the depth of the deepening queue is smaller than the depth of a normal queue of a base station with preset multiple, and the dynamically increased and deepened application memory is smaller than the residual available memory in the base station, for the convenience of understanding, the following description is combined with a specific example: in the process of dynamically deepening the queue, the queue can be opened by 2 times at first, and the queue does not need to be opened continuously if data can be processed; if the data processing is not done (i.e. it is determined whether the threshold of the queue after the queue is enlarged, for example, 95%) is reached, the queue is opened continuously by 3 times as much as the original queue. And so on. And if the queue is 10 times larger than the original queue or no available memory exists in the base station, stopping dynamic deepening. And dynamically applying the memory to deepen the queue by taking the depth of the normal queue as a template.
In addition, the method and the device further provide that dynamic release is carried out on the deepened queue based on the size of the cache data in the deepened queue under the condition that the cache data in the deepened queue are detected to be lower than a cache threshold value. Specifically, as shown in fig. 6, the UE performs downlink TCP service, and deepens the queue if the buffer data in the detection queue reaches the buffer threshold; and when the cache data in the queue is lower than the cache threshold value and the data in the deepened queue is sent, recovering the deepened queue resources.
When the data in the queue is below the buffer threshold, the deepened portion may be recycled. For example, it is sufficient to dynamically and sequentially recycle the memories creating the deepened queues. For example, the deepened queue is 4 times of the original queue, the data in the queue at the moment is judged, if the data is 2.95-3.94 times of the size of the original queue, no processing is carried out, and if the data is 2.90 times, the part which is 3-4 times of the queue is released and becomes 3 times of the normal queue. And so on.
In the method, the packet loss scene is optimized, the corresponding priority queue is created, and when packet loss occurs and a corresponding TCP retransmission packet transmitted by the FTP server is received, the retransmission packet is sent preferentially through the priority queue, namely the retransmission packet is sent out preferentially to the normal cache queue data, so that the time delay caused by data queuing and sending is reduced; furthermore, the method and the device can optimize a data congestion scene simultaneously, and can relieve data loss during congestion by dynamically increasing GTPU, SDAP, PDCP and RLC queues and recovering the new buffer after the congestion is finished. Furthermore, the method and the device improve the downlink rate, enhance the robustness of the system and improve the user experience.
It should be understood that although the steps in the flowcharts of fig. 2, 4-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2, 4-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a data transmission apparatus including:
a packet loss detection module 710, configured to, when detecting that the FTP server transmits the retransmission data packet, place the retransmission data packet in a corresponding priority queue; the priority queue comprises a GTPU priority queue, an SDAP priority queue and/or a PDCP priority queue;
a data transmission module 720, configured to transmit the retransmission data packet to the MAC layer by using the priority queue, so as to send the retransmission data packet to the UE.
In one embodiment, the base station further comprises a queue creating module, configured to create a GTPU priority queue, an SDAP priority queue, and a PDCP priority queue when the base station is powered on.
In one embodiment, the data transmission module comprises:
the queue deepening unit is used for deepening the current work queue by adopting a preset deepening rule under the condition that the cache data in the current work queue reach a cache threshold value, so as to obtain a deepened queue; the current work queue is an RLC queue, a GTPU priority queue, an SDAP priority queue or a PDCP priority queue; the preset deepening rule comprises the step of carrying out dynamic incremental deepening on the current work queue until a deepening threshold condition is met.
In one embodiment, the deepening threshold condition includes that the depth of a deepening queue is smaller than the depth of a normal queue of the base station with a preset multiple, and the dynamically increasing deepening application memory is smaller than the residual available memory in the base station;
the data transmission module may further include:
and the queue release unit is used for dynamically releasing the deepened queue based on the size of the cache data in the deepened queue under the condition that the cache data in the deepened queue is detected to be lower than a cache threshold value.
In one embodiment, the method further comprises the following steps:
and confirming whether the data packet currently transmitted by the FTP server is a retransmission data packet or not according to the TCP confirmation number.
In one embodiment, the packet loss detection module is further configured to determine, if the UE uplink messages including the same TCP acknowledgement numbers are received in a number greater than or equal to a preset number, that the data packets corresponding to the same TCP acknowledgement numbers are retransmission data packets, and mark the retransmission data packets; wherein, the TCP confirmation number is obtained by analyzing the UE uplink message through a corresponding protocol layer.
In one embodiment, in the data transmission module, the GTPU layer searches for a corresponding TCP acknowledgement number through hashing, and places the retransmission data packet into a GTPU priority queue to transmit to the SDAP layer; the SDAP layer searches a corresponding TCP confirmation number through Hash, and puts the retransmission data packet into an SDAP priority queue to be transmitted to the PDCP layer; the PDCP layer transmits the retransmission data packet to the RLC layer by adopting a PDCP priority queue; and the RLC layer transmits the retransmission data packet to the MAC layer so as to send the retransmission data packet to the UE through an air interface.
For specific limitations of the data transmission device, reference may be made to the above limitations of the data transmission method, which are not described herein again. The modules in the data transmission device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In one embodiment, a base station is provided for implementing the steps of the above-described data transmission method. Further, the base station may be an NR base station.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned data transmission method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of data transmission, comprising the steps of:
under the condition that the FTP server is detected to transmit the retransmission data packet, putting the retransmission data packet into a corresponding priority queue; the priority queue comprises a GTPU priority queue, an SDAP priority queue and/or a PDCP priority queue;
transmitting the retransmission data packet to an MAC layer by adopting the priority queue so as to send the retransmission data packet to UE;
wherein, in the step of transmitting the retransmission data packet to the MAC layer by using the priority queue:
under the condition that the cache data in the current work queue reach a cache threshold value, deepening the current work queue by adopting a preset deepening rule to obtain a deepened queue; the current working queue is an RLC queue, the GTPU priority queue, the SDAP priority queue or the PDCP priority queue; the preset deepening rule comprises the step of carrying out dynamic incremental deepening on the current work queue until a deepening threshold condition is met; the deepening threshold condition comprises that the depth of the deepening queue is smaller than the depth of a normal queue of the base station with preset multiple, and the dynamically increasing and deepening applied memory is smaller than the residual available memory in the base station.
2. The data transmission method according to claim 1, further comprising the steps of:
and when the base station is powered on, creating the GTPU priority queue, the SDAP priority queue and the PDCP priority queue.
3. The data transmission method according to claim 1, further comprising the steps of:
and under the condition that the cache data in the deepened queue is detected to be lower than the cache threshold value, dynamically releasing the deepened queue based on the size of the cache data in the deepened queue.
4. The data transmission method according to any one of claims 1 to 3, wherein when it is detected that the FTP server transmits the retransmitted data packet, before the step of placing the retransmitted data packet into the corresponding priority queue, the method further comprises the steps of:
and confirming whether the data packet currently transmitted by the FTP server is the retransmission data packet or not according to the TCP confirmation number.
5. The data transmission method according to claim 4, further comprising the steps of:
if UE uplink messages containing the same TCP acknowledgement number and larger than or equal to a preset number are received, determining that a data packet corresponding to the same TCP acknowledgement number is a retransmission data packet, and marking the retransmission data packet; and the TCP confirmation number is obtained by analyzing the UE uplink message through a corresponding protocol layer.
6. The data transmission method according to claim 1, wherein the step of transmitting the retransmission data packet to the MAC layer using the priority queue comprises:
the GTPU layer searches a corresponding TCP acknowledgement number through Hash, and puts the retransmission data packet into the GTPU priority queue to be transmitted to the SDAP layer;
the SDAP layer searches a corresponding TCP confirmation number through Hash, and puts the retransmission data packet into the SDAP priority queue to be transmitted to the PDCP layer;
the PDCP layer transmits the retransmission data packet to an RLC layer by adopting the PDCP priority queue;
and the RLC layer transmits the retransmission data packet to the MAC layer so as to send the retransmission data packet to the UE through an air interface.
7. A data transmission apparatus, comprising:
the packet loss detection module is used for placing the retransmission data packet into a corresponding priority queue under the condition that the FTP server is detected to transmit the retransmission data packet; the priority queue comprises a GTPU priority queue, an SDAP priority queue and/or a PDCP priority queue;
the data transmission module is used for transmitting the retransmission data packet to an MAC layer by adopting the priority queue so as to send the retransmission data packet to the UE; wherein the data transmission module comprises:
the queue deepening unit is used for deepening the current work queue by adopting a preset deepening rule under the condition that the cache data in the current work queue reach a cache threshold value, so as to obtain a deepened queue; the current working queue is an RLC queue, the GTPU priority queue, the SDAP priority queue or the PDCP priority queue; the preset deepening rule comprises the step of carrying out dynamic incremental deepening on the current work queue until a deepening threshold condition is met; the deepening threshold condition comprises that the depth of the deepening queue is smaller than the depth of a normal queue of the base station with preset multiple, and the dynamically increasing and deepening applied memory is smaller than the residual available memory in the base station.
8. A base station comprising a memory and a processor, the memory storing a computer program, wherein the processor, when executing the computer program, is adapted to carry out the steps of the method of any of claims 1 to 6.
9. The base station of claim 8, wherein the base station is an NR base station.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202011641970.1A 2020-12-31 2020-12-31 Data transmission method, device, base station and storage medium Active CN112865934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011641970.1A CN112865934B (en) 2020-12-31 2020-12-31 Data transmission method, device, base station and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011641970.1A CN112865934B (en) 2020-12-31 2020-12-31 Data transmission method, device, base station and storage medium

Publications (2)

Publication Number Publication Date
CN112865934A CN112865934A (en) 2021-05-28
CN112865934B true CN112865934B (en) 2022-11-01

Family

ID=76000829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011641970.1A Active CN112865934B (en) 2020-12-31 2020-12-31 Data transmission method, device, base station and storage medium

Country Status (1)

Country Link
CN (1) CN112865934B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114585019B (en) * 2022-05-05 2022-08-23 深圳国人无线通信有限公司 ACK packet anti-congestion method, base station, terminal and system of 5G downlink TCP

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800704A (en) * 2010-03-17 2010-08-11 苏州大学 P2P streaming media system data request scheduling method based on mixed dynamic priority queue

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100385846C (en) * 2002-05-10 2008-04-30 美商内数位科技公司 System and method for prioritization of retransmission of protocol data units to assist radio-link-control retransmission
DE102004037815B4 (en) * 2004-08-04 2013-01-03 Infineon Technologies Delta Gmbh Mobile radio device and method for controlling mobile radio transmitter resources in a mobile radio device
CN104780028A (en) * 2015-04-02 2015-07-15 京信通信技术(广州)有限公司 Method and equipment for retransmitting TCP (transmission control protocol) data messages

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800704A (en) * 2010-03-17 2010-08-11 苏州大学 P2P streaming media system data request scheduling method based on mixed dynamic priority queue

Also Published As

Publication number Publication date
CN112865934A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN110622538B (en) Repetition and RLC operation in new radio access technology
EP1315341B1 (en) Receiver polling for data transmission with sliding window data flow control
US7564851B2 (en) Apparatus and method for moving a receive window in a radio access network
US9565699B2 (en) Method of performing polling procedure in a wireless communication system
KR101532789B1 (en) Harq operation method for retransmitted data
CN109714136B (en) Communication method and terminal
AU2017262892B2 (en) System and method for maintaining synchronization in connectionless transmissions
CN103179614B (en) The method of transmitting pdcp data unit to upper layer
CN111065120A (en) Method, device and medium for enhancing cellular network uplink ECN mechanism
WO2019019150A1 (en) Data transmission method, terminal device and network device
US20150304903A1 (en) Mobile communication method and mobile station
WO2012083762A1 (en) Data transmission method, apparatus, and system
CN112865934B (en) Data transmission method, device, base station and storage medium
US11363492B2 (en) Wireless communication method, terminal device and network device
CN111163081A (en) Data transmission method, device, equipment and storage medium
US11627190B2 (en) Timer control method, data packet processing method, and device
CN107027136B (en) Data processing method and device
US20230090249A1 (en) Radio link control status report method and corresponding apparatus
WO2018218996A1 (en) Data packet transmission method and device
CN109981229B (en) Data processing method and device of RLC layer, computer equipment and storage medium
CN112272928B (en) Data packet retransmission method and device
EP2073425A2 (en) Apparatus and method for optimizing status report time in mobile communication system
WO2021152369A1 (en) Dynamic uplink end-to-end data transfer scheme with optimized memory path
CN108200605B (en) Data transmission method and device for base station
KR20100045860A (en) Method and user equipment of detecting problem of data transmission

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