Data transmission method and apparatus
By determining the data offloading ratio on 4G and 5G base stations based on the satisfaction rate of service data and the first packet latency data in EN-DC mode, the problem of low transmission efficiency is solved, and more efficient data transmission and service quality improvement are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHENGDU TD TECH LTD
- Filing Date
- 2021-08-04
- Publication Date
- 2026-06-30
AI Technical Summary
In EN-DC mode, existing technologies fail to effectively allocate transmission rates between 4G and 5G base stations, resulting in low data transmission efficiency and impacting service quality and transmission performance.
When the packet data aggregation protocol is used for dynamic transmission, the data ratio of service data on the 4G transmission channel and the 5G transmission channel is determined based on the service data satisfaction rate data and the first packet delay data, and then the data is split for transmission.
It improved the efficiency of data transmission, optimized the offloading and processing of business data between different base stations, and enhanced service quality and transmission performance.
Smart Images

Figure CN115915271B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data transmission method and apparatus. Background Technology
[0002] 5G, as the next-generation wireless communication technology of the 3rd Generation Partnership Project (3GPP), features high speed, low latency, and large capacity. Non-Standalone (NSA) networking is a solution for the overall transition from 4G to 5G networks. In the NSA model, 4G and 5G coexist. From this perspective, 5G networks in the NSA phase are actually an enhancement of 4G networks.
[0003] In mobile communication networks, there exists a three-layer relationship: core network, base stations, and mobile terminals. In the 4G era, the core network was 4G, the base stations were 4G base stations, and the mobile terminals used 4G antennas. This is the standard 4G network. However, in the NSA (Non-Standalone) network architecture, the core network can be either a 4G core network or a 5G core network, and the base stations can also be either 4G or 5G base stations. A typical NSA network uses a dual-connectivity structure with 4G base stations as the primary network and 5G base stations as secondary networks, namely EUTRA-NR Dual Connection, or EN-DC for short.
[0004] In EN-DC mode, terminals with NSA dual connectivity connect to both 4G and 5G base stations, utilizing the radio resources of both for transmission. Data offloading between the two base stations is supported. Currently, the 5G protocol only explicitly supports simultaneous data transmission on both 4G and 5G base stations, but it doesn't specify how to allocate transmission rates between them. Due to the different transmission characteristics of 4G and 5G base stations—4G base stations have wide coverage but low transmission rates, while 5G base stations have high transmission rates but relatively smaller coverage—if services with high transmission rate requirements are assigned to 4G base stations, it will affect the Quality of Service (QoS) performance of those services. Similarly, assigning 5G base stations to terminal devices deployed at the edge will also affect the transmission performance of those services. Therefore, existing solutions suffer from low data transmission efficiency. Summary of the Invention
[0005] This application provides a data transmission method and apparatus to solve the problem of low data transmission efficiency in the prior art.
[0006] A first aspect of this application provides a data transmission method, the method comprising:
[0007] Based on the transmission mode set by the packet data aggregation protocol, the transmission channel for the service data carried by the packet data aggregation protocol is determined, and the transmission channel includes a 4G transmission channel, a 5G transmission channel, and a dynamic transmission channel;
[0008] Based on the satisfaction rate data of the service data in the dynamic transmission channel and the first packet delay data of the packet data aggregation protocol layer, the data ratio of the service data on the 4G transmission channel and the 5G transmission channel is determined;
[0009] The service data is split and transmitted on the 4G transmission channel and the 5G transmission channel according to the data ratio.
[0010] In one optional implementation, determining the data ratio of the service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate of the service data in the dynamic transmission channel and the first packet delay of the packet data aggregation protocol layer includes:
[0011] Based on the satisfaction rate data of the business data and the preset first satisfaction rate threshold, determine whether to perform traffic diversion processing on the business data;
[0012] If so, the proportion of the service data on the 4G transmission channel and the 5G transmission channel is determined based on the satisfaction rate data, the preset second satisfaction rate threshold, the first packet delay data of the packet data aggregation protocol layer, and the preset first packet delay threshold.
[0013] In one optional implementation, the method further includes: if not, transmitting the service data in a preset transmission channel, wherein the preset transmission channel is the 4G transmission channel or the 5G transmission channel.
[0014] In one optional implementation, the preset transmission channel includes the 4G transmission channel, and determining the data ratio of the service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate, a preset second satisfaction rate threshold, the first packet delay data of the packet data aggregation protocol layer, and a preset first packet delay threshold includes:
[0015] If the satisfaction rate is less than or equal to the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be a first value, and the remaining service data is transmitted on the 5G transmission channel.
[0016] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the second value, and the remaining service data is transmitted on the 5G transmission channel.
[0017] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be a third value, and the remaining service data is transmitted on the 5G transmission channel.
[0018] In one optional implementation, the preset transmission channel includes the 5G transmission channel, and determining the data ratio of the service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate, a preset second satisfaction rate threshold, the first packet delay data of the packet data aggregation protocol layer, and a preset first packet delay threshold includes:
[0019] If the satisfaction rate is less than or equal to the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the fourth value, and the remaining service data is transmitted on the 5G transmission channel.
[0020] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the fifth value, and the remaining service data is transmitted on the 5G transmission channel.
[0021] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the sixth value, and the remaining service data is transmitted on the 5G transmission channel.
[0022] In one optional implementation, the preset first satisfaction rate threshold is greater than the preset second satisfaction rate threshold, the first value is greater than the second value, the second value is greater than the third value, the fourth value is greater than the fifth value, and the fifth value is greater than the sixth value.
[0023] In an optional implementation, the method further includes:
[0024] Based on the quality of service level identifier and the amount of data uploaded by the packet data aggregation protocol bearers, the multiple packet data aggregation protocol bearers are sorted.
[0025] The multiple packet data aggregation protocol bearers are processed according to the sorting.
[0026] A second aspect of this application provides a data transmission apparatus, the apparatus comprising:
[0027] The processing module is used to determine the transmission channel of the service data carried by the packet data aggregation protocol according to the transmission mode set by the packet data aggregation protocol, wherein the transmission channel includes a 4G transmission channel, a 5G transmission channel and a dynamic transmission channel; and to determine the data ratio of the service data on the 4G transmission channel and the 5G transmission channel according to the satisfaction rate data of the service data in the dynamic transmission channel and the first packet delay data of the packet data aggregation protocol layer.
[0028] The traffic splitting module is used to split the service data on the 4G transmission channel and the 5G transmission channel according to the data ratio.
[0029] In one optional implementation, the processing module is specifically used to determine whether to perform diversion processing on the business data based on the satisfaction rate data of the business data and a preset first satisfaction rate threshold.
[0030] If so, the proportion of the service data on the 4G transmission channel and the 5G transmission channel is determined based on the satisfaction rate data, the preset second satisfaction rate threshold, the first packet delay data of the packet data aggregation protocol layer, and the preset first packet delay threshold.
[0031] In one optional implementation, the processing module is further configured to, if not, transmit the service data in a preset transmission channel, wherein the preset transmission channel is either the 4G transmission channel or the 5G transmission channel.
[0032] In one optional implementation, the preset transmission channel includes the 4G transmission channel. The processing module is specifically configured to determine that if the satisfaction rate is less than or equal to the preset second satisfaction rate threshold and the first packet delay data is greater than or equal to the preset first packet delay threshold, the proportion of the service data transmitted on the 4G transmission channel is a first value, and the remaining service data is transmitted on the 5G transmission channel.
[0033] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the second value, and the remaining service data is transmitted on the 5G transmission channel.
[0034] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be a third value, and the remaining service data is transmitted on the 5G transmission channel.
[0035] In one optional implementation, the preset transmission channel includes the 5G transmission channel. The processing module is specifically configured to determine that if the satisfaction rate is less than or equal to the preset second satisfaction rate threshold and the first packet delay data is greater than or equal to the preset first packet delay threshold, the proportion of the service data transmitted on the 4G transmission channel is a fourth value, and the remaining service data is transmitted on the 5G transmission channel.
[0036] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the fifth value, and the remaining service data is transmitted on the 5G transmission channel.
[0037] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the sixth value, and the remaining service data is transmitted on the 5G transmission channel.
[0038] In one optional implementation, the preset first satisfaction rate threshold is greater than the preset second satisfaction rate threshold, the first value is greater than the second value, the second value is greater than the third value, the fourth value is greater than the fifth value, and the fifth value is greater than the sixth value.
[0039] In an optional implementation, the processing module is further configured to sort multiple packet data aggregation protocol bearers according to the service quality level identifier and the amount of data uploaded.
[0040] The multiple packet data aggregation protocol bearers are processed according to the sorting.
[0041] A third aspect of this application provides an electronic device, including: a processor and a memory;
[0042] The memory is used to store computer programs;
[0043] The processor is used to call and run the computer program stored in the memory, and perform the method as described in the first aspect.
[0044] A fourth aspect of this application provides a computer-readable storage medium for storing a computer program that causes a computer to perform the method described in the first aspect.
[0045] The fifth aspect of this application provides a computer program product including a computer program that, when executed by a processor, implements the method described in the first aspect.
[0046] The data transmission method and apparatus provided in this application include: determining the transmission channel for service data carried by the Packet Data Convergence Protocol (PDCP) based on the transmission mode set by the PCP; the transmission channel includes a 4G transmission channel, a 5G transmission channel, and a dynamic transmission channel; determining the data ratio of service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate data of service data in the dynamic transmission channel and the first packet delay data of the PCP layer; and splitting the service data for transmission on the 4G transmission channel and the 5G transmission channel according to the data ratio. Compared with the prior art, this application improves the efficiency of data transmission by splitting the service data for transmission based on the satisfaction rate data and the first packet delay data of the service data carried by the PCP when the PCP is in dynamic transmission mode. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is a schematic diagram illustrating an application scenario of a data transmission method provided in an embodiment of this application.
[0049] Figure 2 This application provides a schematic diagram of an NSA network structure.
[0050] Figure 3 This is a schematic diagram of another NSA networking structure provided in an embodiment of this application;
[0051] Figure 4 This application provides another schematic diagram of an NSA networking structure.
[0052] Figure 5 This application provides another schematic diagram of an NSA networking structure.
[0053] Figure 6 A flowchart illustrating a data transmission method provided in an embodiment of this application;
[0054] Figure 7 A flowchart illustrating another data transmission method provided in an embodiment of this application;
[0055] Figure 8 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of this application;
[0056] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0058] In mobile communication networks, there exists a three-layer relationship: core network, base stations, and mobile terminals. In the 4G era, the core network was 4G, the base stations were 4G base stations, and the mobile terminals used 4G antennas. This is the standard 4G network. However, in the NSA (Non-Standalone) network architecture, the core network can be either a 4G core network or a 5G core network, and the base stations can also be either 4G or 5G base stations. A typical NSA network uses a dual-connectivity structure with 4G base stations as the primary network and 5G base stations as secondary networks, namely EUTRA-NR Dual Connection, or EN-DC for short.
[0059] In EN-DC mode, terminals with NSA dual connectivity connect to both 4G and 5G base stations, utilizing the radio resources of both for transmission. Data offloading between the two base stations is supported. Currently, the 5G protocol only explicitly supports simultaneous data transmission on both 4G and 5G base stations, but it doesn't specify how to allocate transmission rates between them. Due to the different transmission characteristics of 4G and 5G base stations—4G base stations have wide coverage but low transmission rates, while 5G base stations have high transmission rates but relatively smaller coverage—if services with high transmission rate requirements are assigned to 4G base stations, it will affect the Quality of Service (QoS) performance of those services. Similarly, assigning 5G base stations to terminal devices deployed at the edge will also affect the transmission performance of those services. Therefore, existing solutions suffer from low data transmission efficiency.
[0060] To address the aforementioned issues, this application provides a data transmission method and apparatus. By splitting the transmission of service data based on the satisfaction rate data and first packet delay data of the service data carried by the packet data aggregation protocol when the packet data aggregation protocol is used for dynamic transmission, the efficiency of data transmission is improved.
[0061] The application scenarios of this application are described below.
[0062] Figure 1 This is a schematic diagram illustrating an application scenario of a data transmission method provided in an embodiment of this application. For example... Figure 1 As shown, the system includes: a 4G core network 101, a 4G base station 102, a 5G base station 103, and a terminal device 104. The solid lines between the 4G core network 101 and the 4G base station 102, and between the 4G base station 102 and the 5G base station 103, represent the control plane, which is used for signaling transmission. The dashed lines between the 4G core network 101, the 4G base station 102, and the 5G base station 103 represent the user plane, which is used for data transmission. Terminal device 104 periodically triggers data transmission processing, transmitting data between terminal device 104 and 4G base station 102 and / or 5G base station 103 via radio bearer (RB). 5G base station 103 is connected to 4G core network 101 through 4G base station 102, and 4G base station 102 is directly connected to 4G core network 101. For the control plane, 5G base station 103 transmits signaling through 4G base station 102 and 4G core network 101. For the user plane, 4G base station 102 and 5G base station 103 transmit data directly with 4G core network 101. 4G base station 102 and 5G base station 103 can transmit data. Data that 4G base station 102 cannot transmit can be migrated to 5G base station 103.
[0063] Figure 2This application provides a schematic diagram of an NSA network structure, as shown in the embodiment of the present application. Figure 2 As shown, it includes a 4G core network 101, a 4G base station 102, and a 5G base station 103. The dashed lines represent the control plane, which is used to transmit signaling, and the solid lines represent the user plane, which is used to transmit data. For the control plane, the 5G base station 103 transmits signaling through the 4G base station 102, and for the user plane, the 5G base station 103 transmits data through the 4G base station 102. Figure 3 This is a schematic diagram of another NSA networking structure provided in an embodiment of this application, as shown below. Figure 3 As shown, the system includes a 4G core network 101, a 4G base station 102, and a 5G base station 103. The dashed lines represent the control plane, which is used to transmit signaling, and the solid lines represent the user plane, which is used to transmit data. For the control plane, the 5G base station 103 transmits signaling through the 4G base station 102. For the user plane, the 5G base station 103 can transmit data directly with the 4G core network 101, or it can transmit data with the 4G core network 101 through the 4G base station 102.
[0064] It is known that, Figure 1 The diagram provided is merely a scenario illustration of a data transmission method. The data transmission method provided in this application embodiment can be applied to NSA data transmission scenarios.
[0065] Optionally, the core network can be a 5G core network, so that the 4G base station can establish a connection with the 5G core network through the 5G base station. Figure 4 A schematic diagram of another NSA networking structure provided in this application embodiment is shown below. Figure 4 As shown, the system includes a 5G core network 104, a 4G base station 102, and a 5G base station 103. The dashed lines represent the control plane, used for transmitting signaling, and the solid lines represent the user plane, used for transmitting data. For the control plane, the 4G base station 102 transmits signaling to the 5G core network 104 through the 5G base station 103. For the user plane, the 5G base station 103 transmits data directly to the 5G core network 104, and the 4G base station 102 transmits data to the 5G core network 104 through the 5G base station 103. Figure 5 A schematic diagram of another NSA networking structure provided in this application embodiment is shown below. Figure 5 As shown, it includes: a 5G core network 104, a 4G base station 102, and a 5G base station 103. The dashed lines represent the control plane, which is used to transmit signaling, and the solid lines represent the user plane, which is used to transmit data. For the control plane, the 4G base station 102 transmits signaling to the 5G core network 104 through the 5G base station 103. For the user plane, the 5G base station 103 transmits data directly to the 5G core network 104, and the 4G base station 102 transmits data directly to the 5G core network 104.
[0066] It is known that terminal devices can be computers with wireless transceiver capabilities, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, mobile phones, tablets, wireless terminals in industrial control, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in smart homes, etc.
[0067] In this embodiment, the device for implementing the data transmission function can be a terminal device or a device capable of supporting the implementation of this function, such as a chip system, which can be installed in the terminal device. In this embodiment, the chip system can be composed of chips or can include chips and other discrete components.
[0068] It should be noted that the application scenarios of the technical solution in this application can be... Figure 1 This can be applied to various scenarios, including those mentioned above, but not limited to them. It can also be used in other scenarios that require data transmission.
[0069] It is understood that the above data transmission method can be implemented by the data transmission device provided in the embodiments of this application. The data transmission device can be part or all of a device, such as the above-mentioned terminal device or the chip of the terminal device.
[0070] The following uses a data transmission device integrated or installed with relevant execution code as an example to provide a detailed description of the technical solutions of the embodiments of this application. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0071] Figure 6 This is a flowchart illustrating a data transmission method provided in an embodiment of this application. This embodiment relates to the specific process of data transmission. Figure 6 As shown, the method includes:
[0072] S101. Determine the transmission channel for the business data carried by the packet data aggregation protocol according to the transmission mode set by the packet data aggregation protocol.
[0073] In this embodiment, the transmission channels include a 4G transmission channel, a 5G transmission channel, and a dynamic transmission channel. The dynamic transmission channel indicates that data transmission can be selectively performed simultaneously via both the 4G and 5G transmission channels. Specifically, this is configured based on the service data.
[0074] Among them, the Packet Data Convergence Protocol (PDCP) carries the data transmission.
[0075] Specifically, when transmitting service data, the terminal device determines the transmission channel of the service data according to the preset transmission mode in the packet data aggregation protocol bearer. For example, when the transmission mode of the PDCP bearer is set to 4G transmission only, the service data is transmitted on the 4G transmission channel; when the transmission mode of the PDCP bearer is set to 5G transmission only, the service data is transmitted on the 5G transmission channel; when the transmission mode of the PDCP bearer is set to dynamic transmission, the service data is transmitted simultaneously on the 4G transmission channel and the 5G transmission channel.
[0076] In this application embodiment, there are no restrictions on the transmission method settings. For example, the settings can be configured on the terminal device or transmitted to the terminal device by a 5G base station and / or a 4G base station.
[0077] In the embodiments of this application, the transmission methods carried by different PDCPs on the same terminal devices can be set separately, and can be the same or different. No restrictions are imposed in the embodiments of this application.
[0078] S102. Based on the satisfaction rate data of service data in the dynamic transmission channel and the first packet delay data of the packet data aggregation protocol layer, determine the data ratio of service data on the 4G transmission channel and the 5G transmission channel.
[0079] When the transmission channel is a dynamic transmission channel, the data ratio on the 4G transmission channel and the 5G transmission channel is determined based on the service data.
[0080] In this embodiment of the application, the terminal device periodically counts the satisfaction rate data of the service data carried by the PDCP. For example, the ratio of the amount of data actually successfully transmitted to the amount of data that needs to be transmitted within the statistical period is used as the satisfaction rate data.
[0081] The first packet latency of PDCP is the latency of the earliest PDCP data packet stored in the terminal device's cache within the PDCP bearer.
[0082] S103. Based on the data ratio, the service data is split and transmitted on the 4G transmission channel and the 5G transmission channel.
[0083] The data ratio represents the proportion of service data allocated on the 4G transmission channel and the proportion allocated on the 5G transmission channel in the dynamic transmission channel. After the data ratio is determined, the service data is transmitted on the 4G transmission channel and the 5G transmission channel according to the corresponding data ratios of the 4G transmission channel and the 5G transmission channel.
[0084] The data transmission method provided in this application includes: determining the transmission channel for service data carried by the Packet Data Convergence Protocol (PDCP) based on the transmission mode set by the PCP; the transmission channel includes a 4G transmission channel, a 5G transmission channel, and a dynamic transmission channel; determining the data ratio of service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate data of service data in the dynamic transmission channel and the first packet delay data of the PCP layer; and splitting the service data for transmission on the 4G transmission channel and the 5G transmission channel according to the data ratio. Compared with the prior art, this application improves the efficiency of data transmission by splitting the service data for transmission based on the satisfaction rate data and the first packet delay data of the service data carried by the PCP when the PCP is in dynamic transmission mode.
[0085] Based on the above embodiments, Figure 7 A flowchart illustrating another data transmission method provided in this application embodiment is shown below. Figure 7 As shown, the method includes:
[0086] S201. Determine the transmission channel for the business data carried by the packet data aggregation protocol based on the transmission mode set by the packet data aggregation protocol.
[0087] In this embodiment of the application, all PDCP bearers that need to transmit data on the terminal device are sorted. Optionally, multiple packet data aggregation protocol bearers are sorted according to the service quality level identifier and the amount of data uploaded; and the multiple packet data aggregation protocol bearers are processed according to the sorting.
[0088] For example, the terminal device sorts the PDCP bearers from high to low according to the QoS Class Identifier (QCI) priority of different PDCP bearers, and processes the PDCP bearers with higher QCI priority first.
[0089] Among them, for PDCP bearers with the same QCI priority, they are sorted according to the amount of service data transmitted on the PDCP bearer, and the PDCP bearer with more data has a higher priority.
[0090] In this embodiment, the QCI priority carried by PDCP can be set on the terminal device or sent to the terminal device by the base station.
[0091] Specifically, when a terminal device processes a PDCP bearer, it determines the transmission channel for the service data of the PDCP bearer based on the transmission mode set in the PDCP bearer configuration.
[0092] S202. Based on the satisfaction rate data of service data in the dynamic transmission channel and the first packet delay data of the packet data aggregation protocol layer, determine the data ratio of service data on the 4G transmission channel and the 5G transmission channel.
[0093] In this embodiment, there is no limitation on the method of determining the data ratio of service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate data of service data in the dynamic transmission channel and the first packet delay data of the packet data aggregation protocol layer. Optionally, it is determined whether to perform traffic splitting processing on the service data based on the satisfaction rate data of the service data and a preset first satisfaction rate threshold. If yes, the data ratio of service data on the 4G transmission channel and the 5G transmission channel is determined based on the satisfaction rate data, the preset second satisfaction rate threshold, the first packet delay data of the packet data aggregation protocol layer and the preset first packet delay threshold. If no, the service data is transmitted in a preset transmission channel, which is either a 4G transmission channel or a 5G transmission channel.
[0094] The preset first satisfaction rate threshold is greater than the preset second satisfaction rate threshold. The preset transmission channel is the default transmission channel for service data, which can be a 4G transmission channel or a 5G transmission channel.
[0095] In this application embodiment, there are no restrictions on the method of determining the data ratio, and it can be described according to the specific situation.
[0096] For example, when the preset transmission channel includes a 4G transmission channel, if the satisfaction rate is less than or equal to a preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to a preset first packet delay threshold, then the proportion of service data transmitted on the 4G transmission channel is determined to be a first value, and the remaining service data is transmitted on the 5G transmission channel; if the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of service data transmitted on the 4G transmission channel is determined to be a second value, and the remaining service data is transmitted on the 5G transmission channel; if the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of service data transmitted on the 4G transmission channel is determined to be a third value, and the remaining service data is transmitted on the 5G transmission channel.
[0097] For example, when the preset transmission channel includes a 5G transmission channel, if the satisfaction rate is less than or equal to a preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to a preset first packet delay threshold, then the proportion of service data transmitted on the 4G transmission channel is determined to be the fourth value, and the remaining service data is transmitted on the 5G transmission channel; if the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of service data transmitted on the 4G transmission channel is determined to be the fifth value, and the remaining service data is transmitted on the 5G transmission channel; if the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of service data transmitted on the 4G transmission channel is determined to be the sixth value, and the remaining service data is transmitted on the 5G transmission channel.
[0098] In this application embodiment, there are no restrictions on the settings of the preset first satisfaction rate threshold, the preset second satisfaction rate threshold, the first value, the second value, the third value, the fourth value, the fifth value, and the sixth value. For example, the preset first satisfaction rate threshold is greater than the preset second satisfaction rate threshold, the first value is greater than the second value, the second value is greater than the third value, the fourth value is greater than the fifth value, and the fifth value is greater than the sixth value.
[0099] S203. Based on the data ratio, the service data is split and transmitted on the 4G transmission channel and the 5G transmission channel.
[0100] The data ratio represents the proportion of service data allocated on the 4G transmission channel and the proportion allocated on the 5G transmission channel in the dynamic transmission channel. After the data ratio is determined, the service data is transmitted on the 4G transmission channel and the 5G transmission channel according to the corresponding data ratios of the 4G transmission channel and the 5G transmission channel.
[0101] The data transmission method and apparatus provided in this application include: determining the transmission channel for service data carried by the Packet Data Convergence Protocol (PDCP) based on the transmission mode set by the PCP; the transmission channel includes a 4G transmission channel, a 5G transmission channel, and a dynamic transmission channel; determining the data ratio of service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate data of service data in the dynamic transmission channel and the first packet delay data of the PCP layer; and splitting the service data for transmission on the 4G transmission channel and the 5G transmission channel according to the data ratio. Compared with the prior art, this application improves the efficiency of data transmission by splitting the service data for transmission based on the satisfaction rate data and the first packet delay data of the service data carried by the PCP when the PCP is in dynamic transmission mode.
[0102] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as ROM, RAM, magnetic disk, or optical disk.
[0103] This application also provides a data transmission device in its embodiments. Figure 8 This is a schematic diagram of a data transmission device provided in an embodiment of this application. This data transmission device can be implemented through software, hardware, or a combination of both to execute the data transmission method described in the above embodiments. Figure 8 As shown, the data transmission device 300 includes a processing module 301 and a splitting module 302.
[0104] The processing module 301 is used to determine the transmission channel of the service data carried by the packet data aggregation protocol according to the transmission mode set by the packet data aggregation protocol. The transmission channel includes a 4G transmission channel, a 5G transmission channel and a dynamic transmission channel. Based on the service data satisfaction rate data in the dynamic transmission channel and the first packet delay data of the packet data aggregation protocol layer, the processing module 301 is used to determine the data ratio of the service data on the 4G transmission channel and the 5G transmission channel.
[0105] The splitting module 302 is used to split and transmit service data on the 4G transmission channel and the 5G transmission channel according to the data ratio.
[0106] In one optional implementation, the processing module 301 is specifically used to determine whether to perform diversion processing on the business data based on the satisfaction rate data of the business data and a preset first satisfaction rate threshold.
[0107] If so, the proportion of service data on the 4G transmission channel and the 5G transmission channel is determined based on the satisfaction rate data, the preset second satisfaction rate threshold, the first packet delay data of the packet data aggregation protocol layer, and the preset first packet delay threshold.
[0108] In one optional implementation, the processing module 301 is further configured to transmit the service data in a preset transmission channel if no, wherein the preset transmission channel is a 4G transmission channel or a 5G transmission channel.
[0109] In one optional implementation, the preset transmission channel includes a 4G transmission channel. The processing module 301 is specifically used to determine the proportion of service data transmitted in the 4G transmission channel as a first value if the satisfaction rate is less than or equal to a preset second satisfaction rate threshold and the first packet delay data is greater than or equal to a preset first packet delay threshold, and the remaining service data is transmitted in the 5G transmission channel.
[0110] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of service data transmitted in the 4G transmission channel is determined to be the second value, and the remaining service data is transmitted in the 5G transmission channel.
[0111] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of service data transmitted in the 4G transmission channel is determined to be the third value, and the remaining service data is transmitted in the 5G transmission channel.
[0112] In one optional implementation, the preset transmission channel includes a 5G transmission channel. The processing module 301 is specifically used to determine the proportion of service data transmitted in the 4G transmission channel as a fourth value if the satisfaction rate is less than or equal to a preset second satisfaction rate threshold and the first packet delay data is greater than or equal to a preset first packet delay threshold, and the remaining service data is transmitted in the 5G transmission channel.
[0113] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of service data transmitted in the 4G transmission channel is determined to be the fifth value, and the remaining service data is transmitted in the 5G transmission channel.
[0114] If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of service data transmitted in the 4G transmission channel is determined to be the sixth value, and the remaining service data is transmitted in the 5G transmission channel.
[0115] In one optional implementation, a preset first satisfaction rate threshold is greater than a preset second satisfaction rate threshold, a first value is greater than a second value, a second value is greater than a third value, a fourth value is greater than a fifth value, and a fifth value is greater than a sixth value.
[0116] In an optional implementation, the processing module 301 is further configured to sort multiple packet data aggregation protocol bearers according to the service quality level identifier and the amount of data uploaded.
[0117] The data aggregation protocol bearers of multiple packets are processed according to their order.
[0118] It should be noted that the data transmission device provided in this application embodiment can be used to execute the method provided in any of the above embodiments. The specific implementation and technical effects are similar, and will not be described again here.
[0119] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 9As shown, the electronic device may include at least one processor 401 and a memory 402. Figure 9 The example shown is an electronic device using a processor.
[0120] The memory 402 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.
[0121] Memory 402 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0122] The processor 401 is used to execute computer execution instructions stored in the memory 402 to implement the above-mentioned data transmission method;
[0123] The processor 401 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0124] Optionally, in specific implementations, if the communication interface, memory 402, and processor 401 are implemented independently, they can be interconnected via a bus to complete communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply that there is only one bus or one type of bus.
[0125] Optionally, in a specific implementation, if the communication interface, memory 402, and processor 401 are integrated on a single chip, then the communication interface, memory 402, and processor 401 can communicate through an internal interface.
[0126] This application also provides a chip, including a processor and an interface. The interface is used to input and output data or instructions processed by the processor. The processor is used to execute the methods provided in the above method embodiments. This chip can be applied in a data transmission device.
[0127] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores program information, which is used in the aforementioned data transmission method.
[0128] This application also provides a program that, when executed by a processor, performs the data transmission method provided in the above method embodiments.
[0129] This application also provides a program product, such as a computer-readable storage medium, which stores instructions that, when run on a computer, cause the computer to execute the data transmission method provided in the above-described method embodiments.
[0130] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of the present invention is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data transmission method, characterized by, The method includes: Based on the transmission mode set by the packet data aggregation protocol, the transmission channel for the service data carried by the packet data aggregation protocol is determined, and the transmission channel includes a 4G transmission channel, a 5G transmission channel, and a dynamic transmission channel; When the transmission channel is a dynamic transmission channel, it is determined whether to perform traffic splitting on the service data based on the satisfaction rate data of the service data and a preset first satisfaction rate threshold. If so, the proportion of the service data on the 4G transmission channel and the 5G transmission channel is determined based on the satisfaction rate data, the preset second satisfaction rate threshold, the first packet delay data of the packet data aggregation protocol layer, and the preset first packet delay threshold; wherein, the satisfaction rate data is the ratio of the amount of data actually successfully transmitted by the service data within the statistical period to the amount of data that the service data needs to be transmitted, the first packet delay data is the delay of the earliest packet data aggregation protocol data packet stored in the terminal device cache in the packet data aggregation protocol bearer, and the preset first satisfaction rate threshold is greater than the preset second satisfaction rate threshold; The service data is split and transmitted on the 4G transmission channel and the 5G transmission channel according to the data ratio.
2. The data transmission method of claim 1, wherein, The method further includes: If not, the service data will be transmitted in a preset transmission channel, which is either the 4G transmission channel or the 5G transmission channel.
3. The data transmission method according to claim 2, characterized in that, The preset transmission channel includes the 4G transmission channel. Determining the data ratio of the service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate, a preset second satisfaction rate threshold, the first packet latency data of the packet data aggregation protocol layer, and a preset first packet latency threshold includes: If the satisfaction rate is less than or equal to the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be a first value, and the remaining service data is transmitted on the 5G transmission channel. If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the second value, and the remaining service data is transmitted on the 5G transmission channel; wherein, the first value is greater than the second value. If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be a third value, and the remaining service data is transmitted on the 5G transmission channel; wherein, the second value is greater than the third value.
4. The data transmission method according to claim 2, characterized in that, The preset transmission channel includes the 5G transmission channel. Determining the data ratio of the service data on the 4G transmission channel and the 5G transmission channel based on the satisfaction rate, a preset second satisfaction rate threshold, the first packet latency data of the packet data aggregation protocol layer, and a preset first packet latency threshold includes: If the satisfaction rate is less than or equal to the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the fourth value, and the remaining service data is transmitted on the 5G transmission channel. If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is greater than or equal to the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the fifth value, and the remaining service data is transmitted on the 5G transmission channel; wherein, the fourth value is greater than the fifth value. If the satisfaction rate is greater than the preset second satisfaction rate threshold, and the first packet delay data is less than the preset first packet delay threshold, then the proportion of the service data transmitted on the 4G transmission channel is determined to be the sixth value, and the remaining service data is transmitted on the 5G transmission channel; wherein, the fifth value is greater than the sixth value.
5. The data transmission method according to claim 1, characterized in that, The method further includes: Based on the quality of service level identifier and the amount of data uploaded by the packet data aggregation protocol bearers, the multiple packet data aggregation protocol bearers are sorted. The multiple packet data aggregation protocol bearers are processed according to the sorting.
6. A data transmission device, characterized in that, The device includes: The processing module is used to determine the transmission channel of the service data carried by the packet data aggregation protocol according to the transmission mode set by the packet data aggregation protocol. The transmission channel includes a 4G transmission channel, a 5G transmission channel and a dynamic transmission channel. When the transmission channel is a dynamic transmission channel, it is determined whether to perform traffic splitting on the service data based on the satisfaction rate data of the service data and a preset first satisfaction rate threshold. If so, the proportion of the service data on the 4G transmission channel and the 5G transmission channel is determined based on the satisfaction rate data, the preset second satisfaction rate threshold, the first packet delay data of the packet data aggregation protocol layer, and the preset first packet delay threshold; wherein, the satisfaction rate data is the ratio of the amount of data actually successfully transmitted by the service data within the statistical period to the amount of data that the service data needs to be transmitted, the first packet delay data is the delay of the earliest packet data aggregation protocol data packet stored in the terminal device cache in the packet data aggregation protocol bearer, and the preset first satisfaction rate threshold is greater than the preset second satisfaction rate threshold; The traffic splitting module is used to split the service data on the 4G transmission channel and the 5G transmission channel according to the data ratio.
7. An electronic device, characterized in that, include: Processor and memory; The memory is used to store computer programs; The processor is used to call and run the computer program stored in the memory to perform the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, Used to store a computer program that causes a computer to perform the method as described in any one of claims 1-5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the method as described in any one of claims 1-5.