Data transmission method and device, equipment and storage medium
By monitoring and dividing the signal quality of high-frequency channels and low-frequency channels, the problem of high-frequency signals being easily disturbed in wireless communications is solved, efficient data transmission in complex environments is achieved, and the signal resistance to attenuation and reliability of data transmission is improved.
Patent Information
- Application Number
- CN202510118816.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-06-06
AI Technical Summary
High-frequency signals in wireless communications are susceptible to interference from factors such as atmospheric disturbances, terrain and buildings, resulting in signal attenuation and data transmission failures.
By monitoring the signal quality of the high-frequency channel and the low-frequency channel, the data to be transmitted is divided into the signal quality of each channel in the high-frequency channel and the low-frequency channel; the first data to be transmitted is sent to the receiving device through the high-frequency channel, and the second data to be transmitted is sent to the receiving device through the low-frequency channel.
Combining the high bandwidth of high-frequency channels and the anti-attenuation and penetration of low-frequency channels, it reduces interference from complex environments to signal transmission, improves the anti-attenuation capability of signals, and improves the reliability and stability of data transmission.
Smart Images

Figure CN120110563A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a data transmission method, device, equipment and storage medium. Background Art
[0002] Currently, communication devices can transmit data through high-bandwidth high-frequency signals in wireless communication. High-frequency signals have higher frequencies, shorter wavelengths, faster propagation speeds, and better data transmission quality in simple environments. However, high-frequency signals in wireless communication are easily interfered by factors such as atmospheric disturbances, terrain, and buildings (such as building density, building height, and wall thickness and material, etc.), which leads to poor network quality of high-frequency channels, signal attenuation, and data transmission failures. Summary of the invention
[0003] In order to solve the above technical problems, the present disclosure provides a data transmission method, device, equipment and storage medium.
[0004] A first aspect of the present disclosure provides a data transmission method, comprising:
[0005] Monitor the signal quality of each high-frequency channel and low-frequency channel accessed during the current period;
[0006] Based on the signal quality of each channel in the high-frequency channel and the low-frequency channel, the target data to be transmitted is divided into first data to be transmitted in the high-frequency channel and second data to be transmitted in the low-frequency channel;
[0007] The first data to be transmitted is sent to the receiving device through a high-frequency channel, and the second data to be transmitted is sent to the receiving device through a low-frequency channel.
[0008] A second aspect of the present disclosure provides a data transmission device, including:
[0009] A monitoring module, used to monitor the signal quality of each of the high-frequency channels and low-frequency channels accessed during the current period;
[0010] A division module, used for dividing the target data to be transmitted into first data to be transmitted on the high-frequency channel and second data to be transmitted on the low-frequency channel based on the signal quality of each channel in the high-frequency channel and the low-frequency channel;
[0011] The first sending module is used to send the first data to be transmitted to the receiving device through the high-frequency channel, and send the second data to be transmitted to the receiving device through the low-frequency channel.
[0012] A third aspect of the present disclosure provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the data transmission method of the first aspect can be implemented.
[0013] A fourth aspect of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the data transmission method of the first aspect can be implemented.
[0014] Compared with the prior art, the technical solution provided by the present invention has the following advantages:
[0015] The present disclosure monitors the signal quality of each channel in the high-frequency channel and the low-frequency channel accessed in the current period; based on the signal quality of each channel in the high-frequency channel and the low-frequency channel, the target data to be transmitted is divided into the first data to be transmitted in the high-frequency channel and the second data to be transmitted in the low-frequency channel; the first data to be transmitted is sent to the receiving device through the high-frequency channel, and the second data to be transmitted is sent to the receiving device through the low-frequency channel. The present disclosure can determine the amount of data that needs to be transmitted in each channel in the high-frequency channel and the low-frequency channel according to the signal quality of the high-frequency channel and the signal quality of the low-frequency channel, and then send the target data to be transmitted to the receiving device through the high-frequency channel and the low-frequency channel. It can combine the advantages of the high bandwidth of the high-frequency channel and the advantages of the high signal attenuation resistance and high penetration of the low-frequency channel for data transmission, can reduce the interference of complex environments on signal transmission, improve the anti-attenuation ability of signals in complex environments, and improve the reliability and stability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] Figure 1 is a flow chart of a data transmission method provided by an embodiment of the present disclosure;
[0019] Figure 2 is a flow chart of another data transmission method provided by an embodiment of the present disclosure;
[0020] Figure 3 is a flow chart of another data transmission method provided by an embodiment of the present disclosure;
[0021] Figure 4 is a flow chart of another data transmission method provided by an embodiment of the present disclosure;
[0022] Figure 5is a structural schematic diagram of a data transmission device provided by an embodiment of the present disclosure;
[0023] Figure 6 It is a structural diagram of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0025] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0026] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0027] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0029] The data transmission method provided by the embodiments of the present disclosure may be executed by a computer device, which may be understood as any device with processing and computing capabilities, and may include but is not limited to mobile terminals such as smart phones, laptops, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), vehicle-mounted terminals, wearable devices, etc., as well as fixed electronic devices such as digital TVs, desktop computers, smart home devices, etc.
[0030] In order to better understand the inventive concept of the embodiments of the present disclosure, the technical solutions of the embodiments of the present disclosure are described below in conjunction with exemplary embodiments.
[0031] Figure 1 is a flow chart of a data transmission method provided by an embodiment of the present disclosure, and the method can be executed by a computer device, such as Figure 1 As shown, the data transmission method provided in this embodiment includes the following steps:
[0032] Step 110: monitor the signal quality of each of the high-frequency channels and low-frequency channels accessed during the current period.
[0033] In the disclosed embodiment, the computer device has a dual-channel communication function, and can access the high-frequency channel and the low-frequency channel at the same time, and transmit data based on the high-frequency channel and the low-frequency channel at the same time. The high-frequency channel is used to transmit high-frequency signals, and the low-frequency channel is used to transmit low-frequency signals. The high-frequency channel has a high bandwidth; the low-frequency channel has a strong signal attenuation resistance and high penetration.
[0034] The frequency of high-frequency signals is usually between several hundred kilohertz (kHz) and several hundred megahertz (MHz). They have high frequencies, short wavelengths, and fast propagation speeds. They are easily affected by atmospheric disturbances and obstacles such as buildings, resulting in signal attenuation.
[0035] The frequency of low-frequency signals is generally between a few hertz (Hz) and several thousand hertz (kHz). It has a lower frequency, longer wavelength, and slower propagation speed, but it has a strong diffraction ability and can better penetrate buildings or the ground. It has a long propagation distance and can expand the coverage of wireless communication networks. In addition, low-frequency signals consume less energy during transmission, which helps to extend the battery life of the device.
[0036] The computer device can monitor the signal quality of each of the high-frequency channels and low-frequency channels accessed during the current period.
[0037] Step 120: Based on the signal quality of each of the high-frequency channel and the low-frequency channel, the target data to be transmitted is divided into first data to be transmitted in the high-frequency channel and second data to be transmitted in the low-frequency channel.
[0038] In the embodiment of the present disclosure, after obtaining the signal quality of each channel in the high-frequency channel and the low-frequency channel, the computer device can divide the target data to be transmitted into first data to be transmitted in the high-frequency channel and second data to be transmitted in the low-frequency channel based on the signal quality of each channel in the high-frequency channel and the low-frequency channel.
[0039] Specifically, the target data to be transmitted may be multimedia data, such as audio and video data.
[0040] The first data to be transmitted may include main data in the target data to be transmitted, for example, may be main data in multimedia data.
[0041] The second data to be transmitted includes redundant data in the target data to be transmitted, for example, may be redundant data in multimedia data.
[0042] Redundant data can be understood as redundant or repeated information in the main data. For example, redundant data can include spatial redundant data, temporal redundant data, coding redundant data, visual redundant data, structural redundant data, information entropy redundant data, and knowledge redundant data. Redundant data can help devices achieve data recovery.
[0043] Step 130: Send the first data to be transmitted to the receiving device through the high-frequency channel, and send the second data to be transmitted to the receiving device through the low-frequency channel.
[0044] In the embodiment of the present disclosure, the computer device may send the first data to be transmitted to the receiving device through a high-frequency channel, and send the second data to be transmitted to the receiving device through a low-frequency channel.
[0045] The receiving device can be understood as an electronic device, which can be understood as any device with processing and computing capabilities. The device can include but is not limited to mobile terminals such as smart phones, laptops, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), vehicle-mounted terminals, wearable devices, etc., as well as fixed devices such as digital TVs, desktop computers, smart home devices, etc.
[0046] For example, when the first data to be transmitted is main data in the target data to be transmitted, and the second data to be transmitted is redundant data in the target data to be transmitted, the receiving device can recover the main data based on the redundant data.
[0047] Therefore, the amount of data that needs to be transmitted in each of the high-frequency channel and the low-frequency channel can be determined based on the signal quality of the high-frequency channel and the signal quality of the low-frequency channel, and then the target data to be transmitted can be sent to the receiving device through the high-frequency channel and the low-frequency channel. The advantages of the high bandwidth of the high-frequency channel and the advantages of the high signal attenuation resistance and high penetration of the low-frequency channel can be combined for data transmission, which can reduce the interference of complex environments on signal transmission, improve the signal's anti-attenuation ability in complex environments, and improve the reliability and stability of data transmission.
[0048] Figure 2 is a flow chart of a data transmission method provided by an embodiment of the present disclosure, and the method can be executed by a computer device, such as Figure 2 As shown, the data transmission method provided in this embodiment includes the following steps:
[0049] Step 210: Obtain channel parameters of each of the high-frequency channels and low-frequency channels accessed during the current period.
[0050] In the embodiments of the present disclosure, the channel parameters of a channel may be understood as data reflecting the signal quality of the channel.
[0051] The channel parameters of the channel may include at least one parameter of the signal strength, signal-to-noise ratio, environmental data, user behavior data, and channel state information of the computer device.
[0052] Among them, the signal strength (Received Signal Strength Indication, RSSI) can be understood as the signal strength indication received by the computer device. It is used to measure the strength of the wireless signal received by the computer device. It is usually expressed in decibel milliwatts (dBm), which reflects the clarity and reliability of the signal.
[0053] The signal-to-interference plus noise ratio (SNR) can be understood as the ratio of the strength of the useful signal received by the computer device to the strength of the received interference signal (noise and interference).
[0054] Environmental data may be understood as environmental data around a computer device collected by sensors installed on the computer device, and may include, for example, temperature, humidity, air pressure, and the like.
[0055] The user behavior data type can be understood as the type of data generated by the user operating the computer device, for example, it may include media data, instruction data and other types.
[0056] Channel State Information (CSI) can be understood as the channel property of the communication link, which describes the attenuation factor of the signal transmitted on the channel, that is, the value of each element in the channel gain matrix H, such as signal scattering, environmental attenuation, distance attenuation and other information.
[0057] Step 220: For each channel, evaluate the signal quality of the channel based on the channel parameters of the channel.
[0058] In the embodiment of the present disclosure, for each channel, the computer device may evaluate the signal quality of the channel based on the channel parameters of the channel.
[0059] In some embodiments, the computer device may evaluate the signal quality of the channel through an adaptive multi-parameter fusion detection mechanism, which may evaluate the channel quality in real time and predict the future channel state by fusing multiple parameters and adaptive algorithms. Compared with traditional methods, the adaptive multi-parameter fusion detection mechanism not only considers the signal strength and noise level, but also integrates the time-varying characteristics, spectrum characteristics and environmental factors of the signal. Specifically, for each channel, based on the channel parameters of the channel, evaluating the signal quality of the channel may include S11-S14:
[0060] S11. For each channel, obtain the weight corresponding to each parameter in the channel parameters of the channel, where the weight is positively correlated with the influence of the parameter on data transmission.
[0061] The greater the influence of a parameter on data transmission, the greater the corresponding weight of the parameter; the smaller the influence of a parameter on data transmission, the smaller the corresponding weight of the parameter.
[0062] The computer device may determine the weight corresponding to each parameter in advance according to the degree of influence of each parameter on data transmission.
[0063] S12: Perform weighted summation on each parameter in the channel parameters of the channel and the weight corresponding to each parameter to obtain a fusion parameter of the channel.
[0064] For example, when the parameters in the channel parameters include the signal strength, signal-to-noise ratio, environmental data and user behavior data type, and channel state information of a computer device, the product of the signal strength and the weight corresponding to the signal strength, the product of the signal-to-noise ratio and the weight corresponding to the signal-to-noise ratio, the product of the environmental data and the weight corresponding to the environmental data, the product of the user behavior data type and the weight corresponding to the user behavior data type, and the channel state information and the product of the weight corresponding to the channel state information can be summed to obtain the fusion parameters of the channel.
[0065] S13. Sum each parameter in the channel parameters of the channel to obtain a parameter sum value.
[0066] S14. Calculate the ratio between the fusion parameter and the parameter sum value to obtain the signal quality of the channel.
[0067] Step 230: When the signal quality of the high frequency channel is greater than or equal to a preset threshold, the target data to be transmitted is determined as the first data to be transmitted of the high frequency channel.
[0068] In the embodiment of the present disclosure, when the signal quality of the high-frequency channel is greater than or equal to a preset threshold, it means that the signal quality of the high-frequency channel is good. At this time, the computer device can determine the target data to be transmitted as the first data to be transmitted of the high-frequency channel, that is, the high-frequency channel sends the target data to be transmitted to the receiving device.
[0069] The preset threshold can be set as needed and is not limited here.
[0070] Step 240: When the signal quality of the high-frequency channel is less than a preset threshold and the signal quality of the low-frequency channel is greater than or equal to the preset threshold, based on the signal quality of each channel in the high-frequency channel and the low-frequency channel, the target data to be transmitted is divided into first data to be transmitted in the high-frequency channel and second data to be transmitted in the low-frequency channel.
[0071] In the embodiment of the present disclosure, when the signal quality of the high-frequency channel is less than a preset threshold and the signal quality of the low-frequency channel is greater than or equal to the preset threshold, it means that the signal quality of the high-frequency channel is poor and the signal quality of the low-frequency channel is good. At this time, the computer device can divide the target data to be transmitted into first data to be transmitted in the high-frequency channel and second data to be transmitted in the low-frequency channel based on the signal quality of each channel in the high-frequency channel and the low-frequency channel.
[0072] Step 250: Send the first data to be transmitted to the receiving device through the high-frequency channel, and send the second data to be transmitted to the receiving device through the low-frequency channel.
[0073] Therefore, the signal quality of the channel can be comprehensively evaluated through multiple channel parameters of the channel, and the amount of data that needs to be transmitted in each channel of the high-frequency channel and the low-frequency channel can be determined according to the signal quality of the high-frequency channel and the signal quality of the low-frequency channel. Then, the target data to be transmitted is sent to the receiving device through the high-frequency channel and the low-frequency channel. The advantages of the high bandwidth of the high-frequency channel and the advantages of the high signal attenuation resistance and high penetration of the low-frequency channel can be combined for data transmission, which can reduce the interference of complex environments on signal transmission, improve the anti-attenuation ability of signals in complex environments, and improve the reliability and stability of data transmission.
[0074] Figure 3 is a flow chart of a data transmission method provided by an embodiment of the present disclosure, and the method can be executed by a computer device, such as Figure 3As shown, the data transmission method provided in this embodiment includes the following steps:
[0075] Step 310: Monitor the signal quality of each of the high-frequency channels and low-frequency channels accessed during the current period.
[0076] Step 320: Sum the signal quality of the high frequency channel and the signal quality of the low frequency channel to obtain a quality sum value.
[0077] Step 330: Calculate a first ratio between the signal quality and the quality sum value of the high frequency channel, and determine the percentage of the first ratio as a first data transmission ratio of the high frequency channel.
[0078] Step 340: Calculate a second ratio between the signal quality of the low-frequency channel and the quality sum value, and determine the percentage of the second ratio as a second data transmission ratio of the low-frequency channel.
[0079] Step 350: extract data of the first data transmission ratio from the target data to be transmitted to obtain first data to be transmitted.
[0080] Step 360: extract data of the second data transmission ratio from the target data to be transmitted to obtain second data to be transmitted.
[0081] Step 370: Send the first data to be transmitted to the receiving device through the high-frequency channel, and send the second data to be transmitted to the receiving device through the low-frequency channel.
[0082] Therefore, the amount of data that needs to be transmitted in each of the high-frequency channel and the low-frequency channel can be determined based on the signal quality of the high-frequency channel and the signal quality of the low-frequency channel, and then the target data to be transmitted can be sent to the receiving device through the high-frequency channel and the low-frequency channel. The advantages of the high bandwidth of the high-frequency channel and the advantages of the high signal attenuation resistance and high penetration of the low-frequency channel can be combined for data transmission, which can reduce the interference of complex environments on signal transmission, improve the signal's anti-attenuation ability in complex environments, and improve the reliability and stability of data transmission.
[0083] In some embodiments of the present disclosure, before sending the first data to be transmitted to the receiving device via the high-frequency channel and sending the second data to be transmitted to the receiving device via the low-frequency channel, the computer device may execute Figure 4 A flowchart of a data transmission method is provided, such as Figure 4 As shown, the data transmission method provided in this embodiment includes the following steps:
[0084] Step 410: Obtain the signal quality of each of the high-frequency channels and low-frequency channels accessed in a preset historical period before the current period.
[0085] The preset historical period can be understood as a period before the current period. The preset historical period can be set as needed, such as the past week, and there is no limitation here.
[0086] Step 420: Perform time series analysis on the signal quality of each channel in the preset historical period to obtain the signal quality trend of each channel in the preset historical period.
[0087] In an embodiment of the present disclosure, after obtaining the signal quality of each of the high-frequency channels and low-frequency channels accessed within a preset historical period, the computer device can perform a time series analysis on the signal quality of each channel within the preset historical period, that is, analyzing the changes in the signal quality of the high-frequency channels within the preset historical period in chronological order to obtain the signal quality trend of the high-frequency channels within the preset historical period, and analyzing the changes in the signal quality of the low-frequency channels within the preset historical period in chronological order to obtain the signal quality trend of the low-frequency channels within the preset historical period.
[0088] Step 430: predict the signal quality of each channel in the current time period based on the signal quality trend of each channel.
[0089] In an embodiment of the present disclosure, a computer device can predict the signal quality of a high-frequency channel in a current period based on the signal quality trend of the high-frequency channel in a preset historical period; and can predict the signal quality of a low-frequency channel in the current period based on the signal quality trend of the low-frequency channel in a preset historical period.
[0090] Step 440: When the signal quality of the high frequency channel in the current time period is less than the preset threshold and the signal quality of the low frequency channel is greater than or equal to the preset threshold, the key data in the target data to be transmitted is sent to the receiving device through the high frequency channel before the current time period arrives.
[0091] In an embodiment of the present disclosure, when the signal quality of the high-frequency channel in the current time period is less than a preset threshold and the signal quality of the low-frequency channel is greater than or equal to the preset threshold, it means that the signal quality of the high-frequency channel in the current time period is poor and the signal quality of the low-frequency channel is good. At this time, the computer device can send the key data in the target data to be transmitted to the receiving device through the high-frequency channel before the current time period arrives.
[0092] For example, the key data may be key frame data in multimedia data.
[0093] In this way, key data in the target data to be transmitted can be sent to the receiving device in advance before the network quality of the high-frequency channel deteriorates, which can further reduce the interference of complex environments on signal transmission, improve the signal's anti-attenuation ability in complex environments, and improve the reliability and stability of data transmission.
[0094] Figure 5is a schematic diagram of the structure of a data transmission device provided by an embodiment of the present disclosure, and the device can be understood as the above-mentioned computer device or some functional modules in the above-mentioned computer device. Figure 5 As shown, the data transmission device 500 includes:
[0095] A monitoring module 510 is used to monitor the signal quality of each of the high-frequency channels and low-frequency channels accessed during the current period;
[0096] A division module 520, configured to divide the target data to be transmitted into first data to be transmitted on the high frequency channel and second data to be transmitted on the low frequency channel based on the signal quality of each channel in the high frequency channel and the low frequency channel;
[0097] The first sending module 530 is used to send the first data to be transmitted to the receiving device through the high-frequency channel, and send the second data to be transmitted to the receiving device through the low-frequency channel.
[0098] Optionally, the monitoring module includes:
[0099] An acquisition submodule, used to acquire channel parameters of each of the high-frequency channels and low-frequency channels accessed during the current period;
[0100] The evaluation submodule is used to evaluate the signal quality of each channel based on the channel parameters of the channel.
[0101] Optionally, the channel parameters include at least one parameter of signal strength, signal-to-noise ratio, environmental data, user behavior data type, and channel state information of the computer device;
[0102] The evaluation submodule includes:
[0103] an acquisition unit, configured to acquire, for each of the channels, a weight corresponding to each parameter in the channel parameters of the channel, wherein the weight is positively correlated with the degree of influence of the parameter on data transmission;
[0104] A first summing unit, configured to perform weighted summation on each parameter in the channel parameters of the channel and a weight corresponding to each parameter to obtain a fusion parameter of the channel;
[0105] A second summing unit, configured to sum each parameter of the channel parameters of the channel to obtain a parameter sum value;
[0106] The first calculation unit is used to calculate the ratio between the fusion parameter and the parameter sum value to obtain the signal quality of the channel.
[0107] Optionally, the first data to be transmitted includes main data in target data to be transmitted, and the second data to be transmitted includes redundant data in target data to be transmitted.
[0108] Optionally, the above division module includes:
[0109] A determination submodule, configured to determine the target data to be transmitted as the first data to be transmitted of the high frequency channel when the signal quality of the high frequency channel is greater than or equal to a preset threshold;
[0110] A division submodule is used to divide the target data to be transmitted into first data to be transmitted on the high frequency channel and second data to be transmitted on the low frequency channel based on the signal quality of each channel in the high frequency channel and the low frequency channel when the signal quality of the high frequency channel is less than a preset threshold and the signal quality of the low frequency channel is greater than or equal to the preset threshold.
[0111] Optionally, the above division module includes:
[0112] A summing submodule, used for summing the signal quality of the high frequency channel and the signal quality of the low frequency channel to obtain a quality sum value;
[0113] A first calculation submodule, configured to calculate a first ratio between the signal quality of the high frequency channel and the quality sum value, and determine a percentage of the first ratio as a first data transmission ratio of the high frequency channel;
[0114] A second calculation submodule, configured to calculate a second ratio between the signal quality of the low frequency channel and the quality sum value, and determine a percentage of the second ratio as a second data transmission ratio of the low frequency channel;
[0115] A first extraction submodule, used for extracting data of the first data transmission ratio from target data to be transmitted, to obtain first data to be transmitted;
[0116] The second extraction submodule is used to extract data of the second data transmission ratio from the target data to be transmitted to obtain second data to be transmitted.
[0117] Or, optionally, the above division submodules include:
[0118] A third summing unit, configured to sum the signal quality of the high frequency channel and the signal quality of the low frequency channel to obtain a quality sum value;
[0119] a second calculation unit, configured to calculate a first ratio between the signal quality of the high frequency channel and the quality sum value, and determine a percentage of the first ratio as a first data transmission ratio of the high frequency channel;
[0120] a third calculating unit, configured to calculate a second ratio between the signal quality of the low frequency channel and the quality sum value, and determine a percentage of the second ratio as a second data transmission ratio of the low frequency channel;
[0121] A first extraction unit, used for extracting data of the first data transmission ratio from target data to be transmitted, to obtain first data to be transmitted;
[0122] The second extraction unit is used to extract data of the second data transmission ratio from the target data to be transmitted to obtain second data to be transmitted.
[0123] Optionally, the data transmission device includes:
[0124] An acquisition module, used for acquiring the signal quality of each of the high frequency channel and the low frequency channel in a preset historical period before a current period;
[0125] An analysis module, used to perform time series analysis on the signal quality of each channel in the preset historical period to obtain a signal quality trend of each channel in the preset historical period;
[0126] A prediction module, configured to predict the signal quality of each channel in the current time period based on the signal quality trend of each channel;
[0127] The second sending module is used to send the key data in the target data to be transmitted to the receiving device through the high-frequency channel before the current time period arrives when the signal quality of the high-frequency channel in the current time period is less than a preset threshold and the signal quality of the low-frequency channel is greater than or equal to the preset threshold.
[0128] The data transmission device provided in the embodiments of the present disclosure can implement the method of any of the above embodiments, and its execution method and beneficial effects are similar, which will not be repeated here.
[0129] The embodiments of the present disclosure also provide a computer device, which includes a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method of any of the above embodiments can be implemented, and its execution method and beneficial effects are similar and will not be repeated here.
[0130] Figure 6 is a schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure, such as Figure 6 As shown, the computer device 600 may include a processor 610 and a memory 620, wherein the memory 620 stores a computer program 621, and when the computer program 621 is executed by the processor 610, the method provided by any of the above embodiments can be implemented, and its execution method and beneficial effects are similar and will not be repeated here.
[0131] Of course, to simplify, Figure 6Only some of the components related to the present invention in the computer device 600 are shown, and components such as a bus, an input / output interface, an input device, and an output device are omitted. In addition, according to specific application conditions, the computer device 600 may also include any other appropriate components.
[0132] An embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method of any of the above embodiments can be implemented. The execution method and beneficial effects are similar and will not be repeated here.
[0133] The above-mentioned computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0134] The computer program may be written in any combination of one or more programming languages to write program codes for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer device, partially on the user's device, as a separate software package, partially on the user's computer device and partially on a remote computer device, or entirely on a remote computer device or server.
[0135] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0136] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0137] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data transmission method, characterized in that: include: Monitor the signal quality of each high-frequency channel and low-frequency channel accessed during the current period; Based on the signal quality of each channel in the high frequency channel and the low frequency channel, dividing the target data to be transmitted into first data to be transmitted in the high frequency channel and second data to be transmitted in the low frequency channel; The first data to be transmitted is sent to a receiving device through the high-frequency channel, and the second data to be transmitted is sent to a receiving device through the low-frequency channel.
2. The method according to claim 1, characterized in that The monitoring of the signal quality of each of the high-frequency channels and the low-frequency channels accessed during the current period includes: Obtain channel parameters of each of the high-frequency channels and low-frequency channels accessed during the current period; For each of the channels, a signal quality of the channel is evaluated based on a channel parameter of the channel.
3. The method according to claim 2, characterized in that The channel parameters include at least one parameter of the signal strength, signal-to-noise ratio, environmental data, user behavior data type, and channel state information of the computer device; The step of evaluating the signal quality of each channel based on a channel parameter of the channel includes: For each of the channels, obtaining a weight corresponding to each parameter in the channel parameters of the channel, wherein the weight is positively correlated with the degree of influence of the parameter on data transmission; Performing weighted summation on each parameter in the channel parameters of the channel and the weight corresponding to each parameter to obtain a fusion parameter of the channel; Summing each parameter of the channel parameters of the channel to obtain a parameter sum value; The ratio between the fusion parameter and the parameter sum value is calculated to obtain the signal quality of the channel.
4. The method according to claim 1, characterized in that: The first data to be transmitted includes main data in target data to be transmitted, and the second data to be transmitted includes redundant data in target data to be transmitted.
5. The method according to claim 1, characterized in that The dividing the target data to be transmitted into first data to be transmitted of the high frequency channel and second data to be transmitted of the low frequency channel based on the signal quality of each channel in the high frequency channel and the low frequency channel comprises: When the signal quality of the high frequency channel is greater than or equal to a preset threshold, determining the target data to be transmitted as the first data to be transmitted of the high frequency channel; When the signal quality of the high-frequency channel is less than a preset threshold and the signal quality of the low-frequency channel is greater than or equal to the preset threshold, the target data to be transmitted is divided into first data to be transmitted on the high-frequency channel and second data to be transmitted on the low-frequency channel based on the signal quality of each channel in the high-frequency channel and the low-frequency channel.
6. The method according to claim 1 or 5, characterized in that: The dividing the target data to be transmitted into first data to be transmitted of the high frequency channel and second data to be transmitted of the low frequency channel based on the signal quality of each channel in the high frequency channel and the low frequency channel comprises: Summing the signal quality of the high frequency channel and the signal quality of the low frequency channel to obtain a quality sum value; Calculating a first ratio between the signal quality of the high frequency channel and the quality sum value, and determining a percentage of the first ratio as a first data transmission ratio of the high frequency channel; Calculating a second ratio between the signal quality of the low frequency channel and the quality sum value, and determining a percentage of the second ratio as a second data transmission ratio of the low frequency channel; Extracting data of the first data transmission ratio from the target data to be transmitted to obtain first data to be transmitted; The data of the second data transmission ratio is extracted from the target data to be transmitted to obtain the second data to be transmitted.
7. The method according to claim 1, characterized in that Before sending the first data to be transmitted to the receiving device through the high-frequency channel and sending the second data to be transmitted to the receiving device through the low-frequency channel, the method further includes: Acquire the signal quality of each of the high frequency channel and the low frequency channel in a preset historical period before the current period; Performing a time series analysis on the signal quality of each channel in the preset historical period to obtain a signal quality trend of each channel in the preset historical period; Predicting the signal quality of each channel in the current time period based on the signal quality trend of each channel; When the signal quality of the high-frequency channel in the current time period is less than a preset threshold and the signal quality of the low-frequency channel is greater than or equal to a preset threshold, the key data in the target data to be transmitted is sent to the receiving device through the high-frequency channel before the current time period arrives.
8. A data transmission device, characterized in that: include: A monitoring module, used to monitor the signal quality of each of the high-frequency channels and low-frequency channels accessed during the current period; A division module, used for dividing the target data to be transmitted into first data to be transmitted on the high-frequency channel and second data to be transmitted on the low-frequency channel based on the signal quality of each channel in the high-frequency channel and the low-frequency channel; The first sending module is used to send the first data to be transmitted to the receiving device through the high-frequency channel, and send the second data to be transmitted to the receiving device through the low-frequency channel.
9. A computer device, characterized in that: include: A memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the data transmission method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 7 is implemented.