Data transmission method, device and readable storage medium

By establishing multiple data transmission channels between mobile devices and switching to the target channel when an abnormality is detected, the problem of high channel switching delay in the prior art is solved, and network quality and user experience are improved.

CN114640570BActive Publication Date: 2024-12-03ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011485800.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-16
Publication Date
2024-12-03
Estimated Expiration
2040-12-16

AI Technical Summary

Technical Problem

The existing channel switching technology leads to high latency in mobile games and live broadcast scenarios, affecting the user experience.

Method used

By establishing multiple data transmission channels between the sending and receiving devices, selecting at least two temporary channels to send data when detecting abnormalities, and switching to the target channel through these channels during the transition period, ensuring stability and delay reduction of network quality and delay .

Benefits of technology

It effectively reduces network delay during channel switching and improves user experience, especially in scenarios with high real-time requirements such as games and live broadcasts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114640570B_ABST
    Figure CN114640570B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a data transmission method, device and readable storage medium. Multiple data transmission channels are established between a transmitting end device and a receiving end device. The data transmission method includes: when an abnormality is detected in the currently used data transmission channel, at least two data transmission channels are selected from the multiple data transmission channels as temporary data transmission channels, and data is sent to the receiving end device through the temporary data transmission channels; in the process of sending data to the receiving end device through the temporary data transmission channel, a temporary data transmission channel is selected from the temporary data transmission channels according to a preset selection strategy as a target data channel, and the target data channel is switched to send data to the receiving end device. The method of the present invention achieves a significant reduction in the user's traffic consumption while ensuring the user's network quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to, but are not limited to, the field of communication technology, and specifically, relate to, but are not limited to, a data transmission method, device, and readable storage medium. Background Art

[0002] With the widespread application of Internet technology, the quality of the network will directly affect the user experience when the user uses the network. For example, when the user is playing online games, the network quality is a very important part, but freezes and disconnections caused by various reasons still occur in large numbers. This problem is particularly common in mobile games.

[0003] The existing solution detects the channel quality and then switches the channel. However, the switching process of the existing channel switching technology will bring high latency. For situations where users have high real-time requirements such as playing games and watching live broadcasts, the existing channel switching technology will cause obvious lags and reduce user experience. Summary of the invention

[0004] A data transmission method, device and readable storage medium provided by the embodiments of the present invention mainly improve the network quality of users, increase the channel switching speed of terminals, and reduce switching delays.

[0005] To solve the above technical problems, an embodiment of the present invention provides a data transmission method, which is applied to a sending end device, and multiple data transmission channels are established between the sending end device and the receiving end device; the data transmission method includes: detecting an abnormality of the data transmission channel currently used by the sending end device and the receiving end device, and when an abnormality is detected in the currently used data transmission channel, selecting at least two data transmission channels from the multiple data transmission channels as temporary data transmission channels, and sending data to the receiving end device through the temporary data transmission channels, wherein the data transmitted by each of the temporary data transmission channels is the same; in the process of the sending end device sending data to the receiving end device through the temporary data transmission channel, selecting a temporary data transmission channel from the temporary data transmission channels as a target data channel according to a preset selection strategy, and switching to sending data to the receiving end device through the target data channel.

[0006] The embodiment of the present invention further provides a data transmission method, which is applied to a receiving device, wherein a plurality of data transmission channels are established between the receiving device and the transmitting device, and comprises:

[0007] Detecting an abnormality in a data transmission channel currently used by the receiving device and the sending device, and when an abnormality is detected in the current data transmission channel, receiving data according to a temporary data transmission channel selected by the sending device, wherein the data sent by any temporary data transmission channel is the same;

[0008] When the receiving device receives data through the temporary data transmission channel, the receiving device switches to the target data channel selected by the sending device to receive data.

[0009] An embodiment of the present invention further provides a sending end device, comprising a first processor, a first memory and a first communication bus;

[0010] The first communication bus is used to realize the connection and communication between the first processor and the first memory;

[0011] The first processor is used to execute one or more first computer programs stored in the first memory to implement the steps of the aforementioned data transmission method.

[0012] An embodiment of the present invention further provides a receiving end device, comprising a second processor, a second memory and a second communication bus;

[0013] The second communication bus is used to realize the connection and communication between the second processor and the second memory;

[0014] The second processor is used to execute one or more computer programs stored in the second memory to implement the steps of the aforementioned data transmission method.

[0015] An embodiment of the present invention further provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more first computer programs and one or more second computer programs, and the one or more first computer programs can be executed by one or more processors to implement the steps of the aforementioned data transmission method; or,

[0016] The one or more second computer programs may be executed by one or more processors to implement the steps of the aforementioned data transmission method.

[0017] According to the data transmission method, device and readable storage medium provided by the embodiments of the present invention, after a channel abnormality is detected, data is sent through multiple data transmission channels, and then a target data transmission channel is selected from the multiple data transmission channels to send data, thereby ensuring the stability of user network quality during channel switching, reducing network delays during channel switching, and improving user experience.

[0018] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a basic flow chart of Embodiment 1 of the present invention;

[0020] Figure 2 This is a basic flow chart of the second embodiment of the present invention.

[0021] Figure 3 This is a flowchart of Embodiment 3 of the present invention;

[0022] Figure 4 Schematic diagram of the interaction framework of embodiment 3 of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following is a further detailed description of the embodiments of the present invention through specific implementation methods combined with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0024] Embodiment 1:

[0025] In order to solve the technical problem of high delay caused by channel switching in the prior art, a data transmission method is proposed in this embodiment, which is applied to a sending end device, and multiple data transmission channels are established between the sending end device and the receiving end device; Figure 1 As shown, the data transmission method includes:

[0026] S101, detecting an abnormality in the data transmission channel currently used by the transmitting end device and the receiving end device, and when detecting an abnormality in the data transmission channel currently used, selecting at least two data transmission channels from the multiple data transmission channels as temporary data transmission channels, and sending data to the receiving end device through the temporary data transmission channels, wherein the data transmitted by each of the temporary data transmission channels is the same;

[0027] S102. When the transmitting device sends data to the receiving device through the temporary data transmission channel, a temporary data transmission channel is selected from the temporary data transmission channel as a target data channel according to a preset selection strategy, and the target data channel is switched to send data to the receiving device.

[0028] In this embodiment, multiple data transmission channels are established between the sending end device and the receiving end device. The sending end device may be a terminal device, and the receiving end device may be a server. In the case of normal data transmission, the sending end device may send data through one data transmission channel, and other data channels may maintain a heartbeat state with the receiving end device according to actual needs. Of course, in the case of normal data transmission, the sending end device may also perform channel detection on the data transmission channel, which may be conducive to quickly detecting abnormalities in the data transmission channel.

[0029] When it is detected that the data transmission channel currently used is abnormal, at least two data transmission channels are selected from the multiple data transmission channels as temporary data transmission channels, and data is sent to the receiving end device through the temporary data transmission channels, wherein the data transmitted by each temporary data transmission channel is the same. In the specific implementation process, when it is detected that the data transmission channel currently used is abnormal, the sending end can copy the data being sent, and then send it through the selected temporary data transmission channel. In the process of sending data through multiple temporary data transmission channels, a temporary data transmission channel is selected from the temporary data transmission channels according to a preset selection strategy as the target data channel, and then switched to the target data channel, thereby returning to the normal data sending state. That is, data is sent only through the target data channel.

[0030] Therefore, in this embodiment, under normal circumstances, data can be sent through the current data transmission channel. At the same time, after the data transmission channel is abnormal, data can be sent through multiple temporary channels during the transition period of the channel. In this way, only a part of the traffic consumption is increased during the transition period to achieve the effect of improving the terminal network quality. Compared with the existing channel switching technology, the delay of channel switching is effectively reduced, and the user experience is improved.

[0031] In some implementations, selecting at least two channels from the plurality of data transmission channels as temporary data transmission channels includes:

[0032] Using the currently used data transmission channel as one of the temporary data transmission channels, and selecting at least one from other data transmission channels of the multiple data transmission channels as a temporary data transmission channel;

[0033] or,

[0034] Among the multiple data transmission channels, at least two channels are selected from other data transmission channels other than the currently used data transmission channel as temporary data transmission channels.

[0035] In some optional implementations, the currently used data transmission channel can be directly used as one of the temporary data transmission channels, and then at least one of the remaining data transmission channels can be selected as a temporary data transmission channel. In this way, the current abnormal channel can be further judged according to the preset selection strategy. If the abnormality of the current data transmission channel is a misjudgment, the current data transmission channel can be reselected to send data. As an optional implementation, other data transmission channels of multiple data transmission channels are selected as temporary data transmission channels, thereby copying and sending data through all the data transmission channels of the terminal. After the transition period is completed, a data channel can be selected from all data channels according to the preset selection strategy to send data.

[0036] In some other optional implementations, at least two channels are selected from other data transmission channels other than the currently used data transmission channel as temporary data transmission channels. That is, after confirming that the currently used data transmission channel is abnormal, data transmission through the current data transmission channel is directly excluded, and other data channels are directly used to send data. As an optional implementation, other data transmission channels of multiple data transmission channels are selected as temporary data transmission channels. That is, except for the current data transmission channel, the remaining data transmission channels all send duplicate data. After the transition period is completed, a data channel can be selected from other data channels according to a preset selection strategy to send data.

[0037] In some implementations, the detecting of an abnormality in a data transmission channel currently used by the transmitting device and the receiving device includes at least one of the following methods:

[0038] Performing channel detection on the currently used data transmission channel to obtain a first channel detection result, and if the first channel detection result is abnormal, determining that the currently used data transmission channel is abnormal;

[0039] An alarm packet sent by the receiving end device is received, and it is determined that the currently used data transmission channel is abnormal.

[0040] In this embodiment, the method for detecting the abnormality of the currently used data transmission channel may include one of the following methods:

[0041] In the process of sending data normally, the sending end device can actively perform channel detection. Therefore, in the case of channel abnormality, the current data transmission channel abnormality can be determined based on the abnormality of the first detection result of the channel detection. For example, the first detection result can be compared with the normal value, and when the comparison result is abnormal, it is determined that the current data transmission channel is abnormal.

[0042] Another optional method may be to receive an alarm packet sent by a data receiving end. For example, if the receiving end fails to receive data normally, the receiving end sends an alarm packet to the sending end. After receiving the alarm packet, the sending end can directly determine that the current data transmission channel is abnormal. In this embodiment, the method of sending data between the sending end device and the receiving end device may be that the sending end device sends a data packet to the receiving end device. During the communication interaction process, the receiving end device may estimate the arrival time of the data packet. If the corresponding data packet is not received within the estimated time, the receiving end device may send an alarm packet to the sending end device. Of course, the alarm packet sent by the receiving end may contain the reception information of the last normally received data packet, for example, the reception information may be the corresponding data packet ID. After receiving the alarm packet, the sending end parses and obtains the corresponding data packet ID, and determines whether the data packet ID in the alarm packet is the last packet sent. If so, no data is sent. If the ID is less than the ID of the last packet sent, a transition period is entered, and data retransmission is performed according to the data packet ID through at least two temporary channels, thereby ensuring the continuity of data transmission.

[0043] In some implementations, the preset selection strategy includes any one of the following:

[0044] Selecting a temporary data transmission channel from the temporary data transmission channels according to a set selection order;

[0045] A temporary data transmission channel is determined according to the second detection result of each temporary data transmission channel, wherein the second detection result is obtained by performing channel detection on each temporary data transmission channel.

[0046] In some optional implementations, a channel selection priority table may be set in the terminal for each data transmission channel according to the network conditions. In this embodiment, an example is given in which the data transmission channels include wifi 5G, wifi 2.4G, and cellular. After the channel is abnormal, the priority table may be selected according to the channel, for example, the priority order is wifi5G, wifi 2.4G, and cellular. If the current data transmission channel is wifi 2.4G, then after the wifi 2.4G channel is abnormal, wifi 5G and wifi 2.4G may be used as temporary transmission channels. Then, wifi 5G is selected as the target data channel according to the priority order, and finally, it is switched to send data packets to the receiving device through wifi 5G. After the switching is completed, it enters the normal period, and the heartbeat packets of wifi 2.4G and cellular are maintained.

[0047] Another implementation method is also illustrated by taking the data transmission channels including wifi 5G, wifi 2.4G, and cellular as an example. After the channel is abnormal, the transmission quality of each data transmission channel is determined. For example, if the current transmission data channel is wifi 2.4G, then after the wifi 2.4G channel is abnormal, wifi 5G, wifi 2.4G, and cellular can be selected as temporary transmission channels. Then, channel detection is performed on the temporary channel to obtain a second detection result. If the second detection result shows that the transmission quality of cellular is the best, it is switched to send data packets to the receiving device through cellular. After the switching is completed, it enters the normal period and maintains the heartbeat packets of wifi 5G and wifi 2.4G.

[0048] In summary, compared with the channel switching solution in the prior art, the method of the present invention ensures the stability of the user's network quality during the channel switching process, effectively reduces the network delay during the channel switching process, and improves the user's terminal usage experience in scenarios with high real-time requirements such as game live broadcasting.

[0049] Embodiment 2:

[0050] In order to solve the technical problem of high delay caused by channel switching in the prior art, a data transmission method is proposed in this embodiment, which is applied to a receiving end device, and multiple data transmission channels are established between the receiving end device and the sending end device, such as Figure 2 As shown, including:

[0051] S201, detecting an abnormality in a data transmission channel currently used by the receiving device and the sending device, and when detecting an abnormality in the current data transmission channel, receiving data according to a temporary data transmission channel selected by the sending device, wherein the data sent by any temporary data transmission channel are the same;

[0052] S202: During the process of the receiving device receiving data through the temporary data transmission channel, the receiving device switches to the target data channel selected by the sending device to receive data.

[0053] In this embodiment, multiple data transmission channels are established between the sending device and the receiving device, wherein the sending device may be a terminal device and the receiving device may be a server. When receiving data normally, the receiving device may receive data through one data transmission channel, and other data channels may maintain a heartbeat state with the sending device according to actual needs. Of course, when receiving data normally, the receiving device may also perform channel detection on the data transmission channel, which may be helpful for quickly detecting abnormalities in the data transmission channel.

[0054] When it is detected that the data transmission channel currently used is abnormal, at least two data transmission channels are selected by the sending end device from the multiple data transmission channels as temporary data transmission channels, and data is sent to the receiving sending end device through the temporary data transmission channels. Among them, the data transmitted by each temporary data transmission channel is the same. In the specific implementation process, when it is detected that the data transmission channel currently used is abnormal, the sending end can copy the data being sent, and then send it through the selected temporary data transmission channel, and the receiving end device receives it through multiple temporary data transmission channels accordingly. In the process of receiving data through multiple temporary data transmission channels, the sending end device can select a temporary data transmission channel from the temporary data transmission channel as the target data channel according to a preset selection strategy, and then switch the data transmission to the target data channel, thereby returning to the normal data reception state, that is, receiving data only through the target data channel.

[0055] Therefore, in this embodiment, under normal circumstances, data can be received through only one data transmission channel, and after the data transmission channel is abnormal, data can be received through multiple temporary channels during the transition period of the channel. In this way, only a part of the traffic consumption is increased during the transition period to achieve the effect of improving the terminal network quality. Compared with the existing channel switching technology, the delay of channel switching is effectively reduced, and the user experience is improved.

[0056] In some implementations, the detecting of an abnormality in a data transmission channel currently used by the receiving device and the sending device includes at least one of the following methods:

[0057] Performing channel detection on the currently used data transmission channel to obtain a first channel detection result, and if the first channel detection result is abnormal, determining that the currently used data transmission channel is abnormal;

[0058] If the corresponding data is not received within the predetermined time, it is determined that the currently used data transmission channel is abnormal.

[0059] One channel anomaly detection method is that during the normal process of receiving data packets, the receiving end device can actively perform channel detection. Therefore, in the case of a channel anomaly, the current data transmission channel anomaly can be determined based on the first detection result of the channel detection. For example, the first detection result can be compared with the normal value, and when the comparison result is abnormal, it is determined that the current data transmission channel is abnormal.

[0060] Another receiving end channel abnormality detection method may be that if the corresponding data is not received within a predetermined time, the data transmission channel is determined to be abnormal. In this embodiment, an example is taken that the receiving end device receives a data packet sent by the sending end device. In the case of normal reception of data packets, the arrival time of each data packet is recorded, and then the arrival time of the subsequent data packet is predicted based on the arrival of the data packet in the previous period of time. If the corresponding data packet is not received within the predicted time, the channel abnormality can be determined. For example, in the normal period, the arrival time of the data packet is recorded. According to the arrival of the data packet in the most recent time Tr, the predicted interval Tf of the subsequent arrival is determined, and the predicted arrival time = Tf * coefficient f. The Tf calculation method can be calculated by calculating the average interval of the most recent arrival or the weighted average, and the closer the time, the greater the weight. After determining the predicted arrival time, start the timer in the receiving end device, set the timer to the corresponding time, if the corresponding data packet is received within the timer, continue to predict and refresh the timer, if the corresponding data packet is not received before the expiration, an alarm is issued, and an alarm packet is sent to the sending end device.

[0061] In some implementations, when it is detected that the current data transmission channel is abnormal, the data transmission method further includes: sending an alarm packet to the transmitting end device.

[0062] The specific method of sending the alarm packet can be to send it through a designated data transmission channel or to send the alarm packet through all data transmission channels, wherein the alarm packet may include the data packet ID that the receiving device last received normally, so that the sending device can perform data retransmission using the selected temporary data channel according to the data packet ID.

[0063] As another optional method, an alarm is issued based on the reception of data packets, and the alarm packet is sent through all data transmission channels. Of course, one or more data transmission channels can be selected to send the alarm packet based on the occupancy or priority of the channel. In this way, the sending end device can confirm that the current data transmission channel is abnormal based on the alarm packet received in any channel.

[0064] In summary, compared with the channel switching technology in the prior art, the method of the present invention ensures the stability of the user's network quality during the channel switching process, effectively reduces the network delay during the channel switching process, and improves the user's terminal usage experience in scenarios with high real-time requirements such as game live broadcasting.

[0065] Embodiment three:

[0066] In order to solve the problem of large traffic usage in the prior art through multi-channel data packet replication technology, this embodiment proposes an implementation case of a data transmission method, such as Figure 3 , Figure 4 As shown, the following steps are included:

[0067] S301. Under normal circumstances, the client sends a data packet to the server.

[0068] S302, after receiving the data packet, the server records the arrival time of the data packet and predicts the arrival time of the subsequent data packet. In one embodiment, the server can determine the predicted interval Tf of the subsequent arrival according to the arrival of the data packet within the most recent time Tr, where the predicted arrival time = Tf * coefficient f. The predicted interval Tf can be calculated by calculating the average interval of the most recent arrival or the weighted average, where the closer the time, the greater the weight.

[0069] S303: The server starts a timer, and if a data packet is received within the timer range, the server continues to predict and refresh the timer. If no data packet is received within the time limit, the server performs the following alarm steps.

[0070] S304: When the timer time range is exceeded, the server sends an alarm packet to all data transmission channels, where the alarm packet contains the ID of the last data packet normally received.

[0071] S305, the client receives the alarm packet. After receiving the alarm packet through any data transmission channel, the client extracts the data content in the alarm packet and determines whether the data packet ID in the alarm packet is the last packet sent. If so, no data is sent. If the ID is less than the ID of the last packet sent, the hot standby period is entered.

[0072] S306, after entering the hot standby period, the client copies the data packets to be sent and resends all data packets after the ID to the server through multiple data transmission channels.

[0073] S307: The server receives all data packets after the designated data packet ID sent by the client.

[0074] S308, perform channel detection, such as Figure 4 As shown, channel detection can be performed all the time during the data transmission process, at intervals of Td, regardless of the normal period or the hot standby period. In one implementation, the client performs channel detection after a period of time Td. Of course, the server can also perform channel detection on the current data transmission channel at intervals of Td. Of course, another implementation can be that after entering the hot standby period, the client performs channel detection on multiple data transmission channels, and the client switches channels according to a certain strategy based on the detection results, such as the optimal channel priority strategy, and switches the data transmission channel to the target data transmission channel selected by the selected strategy. The client uses the target data transmission channel to send subsequent data packets. After the hot standby period is detected and switched, it will enter the normal period.

[0075] The method of the present invention effectively reduces the switching delay and enhances the real-time performance of the existing multi-channel switching technology by predicting, warning and then entering the multi-channel replication technology. It can greatly guarantee the network quality of the terminal while controlling the traffic usage, and has strong resistance to frequent network fluctuations, which will not cause frequent channel switching.

[0076] An embodiment of the present invention further provides a sending end device, comprising a first processor, a first memory and a first communication bus;

[0077] The first communication bus is used to realize the connection and communication between the first processor and the first memory;

[0078] The first processor is used to execute one or more first computer programs stored in the first memory to implement the steps of the data transmission method of the first embodiment.

[0079] An embodiment of the present invention further provides a receiving end device, comprising a second processor, a second memory and a second communication bus;

[0080] The second communication bus is used to realize the connection and communication between the second processor and the second memory;

[0081] The second processor is used to execute one or more computer programs stored in the second memory to implement the steps of the aforementioned data transmission method.

[0082] The embodiment of the present invention also provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more first computer programs and one or more second computer programs, and the one or more first computer programs can be executed by one or more processors to implement the steps of the data transmission method of the first embodiment; or,

[0083] The one or more second computer programs may be executed by one or more processors to implement the steps of the data transmission method of the second or third embodiment.

[0084] It can be seen that those skilled in the art should understand that all or some of the steps, systems, and functional modules / units in the above disclosed methods can be implemented as software (which can be implemented with computer program code executable by a computing device), firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit.

[0085] In addition, it is well known to those skilled in the art that communication media generally contain computer readable instructions, data structures, computer program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. Therefore, the present invention is not limited to any specific hardware and software combination.

[0086] The above contents are further detailed descriptions of the embodiments of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A data transmission method, applied to a sending end device, wherein a plurality of data transmission channels are established between the sending end device and a receiving end device; The data transmission method comprises: Detecting an abnormality in the data transmission channel currently used by the transmitting end device and the receiving end device, and when detecting an abnormality in the data transmission channel currently used, selecting at least two data transmission channels from the multiple data transmission channels as temporary data transmission channels, and sending data to the receiving end device through the temporary data transmission channels, wherein the data transmitted by each of the temporary data transmission channels is the same; In the process of the sending device sending data to the receiving device through the temporary data transmission channel, a temporary data transmission channel is selected from the temporary data transmission channel as the target data channel according to a preset selection strategy, and the data is switched to be sent to the receiving device through the target data channel.

2. The data transmission method according to claim 1, characterized in that: The selecting at least two channels from the plurality of data transmission channels as temporary data transmission channels comprises: Using the currently used data transmission channel as one of the temporary data transmission channels, and selecting at least one from other data transmission channels of the multiple data transmission channels as a temporary data transmission channel; or, Among the multiple data transmission channels, at least two channels are selected from other data transmission channels other than the currently used data transmission channel as temporary data transmission channels.

3. The data transmission method according to claim 1 or 2, characterized in that: The detecting of the abnormality of the data transmission channel currently used by the transmitting end device and the receiving end device comprises at least one of the following methods: Performing channel detection on a currently used data transmission channel to obtain a first channel detection result, and when the first channel detection result is abnormal, determining that the currently used data transmission channel is abnormal; An alarm packet sent by the receiving end device is received, and it is determined that the currently used data transmission channel is abnormal.

4. The data transmission method according to claim 1 or 2, characterized in that: The preset selection strategy includes any one of the following: Selecting a temporary data transmission channel from the temporary data transmission channels according to a set selection order; Channel detection is performed on each temporary data transmission channel to obtain a second channel detection result, and a temporary data transmission channel is determined according to the second channel detection result.

5. A data transmission method, applied to a receiving device, wherein a plurality of data transmission channels are established between the receiving device and a transmitting device, comprising: Detecting an abnormality in a data transmission channel currently used by the receiving device and the sending device, and when detecting an abnormality in the current data transmission channel, receiving data according to a temporary data transmission channel selected by the sending device, wherein the temporary data transmission channel is at least two data transmission channels selected by the sending device from the multiple data transmission channels, wherein the data transmitted by any temporary data transmission channel is the same; In the process of the receiving end device receiving data through the temporary data transmission channel, the sending end device selects a temporary data transmission channel as the target data channel from the temporary data transmission channel according to a preset selection strategy, and switches to the target data channel selected by the sending end device to receive data.

6. The data transmission method according to claim 5, characterized in that: The detecting of the abnormality of the data transmission channel currently used by the receiving device and the sending device includes at least one of the following methods: Performing channel detection on a currently used data transmission channel to obtain a first channel detection result, and when the first channel detection result is abnormal, determining that the currently used data transmission channel is abnormal; If the corresponding data is not received within the predetermined time, it is determined that the currently used data transmission channel is abnormal.

7. The data transmission method according to claim 5 or 6, characterized in that: When it is detected that the current data transmission channel is abnormal, the data transmission method further includes: sending an alarm packet to the sending end device.

8. A transmitting end device, characterized in that: comprising a first processor, a first memory and a first communication bus; The first communication bus is used to realize the connection and communication between the first processor and the first memory; The first processor is used to execute one or more first computer programs stored in the first memory to implement the steps of the data transmission method according to any one of claims 1 to 4.

9. A receiving device, characterized in that: comprising a second processor, a second memory and a second communication bus; The second communication bus is used to realize the connection and communication between the second processor and the second memory; The second processor is used to execute one or more computer programs stored in the second memory to implement the steps of the data transmission method according to any one of claims 5 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more first computer programs and one or more second computer programs, and the one or more first computer programs can be executed by one or more processors to implement the steps of the data transmission method according to any one of claims 1 to 4; or, The one or more second computer programs can be executed by one or more processors to implement the steps of the data transmission method according to any one of claims 5 to 7.