Data transmission method and apparatus, device, and storage medium

By creating multiple PDU sessions between terminal devices and network devices, monitoring the air interface status, and detecting the maximum data transmission rate, the problem of terminal devices being unable to determine adjustment space is solved, thereby improving bandwidth utilization and the efficiency of data transmission rate adjustment.

CN116506882BActive Publication Date: 2026-04-28CHENGDU TD TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHENGDU TD TECH LTD
Filing Date
2022-01-21
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

When terminal devices increase data transmission rates, they cannot determine the maximum adjustment range, resulting in low bandwidth utilization of the air interface between the terminal devices and network devices.

Method used

By creating M PDU sessions, where N PDU sessions are used to transmit target service data and Q PDU sessions are used to transmit test data, the system monitors whether the air interface is congested and detects the target rate when the air interface is not congested, adjusting the rate of service data according to the detected maximum data transmission rate.

Benefits of technology

It enables the detection of the maximum data transmission rate between terminal devices and network devices, improves the utilization of wireless networks, and reduces the latency of data transmission rate adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116506882B_ABST
    Figure CN116506882B_ABST
Patent Text Reader

Abstract

The application provides a data transmission method, device, equipment and storage medium. The method comprises: creating M PDU sessions; N PDU sessions are used for transmitting target service data, and Q PDU sessions are used for transmitting test data; M is an integer greater than or equal to 1, N and Q are integers greater than or equal to 1 and less than or equal to M, and the sum of N and Q is equal to M; if an air interface between a terminal device and a network device is not in a congestion state, obtaining a target rate detected by the terminal device; the target rate is a data transmission rate of the M PDU sessions at a MAC layer obtained by the terminal device transmitting the test data in the Q PDU sessions through a preset peak rate; for the M PDU sessions, if a data transmission rate at an IP layer is less than a first data transmission rate, increasing a data transmission rate of the N PDU sessions on the target service data; the first data transmission rate is equal to a product of the MAC layer data transmission rate and a first rate factor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a data transmission method, apparatus, device and storage medium. Background Technology

[0002] As a new generation of wireless communication technology from 3GPP, 5G features high speed, low latency, and large capacity, and is playing an increasingly important role in many industries.

[0003] During 5G-based data transmission, the terminal device is configured with an initial data transmission rate. If the terminal device needs to transmit data, it sends this initial data transmission rate to the network device, which then schedules the data transmission based on this rate. Additionally, the terminal device continuously monitors the packet loss rate and adjusts the data transmission rate accordingly. Specifically, the data transmission rate is reduced when the packet loss rate is greater than or equal to a preset rate, and increased when the packet loss rate is lower than the preset rate.

[0004] However, when terminal devices increase data transmission rates, they cannot determine the maximum adjustment range, resulting in low utilization of the bandwidth of the air interface between the terminal devices and network devices. Summary of the Invention

[0005] This application provides a data transmission method, apparatus, device, and storage medium to solve the problem that when a terminal device increases its data transmission rate, it cannot determine the maximum adjustment space, resulting in low utilization of the bandwidth of the air interface between the terminal device and the network device.

[0006] In a first aspect, this application provides a data transmission method, comprising: creating an M-way PDU session; wherein N-way PDU sessions in the M-way PDU session are used to transmit target service data, and Q-way PDU sessions in the M-way PDU session are used to transmit test data; wherein M is an integer greater than or equal to 1, and N and Q are both integers greater than or equal to 1 and less than or equal to M, and the sum of N and Q is equal to M; determining whether the air interface between the terminal device and the network device is in a congested state; if the air interface between the terminal device and the network device is not in a congested state, then obtaining the target rate detected by the terminal device; wherein the target rate is the data transmission rate of the M-way PDU session at the MAC layer obtained by the terminal device transmitting the test data in the Q-way PDU session at a preset peak rate; for the M-way PDU session, if the data transmission rate at the IP layer is less than a first data transmission rate, then increasing the data transmission rate of the N-way PDU session for the target service data; wherein the first data transmission rate is equal to the product of the MAC layer data transmission rate and a first rate factor.

[0007] In some embodiments, obtaining the target rate detected by the terminal device includes: generating the test data based on the preset peak rate; transmitting the test data through the Q-path PDU session; and obtaining the data transmission rate of the MAC layer for the M-path PDU session to obtain the target rate.

[0008] In some embodiments, after determining whether the air interface between the terminal device and the network device is in a congested state, the method further includes: if it is determined that the air interface between the terminal device and the network device is in a congested state, reducing the data transmission rate of the N-way PDU session to the target service data, so that the data transmission rate of the IP layer is less than the second data transmission rate; the second data transmission rate is equal to the product of the MAC layer data transmission rate and the second rate factor.

[0009] In some embodiments, determining whether the air interface between the terminal device and the network device is in a congested state includes: for the M-path PDU session, determining whether the data transmission rate of the IP layer is less than a second data transmission rate; if the data transmission rate of the IP layer is less than the second data transmission rate, then determining that the air interface between the terminal device and the network device is not in a congested state; if the data transmission rate of the IP layer is greater than or equal to the second data transmission rate, then determining that the air interface between the terminal device and the network device is in a congested state.

[0010] In some embodiments, increasing the data transmission rate of the N-way PDU session to the target service data includes: increasing the data transmission rate of the N-way PDU session to the target service data to a target transmission rate; the target transmission rate is greater than the current data transmission rate of the target service data and less than or equal to the first data transmission rate.

[0011] In some embodiments, the priority of N-way PDU sessions in the M-way PDU sessions is greater than the priority of Q-way PDU sessions in the M-way PDU sessions. The method further includes: if the air interface between the terminal device and the network device is congested, then the target service data is sent to the network device through the N-way PDU sessions; if the air interface between the terminal device and the network device is not congested, then the target service data is sent to the network device through the N-way PDU sessions, and the test data is sent to the network device through the Q-way PDU sessions.

[0012] In some embodiments, the first rate factor includes a first sub-rate factor and a second sub-rate factor; the second rate factor includes the first sub-rate factor; wherein the first sub-rate factor is used to convert the MAC layer data transmission rate into the IP layer data transmission rate, and the second sub-rate factor is used to ensure that the data transmission rate of the N-way PDU session after increasing the data transmission rate is less than the maximum data transmission rate.

[0013] Secondly, this application provides a data transmission apparatus, comprising: a creation module, configured to create M PDU sessions; wherein N PDU sessions in the M PDU sessions are used to transmit target service data, and Q PDU sessions in the M PDU sessions are used to transmit test data; wherein M is an integer greater than or equal to 1, and N and Q are both integers greater than or equal to 1 and less than or equal to M, and the sum of N and Q is equal to M; a determination module, configured to determine whether the air interface between the terminal device and the network device is in a congested state; an acquisition module, configured to acquire the target rate detected by the terminal device if the air interface between the terminal device and the network device is not in a congested state; wherein the target rate is the data transmission rate of the MAC layer in the M PDU sessions obtained by the terminal device transmitting the test data in the Q PDU sessions at a preset peak rate; and a rate adjustment module, configured to increase the data transmission rate of the N PDU sessions for the target service data if the data transmission rate of the IP layer is less than a first data transmission rate for the M PDU sessions; wherein the first data transmission rate is equal to the product of the MAC layer data transmission rate and a first rate factor.

[0014] In some embodiments, the acquisition device acquires the target rate detected by the terminal device, specifically including: generating the test data based on the preset peak rate; transmitting the test data through the Q-path PDU session; and for the M-path PDU session, acquiring the data transmission rate of the test data by the MAC layer to obtain the target rate.

[0015] In some embodiments, the rate adjustment module is further configured to: if it is determined that the air interface between the terminal device and the network device is in a congested state, reduce the data transmission rate of the N-way PDU session to the target service data, so that the data transmission rate of the IP layer is less than the second data transmission rate; the second data transmission rate is equal to the product of the MAC layer data transmission rate and the second rate factor.

[0016] In some embodiments, the determining module determines whether the air interface between the terminal device and the network device is in a congested state, specifically including: for the M-path PDU session, determining whether the data transmission rate of the IP layer is less than a second data transmission rate; if the data transmission rate of the IP layer is less than the second data transmission rate, then determining that the air interface between the terminal device and the network device is not in a congested state; if the data transmission rate of the IP layer is greater than or equal to the second data transmission rate, then determining that the air interface between the terminal device and the network device is in a congested state.

[0017] In some embodiments, the rate adjustment module increases the data transmission rate of the N-way PDU sessions to the target service data, specifically by: increasing the data transmission rate of the N-way PDU sessions to the target service data to a target transmission rate; the target transmission rate is greater than the current data transmission rate of the target service data, and less than or equal to the first data transmission rate.

[0018] In some embodiments, the priority of N-way PDU sessions in the M-way PDU sessions is greater than the priority of Q-way PDU sessions in the M-way PDU sessions. The apparatus further includes: a sending module, configured to send the target service data to the network device through the N-way PDU sessions if the air interface between the terminal device and the network device is congested; the sending module is further configured to send the target service data to the network device through the N-way PDU sessions and the test data to the network device through the Q-way PDU sessions if the air interface between the terminal device and the network device is not congested.

[0019] In some embodiments, the first rate factor includes a first sub-rate factor and a second sub-rate factor; the second rate factor includes the first sub-rate factor; wherein the first sub-rate factor is used to convert the MAC layer data transmission rate into the IP layer data transmission rate, and the second sub-rate factor is used to limit the maximum data transmission rate of the target service data transmitted through the N-way PDU session.

[0020] Thirdly, this application provides an electronic device, including: a memory and a processor; the memory; a memory for storing processor-executable instructions; wherein the processor is configured to implement the method as described in the first aspect.

[0021] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect.

[0022] Fifthly, 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.

[0023] The data transmission method, apparatus, device, and storage medium provided in this application establish an M-way PDU session. Within the M-way PDU session, N PDU sessions are used to transmit target service data, and Q PDU sessions are used to transmit test data. M is an integer greater than or equal to 1, and N and Q are both integers greater than or equal to 1 and less than or equal to M, with the sum of N and Q equal to M. The method determines whether the air interface between the terminal device and the network device is congested. If the air interface between the terminal device and the network device is not congested, the target rate detected by the terminal device is obtained. The target rate is the data transmission rate of the M-way PDU session at the MAC layer, obtained by the terminal device transmitting test data in the Q-way PDU session at a preset peak rate. For the M-way PDU session, if the data transmission rate at the IP layer is less than a first data transmission rate, the data transmission rate of the N-way PDU session for the target service data is increased. The first data transmission rate is equal to the product of the MAC layer data transmission rate and a first rate factor. Since the target data transmission rate detected by the terminal device can be obtained when the air interface between the terminal device and the network device is not congested, and the data transmission rate of the IP layer is increased for the N PDU sessions when the data transmission rate of the IP layer is less than the first data transmission rate for the M PDU sessions, it is possible to detect the maximum data transmission rate between the terminal device and the network device and adjust the current data transmission rate of the target service data according to the detected maximum data transmission rate, thereby improving the utilization of the wireless network between the terminal device and the network device. Attached Figure Description

[0024] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0025] Figure 1 Application scenario diagrams provided for embodiments of this application;

[0026] Figure 2 Flowchart of the data transmission method provided in the embodiments of this application Figure 1 ;

[0027] Figure 3 Flowchart of the data transmission method provided in the embodiments of this application Figure 2 ;

[0028] Figure 4 This is a schematic diagram of the structure of the data transmission device provided in the embodiments of this application;

[0029] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0030] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0031] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0032] Terminology Explanation:

[0033] PDU stands for Packet Data Unit.

[0034] Figure 1 The diagram illustrates an application scenario provided for an embodiment of this application. For example... Figure 1 As shown, the application scenario includes: terminal device 11, network device 12, and server 13;

[0035] The terminal device 11 includes electronic devices with video capture capabilities, such as cameras.

[0036] Network device 12 includes a base station, which is the interface device for terminal device 11 to access the Internet.

[0037] Terminal device 11 connects to network device 12 via air interface (hereinafter referred to as air interface) to form a wireless network.

[0038] In some scenarios, terminal device 11 can capture video of the object to be monitored and send the captured video to network device 12 via the air interface, and then send it to server 13 via network device 12. Monitoring personnel can monitor the object to be monitored by receiving the video on server 13.

[0039] In related technologies, terminal device 11 pre-configures the initial bitrate and initial resolution of video service data. When the terminal device needs to transmit video service data, it sends the initial bitrate and initial resolution to network device 12. Network device 12 then schedules the video service data transmission process of terminal device 11 according to the initial bitrate and initial resolution, so that the entire video service data transmission process is transmitted according to the initial bitrate and initial resolution.

[0040] The location of terminal devices can change at any time, causing the network environment in which they operate to change constantly. Therefore, during video data transmission, terminal device 11 can monitor the packet loss rate and adjust the bitrate and resolution accordingly. For example, if the detected packet loss rate is greater than or equal to a preset packet loss rate, it confirms that there is congestion on the air interface between the terminal device and the network device, meaning the network environment in which the terminal device is currently located is poor, and the bitrate and resolution will be reduced. If the detected packet loss rate is lower than the preset packet loss rate, it confirms that there is no congestion on the air interface between the terminal device and the network device, meaning the network environment in which the terminal device is currently located is good, and the bitrate and resolution will be increased.

[0041] However, when the network environment is good, the terminal device cannot determine the current maximum data transmission rate, that is, it cannot determine the maximum bandwidth of the air interface. This will result in the inability to determine the maximum adjustment space to adjust the data transmission rate when increasing the bit rate and resolution.

[0042] Furthermore, the process of calculating packet loss rate is time-consuming. Specifically, the terminal device identifies a packet loss if it does not receive a successful transmission response message after waiting for a preset time, such as tens of milliseconds. This also introduces a delay in adjusting the data transmission rate, making such adjustments untimely.

[0043] To address the aforementioned technical problems, the inventor's technical conception process is as follows: By monitoring the network environment at the current location of the terminal device, i.e., determining whether the air interface between the terminal device and the network device is congested, and when it is determined that the air interface between the terminal device and the network device is not congested, the maximum data transmission rate at the current location of the terminal device is detected, and the bit rate and resolution of the video service data are adjusted according to the detected maximum data transmission rate.

[0044] The technical solution of this application will be described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0045] Figure 2 Flowchart of the data transmission method provided in the embodiments of this application Figure 1 .like Figure 2 As shown, the data transmission method includes the following steps:

[0046] Step S201: Create an M-way PDU session; In the M-way PDU session, N-way PDU sessions are used to transmit target service data, and Q-way PDU sessions are used to transmit test data; M is an integer greater than or equal to 1, N and Q are both integers greater than or equal to 1 and less than or equal to M, and the sum of N and Q is equal to M.

[0047] The subject executing the method in this embodiment can be, for example, as follows: Figure 1 The terminal device shown.

[0048] PDU sessions provide data connectivity between a 5G UE (User Equipment) and a DN (Data Network). All data to be transmitted by the UE needs to be carried through a PDU session. This can be understood as the UE establishing a PDU session before sending data. A PDU session is initiated and created by the UE. After the core network receives the UE's request and allocates the corresponding control plane and data plane resources, the UE can transmit data with the DN. A UE can request the creation of M PDU sessions from the core network according to its service requirements. Of these, N PDU sessions are used to transmit target service data, and Q PDU sessions are used to transmit test data.

[0049] Optionally, the target service data can be video service data, and the test data can be data used to test the maximum transmission rate of the air interface.

[0050] Optionally, the terminal device can send a request to the core network device to create an M-way PDU session via dialing.

[0051] For details on creating an M-way PDU session, please refer to the relevant technical descriptions; this embodiment will not provide a detailed explanation here.

[0052] Step S202: Determine whether the air interface between the terminal device and the network device is congested.

[0053] Optionally, determine whether the air interface between the terminal device and the network device is congested, including:

[0054] Step a1: For M-way PDU sessions, determine whether the data transmission rate of the IP layer is less than the second data transmission rate; the second data transmission rate is equal to the product of the data transmission rate of the MAC layer and the second rate factor.

[0055] Step a2: If the data transmission rate of the IP layer is less than the second data transmission rate, then it is determined that the air interface between the terminal device and the network device is not congested.

[0056] Step a3: If the data transmission rate of the IP layer is greater than or equal to the second data transmission rate, then it is determined that the air interface between the terminal device and the network device is in a congested state.

[0057] In this embodiment, the terminal device has the function of statistically analyzing M PDU sessions. Therefore, the terminal device can obtain the data transmission rates of the IP layer and MAC layer from itself. For example, the terminal device may be equipped with a rate statistics unit and a processing unit; wherein, the rate statistics unit is used to statistically analyze the data transmission rates of the IP layer and MAC layer in real time; the processing unit is used to obtain the data transmission rates of the IP layer and MAC layer of the M PDU sessions from the rate statistics unit before executing step a1.

[0058] Because IP layer packets are generated by adding an IP field to the header of MAC layer packets, IP layer packets are larger in bit size compared to MAC layer packets. Therefore, it is necessary to multiply the MAC layer data transmission rate by a second rate factor and then compare the IP layer data transmission rate with the MAC layer data transmission rate to determine whether there is air interface congestion between the terminal device and the network device.

[0059] In this embodiment, the data transmission rate of the MAC layer can characterize the size of the data packets sent by the application layer of the terminal device, i.e., the data transmission rate of the application layer. The data transmission rate of the IP layer can characterize the data transmission rate of the air interface between the terminal device and the base station. If the data transmission rate of the IP layer is less than the second data transmission rate, it indicates that the bandwidth utilization of the air interface between the terminal device and the network device is low, meaning that the data transmission rate for the target service data can be increased; conversely, it indicates that the bandwidth utilization of the air interface between the terminal device and the network device is high, meaning that there is no room for improvement in the data transmission rate.

[0060] Step S203: If the air interface between the terminal device and the network device is not congested, then obtain the target rate detected by the terminal device; the target rate is the data transmission rate of the MAC layer obtained by the terminal device in transmitting test data in the Q-path PDU session through a preset peak rate.

[0061] Optionally, the target rate detected by the terminal device is obtained, including:

[0062] Step b1: Generate test data based on the preset peak rate.

[0063] Step b2: Transmit test data via Q-path PDU session.

[0064] Step b3: For the M-channel PDU session, obtain the data transmission rate of the MAC layer to get the target rate.

[0065] The preset peak rate refers to the maximum peak rate of the cell where the terminal device is located. It can be preset by the user through the terminal device and stored in the terminal device. Its value is greater than or equal to 1 Mbps and less than or equal to 2000 Mbps, and is usually set to 300 Mbps.

[0066] Additionally, the terminal device can continuously generate test data based on a preset peak rate within a first preset time period. The first preset time period is greater than or equal to 1 second and less than or equal to 10 seconds. Optionally, it can be set to a default value of 1. Afterward, the terminal device counts the real-time data transmission rate of the MAC layer within the first preset time period to obtain the target rate.

[0067] Steps b1 to b3 can be understood as probing the bandwidth capability of the air interface between the terminal device and the network device, or as performing a rate probing service on a Q-path PDU session. Optionally, steps b1 to b3 can be executed at second preset time intervals. The second preset time can be pre-configured by the user and stored in the terminal device. The value of the second preset time is greater than or equal to 1 and less than or equal to 600 seconds, with a default value of 30 seconds.

[0068] For example, assuming Q is 1, the first preset time is 1 second, the second preset time is 30 seconds, and the preset peak rate is 300Mbps. Since 300Mbps = 38400KB / s, the terminal device can generate 128KB of test data every 30 seconds and transmit the 128KB of test data through the Q-channel PDU session. Furthermore, for the M-channel PDU session, the data transmission rate of the MAC layer is obtained, and the data transmission rate of the MAC layer obtained for the M-channel PDI session is used as the target rate.

[0069] Step S204: Determine whether the data transmission rate of the IP layer is less than the first data transmission rate for the M-path PDU session.

[0070] Step S205: For M-way PDU sessions, if the data transmission rate of the IP layer is less than the first data transmission rate, then increase the data transmission rate of the N-way PDU sessions for the target service data; the first data transmission rate is equal to the product of the MAC layer data transmission rate and the first rate factor.

[0071] For example, the first data transmission rate = the data transmission rate of the MAC layer * the first rate factor.

[0072] Optionally, the first rate factor can be preset by the user based on experience and stored in the terminal device. The value of the first rate factor is greater than or equal to 1 and less than or equal to 100, with a unit of 0.01. Typically, the first rate factor can be set to 90.

[0073] Optionally, increasing the data transmission rate of the N-way PDU session to the target service data includes: increasing the data transmission rate of the N-way PDU session to the target service data to the target transmission rate; the target transmission rate is greater than the current data transmission rate of the target service data, and less than or equal to the first data transmission rate.

[0074] This embodiment adjusts the data transmission rate of the target service data for the N-way PDU sessions so that the adjusted data transmission rate of the target service data for the N-way PDU sessions is greater than the current data transmission rate.

[0075] Specifically, the terminal device sends the adjusted data transmission rate to the network device. If the network device determines that it cannot meet the adjusted data transmission rate, it sends a first notification message to the terminal device. This first notification message informs the terminal device that it cannot send the target service data at the adjusted data transmission rate. At this point, the terminal device can continue to adjust the data transmission rate and send the adjusted data transmission rate to the network device until the network device determines that it can meet the adjusted data transmission rate. Then, the network device sends a second notification message to the terminal device, instructing it to transmit the target service data at the adjusted data transmission rate. At this point, the terminal device can then transmit the target service data at the adjusted data transmission rate.

[0076] Optionally, the terminal device may send a request to the network device to transmit target service data at a first data transmission rate. If the terminal device receives a second notification message returned by the network device, the Q-path PDU session will transmit the target service data at the first transmission rate. If the terminal device receives a first notification message returned by the network device, the terminal device may reduce the first data transmission rate and send a request to the network device to transmit the target service data at the reduced first data transmission rate. If the terminal device receives a second notification message returned by the network device, the Q-path PDU session will transmit the target service data at the reduced first transmission rate. If the terminal device receives a first notification message returned by the network device, the terminal device may continue to reduce the first data transmission rate until it receives a second notification message returned by the network device.

[0077] In video data transmission scenarios, increasing the video bitrate and resolution can improve the overall quality. For video, a higher bitrate results in a smaller compression ratio, less image quality loss, and a closer match to the original video quality. Therefore, it can improve the image quality of video data.

[0078] This embodiment creates M PDU sessions; within the M PDU sessions, N PDU sessions are used to transmit target service data, and Q PDU sessions are used to transmit test data; M is an integer greater than or equal to 1, N and Q are both integers greater than or equal to 1 and less than or equal to M, and the sum of N and Q equals M; it determines whether the air interface between the terminal device and the network device is congested; if the air interface between the terminal device and the network device is not congested, it obtains the target rate detected by the terminal device; the target rate is the data transmission rate of the M PDU sessions at the MAC layer obtained by the terminal device transmitting test data in the Q PDU sessions at a preset peak rate; for the M PDU sessions, if the data transmission rate at the IP layer is less than the first data transmission rate, it increases the data transmission rate of the N PDU sessions for the target service data; the first data transmission rate is equal to the product of the MAC layer data transmission rate and the first rate factor. Since the target data transmission rate detected by the terminal device is obtained when the air interface between the terminal device and the network device is not congested, and for M-way PDU sessions, if the data transmission rate of the IP layer is determined to be less than the first data transmission rate, the data transmission rate of the N-way PDU sessions for the target service data is increased, it is possible to detect the maximum data transmission rate between the terminal device and the network device, and adjust the current data transmission rate for the target service data according to the detected maximum data transmission rate, thereby improving the utilization of the wireless network between the terminal device and the network device. Furthermore, compared to schemes that adjust the data transmission rate by statistically analyzing packet loss rate, the data transmission rate detection latency is lower, thus enabling rapid adjustment of the data transmission rate for the target service data.

[0079] Figure 3 Flowchart of the data transmission method provided in the embodiments of this application Figure 2 .like Figure 3 As shown, in order not to affect the transmission of target service data, the priority of N PDU sessions in M ​​PDU sessions can be set to be greater than the priority of Q PDU sessions in M ​​PDU sessions. Then, after step S202, the method of this embodiment may further include the following steps:

[0080] Step S301: If the air interface between the terminal device and the network device is congested, the target service data is sent to the network device through N PDU sessions.

[0081] In this embodiment, if the air interface between the terminal device and the network device is congested, it means that the quality of the wireless network between the terminal device and the network device is poor, which can also be understood as low network speed. At this time, the data transmission of Q PDU sessions can be blocked, while the data transmission of N PDU sessions can be prioritized.

[0082] In a 5G PDU session, the terminal device sends a data transmission request to the network device, carrying a required data transmission rate. The network device receives the data transmission request and controls the data transmission process of the terminal device according to the data transmission rate. During data transmission, the network device sends a data transmission command to the terminal device, enabling the terminal device to send the data to be transmitted. Therefore, in this embodiment, the network device sends a first control command for an N-channel PDU session and / or a second control command for a Q-channel PDU session to the terminal device. The first control command controls the terminal device to send target service data to the network device, and the second control command controls the terminal device to send test data to the network device, thereby controlling the transmission of the target service data and / or test data. The specific process of controlling the transmission of the target service data and / or test data is as follows:

[0083] Optionally, when creating an M-way PDU session, the terminal device sends the priorities of the N-way PDU sessions and the Q-way PDU sessions to the network device; the network device receives the priorities of the N-way PDU sessions and the Q-way PDU sessions; when the terminal device detects that the air interface between the terminal device and the network device is congested, it sends a first indication message to the network device, which indicates that the air interface between the terminal device and the network device is congested, and then the network device sends a first control command for the N-way PDU sessions to the terminal device; the terminal device receives the first control command for the N-way PDU sessions and sends the target service data to the network device through the N-way PDU sessions.

[0084] When the terminal device detects that the air interface between the terminal device and the network device is not congested, it sends a second indication message to the network device. This second indication message indicates that the air interface between the terminal device and the network device is not congested. Then, the network device sends a second control command for the Q-path PDU session to the terminal device. The terminal device receives the second control command for the Q-path PDU session and sends test data to the network device through the Q-path PDU session to detect the maximum bandwidth capacity of the air interface between the terminal device and the network device, i.e., the maximum data transmission rate.

[0085] Step S302: If the air interface between the terminal device and the network device is not congested, the target service data is sent to the network device through N-way PDU sessions, and test data is sent to the network device through Q-way PDU sessions.

[0086] In this embodiment, if the air interface between the terminal device and the network device is not congested, it means that the quality of the wireless network between the terminal device and the network device is good, which can also be understood as a high network speed. At this time, the transmission of target service data and test data can be carried out simultaneously.

[0087] This embodiment prioritizes N PDU sessions out of M PDU sessions over Q PDU sessions out of M PDU sessions. This ensures that when the air interface between the terminal device and the network device is congested, target service data is sent to the network device via the N PDU sessions; and when the air interface is not congested, target service data is sent to the network device via the N PDU sessions, and test data is sent to the network device via the Q PDU sessions. This prioritizes the transmission of target service data, ensuring that rate probing does not affect its transmission.

[0088] The first rate factor includes a first sub-rate factor and a second sub-rate factor; the second rate factor includes the first sub-rate factor; wherein the first sub-rate factor is used to convert the MAC layer data transmission rate into the IP layer data transmission rate, and the second sub-rate factor is used to ensure that the data transmission rate of the N-way PDU session after increasing the data transmission rate is less than the maximum data transmission rate.

[0089] The above embodiments have described the function of the second rate factor. For the function of the first sub-rate factor, please refer to the section on the function of the second rate factor. The first rate factor is equal to the product of the first and second sub-rate factors. The second sub-rate factor is used to ensure that the adjusted data transmission rate of the target service data for the N-path PDU session is less than the maximum data transmission rate.

[0090] The second sub-rate factor can also be preset by the user and stored in the terminal device. Optionally, the second sub-rate factor can be greater than or equal to 1 and less than or equal to 100, with a unit of 0.01, and the default value can be 70.

[0091] For example, if the maximum data transmission rate of the current air interface is detected to be 300Mbps, directly increasing the current data transmission rate to 300Mbps may lead to excessive utilization of the air interface bandwidth, causing the target service data transmission to fail. Therefore, by setting a second sub-rate factor, the adjustment space of the current data transmission rate can be limited, thereby increasing the data transmission rate while ensuring the successful transmission of the target service data.

[0092] Based on the above embodiments, if the air interface between the terminal device and the network device is congested, in order to avoid failure of target service data transmission, the data transmission rate of the N-way PDU session to the target service data can be reduced so that the data transmission rate of the N-way PDU session to the target service data is less than the second data transmission rate, so that the data transmission rate of the IP layer is less than the second data transmission rate, thereby ensuring the successful transmission of target service data.

[0093] Based on the above-described embodiments of the data transmission method Figure 4 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of this application. Figure 4 As shown, the data transmission device includes: a creation module 41, a determination module 42, an acquisition module 43, and a rate adjustment module 44;

[0094] The system includes a creation module 41 for creating M PDU sessions; N PDU sessions within the M PDU sessions are used to transmit target service data, and Q PDU sessions within the M PDU sessions are used to transmit test data; M is an integer greater than or equal to 1, N and Q are both integers greater than or equal to 1 and less than or equal to M, and the sum of N and Q equals M; a determination module 42 for determining whether the air interface between the terminal device and the network device is congested; an acquisition module 43 for acquiring the target rate detected by the terminal device if the air interface between the terminal device and the network device is not congested; the target rate is the data transmission rate of the M PDU sessions at the MAC layer obtained by the terminal device transmitting the test data in the Q PDU sessions at a preset peak rate; and a rate adjustment module 44 for increasing the data transmission rate of the N PDU sessions for the target service data if the data transmission rate at the IP layer is less than a first data transmission rate; the first data transmission rate is equal to the product of the MAC layer data transmission rate and a first rate factor.

[0095] In some embodiments, the acquisition module 43 acquires the target rate detected by the terminal device, specifically including: generating the test data based on the preset peak rate; transmitting the test data through the Q-path PDU session; and acquiring the data transmission rate of the MAC layer for the M-path PDU session to obtain the target rate.

[0096] In some embodiments, the rate adjustment module 44 is further configured to: if it is determined that the air interface between the terminal device and the network device is in a congested state, reduce the data transmission rate of the N-way PDU session to the target service data, so that the data transmission rate of the IP layer is less than the second data transmission rate; the second data transmission rate is equal to the product of the MAC layer data transmission rate and the second rate factor.

[0097] In some embodiments, the determining module 42 determines whether the air interface between the terminal device and the network device is in a congested state, specifically including: for the M-path PDU session, determining whether the data transmission rate of the IP layer is less than the second data transmission rate; if the data transmission rate of the IP layer is less than the second data transmission rate, then determining that the air interface between the terminal device and the network device is not in a congested state; if the data transmission rate of the IP layer is greater than or equal to the second data transmission rate, then determining that the air interface between the terminal device and the network device is in a congested state.

[0098] In some embodiments, the rate adjustment module 44 increases the data transmission rate of the N-way PDU session to the target service data, specifically by: increasing the data transmission rate of the N-way PDU session to the target service data to a target transmission rate; the target transmission rate is greater than the current data transmission rate of the target service data, and less than or equal to the first data transmission rate.

[0099] In some embodiments, the priority of N-path PDU sessions in the M-path PDU sessions is higher than the priority of Q-path PDU sessions in the M-path PDU sessions. The apparatus further includes a sending module 45, configured to send the target service data to the network device through the N-path PDU sessions if the air interface between the terminal device and the network device is congested; and to send the target service data to the network device through the N-path PDU sessions and the test data to the network device through the Q-path PDU sessions if the air interface between the terminal device and the network device is not congested.

[0100] In some embodiments, the first rate factor includes a first sub-rate factor and a second sub-rate factor; the second rate factor includes the first sub-rate factor; wherein the first sub-rate factor is used to convert the MAC layer data transmission rate into the IP layer data transmission rate, and the second sub-rate factor is used to ensure that the data transmission rate of the N-way PDU session after increasing the data transmission rate is less than the maximum data transmission rate.

[0101] The data transmission device provided in this application embodiment can be used to execute the technical solution of the data transmission method in the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.

[0102] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. For example, module 42 can be a separate processing element, or it can be integrated into a chip in the above device. Alternatively, it can be stored as program code in the memory of the above device, and its function can be called and executed by a processing element of the device. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.

[0103] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device may include: a memory 51, a processor 52, and a transceiver 53.

[0104] Processor 52 executes computer execution instructions stored in memory, causing processor 52 to perform the scheme in the above embodiments. Processor 52 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0105] The memory 51 is connected to the processor 52 via the system bus and completes communication between them. The memory 51 is used to store computer program instructions.

[0106] Transceiver 53 can be used to send target business data and / or test data.

[0107] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Transceivers are used to enable communication between database access devices and other computers (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and may also include non-volatile memory.

[0108] The electronic device provided in this application embodiment can be used to execute the technical solution of the data transmission method in the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.

[0109] This application also provides a chip for executing instructions, which is used to execute the data transmission method described in the above embodiments.

[0110] This application also provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the data transmission method described in the above embodiments.

[0111] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, it can implement the technical solution of the data transmission method described in the above embodiments.

[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application 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 therein. Such 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 this application.

Claims

1. A data transmission method, characterized in that, Applied to a terminal device, the method includes: Create M PDU sessions; N PDU sessions in the M PDU sessions are used to transmit target service data, and Q PDU sessions in the M PDU sessions are used to transmit test data; M is an integer greater than or equal to 1, N and Q are both integers greater than or equal to 1 and less than or equal to M, and the sum of N and Q is equal to M; Determine whether the air interface between the terminal device and the network device is congested; If the air interface between the terminal device and the network device is not congested, the target rate detected by the terminal device is obtained; the target rate is the data transmission rate of the M-channel PDU session at the MAC layer obtained by the terminal device transmitting the test data in the Q-channel PDU session at a preset peak rate. For the M-path PDU session, if the data transmission rate of the IP layer is less than the first data transmission rate, then the data transmission rate of the N-path PDU session for the target service data is increased; the first data transmission rate is equal to the product of the MAC layer data transmission rate and the first rate factor.

2. The method according to claim 1, characterized in that, The step of obtaining the target rate detected by the terminal device includes: The test data is generated based on the preset peak rate; The test data is transmitted through the Q-path PDU session; For the M-path PDU session, the data transmission rate of the MAC layer is obtained to obtain the target rate.

3. The method according to claim 1, characterized in that, After determining whether the air interface between the terminal device and the network device is congested, the process further includes: If it is determined that the air interface between the terminal device and the network device is congested, the data transmission rate of the N-way PDU session to the target service data is reduced, so that the data transmission rate of the IP layer is less than the second data transmission rate; the second data transmission rate is equal to the product of the MAC layer data transmission rate and the second rate factor.

4. The method according to claim 3, characterized in that, Determining whether the air interface between the terminal device and the network device is congested includes: For the M-path PDU session, determine whether the data transmission rate of the IP layer is less than the second data transmission rate; If the data transmission rate of the IP layer is less than the second data transmission rate, then it is determined that the air interface between the terminal device and the network device is not congested. If the data transmission rate of the IP layer is greater than or equal to the second data transmission rate, then the air interface between the terminal device and the network device is determined to be congested.

5. The method according to any one of claims 1-4, characterized in that, The method of increasing the data transmission rate of the N-channel PDU sessions to the target service data includes: The data transmission rate of the N-channel PDU session to the target service data is increased to the target transmission rate; the target transmission rate is greater than the current data transmission rate of the target service data, and less than or equal to the first data transmission rate.

6. The method according to any one of claims 1-4, characterized in that, The priority of N PDU sessions in the M-way PDU sessions is higher than the priority of Q PDU sessions in the M-way PDU sessions, and the method further includes: If the air interface between the terminal device and the network device is congested, the target service data is sent to the network device through the N-way PDU session; If the air interface between the terminal device and the network device is not congested, the target service data is sent to the network device through the N-way PDU session, and the test data is sent to the network device through the Q-way PDU session.

7. The method according to claim 3, characterized in that, The first rate factor includes a first sub-rate factor and a second sub-rate factor; the second rate factor includes the first sub-rate factor; wherein, the first sub-rate factor is used to convert the MAC layer data transmission rate into the IP layer data transmission rate, and the second sub-rate factor is used to ensure that the data transmission rate of the N-way PDU session after increasing the data transmission rate is less than the maximum data transmission rate.

8. A data transmission device, characterized in that, Applied to a terminal device, the device includes: A creation module is used to create M PDU sessions; in the M PDU sessions, N PDU sessions are used to transmit target service data, and Q PDU sessions are used to transmit test data; M is an integer greater than or equal to 1, N and Q are both integers greater than or equal to 1 and less than or equal to M, and the sum of N and Q is equal to M; The determination module is used to determine whether the air interface between the terminal device and the network device is in a congested state. The acquisition module is used to acquire the target rate detected by the terminal device if the air interface between the terminal device and the network device is not congested; the target rate is the data transmission rate of the MAC layer in the M-path PDU session obtained by the terminal device in transmitting the test data in the Q-path PDU session through a preset peak rate. The rate adjustment module is used to increase the data transmission rate of the target service data of the N PDU sessions if the data transmission rate of the IP layer is less than the first data transmission rate for the M PDU sessions; the first data transmission rate is equal to the product of the data transmission rate of the MAC layer and the first rate factor.

9. The apparatus according to claim 8, characterized in that, The acquisition module acquires the target rate detected by the terminal device, specifically including: The test data is generated based on the preset peak rate; The test data is transmitted through the Q-path PDU session; For the M-path PDU session, the data transmission rate of the test data by the MAC layer is obtained to obtain the target rate.

10. The apparatus according to claim 8, characterized in that, The rate adjustment module is further configured to: if it is determined that the air interface between the terminal device and the network device is in a congested state, reduce the data transmission rate of the N-way PDU session to the target service data, so that the data transmission rate of the IP layer is less than the second data transmission rate; the second data transmission rate is equal to the product of the MAC layer data transmission rate and the second rate factor.

11. The apparatus according to claim 9, characterized in that, The determining module determines whether the air interface between the terminal device and the network device is in a congested state, specifically including: For the M-path PDU session, determine whether the data transmission rate of the IP layer is less than the second data transmission rate; If the data transmission rate of the IP layer is less than the second data transmission rate, then it is determined that the air interface between the terminal device and the network device is not congested. If the data transmission rate of the IP layer is greater than or equal to the second data transmission rate, then the air interface between the terminal device and the network device is determined to be congested.

12. The apparatus according to any one of claims 8-11, characterized in that, The rate adjustment module improves the data transmission rate of the N-channel PDU sessions to the target service data, specifically including: The data transmission rate of the N-channel PDU session to the target service data is increased to the target transmission rate; the target transmission rate is greater than the current data transmission rate of the target service data, and less than or equal to the first data transmission rate.

13. The apparatus according to any one of claims 8-11, characterized in that, The priority of N PDU sessions in the M-channel PDU sessions is higher than the priority of Q PDU sessions in the M-channel PDU sessions, and the device further includes: The sending module is used to send the target service data to the network device through the N-way PDU session if the air interface between the terminal device and the network device is congested. The sending module is further configured to send the target service data to the network device through the N-way PDU session and the test data to the network device through the Q-way PDU session if the air interface between the terminal device and the network device is not congested.

14. The apparatus according to claim 10, characterized in that, The first rate factor includes a first sub-rate factor and a second sub-rate factor; the second rate factor includes the first sub-rate factor; wherein, the first sub-rate factor is used to convert the MAC layer data transmission rate into the IP layer data transmission rate, and the second sub-rate factor is used to limit the maximum data transmission rate of the target service data transmitted through the N-way PDU session.

15. An electronic device, characterized in that, include: Memory, processor; Memory; Memory used to store the processor's executable instructions; The processor is configured to implement the method as described in any one of claims 1-7.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.

17. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Wireless network transmission rate control method and device, terminal equipment and storage medium

    CN108366396A

  • Transmission rate determination method and device, equipment and storage medium

    CN110401511A