Disclosure of Invention
The embodiment of the invention provides a data transmission method and device of a base station, which are used for solving the problem of air interface resource waste caused by retransmission of data by the base station in the prior art.
The embodiment of the invention provides a data transmission method of a base station, which comprises the following steps: a packet data convergence protocol PDCP entity acquires a service data unit SDU; the PDCP entity analyzes the SDU to obtain an analysis result; the analysis result comprises the identification of the current transmission data; and when the PDCP entity determines that the identification of the current transmission data is stored, discarding the SDU.
Optionally, the parsing result further includes a destination IP; when the PDCP entity determines that the identifier of the current transmission data is stored in the PDCP entity, before discarding the SDU, the method further includes: the PDCP entity determines whether the target IP of the SDU is consistent with the IP address of the terminal recorded in the PDCP entity when determining that the SDU is received through the forwarding tunnel; and after determining that the destination IP of the SDU is consistent with the terminal IP address recorded in the PDCP entity, the PDCP entity determines whether the identifier of the current transmission data is stored in the PDCP entity.
Optionally, the PDCP entity, when determining that the SDU is received via a forwarding tunnel, determines whether a destination IP of the SDU is consistent with a terminal IP address recorded in the PDCP entity, further includes: and if the PDCP entity determines that the target IP of the SDU is not consistent with the IP address of the terminal recorded in the PDCP entity, discarding the SDU.
Optionally, the PDCP entity parsing the SDU, and after obtaining a parsing result, further includes: when the PDCP entity determines that the identification of the current transmission data is not stored, the SDU and the identification of the current transmission data are stored; carrying out PDCP protocol processing on the SDU to obtain a protocol data unit PDU; and transmitting the PDU to a Radio Link Control (RLC) layer.
Optionally, before the PDCP entity parses the SDU, the method further includes: the PDCP entity determines that a retransmission timer has expired.
The embodiment of the invention provides a data transmission device of a base station, which comprises: an obtaining unit, configured to obtain a service data unit SDU; the processing unit is used for analyzing the SDU to obtain an analysis result; the analysis result comprises the identification of the current transmission data; and discarding the SDU when the identification of the current transmission data is determined to be stored.
Optionally, the parsing result further includes a destination IP; the processing unit is further configured to: if the SDU is received through the forwarding tunnel, determining whether the target IP of the SDU is consistent with the IP address of the terminal recorded in the PDCP entity; and after determining that the target IP of the SDU is consistent with the IP address of the terminal recorded in the PDCP entity, determining whether the PDCP entity stores the identifier of the current transmission data.
Optionally, the processing unit is further configured to: and if the target IP of the SDU is determined to be inconsistent with the terminal IP address recorded in the PDCP entity, discarding the SDU.
Optionally, the apparatus further comprises a storage unit, configured to: if the identification of the current transmission data is determined not to be stored, storing the SDU and the identification of the current transmission data; the processing unit is configured to: carrying out PDCP protocol processing on the SDU to obtain a protocol data unit PDU; further comprising a transmission unit for: and transmitting the PDU to a Radio Link Control (RLC) layer.
Optionally, the processing unit is further configured to: it is determined that the retransmission timer has expired.
In the embodiment of the invention, the PDCP entity acquires the service data unit SDU; the PDCP entity analyzes the SDU to obtain an analysis result; the analysis result comprises the identification of the current transmission data; discarding the SDU when the PDCP entity determines that the identification of the current transmission data is stored. Therefore, the repeated storage of the same SDU by the PDCP layer can be reduced, and the problem of air interface resource waste caused by repeated transmission of the same data to the terminal by the base station can be avoided.
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.
Fig. 1 shows an architecture diagram of a communication system to which an embodiment of the invention is applied. As shown in fig. 1, the system architecture may include a server 101, a core network device 102, a base station 103, and a terminal 104. The server 101 and the core network device 102 may be connected by wire or wirelessly. The core network device 102 and the base station 103 are connected by wire. The base station 103 and the terminal 104 are connected by wire or wireless.
The server 101 stores data that the terminal 104 needs to access. The server 101 may be a network device for communicating with the terminal device.
The core network device 102 is configured to receive data transmitted by the server 101 and cache the data transmitted by the server 101.
The base station 103 is used for processing air interface resources, exchanging and forwarding data in the network, and the like. Taking an LTE base station as an example, data transmission of the base station involves a GTP tunnel, a PDCP layer, an RLC layer, and an MAC layer. In the process of data transmission, both a PDCP layer RLC layer and an MAC layer in a base station can store data transmitted from a previous layer into a buffer queue of each layer, then perform protocol processing of a corresponding layer on the data in the buffer queue, and forward the data to a next layer; and finally, sending the data to the terminal through an air interface.
The terminal 104 may communicate with one or more core networks via a Radio Access Network (RAN), and the terminal device may refer to a User Equipment (UE), an Access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a User terminal, a wireless communication device, a User agent, or a User Equipment. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with Wireless communication function, a computing device or other processing device connected to a Wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network, and the like.
In the prior art, the process of transmitting data by a base station is as follows: and the PDCP entity stores SDUs transmitted by the GPT tunnel into a PDCP downlink buffer queue, then the SDUs are processed by a PDCP protocol to form a PDU, and the PDU is transmitted to a bottom RLC layer. When the terminal requests retransmission, the base station takes out the PDU data needing retransmission from the buffer and retransmits the PDU data. Due to the problems of network delay and the like, a plurality of PDUs (protocol data units) which need to be retransmitted by the base station are buffered, so that the load of data transmission of the base station is increased, and air interface resource waste and reduction of transmission data rate are caused when the base station retransmits a plurality of same data.
In order to solve the problem in the prior art, based on the system architecture shown in fig. 1, fig. 2 exemplarily shows a schematic flow chart of a data transmission method of a base station provided by an embodiment of the present invention, and as shown in fig. 2, the data transmission method of the base station includes the following steps:
step 201, a packet data convergence protocol PDCP entity obtains a service data unit SDU;
step 202, the PDCP entity analyzes the SDU to obtain an analysis result; the analysis result comprises the identification of the current transmission data;
in step 203, when the PDCP entity determines that the identifier of the currently transmitted data is stored, the SDU is discarded.
In the embodiment of the invention, the PDCP entity acquires the service data unit SDU; the PDCP entity analyzes the SDU to obtain an analysis result; the analysis result comprises the identification of the current transmission data; discarding the SDU when the PDCP entity determines that the identification of the current transmission data is stored. Therefore, the repeated storage of the same SDU by the PDCP layer can be reduced, and the problem of air interface resource waste caused by repeated transmission of the same data to the terminal by the base station can be avoided.
In the embodiment of the invention, the PDCP is a radio transmission protocol stack in the UMTS and is responsible for compressing and decompressing an IP header, transmitting user data and maintaining the identifier of a radio bearer set for a lossless wireless network service subsystem. In the embodiment of the invention, the PDCP entity reduces the load of data transmission of the base station and the waste of air interface resources by controlling the storage of SDU forwarded by the GTP tunnel.
In the embodiment of the invention, data transmitted by a server is forwarded to a PDCP layer through a GTP tunnel; the GTP tunnel includes a normal tunnel and a forwarding tunnel. Correspondingly, the PDCP layer has different queues to receive data forwarded by the normal tunnel and the forwarding tunnel, respectively.
In the embodiment of the invention, the analysis result also comprises a destination IP; when the PDCP entity determines that the identifier of the current transmission data is stored in the PDCP entity, before discarding the SDU, the method further includes: the PDCP entity determines whether the target IP of the SDU is consistent with the IP address of the terminal recorded in the PDCP entity when determining that the SDU is received through the forwarding tunnel; and after determining that the destination IP of the SDU is consistent with the terminal IP address recorded in the PDCP entity, the PDCP entity determines whether the identifier of the current transmission data is stored in the PDCP entity.
Optionally, if the PDCP entity determines that the destination IP of the SDU is not consistent with the terminal IP address recorded in the PDCP entity, discarding the SDU.
In the embodiment of the invention, the terminal switching needs to use the forwarding tunnel. When the PDCP entity acquires the SDU, analyzing the destination IP of the SDU, firstly determining whether the destination IP is consistent with the terminal IP address recorded in the PDCP entity, if not, indicating that the SDU is not the data requested by the terminal, and directly discarding the SDU. Therefore, on one hand, the PDCP entity does not need to copy and package the SDU data, thereby reducing the consumption of system resources of the base station and reducing the time delay of data transmission; on the other hand, discarding the unneeded SDUs can reduce the data transmission load of the base station and increase the data transmission efficiency of the base station; the waste of air interface resources caused when the base station transmits repeated data to the terminal is avoided.
In this embodiment of the present invention, the PDCP entity parsing the SDU to obtain a parsing result, further includes: when the PDCP entity does not store the identifier of the current transmission data, storing the SDU and the identifier of the current transmission data; carrying out PDCP protocol processing on the SDU to obtain a protocol data unit PDU; and transmitting the PDU to a Radio Link Control (RLC) layer.
In the embodiment of the present invention, the identifier for data transmission may uniquely identify one piece of data; may be a serial number. After obtaining the parsing result, when the PDCP entity does not store the identifier of the current transmission data, it indicates that the SDU is received for the first time, and therefore, the SDU and the identifier of the current transmission data are stored. Carrying out PDCP protocol processing on the SDU; the PDCP has the main functions of: header compression of IP data packets, encryption and decryption of data, timer discarding, retransmission during reconstruction and reordering; a protocol data unit PDU is obtained. Thereby improving the efficiency of the channel and the availability of packet data
In this embodiment of the present invention, before the PDCP entity parses the SDU, the method further includes: the PDCP entity determines that a retransmission timer has expired.
In the embodiment of the invention, when a server TCP sends a message segment, a retransmission timer aiming at the specific message segment is established according to Round-Trip Time (RTT for short), and if the acknowledgement of the message segment is received before the expiration Time of the retransmission timer, the timer is cancelled; if an acknowledgement for the segment is not received before the timer expires, the segment is retransmitted and the timer is cleared. And the retransmission timer in the PDCP entity synchronizes the retransmission timer in the server. When the retransmission timer in the PDCP entity has expired, the retransmission timer in the server must have expired. If the retransmission timer is not overtime, it indicates that the SDU is transmitted for the first time, and the SDU can be directly cached.
In order to introduce the above method flow more clearly, fig. 3 exemplarily shows another data transmission method of a base station according to an embodiment of the present invention.
In the embodiment of the invention, after receiving the data transmitted by the core network equipment, the base station does not directly cache the received data, but the PDCP entity determines whether the identifier of the currently transmitted data is stored, and if the identifier of the currently transmitted data is stored, the SDU is directly discarded. The downlink transmission times of unnecessary PDCP are reduced, and further the load of data transmission of the base station and the waste of air interface resources are reduced. The process of transmitting data by the base station is described below.
As shown in fig. 3, the method includes:
step 301, the PDCP entity obtains a service data unit SDU;
alternatively, the PDCP entity may be a periodic acquisition SDU;
step 302, the PDCP entity determines whether the retransmission timer has timed out; if yes, go to step 303; if not, go to step 308;
step 303, the PDCP entity determines whether the SDU is transmitted from the normal GTP tunnel or the forwarding GTP tunnel; if the transmission is performed by the forwarding GTP tunnel, go to step 304; if the transmission is performed by the normal GTP tunnel, go to step 306;
step 304, the PDCP entity analyzes the SDU to obtain an analysis result; the analysis result comprises a destination IP and the identification of the current transmission data;
step 305, the PDCP entity determines whether the destination IP of the SDU is consistent with the terminal IP address recorded in the PDCP entity; if yes, go to step 306; if not, go to step 307;
step 306, determining whether the PDCP entity stores the identifier of the current transmission data; if so, go to step 307; if not, go to step 308;
step 307, discarding the SDU;
step 308, storing the SDU and the identifier of the current transmission data, and performing PDCP protocol processing on the SDU to obtain a protocol data unit PDU.
From the above, it can be seen that: in the embodiment of the invention, the PDCP entity acquires the service data unit SDU; the PDCP entity analyzes the SDU to obtain an analysis result; the analysis result comprises the identification of the current transmission data; discarding the SDU when the PDCP entity determines that the identification of the current transmission data is stored. Therefore, the repeated storage of the same SDU by the PDCP layer can be reduced, and the problem of air interface resource waste caused by repeated transmission of the same data to the terminal by the base station can be avoided.
Based on the same technical concept, the embodiment of the invention also provides a data transmission device of the base station, and the base station can execute the method embodiment. Fig. 4 is a schematic structural diagram of a data transmission apparatus of a base station according to an embodiment of the present invention, and as shown in fig. 4, the data transmission apparatus 400 includes an obtaining unit 401 and a processing unit 402; optionally, a storage unit 403 and a transmission unit 404 are further included. Wherein:
an obtaining unit, configured to obtain a service data unit SDU; the processing unit is used for analyzing the SDU to obtain an analysis result; the analysis result comprises the identification of the current transmission data; and discarding the SDU when the identification of the current transmission data is determined to be stored.
Optionally, the parsing result further includes a destination IP; the processing unit is further configured to: if the SDU is received through the forwarding tunnel, determining whether the target IP of the SDU is consistent with the IP address of the terminal recorded in the PDCP entity; and after determining that the target IP of the SDU is consistent with the IP address of the terminal recorded in the PDCP entity, determining whether the PDCP entity stores the identifier of the current transmission data.
Optionally, the processing unit is further configured to: and if the target IP of the SDU is determined to be inconsistent with the terminal IP address recorded in the PDCP entity, discarding the SDU.
Optionally, the apparatus further comprises a storage unit, configured to: if the identification of the current transmission data is determined not to be stored, storing the SDU and the identification of the current transmission data; the processing unit is configured to: carrying out PDCP protocol processing on the SDU to obtain a protocol data unit PDU; further comprising a transmission unit for: and transmitting the PDU to a Radio Link Control (RLC) layer.
Optionally, the processing unit is further configured to: it is determined that the retransmission timer has expired.
From the above, it can be seen that: in the embodiment of the invention, the PDCP entity acquires the service data unit SDU; the PDCP entity analyzes the SDU to obtain an analysis result; the analysis result comprises the identification of the current transmission data; discarding the SDU when the PDCP entity determines that the identification of the current transmission data is stored. Therefore, the repeated storage of the same SDU by the PDCP layer can be reduced, and the problem of air interface resource waste caused by repeated transmission of the same data to the terminal by the base station can be avoided.
It should be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.