Data transmission method, device, equipment and storage medium

文档序号:1957214 发布日期:2021-12-10 浏览:12次 中文

阅读说明:本技术 数据传输的方法、装置、设备、存储介质 (Data transmission method, device, equipment and storage medium ) 是由 张力方 胡泽妍 赵雪聪 程奥林 张伟强 冯毅 于 2021-09-09 设计创作,主要内容包括:本申请提供的一种数据传输的方法、装置、设备、存储介质,涉及通信技术,包括:接收用户终端发送的用于数据复制传输的业务请求,根据业务请求为用户终端分配两个通信信道;两个通信信道中包括一个用于传输原始数据的通信信道,以及一个用于传输复制数据的通信信道;获取用户终端通过两个通信信道发送数据时的各时延信息,以及两个通信信道的各信道质量信息;根据各时延信息、各信道质量信息,控制各通信信道中数据的传输。本申请提供的方案,根据各通信信道的时延信息以及各通信通道的信道质量信息控制各通信信道中数据的传输,网络设备可以回收不符合条件的通信信道并分配给别处使用,从而节约了无线资源、提高了资源利用率。(The application provides a method, a device, equipment and a storage medium for data transmission, which relate to the communication technology and comprise the following steps: receiving a service request for data replication transmission sent by a user terminal, and allocating two communication channels to the user terminal according to the service request; the two communication channels comprise a communication channel for transmitting original data and a communication channel for transmitting copied data; acquiring each time delay information when a user terminal sends data through two communication channels and each channel quality information of the two communication channels; and controlling the transmission of data in each communication channel according to each time delay information and each channel quality information. According to the scheme provided by the application, the transmission of data in each communication channel is controlled according to the time delay information of each communication channel and the channel quality information of each communication channel, and the network equipment can recycle the communication channels which do not meet the conditions and distribute the communication channels to other places for use, so that the wireless resources are saved, and the resource utilization rate is improved.)

1. A method of data transmission, the method comprising:

receiving a service request for data replication transmission sent by a user terminal, and allocating two communication channels to the user terminal according to the service request; the two communication channels comprise a communication channel for transmitting original data and a communication channel for transmitting copied data;

acquiring each time delay information when the user terminal sends data through the two communication channels and each channel quality information of the two communication channels;

and controlling the transmission of data in each communication channel according to each time delay information and each channel quality information.

2. The method of claim 1, wherein the controlling transmission of data in each communication channel according to each delay information and each channel quality information comprises:

if the data is not overtime when any communication channel is used for sending the data, determining the time delay difference when the data is transmitted through the two communication channels according to the time delay information of each communication channel;

and if the time delay difference between the two communication channels represents that the time delay difference when the data is transmitted through the two communication channels is smaller, controlling the data transmission of the communication channel which does not send the data according to the channel quality information of the two communication channels.

3. The method of claim 2, further comprising:

if the time for sending data by using the two communication channels is overtime, the two communication channels are recycled to cancel the data transmission through the two communication channels.

4. The method of claim 2, wherein if data has been transmitted via the first communication channel, data transmitted via the second communication channel is not transmitted; then, the determining a delay difference when data is transmitted through the two communication channels according to the delay information of each communication channel includes:

acquiring data transmission time when data is transmitted through a first communication channel, and acquiring transmission waiting time when data is transmitted through a second communication channel;

and determining the time delay difference when the data is transmitted through the first communication channel and the second communication channel according to the transmission waiting time and the data transmission time.

5. The method of claim 4, wherein the determining the delay difference between the data transmission through the first communication channel and the second communication channel according to the transmission waiting time and the data transmission time comprises:

determining the difference between the sending waiting time and the data sending time as the time delay difference when the data is sent through a first communication channel and a second communication channel;

if the difference reaches the first delay time, determining that the delay difference is larger when the data are transmitted through the two communication channels;

and if the difference does not reach the first delay time, determining that the delay difference is smaller when the data is transmitted through the two communication channels.

6. The method of claim 5, wherein if the delay difference between two communication channels indicates a greater delay difference between transmitting data over the two communication channels, then reclaiming the second communication channel to cancel transmitting data over the second communication channel.

7. The method of claim 2, wherein if data has been transmitted via the first communication channel and data transmitted via the second communication channel has not been transmitted, the controlling data transmission of the communication channel for which data has not been transmitted based on the channel quality information of the two communication channels comprises:

determining a channel quality difference between a first communication channel and a second communication channel according to channel quality information of the first communication channel and channel quality information of the second communication channel;

and controlling the data transmission of the second communication channel according to the channel quality difference.

8. The method of claim 7, wherein the determining a channel quality difference between the first communication channel and the second communication channel according to the channel quality information of the first communication channel and the channel quality information of the second communication channel comprises:

determining the channel quality of the first communication channel and the channel quality of the second communication channel at each acquisition point in a preset time period according to the channel quality information of the first communication channel and the channel quality information of the second communication channel; the preset time interval is a time interval from the data transmission time when the first communication channel transmits data to the time when the user terminal prepares to transmit data through the second communication channel;

if the absolute value of the difference between the channel quality of the first communication channel and the channel quality of the second communication channel at the same acquisition point is smaller than a preset value, determining that the channel qualities of the first communication channel and the second communication channel are basically the same;

if the absolute values of the differences between the channel qualities of the first communication channel and the second communication channel corresponding to three acquisition points before the time when the user terminal prepares to send data through the second communication channel are smaller than a preset value, the difference between the channel qualities of the first communication channel and the second communication channel is represented to be small;

otherwise, determining that the channel quality difference between the first communication channel and the second communication channel is large.

9. The method of claim 7, wherein the controlling the data transmission of the second communication channel according to the channel quality difference comprises:

and if the channel quality difference represents that the channel quality difference between the first communication channel and the second communication channel is large, recovering the second communication channel which does not send data so as to cancel the data sending through the second communication channel.

10. The method of claim 7, wherein the controlling the data transmission of the second communication channel according to the channel quality difference comprises:

if the channel quality difference represents that the channel quality difference between the first communication channel and the second communication channel is small, acquiring a data transmission proportion when data is transmitted through the first communication channel;

and controlling the transmission of the data in the second communication channel according to the data transmission proportion.

11. The method of claim 10, wherein the controlling the transmission of data in the second communication channel according to the data transmission ratio comprises:

and if the sending proportion reaches a preset proportion, recovering the second communication channel to cancel data transmission through the second communication channel.

12. The method according to any of claims 1-11, wherein before receiving the service request for data replication transmission sent by the user terminal, further comprising:

sending a test signal to the user terminal, wherein the test signal is used for indicating a feedback signal-to-noise ratio;

and receiving the signal-to-noise ratio sent by the user terminal, and determining the channel quality indication of the communication channel for transmitting the test signal according to the corresponding relation between the signal-to-noise ratio and the channel quality indication.

13. An apparatus for data transmission, the apparatus comprising:

a receiving unit, configured to receive a service request for data replication transmission sent by a user terminal, and allocate two communication channels to the user terminal according to the service request; the two communication channels comprise a communication channel for transmitting original data and a communication channel for transmitting copied data;

an obtaining unit, configured to obtain each delay information when the user terminal sends data through the two communication channels, and each channel quality information of the two communication channels;

and the control unit is used for controlling the transmission of data in each communication channel according to each time delay information and each channel quality information.

14. An electronic device comprising a memory and a processor; wherein the content of the first and second substances,

the memory for storing a computer program;

the processor is configured to read the computer program stored in the memory and execute the method of any one of claims 1 to 12 according to the computer program in the memory.

15. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, perform the method of any one of claims 1-12.

Technical Field

The present disclosure relates to communication technologies, and in particular, to a method, an apparatus, a device, and a storage medium for data transmission.

Background

In a transmission system with a high requirement on the delay, how to improve the reliability of transmission is very important.

In the prior art, data duplication transmission in a dual connectivity architecture is considered as a transmission method capable of providing high reliability in a transmission system with a high requirement on delay, where the transmission method refers to that two identical data packets are transmitted between a user terminal and a base station through two different communication channels, so that the probability of correct reception is increased by receiving multiple data packets at a receiving end using diversity gains of the different communication channels.

However, in this transmission scheme, since the duplicate transmission requires transmission of a plurality of identical packets, radio resources are consumed, and resource utilization is reduced.

Disclosure of Invention

The application provides a data transmission method, a data transmission device, data transmission equipment and a data transmission storage medium, which are used for solving the problem that in the prior art, wireless resources are consumed to reduce the resource utilization rate because a plurality of identical data packets need to be transmitted in a copy transmission mode.

According to a first aspect of the present application, there is provided a method of data transmission, including:

receiving a service request for data replication transmission sent by a user terminal, and allocating two communication channels to the user terminal according to the service request; the two communication channels comprise a communication channel for transmitting original data and a communication channel for transmitting copied data;

acquiring each time delay information when the user terminal sends data through the two communication channels and each channel quality information of the two communication channels;

and controlling the transmission of data in each communication channel according to each time delay information and each channel quality information.

According to a second aspect of the present application, there is provided an apparatus for data transmission, comprising:

a receiving unit, configured to receive a service request for data replication transmission sent by a user terminal, and allocate two communication channels to the user terminal according to the service request; the two communication channels comprise a communication channel for transmitting original data and a communication channel for transmitting copied data;

an obtaining unit, configured to obtain each delay information when the user terminal sends data through the two communication channels, and each channel quality information of the two communication channels;

and the control unit is used for controlling the transmission of data in each communication channel according to each time delay information and each channel quality information.

According to a third aspect of the present application, there is provided an electronic device comprising a memory and a processor; wherein the content of the first and second substances,

the memory for storing a computer program;

the processor is configured to read the computer program stored in the memory, and execute the method for data transmission according to the first aspect according to the computer program in the memory.

According to a fourth aspect of the present application, there is provided a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement a method of data transmission as described in the first aspect.

The application provides a method, a device, equipment and a storage medium for data transmission, which comprise the following steps: receiving a service request for data replication transmission sent by a user terminal, and allocating two communication channels to the user terminal according to the service request; the two communication channels comprise a communication channel for transmitting original data and a communication channel for transmitting copied data; acquiring each time delay information when a user terminal sends data through two communication channels and each channel quality information of the two communication channels; and controlling the transmission of data in each communication channel according to each time delay information and each channel quality information. According to the data transmission method, the data transmission device, the data transmission equipment and the data transmission storage medium, data transmission in each communication channel is controlled according to the time delay information of each communication channel and the channel quality information of each communication channel, and the network equipment can recycle the communication channels which do not meet the conditions and distribute the communication channels to other places for use, so that wireless resources are saved, and the resource utilization rate is improved.

Drawings

Fig. 1 is a process diagram illustrating a method for data transmission according to an exemplary embodiment of the present application;

fig. 2 is a flow chart illustrating a method of data transmission according to an exemplary embodiment of the present application;

fig. 3 is a flow chart illustrating a method of data transmission according to another exemplary embodiment of the present application;

FIG. 4 is a diagram illustrating a process for transmitting data using two channels according to an exemplary embodiment of the present application;

fig. 5 is a block diagram illustrating a data transmission apparatus according to an exemplary embodiment of the present application;

fig. 6 is a block diagram illustrating a data transmission apparatus according to another exemplary embodiment of the present application;

fig. 7 is a block diagram of an electronic device according to an exemplary embodiment of the present application.

Detailed Description

In a transmission system with a high requirement on the delay, how to improve the reliability of transmission is very important. At present, data duplication transmission in a dual connectivity architecture is considered as a transmission method capable of providing high reliability in a transmission system with a high requirement on delay, where the transmission method is to transmit two identical data packets between a user terminal and a base station through two different communication channels, so that the probability of correct reception is increased by receiving multiple data packets at a receiving end using diversity gains of the different communication channels.

In this transmission scheme, when both communication channels time out, the network device will reclaim both communication channels, thereby cancelling the transmission of data through both communication channels. The situation shown in fig. 1 may occur when there is a communication channel that has not timed out.

As shown in fig. 1, t1 is the time when the network device allocates two communication channels to the user terminal. t2 is the time when the first communication channel starts to transmit data; t5 is the time when the first communication channel completes data transmission; t4 is the moment when the user terminal copies data; t6 is the time when the second communication channel starts to transmit data; t7 is the time when the second communication channel completes the data transmission.

When the first communication channel does not time out and begins transmitting data at time t2, the second communication channel will wait for the network device to allocate resources if the network device does not allocate resources to the second communication channel. When the time t6 is later than the time t5, it is meaningless for the network device to send data through the second communication channel, and the transmission mode consumes wireless resources and reduces the utilization rate of the resources.

In order to solve the above technical problem, the scheme provided by the present application includes a data transmission method, and by controlling data transmission in each communication channel according to the delay information of each communication channel and the channel quality information of each communication channel, a network device can recover communication channels that do not meet the conditions and allocate the communication channels to other places for use, thereby saving wireless resources and improving resource utilization rate.

Fig. 2 is a flowchart illustrating a method for data transmission according to an exemplary embodiment of the present application.

As shown in fig. 2, a data transmission method provided in this embodiment includes:

step 201, receiving a service request for data replication transmission sent by a user terminal, and allocating two communication channels to the user terminal according to the service request; the two communication channels include a communication channel for transmitting original data and a communication channel for transmitting duplicated data.

The method provided by the present application may be executed by an electronic device with computing capability, such as a network device. The electronic equipment can receive a service request for data replication transmission sent by a user terminal and can allocate a communication channel to the user terminal according to the service request. The electronic device may be, for example, a network device in a base station.

The data transmission method provided by the application can be applied to a transmission system with a higher requirement on time delay. Such as Ultra Reliable Low Latency Communication (URLLC) class of 5G traffic, including when Quality of Service (QoS) is 81, 82, 83, 84, 85.

In the present application, the service of data duplication transmission is described by taking an example that two identical data packets are respectively transmitted between the user terminal and the network device in the base station through different communication channels, but the method provided by the present application is also applicable to a case that more than two identical data packets are respectively transmitted between the user terminal and the network device in the base station through different multiple communication channels.

The user terminal may be, for example, a mobile phone.

Specifically, the user terminal sends a service request for data replication transmission to the network device, and the network terminal receives the service request sent by the user terminal and responds to the request to allocate two communication channels to the user terminal.

Specifically, after the network device allocates the communication channel to the user terminal, it is required to wait for the network device to allocate the resource to the communication channel, and then the data can be transmitted on the communication channel. The Resource refers to a radio Resource, specifically, a Resource Block (RB).

Further, after the user terminal sends the service request to the network device, the user terminal copies original data to be sent to obtain copied data. One of the two communication channels is used for transmitting original data and one is used for transmitting duplicate data.

Step 202, obtaining each time delay information when the user terminal sends data through two communication channels, and each channel quality information of the two communication channels.

Specifically, after the user terminal sends a service request for data replication transmission to the network device, the network device immediately allocates two communication channels to the user terminal, and then the two communication channels do not immediately start to transmit data, and the communication channels can start to transmit data only after the network device needs to wait for resources allocated to the corresponding communication channels. Therefore, there is time delay information from the time when the user terminal sends the service request to the process of waiting for the resource to send data.

Further, the network device may not allocate resources to the two communication channels at the same time, and thus the delay information of the two communication channels may be different.

Specifically, the user terminal may obtain the delay information of each communication channel through calculation, and may send the obtained delay information of the two communication channels to the network device. The network device may receive latency information for both communication channels.

Specifically, before the network device receives a service request for data replication transmission sent by a user terminal, the method further includes: the network equipment sends a test signal to the user terminal, the user terminal calculates the received test signal to obtain a signal-to-noise ratio and feeds the signal-to-noise ratio back to the network equipment, and the network equipment obtains channel quality information of a corresponding channel according to the fed back signal-to-noise ratio.

Step 203, controlling the transmission of data in each communication channel according to each time delay information and each channel quality information.

Specifically, the network device may control transmission of data in the two communication channels according to the obtained delay information and channel quality information of the two communication channels.

Specifically, the network device may not allocate resources to two communication channels simultaneously, and therefore the communication channel that first gets the resources may start transmitting data first.

Specifically, according to each time delay information, if the time delay information of both the two communication channels does not exceed the preset value and the network device allocates a resource to one of the two communication channels, the network device may send a data transmission instruction to the user terminal through the corresponding communication channel, and the user terminal starts to transmit data through the corresponding communication channel after receiving the instruction.

Further, in the process that a communication channel which has not transmitted data waits for the network device to allocate resources, if the network device determines that the delay information of the communication channel does not exceed a preset value through each delay information, and the network device allocates resources to the communication channel, the network device needs to determine whether the communication channel meets the condition of transmitting data according to the channel quality information of the two communication channels. If the network device characterizes that the communication channel which does not transmit data meets the condition of transmitting data through the result of each channel quality calculation, the network device can send a data sending instruction of the corresponding communication channel to the user terminal, and the user terminal starts to send data through the corresponding communication channel after receiving the instruction. If the result of the calculation of the channel quality indicates that the communication channel which has not transmitted data does not meet the condition for transmitting data, the network device can recycle the communication channel which has not transmitted data, so as to cancel the data transmission through the communication channel which has not transmitted data.

Further, if the delay information of the communication channel to which data has not been transmitted exceeds a preset value according to each delay information, the network device may recover the communication channel to which data has not been transmitted, to cancel transmission of data through the communication channel to which data has not been transmitted.

Further, if the delay information of the two communication channels exceeds the preset value according to each delay information, the network device may recycle the two communication channels to cancel data transmission through the two communication channels. In one implementation, if the time for the network device to allocate resources to the two communication channels is the same and the time for sending data using either communication channel is not timed out, both communication channels may transmit data.

The application provides a data transmission method, which comprises the following steps: receiving a service request for data replication transmission sent by a user terminal, and allocating two communication channels to the user terminal according to the service request; the two communication channels comprise a communication channel for transmitting original data and a communication channel for transmitting copied data; acquiring each time delay information when a user terminal sends data through two communication channels and each channel quality information of the two communication channels; and controlling the transmission of data in each communication channel according to each time delay information and each channel quality information. According to the data transmission method provided by the application, the transmission of data in each communication channel is controlled according to the time delay information of each communication channel and the channel quality information of each communication channel, and the network equipment can recycle the communication channels which do not meet the conditions and distribute the communication channels to other places for use, so that the wireless resources are saved, and the resource utilization rate is improved.

Fig. 3 is a flowchart illustrating a method for data transmission according to another exemplary embodiment of the present application.

As shown in fig. 3, a data transmission method provided in this embodiment includes:

step 301, sending a test signal to the user terminal, where the test signal is used to indicate a feedback signal-to-noise ratio.

In an implementation manner, before the network device receives a service request for data replication transmission sent by a user terminal, the method further includes:

the network equipment sends a test signal to the user terminal at regular time, and the test signal is used for indicating the feedback signal-to-noise ratio; the user terminal receives the test signal sent by the network equipment and then analyzes and calculates the test signal to obtain the signal-to-noise ratio of the test signal, and the user terminal sends the signal-to-noise ratio of the test signal to the network equipment.

The Signal-to-noise Ratio (Signal-to-noise Ratio) is a Ratio of Signal to noise in an electronic device or an electronic system, and is expressed in dB.

The timing of the network device sending the test signal to the user terminal may be a time interval set in advance according to an actual situation.

Step 302, receiving the signal-to-noise ratio sent by the user terminal, and determining the channel quality indication of the communication channel for transmitting the test signal according to the signal-to-noise ratio in the corresponding relationship between the signal-to-noise ratio and the channel quality indication.

Specifically, the network device receives the signal-to-noise ratio of the test signal sent by the user terminal, and according to the signal-to-noise ratio of the test signal, looks up a table in a correspondence table between the signal-to-noise ratio and the channel quality indication, which are pre-stored in the network device in advance, and determines the channel quality indication of the communication channel for transmitting the test signal.

Wherein, the Channel Quality Indication (CQI) represents the Quality of the current communication channel, and corresponds to the signal-to-noise ratio of the channel. The channel quality indicator ranges from 0 to 31. When the CQI value is 0, the channel quality is the worst; when the CQI takes the value of 31, the channel quality is the best.

Wherein the channel quality information for each communication channel may include channel quality at a plurality of acquisition points, and the channel quality at each acquisition point may be characterized by a CQI value.

Specifically, the channel quality information of both communication channels can be obtained by the above method.

Step 303, receiving a service request for data replication transmission sent by a user terminal, and allocating two communication channels to the user terminal according to the service request; the two communication channels include a communication channel for transmitting original data and a communication channel for transmitting duplicated data.

Step 303 is similar to step 201 in implementation manner and principle, and is not described again.

Step 304, obtaining each time delay information when the user terminal sends data through two communication channels, and each channel quality information of the two communication channels.

The implementation and principle of step 304 are similar to those of step 202, and are not described again.

Step 305, if the time does not exceed the time when the data is transmitted by using any communication channel, determining the time delay difference when the data is transmitted through the two communication channels according to the time delay information of each communication channel.

Specifically, after step 304, if the network device determines that when the data is transmitted through the two communication channels according to the obtained delay information, if any one of the communication channels does not time out when the data is transmitted, the delay difference when the data is transmitted through the two communication channels is determined according to the delay information of each communication channel.

Specifically, in an implementation manner, the time for the network device to allocate the resource to the two communication channels is different, and the non-timeout when the data is transmitted through any one of the communication channels means that the network device allocates the resource to any one of the two communication channels first and the representation of the time delay information of the communication channel does not exceed a preset value set in advance according to an actual situation.

Specifically, after allocating resources for the communication channel, the network device sends a data transmission instruction to the user terminal, and after receiving the data transmission instruction sent by the network device, the user terminal starts to send data by using the communication channel.

Further, after one communication channel has started to transmit data, the other communication channel waits for the network device to allocate resources, and then determines the delay difference when data is transmitted through the two communication channels according to the delay information of the two communication channels.

In another implementation manner, if the time for the network device to allocate resources to the two communication channels is the same and the time is not overtime when the network device transmits data using any communication channel, both the two communication channels can transmit data, and the network device does not need to calculate the delay difference between the two communication channels when transmitting data.

In one implementation, if data has been transmitted via the first communication channel, data transmitted via the second communication channel is not transmitted; determining a delay difference when data is transmitted through the two communication channels according to the delay information of each communication channel may include: acquiring data transmission time when data is transmitted through a first communication channel, and acquiring transmission waiting time when data is transmitted through a second communication channel; and determining the time delay difference when the data is transmitted through the first communication channel and the second communication channel according to the transmission waiting time and the data transmission time.

Fig. 4 is a schematic diagram illustrating a process of transmitting data using two channels according to an exemplary embodiment of the present application.

As shown in fig. 4, specifically, the data transmitted through the first communication channel may be original data or copied data. Specifically, the delay information T1 when the first communication channel transmits data may be a difference value between a data transmission time T2 when the first communication channel transmits data and a service request time T1 when the user terminal transmits service request.

Specifically, the delay information T2 when the second communication channel transmits data may be a difference between the transmission waiting time T3 when the second communication channel transmits data and the time T1 when the user terminal transmits the service request.

The sending waiting time is the time when the network equipment allocates resources for the second communication channel, and the second communication channel has the data transmission condition but does not start to transmit data.

Where t4 is the time when the user terminal copies data.

Specifically, the difference between the time delays of the first communication channel and the second communication channel when transmitting data may be the difference between T1 and T2.

Wherein, T2 is T3-T1; T1-T2-T1;

therefore, T2-T1 is (T3-T1) - (T2-T1) is T3-T2.

Therefore, the difference between the transmission waiting time and the data transmission time can represent the time delay difference when the data are respectively transmitted through the first communication channel and the second communication channel.

The network device may determine the difference between the transmission waiting time and the data transmission time as the delay difference when the data is transmitted through the first communication channel and the second communication channel.

Optionally, if the difference reaches the first delay time, it is determined that the difference between the delays in transmitting data through the two communication channels is large. In this case, it may be considered that the delay is too long when the user terminal transmits data through the second communication channel, and the data transmitted through the first communication channel reaches the network device, so that transmitting data through the second communication channel again only wastes resources.

Optionally, if the difference does not reach the first delay time, it is determined that the difference between the delays in transmitting data through the two communication channels is small. In this case, it is considered that the time delay when the user terminal transmits data through the second communication channel is small, and the data can be transmitted through the second communication channel, so that the probability of correct reception is increased by receiving two data packets at the network device using the diversity gain of the first communication channel and the second communication channel.

Specifically, the delay difference between the first communication channel and the second communication channel when transmitting data may be a difference between a transmission waiting time when the second communication channel transmits data and a data transmission time when the first communication channel transmits data.

The first delay time is a time value set in advance according to actual conditions. For example, 5 milliseconds may be set.

Specifically, the network device may compare the calculated difference with a first delay time, and determine that the delay difference is large when data is transmitted through the two communication channels if the difference reaches the first delay time; and if the difference does not reach the first delay time, determining that the delay difference is smaller when the data is transmitted through the two communication channels.

Step 306, if the time delay difference between the two communication channels represents that the time delay difference when the data is transmitted through the two communication channels is small, controlling the data transmission of the communication channel which has not transmitted the data according to the channel quality information of the two communication channels.

Specifically, after step 305, if the delay difference between the two communication channels obtained by the network device through calculation represents that the delay difference when data is transmitted through the two communication channels is small, and at this time, the network device allocates resources to the communication channel that has not transmitted data, then the data transmission of the communication channel that has not transmitted data is controlled according to the channel quality information of the two communication channels.

In one implementation, if data has been transmitted through the first communication channel and data transmitted through the second communication channel has not been transmitted, controlling data transmission of the communication channel from which data has not been transmitted according to channel quality information of the two communication channels may include: determining a channel quality difference between a first communication channel and a second communication channel according to channel quality information of the first communication channel and channel quality information of the second communication channel; and controlling data transmission of the second communication channel according to the channel quality difference.

Specifically, if the time delay difference between the two communication channels obtained by the network device through calculation represents that the time delay difference when data is transmitted through the two communication channels is small, and the network device allocates resources to the communication channels which do not transmit data at this time, the network device determines the channel quality difference between the first communication channel and the second communication channel according to the calculated channel quality information of the first communication channel and the calculated channel quality information of the second communication channel; and controlling data transmission of the second communication channel according to the channel quality difference.

Furthermore, the advantage of controlling the data transmission of the second communication channel according to the channel quality difference between the first communication channel and the second communication channel is that if the channel quality difference between the two communication channels is not large, the time difference for transmitting data through the two communication channels is not large, and further, the waste of resources is not caused; if the channel quality difference between the two communication channels is large, the time difference for transmitting data through the two communication channels is large, and further resource waste is caused.

In one implementation, determining a channel quality difference between a first communication channel and a second communication channel according to channel quality information of the first communication channel and channel quality information of the second communication channel in the two communication channels may include:

determining the channel quality of the first communication channel and the channel quality of the second communication channel of each acquisition point within a preset time period according to the channel quality information of the first communication channel and the channel quality information of the second communication channel; wherein the preset time period is a time period from a data transmission time when the first communication channel transmits data to a time when the user terminal prepares to transmit data through the second communication channel.

Specifically, since neither the time when the user terminal prepares to transmit data through the second communication channel nor the data transmission time when the user terminal transmits data through the first communication channel is a fixed value, the time length of the preset period is not a fixed value.

Specifically, the network device may select, according to the calculated channel quality information of the first communication channel and the calculated channel quality information of the second communication channel, the channel quality of the first communication channel and the channel quality of the second communication channel of each acquisition point within a preset time period.

And if the absolute value of the difference between the channel quality of the first communication channel and the channel quality of the second communication channel at the same acquisition point is smaller than a preset value, determining that the channel qualities of the first communication channel and the second communication channel are basically the same.

The preset value is a numerical value set in advance according to actual conditions. For example, it may be 5.

Specifically, the network device may control data transmission of the second communication channel according to a channel quality difference between the two communication channels, where the channel quality of the first communication channel may be better than that of the second communication channel, or the channel quality of the first communication channel may be worse than that of the second communication channel, which is not limited in this example. Therefore, when the difference between the channel qualities of the two communication channels is determined, the absolute value of the difference between the channel qualities of the two communication channels is taken.

Further, in the channel qualities selected by the network device, the channel quality of the first communication channel and the channel quality of the second communication channel of the same acquisition point are compared pairwise to obtain a difference value, and an absolute value is taken. If the absolute value of the difference between the channel qualities of the two communication channels of the same acquisition point is smaller than the preset value in the selected channel qualities, the channel qualities of the first communication channel and the second communication channel can be characterized to be basically the same.

And if the absolute values of the differences between the channel quality of the first communication channel and the channel quality of the second communication channel corresponding to three acquisition points before the time when the user terminal prepares to send data through the second communication channel are all smaller than a preset value, the difference between the channel quality of the first communication channel and the channel quality of the second communication channel is represented to be small.

Specifically, in addition to the above, if the absolute value of the difference between the channel quality of the first communication channel and the channel quality of the second communication channel at each of the three acquisition points corresponding to the time point before the time point at which the user terminal prepares to transmit data through the second communication channel is smaller than the preset value, it is characterized that the difference between the channel qualities of the first communication channel and the second communication channel is small.

Otherwise, determining that the channel quality difference between the first communication channel and the second communication channel is large.

Further, in the case other than the above two cases, the difference in channel quality characterizing the first communication channel and the second communication channel is large.

In one implementation, controlling data transmission of the second communication channel according to the channel quality difference may include: and if the channel quality difference represents that the channel quality difference between the first communication channel and the second communication channel is large, recovering the second communication channel which does not send data so as to cancel the data transmission through the second communication channel.

Specifically, if the network device represents that the delay difference when the data is transmitted through the two communication channels is small through the calculated delay difference between the two communication channels after the first communication channel starts to transmit the data, and the network device allocates resources to the second communication channel which does not transmit the data at the moment, then the network device represents that the channel quality difference between the first communication channel and the second communication channel is large through the calculated two channel quality differences, and then the network device recovers the second communication channel which does not send the data to cancel the data transmission through the second communication channel.

Specifically, after the network device recovers the second communication channel, the network device sends a second communication channel interrupt data sending command to the user terminal, and after the user terminal receives the command sent by the network device, the user terminal deletes data waiting to be sent in the queue.

In one implementation, controlling data transmission of the second communication channel according to the channel quality difference may include: if the channel quality difference represents that the channel quality difference between the first communication channel and the second communication channel is small, acquiring a data transmission proportion when data is transmitted through the first communication channel; and controlling the transmission of the data in the second communication channel according to the data transmission ratio control.

Specifically, if the network device indicates that the delay difference when the data is transmitted through the two communication channels is small through the calculated delay difference between the two communication channels after the first communication channel starts to transmit the data, and the network device allocates resources to the second communication channel which has not transmitted the data at this time, then the network device indicates that the channel quality difference between the first communication channel and the second communication channel is small through the calculated two channel quality differences, and then the network device controls the transmission of the data in the second communication channel through the acquired data transmission ratio when the first communication channel transmits the data at the current time sent by the user terminal.

In an implementable aspect, controlling transmission of data in a second communication channel according to a data transmission ratio control can include: and if the sending proportion reaches the preset proportion, recovering the second communication channel to cancel the data transmission through the second communication channel.

The preset proportion may be a proportion value set in advance according to actual conditions. For example eighty percent.

Specifically, if the data transmission ratio when the first communication channel transmits data at the current time is equal to or greater than the preset ratio, the network device recovers the second communication channel to cancel data transmission through the second communication channel.

Specifically, after the network device recovers the second communication channel, the network device sends a second communication channel interrupt data sending command to the user terminal, and after the user terminal receives the command sent by the network device, the user terminal deletes data waiting to be sent in the queue.

In the data transmission method provided in this embodiment, if the data transmission ratio when the first communication channel transmits data at the current time is equal to or greater than the preset ratio, it indicates that the amount of data transmitted through the first communication channel is large at the current time, and all data transmission is immediately completed, and at this time, it is meaningless to transmit data through the second communication channel, and resources are wasted.

Step 307, if the delay difference between the two communication channels represents that the delay difference when the data is transmitted through the two communication channels is large, recovering the second communication channel to cancel the data transmission through the second communication channel.

Specifically, after step 305, if the network device characterizes that the delay difference when transmitting data through the two communication channels is large through the calculated delay difference between the two communication channels, the network device will recycle the second communication channel to cancel transmitting data through the second communication channel. The network device need not control the data transmission of the second communication channel based on the channel quality information of the two communication channels.

Specifically, after the network device recovers the second communication channel, the network device sends a second communication channel interrupt data sending command to the user terminal, and after the user terminal receives the command sent by the network device, the user terminal deletes data waiting to be sent in the queue.

In the data transmission method provided in this embodiment, if the delay difference between two communication channels represents that the delay difference when data is transmitted through the two communication channels is large, it indicates that the duration of data transmission through the first communication channel at the current time is long, and it may be that all data transmission is completed immediately, and at this time, it is meaningless to transmit data through the second communication channel, and resources are wasted.

If the data sent by the two communication channels is overtime, the two communication channels are recycled to cancel the data transmission through the two communication channels, step 308.

Specifically, after step 304, if the network device determines that both of the two communication channels are overtime when the network device transmits data through the two communication channels according to the acquired delay information when the network device transmits data through the two communication channels, which is transmitted by the user terminal, the network device will recycle the two communication channels to cancel the data transmission through the two communication channels.

Specifically, after the network device recovers the two communication channels, the network device sends a data transmission interruption command for the two communication channels to the user terminal, and after receiving the command sent by the network device, the user terminal deletes data waiting to be sent in the queue.

In this example, after the user equipment has transmitted the data through the communication channel, the data transmission completion information of the corresponding communication channel may be sent to the network equipment, and the network equipment may recover the corresponding communication channel after receiving the information.

Further, after the network device recovers the communication channel, the communication channel can be allocated to other applications of the user equipment for use.

Specifically, in one data transmission method shown in this example, data is transmitted bidirectionally in network devices in a user terminal and a base station. In this example, the example is described by using a user terminal to transmit data to a network device, and the implementation manner and principle of the data transmission from the network device to the user terminal are similar and will not be described again.

Fig. 5 is a block diagram of a data transmission device according to an exemplary embodiment of the present application.

As shown in fig. 5, the present application provides a data transmission apparatus 500, including:

a receiving unit 510, configured to receive a service request for data replication transmission sent by a user terminal, and allocate two communication channels to the user terminal according to the service request; the two communication channels comprise a communication channel for transmitting original data and a communication channel for transmitting copied data;

an obtaining unit 520, configured to obtain each delay information when the user terminal sends data through two communication channels, and each channel quality information of the two communication channels;

a control unit 530, configured to control transmission of data in each communication channel according to each delay information and each channel quality information.

The principle, implementation and technical effect of the data transmission device provided by the application are similar to those of fig. 2, and are not repeated.

Fig. 6 is a block diagram illustrating a data transmission apparatus according to another exemplary embodiment of the present application.

As shown in fig. 6, on the basis of the above-mentioned embodiments, in a data transmission apparatus 600 provided by the present application, a control unit 530 includes:

a delay difference determining module 531, configured to determine, according to delay information of each communication channel, a delay difference when data is transmitted through the two communication channels if the time for transmitting the data by using any communication channel is not overtime;

a control module 532, configured to, if the delay difference between the two communication channels represents that the delay difference when data is transmitted through the two communication channels is small, control data transmission of the communication channel that has not sent data according to channel quality information of the two communication channels.

The control unit 530 is specifically configured to recycle the two communication channels to cancel data transmission through the two communication channels if the data transmission using the two communication channels is timeout.

If the data is already transmitted through the first communication channel and the data transmitted through the second communication channel is not transmitted, the delay difference determining module 531 is specifically configured to obtain a data transmission time when the data is transmitted through the first communication channel and obtain a transmission waiting time when the data is transmitted through the second communication channel; and determining the time delay difference when the data is transmitted through the first communication channel and the second communication channel according to the transmission waiting time and the data transmission time.

The delay difference determining module 531 is specifically configured to determine a difference between the transmission waiting time and the data transmission time as a delay difference when data is transmitted through the first communication channel and the second communication channel; if the difference reaches the first delay time, determining that the delay difference is larger when the data are transmitted through the two communication channels; and if the difference does not reach the first delay time, determining that the delay difference is smaller when the data is transmitted through the two communication channels.

The control unit 530 is specifically configured to, if the delay difference between the two communication channels represents that the delay difference when data is transmitted through the two communication channels is large, recycle the second communication channel to cancel the data transmission through the second communication channel.

If the data is already transmitted through the first communication channel and the data transmitted through the second communication channel is not transmitted, the control module 532 is specifically configured to determine a channel quality difference between the first communication channel and the second communication channel according to the channel quality information of the first communication channel and the channel quality information of the second communication channel; and controlling data transmission of the second communication channel according to the channel quality difference.

The control module 532 is specifically configured to determine, according to the channel quality information of the first communication channel and the channel quality information of the second communication channel, the channel quality of the first communication channel and the channel quality of the second communication channel at each acquisition point within a preset time period; the preset time interval is the time interval from the data transmission moment when the first communication channel transmits data to the moment when the user terminal prepares to transmit data through the second communication channel; if the absolute value of the difference between the channel quality of the first communication channel and the channel quality of the second communication channel at the same acquisition point is smaller than a preset value, determining that the channel qualities of the first communication channel and the second communication channel are basically the same; if the absolute values of the differences between the channel qualities of the first communication channel and the second communication channel corresponding to three acquisition points before the time when the user terminal prepares to send data through the second communication channel are all smaller than a preset value, the difference between the channel qualities of the first communication channel and the second communication channel is represented to be small; otherwise, determining that the channel quality difference between the first communication channel and the second communication channel is large.

The control module 532 is specifically configured to, if the channel quality difference indicates that the channel quality difference between the first communication channel and the second communication channel is large, recycle the second communication channel that does not send data, so as to cancel sending data through the second communication channel.

The control module 532 is specifically configured to, if the channel quality difference indicates that the channel quality difference between the first communication channel and the second communication channel is small, obtain a data transmission ratio when data is transmitted through the first communication channel; and controlling the transmission of the data in the second communication channel according to the data transmission ratio control.

The control module 532 is specifically configured to, if the sending ratio reaches the preset ratio, recover the second communication channel to cancel data transmission through the second communication channel.

As shown in fig. 6, on the basis of the foregoing embodiment, the apparatus 600 for data transmission provided in the present application further includes a channel quality determining unit 540, configured to:

sending a test signal to the user terminal, wherein the test signal is used for indicating a feedback signal-to-noise ratio; and receiving the signal-to-noise ratio sent by the user terminal, and determining the channel quality indication of the communication channel for transmitting the test signal according to the corresponding relation between the signal-to-noise ratio and the channel quality indication.

Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment of the present application.

As shown in fig. 7, the electronic device provided in this embodiment includes:

a memory 701;

a processor 702; and

a computer program;

wherein the computer program is stored in the memory 701 and configured to be executed by the processor 702 to implement any of the methods of data transmission as above.

The present embodiments also provide a computer-readable storage medium, having stored thereon a computer program,

the computer program is executed by a processor to implement the method of any of the above data transmission.

The present embodiment also provides a computer program product comprising a computer program, which when executed by a processor, implements any of the above-described methods for data transmission.

Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种数据处理的方法和装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!