Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention 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 invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In a conventional VOLTE data transmission process (taking an LTE base station as an example, where base stations of 2G, 3G, and 5G systems face similar problems), VOLTE data needs to be forwarded to a core network for VOLTE calls between user terminals in the same base station. In the existing LTE transmission system, the bandwidth can be increased only manually for the problem of bandwidth shortage of a base station access network; for the transmission quality problem, only the buffer of the transmission device can be added, and the cost is increased by adding the buffer of the transmission device, and the bandwidth cost cannot be increased in some fields, such as satellite transmission. Therefore, the problem that the VOLTE data transmission quality is poor and the data transmission efficiency is low exists in the traditional VOLTE data transmission.
In each embodiment of the invention, the uplink data messages of the terminal are forwarded and transmitted between the base stations based on VOLTE conversation between user terminals in the same base station, so that the problem of packet loss caused by poor transmission quality of a network side is avoided, the data transmission quality is enhanced, and the data transmission efficiency is further improved.
The VOLTE data transmission method provided by the present invention can be applied to the application environment shown in fig. 1, wherein the base station 102 is connected to the first terminal 104 and the second terminal 106 through the network. The base station 102 may be an LTE base station, and the base station 102 may also be a base station of 2G, 3G, or 5G systems. The first terminal 104 may be a personal computer, a laptop, a smartphone, a tablet, or a portable wearable device. The second terminal 106 may also be a personal computer, a laptop, a smartphone, a tablet, or a portable wearable device. The terminal can be classified as a sending or receiving terminal according to the message transmission direction; in a specific example, the first terminal may be a receiving terminal or a sending terminal; correspondingly, the second terminal may be a receiving terminal or a transmitting terminal.
In one embodiment, as shown in fig. 2, a VOLTE data transmission method is provided, which is described by taking the method as an example applied to the base station 102 in fig. 1, and includes the following steps:
step S210, obtaining SDU message of uplink PDCP layer; the SDU message of the uplink PDCP layer is a message which is obtained by processing VOLTE data sent by the first terminal and contains the current target IP.
Wherein, the SDU (Service Data Unit) message of the uplink PDCP layer refers to the PDCP SDU for uplink transmission. VOLTE (Voice over LTE, IMS based Voice service) data refers to a kind of Voice service data. The current target IP (Internet Protocol, Protocol for interconnection between networks) refers to the destination IP of the message.
Specifically, when VOLTE data transmission is required, the base station may obtain an SDU packet of the uplink PDCP layer, that is, a packet obtained by processing VOLTE data through the MAC layer and the RLC layer of the base station.
Step S220, when the historical message associated IP same as the current target IP exists, the SDU message of the uplink PDCP layer is taken as the SDU message of the downlink PDCP layer to be transmitted to the second terminal in a downlink manner; and the second terminal is a target terminal of VOLTE data.
The historical message associated IP refers to the IP associated with the message received in the past. The history packet associated IP may include a source IP and/or a destination IP. For example, the source IP of the SDU packet of the uplink PDCP layer acquired in the past or the destination IP of the SDU packet of the downlink PDCP layer acquired in the past may be used.
Specifically, the base station queries whether a history message associated IP same as the current target IP exists, and when the history message associated IP same as the current target IP exists, the base station transmits the SDU message of the uplink PDCP layer serving as the SDU message of the downlink PDCP layer to the second terminal in a downlink mode.
For example, when the PDCP layer in the base station determines that there is a history message associated IP that is the same as the current target IP, the PDCP layer in the base station transmits an SDU message of the uplink PDCP layer to an RLC (radio link Control protocol) layer as an SDU message of the downlink PDCP layer, the RLC layer transmits the SDU message to an MAC (Media Access Control) layer, the MAC layer transmits the SDU message to a PHY (physical) layer, and the PHY layer transmits the SDU message to the second terminal, thereby implementing forwarding transmission between the base stations of the uplink data message of the first terminal.
In a specific embodiment, step S220 is preceded by:
and when the historical message associated IP which is the same as the current source IP does not exist, recording the current source IP as the historical message associated IP.
Specifically, the base station queries whether a history message associated IP identical to the current source IP exists, and records the current source IP as the history message associated IP when the history message associated IP identical to the current source IP does not exist. Wherein, the current source IP refers to the source IP of the message.
Optionally, the VOLTE data transmission method may further include:
receiving an SDU message of a downlink PDCP layer;
and when the historical message associated IP which is the same as the target IP of the SDU message of the downlink PDCP layer does not exist, recording the target IP of the SDU message of the downlink PDCP layer as the historical message associated IP.
In the above embodiment, based on VOLTE call between terminals in the same base station, the base station obtains an SDU message of an uplink PDCP layer, where the SDU message of the uplink PDCP layer is obtained by processing VOLTE data sent by the first terminal; and when the historical message associated IP same as the current target IP exists, the base station transmits the SDU message of the uplink PDCP layer serving as the SDU message of the downlink PDCP layer to the second terminal in a downlink mode. The VOLTE data message is directly transmitted between the base stations, the problem of packet loss caused by poor transmission quality of a network side is avoided, the VOLTE data transmission quality is enhanced, and the VOLTE data transmission efficiency is improved.
In one embodiment, as shown in fig. 3, a VOLTE data transmission method is provided, which is described by taking the method as an example applied to the base station 102 in fig. 1, and includes the following steps:
step S310, obtaining SDU message of uplink PDCP layer; the SDU message of the uplink PDCP layer is a message which is obtained by processing VOLTE data sent by the first terminal and contains the current target IP.
The specific content process of step S310 may refer to the above content, and is not described herein again.
Step S320, when there is a history message associated IP that is the same as the current target IP, sending the SDU message of the downlink PDCP layer to the PDCP downlink queue, and transmitting the SDU message of the downlink PDCP layer to the second terminal through the PDCP downlink queue.
Wherein, the PDCP downlink queue may be used to buffer SDU message data.
Specifically, the base station may query whether a history message associated IP that is the same as the current target IP exists, send the SDU message of the downlink PDCP layer to the PDCP downlink queue when the history message associated IP that is the same as the current target IP exists, and downlink-transmit the SDU message of the downlink PDCP layer to the second terminal through the PDCP downlink queue.
Based on the embodiment, when VOLTE communication is carried out between terminals in the same base station, the base station acquires an SDU message of an uplink PDCP layer; and when the historical message associated IP same as the current target IP exists, sending the SDU message of the downlink PDCP layer to a PDCP downlink queue, and transmitting the SDU message of the downlink PDCP layer to the second terminal in a downlink manner through the PDCP downlink queue. The VOLTE data message is directly transmitted between the base stations, the problem of packet loss caused by poor transmission quality of a network side is avoided, the VOLTE data transmission quality is enhanced, the VOLTE data transmission efficiency is improved, and VOLTE conversation experience is enhanced.
In one embodiment, as shown in fig. 4, a VOLTE data transmission method is provided, which is described by taking the method as an example applied to the base station 102 in fig. 1, and includes the following steps:
step S410, when the preset processing period comes, the PDCP protocol processing is carried out on the received PDU message of the uplink PDCP layer, and the SDU message of the uplink PDCP layer is obtained.
The PDU (Protocol Data Unit) message of the uplink PDCP layer refers to a PDCP PDU transmitted in an uplink. The PDCP protocol processing refers to protocol processing performed at the PDCP layer.
Specifically, the processing of the PDU message of the uplink PDCP layer can be triggered periodically by setting a periodic timer. When the preset processing period comes, the base station carries out PDCP protocol processing on the PDU message of the uplink PDCP layer to obtain the SDU message of the uplink PDCP layer. By performing periodically, the system load can be reduced.
Further, the PDCP protocol processing includes any one or any combination of the following: the decoding method comprises the following steps of header SN processing, decryption processing, decompression processing and reordering processing. The SN process of the decapsulation header may be used to perform out-of-order and duplicate detection on SN (serial number) fields of a PDU packet. The decryption process may be used to decrypt the PDU message. The decompression process may be used to decompress PDU messages. Reordering can be used to reorder the PDU packets when they are out of order.
For example, the base station detects the PDU message of the uplink PDCP layer, and when detecting that the PDU message is in an encrypted state, decrypts the PDU message through decryption processing. When detecting that the PDU message is in a compressed state, decompressing the PDU message through decompression processing.
Step S420, obtaining SDU message of uplink PDCP layer; the SDU message of the uplink PDCP layer is a message which is obtained by processing VOLTE data sent by the first terminal and contains the current target IP.
Step S430, when the historical message associated IP same as the current target IP exists, the SDU message of the uplink PDCP layer is taken as the SDU message of the downlink PDCP layer to be transmitted to the second terminal in a downlink mode.
The specific content process of step S420 and step S430 may refer to the above contents, and is not described herein again.
Based on the embodiment, when VOLTE communication between terminals in the same base station and a preset processing period comes, the base station performs PDCP protocol processing on a PDU message of an uplink PDCP layer to obtain an SDU message of the uplink PDCP layer; and the base station acquires the SDU message of the uplink PDCP layer and transmits the SDU message of the downlink PDCP layer to the second terminal when the historical message associated IP same as the current target IP exists. The VOLTE data message is directly transmitted between the base stations, the data transmission load is reduced, the VOLTE data transmission quality is enhanced, the VOLTE data transmission efficiency is improved, and the VOLTE conversation experience is enhanced.
In one embodiment, as shown in fig. 5, a VOLTE data transmission method is provided, which is described by taking the method as an example applied to the base station 102 in fig. 1, and includes the following steps:
step S510, obtaining an SDU message of an uplink PDCP layer; the SDU message of the uplink PDCP layer is a message which is obtained by processing VOLTE data sent by the first terminal and contains the current target IP.
The specific content process of step S510 may refer to the above content, and is not described herein again.
Step S520, when the historical message associated IP same as the current target IP exists, the SDU message of the uplink PDCP layer is taken as the SDU message of the downlink PDCP layer to be transmitted to the second terminal in a downlink mode; and the second terminal is a target terminal of VOLTE data.
The specific content process of step S620 may refer to the above contents, and is not described herein again.
Step S530, when there is no historical message associated IP which is the same as the current target IP, the SDU message of the uplink PDCP layer is transmitted to the second terminal through the core network.
Specifically, the base station may query whether a history packet associated IP that is the same as the current target IP exists, and when it is queried that the history packet associated IP that is the same as the current target IP does not exist, may transmit the SDU packet of the uplink PDCP layer to the core network, and downlink-transmit the SDU packet to the second terminal through the core network.
In a specific embodiment, the step of transmitting the SDU packet of the uplink PDCP layer to the second terminal via the core network in a downlink manner includes:
sending SDU message of the uplink PDCP layer to a GTP (GPRS tunneling protocol) layer;
and the GTP layer carries out GTP layer head processing on the uplink PDCP layer and sends the processing result to the core network.
Specifically, the base station may query whether there is a history packet associated IP that is the same as the current target IP, and when it is queried that there is no history packet associated IP that is the same as the current target IP, may send an SDU packet of the uplink PDCP layer to a GTP (GPRS tunneling protocol) layer, where the GTP layer performs GTP layer header processing on the uplink PDCP layer, and sends a processing result to the core network. And the SDU message is transmitted to a second terminal in a downlink mode through a core network, so that direct forwarding transmission of the VOLTE data message among the base stations is achieved.
Based on the embodiment, when VOLTE communication between terminals in the same base station exists and a historical message associated IP which is the same as a current target IP exists, an SDU message of a downlink PDCP layer is transmitted to a second terminal; and when the historical message associated IP which is the same as the current target IP does not exist, transmitting the SDU message of the uplink PDCP layer to the second terminal through the core network in a downlink manner. The VOLTE data message is directly transmitted between the base stations, the VOLTE data transmission quality is enhanced, the VOLTE data transmission efficiency is improved, and the VOLTE conversation experience is enhanced.
In one embodiment, as shown in fig. 6, a method of VOLTE data transmission is provided. Taking the application of the method to the base station 102 in fig. 1 as an example, the method includes the following steps:
step S601, setting a periodic timer, and triggering the processing of the cache data packet at regular time, including forwarding or continuing the cache. If the preset period comes, turning to S602; otherwise, the method keeps waiting until the timer is overtime.
Step S602, judging whether receiving the ascending PDCP layer PDU message. If yes, go to S603, otherwise, go to S601 to continue to wait for the next predetermined period.
Step S603, performing PDCP protocol processing (header SN decoding, decryption, decompression, reordering, and the like) on the received uplink PDCP layer PDU message to obtain an uplink PDCP layer SDU message, and turning to S604.
Step S604, determining whether the IP corresponding to the first terminal to which the uplink PDCP layer SDU packet belongs is stored. If not, go to S605, otherwise go to S606.
Step S605, parsing the source IP of the uplink PDCP layer SDU packet, and storing the source IP as the IP of the first terminal, and then go to step S606.
Step S606, analyzing the target IP of the SDU message of the uplink PDCP layer, and judging whether the historical message associated IP which is the same as the target IP exists in the base station. If yes, go to S607; otherwise go to S608.
Step S607, sending the uplink PDCP layer SDU packet to a PDCP downlink queue, and transmitting the SDU packet to the second terminal through the PDCP downlink queue, and then going to step S609.
Step S608, the uplink PDCP layer SDU packet is forwarded to the GTP layer, the GTP layer performs GTP header processing on the uplink PDCP layer SDU packet, and sends the processing result to the core network, and the core network performs downlink transmission to the second terminal, and then the process goes to step S609.
In step S609, the process is completed.
Based on this embodiment, the base station performs PDCP protocol processing on the PDU message of the uplink PDCP layer to obtain an SDU message of the uplink PDCP layer. And analyzing the SDU message of the uplink PDCP layer to obtain a target IP, and judging whether the target IP is stored in the base station. If the message exists, the message is directly forwarded to a PDCP downlink queue for PDCP protocol processing, and is transmitted to the second terminal in a downlink manner through the PDCP downlink queue; and if the message does not exist, forwarding the message to the core network, and transmitting the message to the second terminal through the core network in a downlink manner. Based on VOLTE conversation between terminals in the same base station, the problem of packet loss caused by poor transmission quality of a network side can be avoided, and then data transmission efficiency and VOLTE conversation experience are improved.
In one embodiment, as shown in fig. 7, an apparatus for VOLTE data transmission is provided, including:
an SDU packet generating unit 710 configured to obtain an SDU packet of the uplink PDCP layer; the SDU message of the uplink PDCP layer is a message which is obtained by processing VOLTE data sent by the first terminal and contains the current target IP.
An SDU packet transmission unit 720, configured to transmit an SDU packet of the uplink PDCP layer as an SDU packet of the downlink PDCP layer to the second terminal in a downlink manner when there is a history packet associated IP that is the same as the current target IP; and the second terminal is a target terminal of VOLTE data.
Further, the apparatus further comprises:
and the target IP confirming unit is used for recording the current target IP as the historical message associated IP when the historical message associated IP which is the same as the current target IP does not exist.
Further, the apparatus further comprises:
and the source IP confirming unit is used for recording the current source IP as the historical message associated IP when the historical message associated IP which is the same as the current source IP does not exist.
Further, the apparatus further comprises:
and the core network processing unit is used for transmitting the SDU message of the uplink PDCP layer to the second terminal through the core network in a downlink manner when the historical message associated IP which is the same as the current target IP does not exist.
Specific limitations on the apparatus for VOLTE data transmission can be referred to the above limitations on the method for VOLTE data transmission, which are not described herein again. All or part of each module in the apparatus for VOLTE data transmission may be 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.
In one embodiment, as shown in fig. 8, a system for VOLTE data transmission is provided, which includes a base station 810 connected to a first terminal 820 and a second terminal 830.
The base station 810 may be configured to perform the following steps:
acquiring an SDU message of an uplink PDCP layer; an SDU message of an uplink PDCP layer is a message which is obtained by processing VOLTE data sent by a first terminal and contains a current target IP;
when the historical message associated IP same as the current target IP exists, the SDU message of the uplink PDCP layer is taken as the SDU message of the downlink PDCP layer to be transmitted to the second terminal in a downlink mode; and the second terminal is a target terminal of VOLTE data.
Further, the base station 810 may be further configured to perform the following steps:
and when the historical message associated IP which is the same as the current target IP does not exist, recording the current target IP as the historical message associated IP.
Further, the base station 810 may be further configured to perform the following steps:
and when the historical message associated IP which is the same as the current source IP does not exist, recording the current source IP as the historical message associated IP.
Further, the base station may be further configured to perform the following steps:
and when the historical message associated IP which is the same as the current target IP does not exist, transmitting the SDU message of the uplink PDCP layer to the second terminal through the core network in a downlink manner.
In one embodiment, as shown in fig. 9, a system for VOLTE data transmission is provided, which includes a first terminal, a second terminal, and a base station connected to a core network through a network environment. The first terminal is connected with the base station through an air interface environment, and the second terminal is connected with the base station through the air interface environment. Preferably, the protocol layer of the base station includes: a GTP layer, a PDCP layer, an RLC layer, an MAC layer, and a PHY layer.
Specifically, the PDCP layer performs PDCP protocol processing on a PDU message of an uplink PDCP layer to obtain the SDU message of the uplink PDCP layer; and when the historical message associated IP same as the current target IP exists, the PDCP layer takes the SDU message of the uplink PDCP layer as the SDU message of the downlink PDCP layer to be transmitted to the second terminal in a downlink mode. The VOLTE data message is directly transmitted between the base stations, the problem of packet loss caused by poor transmission quality of a network side is avoided, the VOLTE data transmission quality is enhanced, and the VOLTE data transmission efficiency is improved.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring an SDU message of an uplink PDCP layer; an SDU message of an uplink PDCP layer is a message which is obtained by processing VOLTE data sent by a first terminal and contains a current target IP;
when the historical message associated IP same as the current target IP exists, the SDU message of the uplink PDCP layer is taken as the SDU message of the downlink PDCP layer to be transmitted to the second terminal in a downlink mode; and the second terminal is a target terminal of VOLTE data.
Further, the computer program when executed by the processor performs the steps of:
and when the historical message associated IP which is the same as the current target IP does not exist, recording the current target IP as the historical message associated IP.
Further, the computer program when executed by the processor performs the steps of:
and when the historical message associated IP which is the same as the current source IP does not exist, recording the current source IP as the historical message associated IP.
Further, the computer program when executed by the processor performs the steps of:
and when the historical message associated IP which is the same as the current target IP does not exist, transmitting the SDU message of the uplink PDCP layer to the second terminal through the core network in a downlink manner.
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 division methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within 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 invention, 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 inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.