Data transmission method and device, electronic equipment, storage medium and program product
By splitting URLLC packets into first and second packets and transmitting them on different channels, the problem of high latency in URLLC data transmission is solved, achieving data transmission with lower latency and higher reliability.
Patent Information
- Application Number
- CN202511234568.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-01
- Publication Date
- 2025-11-11
AI Technical Summary
Among related technologies, URLLC data transmission has high latency and may be affected by external interference.
Data packets from multiple services are split into first data packets and second data packets, and a channel corresponding to each service is assigned. Data packets of the same service are transmitted through different channels, ensuring that the transmission of data packets on other channels is not affected when one channel is interfered with.
It reduces data transmission latency and improves data transmission reliability. By transmitting data packets for the same service through two channels, it reduces the impact of interference on transmission latency.
Smart Images

Figure CN120935791A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and specifically to a data transmission method, apparatus, electronic device, storage medium, and program product. Background Technology
[0002] Ultra-Reliable Low-Latency Communications (URLLC) is a key technology in 5G (the fifth-generation mobile communication technology). URLLC provides low-latency data transmission for fields such as autonomous driving. In these technologies, base stations allocate dedicated channels for URLLC services, and data transmission occurs through these channels. However, the channels used for data transmission can be susceptible to external interference, leading to higher latency.
[0003] It is evident that the relevant technologies suffer from high data transmission latency. Summary of the Invention
[0004] This invention provides a data transmission method, apparatus, electronic device, storage medium, and program product to solve the problem of high data transmission latency in related technologies.
[0005] To solve the above problems, the present invention is implemented as follows:
[0006] In a first aspect, embodiments of the present invention provide a data transmission method, including:
[0007] The data packets for each of the multiple services are split into a first data packet and a second data packet;
[0008] Allocate a channel corresponding to each service;
[0009] The first data packet of the first service and the second data packet of the second service are transmitted based on the channel corresponding to the first service, and the first data packet of the second service and the second data packet of the first service are transmitted based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
[0010] Secondly, embodiments of the present invention also provide a data transmission device, comprising:
[0011] The splitting module is used to split the data packets of each service in multiple services into a first data packet and a second data packet;
[0012] The allocation module is used to allocate the channel corresponding to each service.
[0013] The first transmission module is used to transmit a first data packet of the first service and a second data packet of the second service based on the channel corresponding to the first service, and to transmit the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
[0014] Thirdly, embodiments of the present invention also provide an electronic device, including a transceiver and a processor.
[0015] The processor is used to split the data packets of each of the multiple services into a first data packet and a second data packet;
[0016] The processor is also used to allocate channels corresponding to each service;
[0017] The transceiver is used to transmit a first data packet of the first service and a second data packet of the second service based on the channel corresponding to the first service, and to transmit the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
[0018] Fourthly, embodiments of the present invention provide an electronic device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the data transmission method described in the first aspect.
[0019] Fifthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the data transmission method described in the first aspect.
[0020] In a sixth aspect, the present invention also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the data transmission method described in the first aspect.
[0021] In this embodiment of the invention, data packets for each of multiple services are split into a first data packet and a second data packet; a channel is allocated for each service; the first data packet of the first service and the second data packet of the second service are transmitted based on the channel corresponding to the first service, and the first data packet of the second service and the second data packet of the first service are transmitted based on the channel corresponding to the second service, wherein the first service and the second service are different services among the multiple services. In this way, data packets for the same service can be transmitted through two channels, and the transmission of data packets on the other channel is unaffected even if one channel is interfered with, reducing the impact of interference on transmission delay, thereby reducing data transmission delay and improving data transmission reliability. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a flowchart of a data transmission method provided in an embodiment of the present invention;
[0024] Figure 2 This is a schematic diagram of the solution range provided in an embodiment of the present invention;
[0025] Figure 3 This is a structural diagram of a data transmission device provided in an embodiment of the present invention;
[0026] Figure 4 This is a structural diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] Please see Figure 1 , Figure 1 This is a flowchart of a data transmission method applied to a network-side device according to an embodiment of the present invention, such as... Figure 1 As shown, it includes the following steps:
[0029] Step 101: Split the data packets of each service in the multiple services into a first data packet and a second data packet.
[0030] The aforementioned services can be URLLC services or other services requiring low-latency data transmission. Data packets for these services are transmitted from network-side equipment to the receiving equipment via a channel. The network-side equipment can be server equipment, base stations, or other similar devices, while the receiving equipment can be user equipment (UE), a terminal, or a personal mobile device.
[0031] In one embodiment, each of the multiple services corresponds to a separate receiving device. That is, for each receiving device, one data packet of a service is transmitted; when transmitting data packets of a service to N receiving devices, N data packets of each service are transmitted separately. Here, N is a positive integer greater than 1. In this way, by assigning each service to a separate receiving device, it is convenient to subsequently transmit the split first and second data packets through the channels of different devices.
[0032] The first data packet and the second data packet mentioned above are obtained by splitting the data packet of each service. The size of the first data packet and the size of the second data packet can be the same or different. By splitting the data packet of each service, it is possible to transmit a data packet of a service split through two channels, with each channel transmitting two split data packets.
[0033] Step 102: Allocate the channel corresponding to each service.
[0034] It should be noted that, since each of the multiple services corresponds to a receiving device, a corresponding channel is allocated to each service, and this channel corresponds one-to-one with the service and the receiving device.
[0035] Step 103: Transmit the first data packet of the first service and the second data packet of the second service based on the channel corresponding to the first service, and transmit the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
[0036] The first service and the second service mentioned above are different services among multiple services. The first data packet of the first service and the second data packet of the second service are transmitted through the channel of the first service, and the first data packet of the second service and the second data packet of the first service are transmitted through the channel of the second service. In this way, the data packets of the same service can be transmitted through two channels. If one channel is interfered with, the data packet transmission of the other channel will not be affected, which reduces the impact of interference on transmission delay, thereby reducing data transmission delay and improving data transmission reliability.
[0037] It should be noted that the data packets of the first service and the data packets of the second service are transmitted simultaneously. If the transmission of the data packets of the first service is completed, but the transmission of the data packets of the second service is not completed, the data packets of the second service can continue to be transmitted using both the channel of the first service and the channel of the second service, or the channel of the second service and other service channels can be used simultaneously to transmit the data packets of the second service and other service data packets. For example, the first data packet of the second service and the second data packets of other services can be transmitted through the channel of the second service, and the first data packet of other services and the second data packet of the second service can be transmitted through the channel of other services.
[0038] In this embodiment of the invention, data packets for each of multiple services are split into a first data packet and a second data packet; a channel is allocated for each service; the first data packet of the first service and the second data packet of the second service are transmitted based on the channel corresponding to the first service, and the first data packet of the second service and the second data packet of the first service are transmitted based on the channel corresponding to the second service, wherein the first service and the second service are different services among the multiple services. In this way, data packets for the same service can be transmitted through two channels, and the transmission of data packets on the other channel is unaffected even if one channel is interfered with, reducing the impact of interference on transmission delay, thereby reducing data transmission delay and improving data transmission reliability.
[0039] In one embodiment, before splitting the data packet of each of the multiple services into a first data packet and a second data packet, the method further includes:
[0040] Obtain the first communication rate requirement parameter corresponding to the data packet of the first service, and the second communication rate requirement parameter corresponding to the data packet of the second service;
[0041] Based on the first communication rate requirement parameter and the second communication rate requirement parameter, the first splitting information corresponding to the first service and the second splitting information corresponding to the second service are calculated.
[0042] The step of splitting the data packets of each of the multiple services into a first data packet and a second data packet includes:
[0043] Based on the first splitting information, the data packets of the first service are split to obtain the first data packet and the second data packet of the first service;
[0044] Based on the second splitting information, the data packets of the second service are split to obtain the first data packet and the second data packet of the second service.
[0045] The aforementioned first communication rate requirement parameter characterizes the data transmission rate that should be met when transmitting data packets for the first service, and the aforementioned second communication rate requirement parameter characterizes the data transmission rate that should be met when transmitting data packets for the second service. It should be noted that, under the condition of meeting the first and second communication rate requirement parameters, the service data packets can achieve low-latency transmission. However, for a service data packet (e.g., a data packet for the first service), after splitting the first service data packet into a first data packet and a second data packet, it needs to be transmitted through two channels separately. The transmission conditions of the first and second data packets differ between the two channels; for example, one channel may have better transmission conditions than the other. In this case, to minimize the data packet transmission latency, it is necessary to maximize the data packet size transmitted through the channel with better transmission conditions and minimize the data packet size transmitted through the channel with poorer transmission conditions.
[0046] Therefore, in this embodiment of the invention, based on the first communication rate requirement parameter and the second communication rate requirement parameter, the first splitting information corresponding to the first service and the second splitting information corresponding to the second service are calculated. By splitting the data packets using the calculated first splitting information and the second splitting information, the transmission of the split first data packet and the second data packet can meet the communication rate requirement parameter, thereby achieving low-latency data transmission.
[0047] The first splitting information and the second splitting information are parameters used to split data packets. They can be splitting ratios or splitting instructions. By splitting the data packets of the first service based on the first splitting information, the first data packet and the second data packet of the first service are obtained; by splitting the data packets of the second service based on the second splitting information, the first data packet and the second data packet of the second service are obtained.
[0048] In one embodiment, calculating the first splitting information corresponding to the first service and the second splitting information corresponding to the second service based on the first communication rate requirement parameter and the second communication rate requirement parameter includes:
[0049] Based on the first initial ratio and the second initial ratio, as well as the first communication rate requirement parameter and the second communication rate requirement parameter, a first power, a second power, a third power and a fourth power are calculated. The first power is the power of transmitting the first data packet of the first service based on the channel of the first service. The second power is the power of transmitting the second data packet of the second service based on the channel of the first service. The third power is the power of transmitting the first data packet of the second service based on the channel of the second service. The fourth power is the power of transmitting the second data packet of the first service based on the channel of the second service.
[0050] Calculate the total power, which is the sum of the first power, the second power, the third power, and the fourth power;
[0051] Adjust the first initial ratio and the second initial ratio until the total power meets the preset conditions, generate the first split information based on the adjusted first initial ratio, and generate the second split information based on the adjusted second initial ratio.
[0052] The aforementioned first initial ratio is the ratio for splitting data packets of the first service, and the aforementioned second initial ratio is the ratio for splitting data packets of the second service. It should be noted that after splitting the data packets using the first and second initial ratios, there are four split data packets (the first and second data packets of the first service, and the first and second data packets of the second service). The power of transmitting these four split data packets through the channels of the first and second services is respectively the first power, the second power, the third power, and the fourth power. In this invention, the first and second initial ratios are adjusted by the total power so that, under the condition of satisfying the first and second communication rate requirements, the total power also meets the preset conditions, thereby obtaining the optimal first and second splitting information.
[0053] In some implementations, the communication rate requirement parameters corresponding to the four split data packets can be calculated using a first initial ratio and a second initial ratio, respectively. Then, the first power, second power, third power, and fourth power can be calculated using these corresponding communication rate requirement parameters. For example, after calculating the communication rate requirement parameters corresponding to the four split data packets, the first power, second power, third power, and fourth power can be obtained by multiplying them by preset coefficients.
[0054] In this embodiment of the invention, a first power, a second power, a third power, and a fourth power are calculated based on a first initial ratio and a second initial ratio, as well as a first communication rate requirement parameter and a second communication rate requirement parameter. The first power is the power for transmitting a first data packet of the first service via a first service channel; the second power is the power for transmitting a second data packet of the second service via a first service channel; the third power is the power for transmitting a first data packet of the second service via a second service channel; and the fourth power is the power for transmitting a second data packet of the first service via a second service channel. A total power is calculated, which is the sum of the first power, the second power, the third power, and the fourth power. The first and second initial ratios are adjusted until the total power meets a preset condition. First splitting information is generated based on the adjusted first initial ratio, and second splitting information is generated based on the adjusted second initial ratio. Thus, by adjusting the first and second initial ratios using the total power, the total power also meets the preset condition while satisfying the first and second communication rate requirement parameters, thereby obtaining optimal first and second splitting information.
[0055] In one embodiment, the preset condition includes one of the following:
[0056] The total power is the minimum power after multiple adjustments;
[0057] The total power is matched with the preset power.
[0058] In this embodiment of the invention, the preset conditions can be set according to the data transmission requirements of the base station. Specifically, if it is necessary to minimize resource consumption during data transmission, the preset condition can be set to the total power being the adjusted minimum power; if it is necessary to maximize the data transmission rate, the preset condition can be set to match the total power with a preset power.
[0059] Here, we assume the maximum transmission power of the base station is P. max The maximum sum rate that can be provided is R. max This can proportionally increase the communication rate requirements of both services. k Assuming it is raised to γ' k At this time, the total power P' max The total data transmission rate is R' max Therefore, the following conclusion holds true:
[0060]
[0061] As can be seen from the above formula, when the total power reaches the maximum transmission power (i.e., the preset power), the total data transmission rate reaches its maximum value, and the data transmission delay is the lowest at this time.
[0062] In one embodiment, calculating the first power, second power, third power, and fourth power based on the first initial ratio and the second initial ratio, as well as the first communication rate requirement parameter and the second communication rate requirement parameter, includes:
[0063] Calculate the first coefficient, which is the product of the first exponent and the second exponent. The first exponent is the exponent of the first preset coefficient and the first product. The first product is the product of the first difference and the second communication rate requirement parameter. The first difference is the difference between the second preset coefficient and the second initial ratio. The second exponent is the exponent of the first preset coefficient and the second product. The second product is the product of the first initial ratio and the first communication rate requirement parameter.
[0064] Calculate the second coefficient, which is the exponent of the product of the first preset coefficient and the third product. The third product is the product of the second difference and the first communication rate requirement parameter. The second difference is the difference between the second preset coefficient and the first initial ratio.
[0065] Calculate the third coefficient, which is the product of the third exponent and the fourth exponent. The third exponent is the exponent of the first preset coefficient and the third product. The fourth exponent is the exponent of the first preset coefficient and the fourth product. The fourth product is the product of the second initial ratio and the second communication rate requirement parameter.
[0066] Calculate the fourth coefficient, which is the exponent of the product of the first preset coefficient and the first coefficient;
[0067] Calculate the first power, the second power, the third power, and the fourth power. The first power is the quotient of the fifth product and the first fading factor. The fifth product is the product of the first coefficient and the noise power. The second power is the quotient of the sixth product and the second fading factor. The sixth product is the product of the second coefficient and the noise power. The third power is the quotient of the seventh product and the third fading factor. The seventh product is the product of the third coefficient and the noise power. The fourth power is the quotient of the eighth product and the fourth fading factor. The eighth product is the product of the fourth coefficient and the noise power.
[0068] In this embodiment of the invention, a first coefficient, a second coefficient, a third coefficient, and a fourth coefficient are calculated using a first initial ratio and a second initial ratio, as well as a first communication rate requirement parameter and a second communication rate requirement parameter. Then, a first power, a second power, a third power, and a fourth power can be calculated using the first coefficient, the second coefficient, the third coefficient, and the fourth coefficient, respectively.
[0069] It should be noted that the first power, second power, third power, and fourth power, which can be calculated using the first, second, third, and fourth coefficients respectively, can be derived as follows:
[0070] For example, a base station provides services to multiple receiving devices. The base station has M antennas, and the multiple receiving devices have N antennas, where M and N are positive integers greater than 1. The base station configures an independent channel for each service, and each channel includes a sub-channel for transmitting a first data packet and a sub-channel for transmitting a second data packet. Let represent a subchannel, where k represents a service (k∈{1,2}, k=1 represents the first service, k=2 represents the second service), and b represents a subchannel (b∈{1,2}, b=1 represents the subchannel for transmitting the first data packet, b=2 represents the subchannel for transmitting the second data packet); through g k,b Represents the fading factor, for example, g 1,1 This represents the calculation of the first fading coefficient corresponding to the first power, g 1,2 This represents the calculation of the second fading coefficient corresponding to the second power, g 2,1 This represents the calculation of the third fading coefficient corresponding to the third power, g 2,2 This indicates the calculation of the fourth fading coefficient corresponding to the second power.
[0071] For the data packet L of the k-th service k Its communication rate requirement parameter is γ k The first data packet after splitting is L k,1 The second data packet is L k,2 The split ratio is denoted as α. k At this point, the communication requirement rate R of the first data packet after splitting is... k,1 The communication requirement rate R of the second data packet k,2 They are respectively:
[0072]
[0073] The transmission power of the first data packet is P. k,1 The transmission power of the second data packet is P. k,2 For the channel of the k-th service, it is necessary not only to transmit the first data packet L of this service. k,1 It also needs to transmit the second data packet L of another service (denoted as the j-th service). j,2 When transmitting via channel decoding, the first data packet is decoded first, followed by the second data packet. Assuming the noise power is N0, the communication requirement rate for the first data packet and the communication requirement rate for the second data packet can be calculated using the following formula:
[0074]
[0075] The formulas for calculating the first power, second power, third power, and fourth power can be obtained from the above formulas:
[0076]
[0077] Wherein, the first power is P 1,1 The second power is P 1,2 The third power is P 2,1 The fourth power is P 2,2 .
[0078] Furthermore, let's set up an optimization problem, where the preset condition is that the total power is minimized. The optimization problem is... This can be expressed by the following formula:
[0079]
[0080] subject to 0≤α k ≤1, k=1,2;
[0081]
[0082] However, a mathematical solution can yield multiple answers, such as... Figure 2 As shown, there are 9 possible solutions (Solutions 1 to 9). However, the first and second splitting ratios need to satisfy condition α. k Since ∈[0,1], the solution range needs to be limited to the range of solution 9 or the edge of solution 9 when solving.
[0083] Specifically, there are nine possible solutions to the above optimization problem:
[0084] Solution 1: α1 = 1, α2 = 1;
[0085] Solution 2: α1 = 1, α2 = 1;
[0086] Solution 3: α1 = 0, α2 = 0;
[0087] Solution 4: α1 = 0, α2 = 1;
[0088] Solution 5:
[0089] Solution 6:
[0090] Solution 7:
[0091] Solution 8:
[0092] Solution 9:
[0093] The coefficient Ω is specifically:
[0094]
[0095] That is, solutions 1 to 8 are actually special calculation results of solution 9. For example, solution 1 can be understood as follows: the gain of the first data packet of the first service transmitted through the channel of the first service is greater than the gain of the second data packet of the second service; the gain of the first data packet of the second service transmitted through the channel of the second service is greater than the gain of the second data packet of the first service; and the gain of the first data packet of the first service transmitted through the channel of the first service is the same as the gain of the first data packet of the second service transmitted through the channel of the second service. Therefore, solution 9 can be directly used as the adjusted first and second initial ratios to generate the first and second ratio information.
[0096] Furthermore, after generating the first proportional information and the second proportional information, the current total power can be calculated as follows:
[0097]
[0098] It should be noted that, since the relationship between the base station's transmit power and transmission rate has already been explained above, this formula can be used to proportionally increase the communication rate requirements of the two channels, thereby increasing the service transmission rate until the maximum transmission rate is reached. This will not be elaborated further here.
[0099] In some implementations, the optimization problem The solution process can be represented as follows:
[0100] First, optimize the problem. It can be represented as:
[0101]
[0102] The optimization problem described above is a convex optimization problem, which can be solved using the Karush-Kuhn-Tucker Conditions (KKT). Its Lagrangian function can be expressed as:
[0103]
[0104] Furthermore:
[0105] Formula 1:
[0106] Formula 2:
[0107] In the formula, λ1, λ2, η1, and η2 are intermediate coefficients. For formula one, if λ1 ≠ 0, then α1 = 1 and η2 = 0. Based on this, analyzing formula two yields:
[0108] If λ2≠0 and η2=0, then α2=1;
[0109] If λ² = 0 and η² ≠ 0, then α² = 0;
[0110] If λ2≠0 and η2≠0, then α2 has no solution;
[0111] If λ² = 0 and η² = 0, then
[0112] For Formula 2, if λ1=0 and η1≠0, then α1=0. Based on this, analyzing Formula 2 yields:
[0113] If λ2≠0 and η2=0, then α2=1;
[0114] If λ² = 0 and η² ≠ 0, then α² = 0;
[0115] If λ² = 0 and η² = 0, then
[0116] For Formula 2, if λ1 = 0, η1 = 0. Based on this, analyzing Formula 2 yields:
[0117] If λ²≠0 and η²=0, then α²=1.
[0118] If λ² = 0 and η² ≠ 0, then α² = 0.
[0119] If λ² = 0 and η² = 0, then we have:
[0120]
[0121] Simplifying, we get: Pick Then there is The adjusted first and second initial ratios are then calculated as follows:
[0122]
[0123] Thus, through the above calculation process, solutions 1 to 9 are obtained.
[0124] In one embodiment, transmitting the first data packet of the first service and the second data packet of the second service based on the channel corresponding to the first service, and transmitting the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, includes:
[0125] When the number of the plurality of services is even, the first data packet of the first service and the second data packet of the second service are transmitted based on the channel corresponding to the first service, and the first data packet of the second service and the second data packet of the first service are transmitted based on the channel corresponding to the second service.
[0126] In one embodiment, the method further includes:
[0127] When the number of the multiple services is odd, the multiple services are divided into a first part and a second part. The number of services included in the first part is even, and the second part includes three services.
[0128] For each of the multiple services included in the first part, the first data packet of the third service and the second data packet of the fourth service are transmitted based on the channel corresponding to the third service, and the first data packet of the fourth service and the second data packet of the third service are transmitted based on the channel corresponding to the fourth service, wherein the third service and the second service are different services among the multiple services included in the first part;
[0129] Regarding the second part, the first data packet of the fifth service and the second data packet of the sixth service are transmitted based on the channel corresponding to the fifth service, the first data packet of the sixth service and the second data packet of the seventh service are transmitted based on the channel corresponding to the sixth service, and the first data packet of the seventh service and the second data packet of the fifth service are transmitted based on the channel corresponding to the seventh service. The fifth service, the sixth service and the seventh service are the three services included in the second part.
[0130] It should be noted that, to improve transmission stability, a service's data packet needs to be split into a first data packet and a second data packet, and transmitted through two channels; however, a single channel can transmit at most one first data packet and one second data packet. Therefore, when transmitting service data packets, the data packets of two services can be transmitted to each other. That is, the first data packet of the first service and the second data packet of the second service are transmitted through the channel corresponding to the first service, and the first data packet of the second service and the second data packet of the first service are transmitted through the channel corresponding to the second service.
[0131] However, in actual transmission, there are situations where data packets from two services cannot be transmitted to each other, specifically when the number of services is odd. In such cases, it is not possible to divide the services into pairs and use them as the first and second services for mutual transmission. Therefore, it is necessary to design a method for mutual transmission of three services to improve transmission stability.
[0132] In this embodiment of the invention, when the number of multiple services is odd, the multiple services are divided into a first part and a second part. The number of services included in the first part is even, and the second part includes three services. At this time, the services in the first part can be divided into two groups to be used as the first service and the second service (or the third service and the fourth service) for mutual transmission, while the three services in the second part are transmitted to each other to improve the stability of transmission.
[0133] Specifically, regarding the second part, the first data packet of the fifth service and the second data packet of the sixth service are transmitted based on the channel corresponding to the fifth service; the first data packet of the sixth service and the second data packet of the seventh service are transmitted based on the channel corresponding to the sixth service; and the first data packet of the seventh service and the second data packet of the fifth service are transmitted based on the channel corresponding to the seventh service. In this way, the first and second data packets of each of the three services are transmitted through different channels, and each channel of the three services transmits only one first data packet and one second data packet. Even if one channel is interfered with, the data packet transmission of the other channels is not affected, reducing the impact of interference on transmission delay, thereby reducing data transmission latency and improving data transmission reliability.
[0134] Please see Figure 3 , Figure 3 This is a structural diagram of a data transmission device provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the data transmission device 300 includes:
[0135] The splitting module 301 is used to split the data packets of each service in multiple services into a first data packet and a second data packet;
[0136] Allocation module 302 is used to allocate the channel corresponding to each service;
[0137] The first transmission module 303 is used to transmit a first data packet of the first service and a second data packet of the second service based on the channel corresponding to the first service, and to transmit the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
[0138] In one embodiment, the data transmission device 300 further includes:
[0139] The acquisition module is used to acquire the first communication rate requirement parameter corresponding to the data packet of the first service, and the second communication rate requirement parameter corresponding to the data packet of the second service.
[0140] The calculation module is used to calculate the first splitting information corresponding to the first service and the second splitting information corresponding to the second service based on the first communication rate requirement parameter and the second communication rate requirement parameter;
[0141] The splitting module 301 includes:
[0142] The first splitting unit is used to split the data packets of the first service based on the first splitting information to obtain the first data packet and the second data packet of the first service.
[0143] The second splitting unit is used to split the data packets of the second service based on the second splitting information to obtain the first data packet and the second data packet of the second service.
[0144] In one embodiment, the computing module includes:
[0145] The first calculation submodule is used to calculate a first power, a second power, a third power, and a fourth power based on a first initial ratio and a second initial ratio, as well as the first communication rate requirement parameter and the second communication rate requirement parameter. The first power is the power of transmitting a first data packet of the first service based on the channel of the first service, the second power is the power of transmitting a second data packet of the second service based on the channel of the first service, the third power is the power of transmitting a first data packet of the second service based on the channel of the second service, and the fourth power is the power of transmitting a second data packet of the first service based on the channel of the second service.
[0146] The second calculation submodule is used to calculate the total power, which is the sum of the first power, the second power, the third power, and the fourth power;
[0147] A generation submodule is used to adjust the first initial ratio and the second initial ratio until the total power meets a preset condition, generate the first splitting information based on the adjusted first initial ratio, and generate the second splitting information based on the adjusted second initial ratio.
[0148] In one embodiment, the preset condition includes one of the following:
[0149] The total power is the minimum power after multiple adjustments;
[0150] The total power is matched with the preset power.
[0151] In one embodiment, the first computing submodule includes:
[0152] The first calculation unit is used to calculate the first coefficient, which is the product of the first exponent and the second exponent. The first exponent is the exponent of the first preset coefficient and the first product. The first product is the product of the first difference and the second communication rate requirement parameter. The first difference is the difference between the second preset coefficient and the second initial ratio. The second exponent is the exponent of the first preset coefficient and the second product. The second product is the product of the first initial ratio and the first communication rate requirement parameter.
[0153] The second calculation unit is used to calculate the second coefficient, which is the exponent of the product of the first preset coefficient and the third product. The third product is the product of the second difference and the first communication rate requirement parameter. The second difference is the difference between the second preset coefficient and the first initial ratio.
[0154] The third calculation unit is used to calculate the third coefficient, which is the product of the third exponent and the fourth exponent. The third exponent is the exponent of the first preset coefficient and the third product, and the fourth exponent is the exponent of the first preset coefficient and the fourth product. The fourth product is the product of the second initial ratio and the second communication rate requirement parameter.
[0155] The fourth calculation unit is used to calculate the fourth coefficient, which is the exponent of the product of the first preset coefficient and the first coefficient.
[0156] The fifth calculation unit is used to calculate the first power, the second power, the third power, and the fourth power. The first power is the quotient of the fifth product and the first fading factor. The fifth product is the product of the first coefficient and the noise power. The second power is the quotient of the sixth product and the second fading factor. The sixth product is the product of the second coefficient and the noise power. The third power is the quotient of the seventh product and the third fading factor. The seventh product is the product of the third coefficient and the noise power. The fourth power is the quotient of the eighth product and the fourth fading factor. The eighth product is the product of the fourth coefficient and the noise power.
[0157] In one embodiment, the first transmission module 303 includes:
[0158] The first transmission submodule is configured to, when the number of the plurality of services is even, transmit the first data packet of the first service and the second data packet of the second service based on the channel corresponding to the first service, and transmit the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service.
[0159] In one embodiment, the data transmission device 300 further includes:
[0160] The partitioning module is used to partition the multiple services into a first part and a second part when the number of multiple services is odd. The first part includes multiple services with an even number of services, and the second part includes three services.
[0161] The second transmission submodule is configured to transmit, for each of the multiple services included in the first part, a first data packet of the third service and a second data packet of the fourth service based on the channel corresponding to the third service, and to transmit the first data packet of the fourth service and the second data packet of the third service based on the channel corresponding to the fourth service, wherein the third service and the second service are different services among the multiple services included in the first part.
[0162] The third transmission submodule is used for transmitting, for the second part, the first data packet of the fifth service and the second data packet of the sixth service based on the channel corresponding to the fifth service, the first data packet of the sixth service and the second data packet of the seventh service based on the channel corresponding to the sixth service, and the first data packet of the seventh service and the second data packet of the fifth service based on the channel corresponding to the seventh service, wherein the fifth service, the sixth service and the seventh service are the three services included in the second part.
[0163] In one embodiment, each of the plurality of services corresponds to a receiving device.
[0164] The data transmission device provided in this embodiment of the invention is capable of achieving the above. Figure 1 The various processes and technical features of the corresponding data transmission methods in each embodiment are one-to-one and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0165] It should be noted that the data transmission device in the embodiments of the present invention can be a device, or it can be a component, integrated circuit, or chip in an electronic device.
[0166] This invention also provides an electronic device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the above-described functionality. Figure 1 The various processes of the data transmission method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0167] For details, see Figure 4 As shown, this embodiment of the invention also provides an electronic device, including a bus 401, a transceiver 402, an antenna 403, a bus interface 404, a processor 405, and a memory 406.
[0168] The processor 405 is used to split the data packets of each of the multiple services into a first data packet and a second data packet;
[0169] The processor 405 is also used to allocate channels corresponding to each service;
[0170] The transceiver 402 is used to transmit a first data packet of the first service and a second data packet of the second service based on the channel corresponding to the first service, and to transmit the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
[0171] In one embodiment, the transceiver 402 is further configured to acquire a first communication rate requirement parameter corresponding to the data packet of the first service, and a second communication rate requirement parameter corresponding to the data packet of the second service.
[0172] The processor 405 is further configured to calculate, based on the first communication rate requirement parameter and the second communication rate requirement parameter, the first splitting information corresponding to the first service and the second splitting information corresponding to the second service;
[0173] The step of splitting the data packets of each of the multiple services into a first data packet and a second data packet includes:
[0174] Based on the first splitting information, the data packets of the first service are split to obtain the first data packet and the second data packet of the first service;
[0175] Based on the second splitting information, the data packets of the second service are split to obtain the first data packet and the second data packet of the second service.
[0176] In one embodiment, calculating the first splitting information corresponding to the first service and the second splitting information corresponding to the second service based on the first communication rate requirement parameter and the second communication rate requirement parameter includes:
[0177] Based on the first initial ratio and the second initial ratio, as well as the first communication rate requirement parameter and the second communication rate requirement parameter, a first power, a second power, a third power and a fourth power are calculated. The first power is the power of transmitting the first data packet of the first service based on the channel of the first service. The second power is the power of transmitting the second data packet of the second service based on the channel of the first service. The third power is the power of transmitting the first data packet of the second service based on the channel of the second service. The fourth power is the power of transmitting the second data packet of the first service based on the channel of the second service.
[0178] Calculate the total power, which is the sum of the first power, the second power, the third power, and the fourth power;
[0179] Adjust the first initial ratio and the second initial ratio until the total power meets the preset conditions, generate the first split information based on the adjusted first initial ratio, and generate the second split information based on the adjusted second initial ratio.
[0180] In one embodiment, the preset condition includes one of the following:
[0181] The total power is the minimum power after multiple adjustments;
[0182] The total power is matched with the preset power.
[0183] In one embodiment, calculating the first power, second power, third power, and fourth power based on the first initial ratio and the second initial ratio, as well as the first communication rate requirement parameter and the second communication rate requirement parameter, includes:
[0184] Calculate the first coefficient, which is the product of the first exponent and the second exponent. The first exponent is the exponent of the first preset coefficient and the first product. The first product is the product of the first difference and the second communication rate requirement parameter. The first difference is the difference between the second preset coefficient and the second initial ratio. The second exponent is the exponent of the first preset coefficient and the second product. The second product is the product of the first initial ratio and the first communication rate requirement parameter.
[0185] Calculate the second coefficient, which is the exponent of the product of the first preset coefficient and the third product. The third product is the product of the second difference and the first communication rate requirement parameter. The second difference is the difference between the second preset coefficient and the first initial ratio.
[0186] Calculate the third coefficient, which is the product of the third exponent and the fourth exponent. The third exponent is the exponent of the first preset coefficient and the third product. The fourth exponent is the exponent of the first preset coefficient and the fourth product. The fourth product is the product of the second initial ratio and the second communication rate requirement parameter.
[0187] Calculate the fourth coefficient, which is the exponent of the product of the first preset coefficient and the first coefficient;
[0188] Calculate the first power, the second power, the third power, and the fourth power. The first power is the quotient of the fifth product and the first fading factor. The fifth product is the product of the first coefficient and the noise power. The second power is the quotient of the sixth product and the second fading factor. The sixth product is the product of the second coefficient and the noise power. The third power is the quotient of the seventh product and the third fading factor. The seventh product is the product of the third coefficient and the noise power. The fourth power is the quotient of the eighth product and the fourth fading factor. The eighth product is the product of the fourth coefficient and the noise power.
[0189] In one embodiment, transmitting the first data packet of the first service and the second data packet of the second service based on the channel corresponding to the first service, and transmitting the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, includes:
[0190] When the number of the plurality of services is even, the first data packet of the first service and the second data packet of the second service are transmitted based on the channel corresponding to the first service, and the first data packet of the second service and the second data packet of the first service are transmitted based on the channel corresponding to the second service.
[0191] In one embodiment, the processor 405 is further configured to divide the plurality of services into a first part and a second part when the number of the plurality of services is odd, wherein the number of services included in the first part is even and the number of services included in the second part is three services.
[0192] The transceiver 402 is further configured to, for each of the multiple services included in the first part, transmit a first data packet of the third service and a second data packet of the fourth service based on the channel corresponding to the third service, and transmit the first data packet of the fourth service and the second data packet of the third service based on the channel corresponding to the fourth service, wherein the third service and the second service are different services among the multiple services included in the first part;
[0193] The transceiver 402 is further configured to, for the second part, transmit the first data packet of the fifth service and the second data packet of the sixth service based on the channel corresponding to the fifth service, transmit the first data packet of the sixth service and the second data packet of the seventh service based on the channel corresponding to the sixth service, and transmit the first data packet of the seventh service and the second data packet of the fifth service based on the channel corresponding to the seventh service, wherein the fifth service, the sixth service and the seventh service are the three services included in the second part.
[0194] In one embodiment, each of the plurality of services corresponds to a receiving device.
[0195] exist Figure 4 In this document, a bus architecture (represented by bus 401) is used. Bus 401 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 405 and memory represented by memory 406. Bus 401 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 404 provides an interface between bus 401 and transceiver 402. Transceiver 402 may be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 405 is transmitted over a wireless medium via antenna 403, which further receives data and transmits data to processor 405.
[0196] Processor 405 is responsible for managing bus 401 and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Memory 406 can be used to store data used by processor 405 during operation.
[0197] Optionally, the processor 405 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a graphics processing unit (GPU).
[0198] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the above-described functions. Figure 1 The various processes corresponding to the data transmission method embodiments, and which achieve the same technical effect, will not be described again here to avoid repetition. The computer-readable storage medium mentioned includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0199] The present invention also provides a computer program product, including computer instructions that, when executed by a processor, implement the above-described... Figure 1 The various processes corresponding to the data transmission method embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.
[0200] In the embodiments of this invention, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices. Additionally, the use of "and / or" in this application indicates at least one of the connected objects, such as A and / or B and / or C, representing eight possibilities: A alone, B alone, C alone, both A and B present, both B and C present, both A and C present, and A, B, and C present.
[0201] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0202] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or second terminal device, etc.) to execute the methods of the various embodiments of this application.
[0203] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A data transmission method, characterized in that, Applied to network-side devices, including: The data packets for each of the multiple services are split into a first data packet and a second data packet; Allocate a channel corresponding to each service; The first data packet of the first service and the second data packet of the second service are transmitted based on the channel corresponding to the first service, and the first data packet of the second service and the second data packet of the first service are transmitted based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
2. The method as described in claim 1, characterized in that, Before splitting the data packets of each of the multiple services into a first data packet and a second data packet, the method further includes: Obtain the first communication rate requirement parameter corresponding to the data packet of the first service, and the second communication rate requirement parameter corresponding to the data packet of the second service; Based on the first communication rate requirement parameter and the second communication rate requirement parameter, the first splitting information corresponding to the first service and the second splitting information corresponding to the second service are calculated. The step of splitting the data packets of each of the multiple services into a first data packet and a second data packet includes: Based on the first splitting information, the data packets of the first service are split to obtain the first data packet and the second data packet of the first service; Based on the second splitting information, the data packets of the second service are split to obtain the first data packet and the second data packet of the second service.
3. The method as described in claim 2, characterized in that, The step of calculating the first splitting information corresponding to the first service and the second splitting information corresponding to the second service based on the first communication rate requirement parameter and the second communication rate requirement parameter includes: Based on the first initial ratio and the second initial ratio, as well as the first communication rate requirement parameter and the second communication rate requirement parameter, a first power, a second power, a third power and a fourth power are calculated. The first power is the power of transmitting the first data packet of the first service based on the channel of the first service. The second power is the power of transmitting the second data packet of the second service based on the channel of the first service. The third power is the power of transmitting the first data packet of the second service based on the channel of the second service. The fourth power is the power of transmitting the second data packet of the first service based on the channel of the second service. Calculate the total power, which is the sum of the first power, the second power, the third power, and the fourth power; Adjust the first initial ratio and the second initial ratio until the total power meets the preset conditions, generate the first split information based on the adjusted first initial ratio, and generate the second split information based on the adjusted second initial ratio.
4. The method as described in claim 3, characterized in that, The preset conditions include one of the following: The total power is the minimum power after multiple adjustments; The total power is matched with the preset power.
5. The method as described in claim 3, characterized in that, The calculation of the first power, second power, third power, and fourth power based on the first initial ratio and the second initial ratio, as well as the first communication rate requirement parameter and the second communication rate requirement parameter, includes: Calculate the first coefficient, which is the product of the first exponent and the second exponent. The first exponent is the exponent of the first preset coefficient and the first product. The first product is the product of the first difference and the second communication rate requirement parameter. The first difference is the difference between the second preset coefficient and the second initial ratio. The second exponent is the exponent of the first preset coefficient and the second product. The second product is the product of the first initial ratio and the first communication rate requirement parameter. Calculate the second coefficient, which is the exponent of the product of the first preset coefficient and the third product. The third product is the product of the second difference and the first communication rate requirement parameter. The second difference is the difference between the second preset coefficient and the first initial ratio. Calculate the third coefficient, which is the product of the third exponent and the fourth exponent. The third exponent is the exponent of the first preset coefficient and the third product. The fourth exponent is the exponent of the first preset coefficient and the fourth product. The fourth product is the product of the second initial ratio and the second communication rate requirement parameter. Calculate the fourth coefficient, which is the exponent of the product of the first preset coefficient and the first coefficient; Calculate the first power, the second power, the third power, and the fourth power. The first power is the quotient of the fifth product and the first fading factor. The fifth product is the product of the first coefficient and the noise power. The second power is the quotient of the sixth product and the second fading factor. The sixth product is the product of the second coefficient and the noise power. The third power is the quotient of the seventh product and the third fading factor. The seventh product is the product of the third coefficient and the noise power. The fourth power is the quotient of the eighth product and the fourth fading factor. The eighth product is the product of the fourth coefficient and the noise power.
6. The method according to any one of claims 1 to 5, characterized in that, The transmission of the first data packet of the first service and the second data packet of the second service based on the channel corresponding to the first service, and the transmission of the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, includes: When the number of the plurality of services is even, the first data packet of the first service and the second data packet of the second service are transmitted based on the channel corresponding to the first service, and the first data packet of the second service and the second data packet of the first service are transmitted based on the channel corresponding to the second service.
7. The method as described in claim 6, characterized in that, The method further includes: When the number of the multiple services is odd, the multiple services are divided into a first part and a second part. The number of services included in the first part is even, and the second part includes three services. For each of the multiple services included in the first part, the first data packet of the third service and the second data packet of the fourth service are transmitted based on the channel corresponding to the third service, and the first data packet of the fourth service and the second data packet of the third service are transmitted based on the channel corresponding to the fourth service, wherein the third service and the second service are different services among the multiple services included in the first part; Regarding the second part, the first data packet of the fifth service and the second data packet of the sixth service are transmitted based on the channel corresponding to the fifth service, the first data packet of the sixth service and the second data packet of the seventh service are transmitted based on the channel corresponding to the sixth service, and the first data packet of the seventh service and the second data packet of the fifth service are transmitted based on the channel corresponding to the seventh service. The fifth service, the sixth service and the seventh service are the three services included in the second part.
8. The method according to any one of claims 1 to 5, characterized in that, Each of the multiple services corresponds to a receiving device.
9. A data transmission device, characterized in that, include: The splitting module is used to split the data packets of each service in multiple services into a first data packet and a second data packet; The allocation module is used to allocate the channel corresponding to each service. The first transmission module is used to transmit a first data packet of the first service and a second data packet of the second service based on the channel corresponding to the first service, and to transmit the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
10. An electronic device, characterized in that, Including transceivers and processors, The processor is used to split the data packets of each of the multiple services into a first data packet and a second data packet; The processor is also used to allocate channels corresponding to each service; The transceiver is used to transmit a first data packet of the first service and a second data packet of the second service based on the channel corresponding to the first service, and to transmit the first data packet of the second service and the second data packet of the first service based on the channel corresponding to the second service, wherein the first service and the second service are different services among the plurality of services.
11. An electronic device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the data transmission method as described in any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the data transmission method as described in any one of claims 1 to 8.
13. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the steps of the data transmission method as described in any one of claims 1 to 8.