Data transmission method and computer program product

The data packets are assembled by software and transmitted based on the hardware evaluation channel threshold, detect the number of hardware problems, adjust the channel evaluation threshold and bandwidth value, solve the problem of low data transmission efficiency caused by hardware problems, and improve the data transmission efficiency of wireless communication.

CN120264339APending Publication Date: 2025-07-04SHANGHAI WU QI MICROELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510492375.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, when hardware reduces bandwidth, it cannot be disassembled due to too large data packets, resulting in frequent hardware problems, affecting data transmission efficiency and throughput, and unable to meet data transmission needs.

Method used

The initial data packet is assembled through software and evaluated channel thresholds through hardware for transmission, detect the number of hardware problems, and adjust the channel evaluation threshold and bandwidth values ​​according to the number of problems to optimize the data transmission process.

Benefits of technology

Improve data transmission efficiency while reducing hardware problems and meet wireless communication needs in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120264339A_ABST
    Figure CN120264339A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method and a computer program product, and relates to the technical field of wireless communication. The method comprises the following steps: assembling by software based on a current bandwidth value of target equipment to obtain an initial data packet, and transmitting the initial data packet by hardware based on a current channel evaluation threshold value of the target equipment; detecting the transmission condition of the initial data packet transmitted by the hardware to obtain the number of hardware problems; if it is judged that the number of the hardware problems is smaller than the preset problem threshold value, the current channel evaluation threshold value is reduced, and the current bandwidth value is adjusted according to the obtained reduced channel evaluation threshold value; and if it is judged that the number of the hardware problems is greater than or equal to the preset problem threshold value, increasing the current channel evaluation threshold value, and adjusting the current bandwidth value according to the obtained increased channel evaluation threshold value. The channel evaluation threshold value and the bandwidth value are adjusted according to the actual detection condition of data transmission, so that the condition of hardware errors is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technologies, and in particular, to a data transmission method and a computer program product. Background Art

[0002] Wireless communication divides frequencies into multiple channels. Channel bandwidth (Bandwidth) refers to the width of the available frequency range of a channel, with the unit of MHz. The larger the bandwidth, the higher the data transmission rate. Through channel bonding technologies (such as HT40, VHT80), multiple adjacent channels are combined into a wider frequency band. Each transmission occupies multiple channels to improve the transmission rate. A wireless communication device can listen to the channel before sending data through the CSMA (Carrier Sense Multiple Access) protocol. If the channel is idle, it sends data; if the channel is busy, it waits for a period of time and then retries. CCA (Clear Channel Assessment) is the core mechanism of physical layer carrier sensing in the 802.11 protocol, used to detect whether a wireless channel is idle to avoid data transmission conflicts. If the signal strength of the channel is lower than the CCA threshold, the channel is considered idle and an attempt to send data can be made. If the signal strength is higher than the CCA threshold, the channel is considered to be occupied and one needs to wait for a period of time before making another attempt.

[0003] Currently, in the CSMA protocol, the sending end of a data packet can determine whether there are conflicts in each BW (channel bandwidth Bandwidth) by detecting the CCA values of each local BW. If there are conflicts, it uses the main channel that is not interfered with in the current BW to send the data packet, which is called HW (Hardware) reducing the BW. For example, in an 80M BW, if there are conflicts in the secondary 40M BW, the HW uses the main 40M BW to send data. If there are conflicts in all sub-BWs in the current BW, the HW will choose to abort or retransmit the current data packet. Usually, the BW selection mechanism for data transmission is selected by the hardware. However, the hardware has no way to disassemble the large data packets assembled by the software. The HW has a maximum length limit for a data packet. A smaller BW will make the maximum packet length allowed by the HW smaller. When the HW reduces the BW, if the data packet assembled by the software is too large and exceeds the maximum length limit allowed by the HW, and the HW has no way to disassemble it, hardware problems will occur. Excessive hardware problems will affect the overall data transmission efficiency, reduce the throughput, and cannot meet the current data transmission requirements. Summary of the Invention

[0004] In view of this, the purpose of the embodiments of this application is to provide a data transmission method and a computer program product to improve the problem of low data transmission efficiency caused by hardware problems in the existing technology.

[0005] To solve the above problems, in a first aspect, an embodiment of the present application provides a data transmission method, and the method includes:

[0006] Assembling an initial data packet based on the current bandwidth value of the target device through software, and transmitting the initial data packet based on the current channel evaluation threshold of the target device through hardware;

[0007] Detecting the transmission situation of the hardware transmitting the initial data packet to obtain the number of hardware problems;

[0008] If it is determined that the number of hardware problems is less than a preset problem threshold, performing a reduction process on the current channel evaluation threshold, and adjusting the current bandwidth value according to the obtained reduced channel evaluation threshold;

[0009] If it is determined that the number of hardware problems is greater than or equal to the preset problem threshold, performing an increase process on the current channel evaluation threshold, and adjusting the current bandwidth value according to the obtained increased channel evaluation threshold.

[0010] In the above implementation process, data can be assembled based on the current bandwidth value through software in the target device to obtain a corresponding initial data packet, and the appropriate channel can be selected based on the current channel evaluation threshold through the hardware of the target device to transmit the initial data packet. Detect the transmission situation of the hardware transmitting the initial data packet to obtain the corresponding number of hardware problems, and set a corresponding preset problem threshold. When the number of hardware problems is less than the preset problem threshold, it indicates that the hardware can achieve normal transmission functions, and the current channel evaluation threshold can be reduced to improve the sensitivity of channel conflict judgment, and the current bandwidth value can be adjusted accordingly according to the obtained reduced channel evaluation threshold to further improve the transmission efficiency under normal transmission. When the number of hardware problems is greater than or equal to the preset problem threshold, it indicates that the hardware cannot achieve normal transmission functions, and the current channel evaluation threshold can be increased to reduce the sensitivity of channel conflict judgment, and the current bandwidth value can be adjusted accordingly according to the obtained increased channel evaluation threshold to reduce the occurrence of problems in the hardware under abnormal transmission. It is possible to adjust the channel evaluation threshold and the bandwidth value accordingly based on the actual data transmission situation of the hardware, while reducing the occurrence of problems in the hardware, and also improving the data transmission efficiency of wireless communication in complex environments, meeting the wireless transmission requirements of various different scenarios.

[0011] Optionally, the performing a reduction process on the current channel evaluation threshold, and adjusting the current bandwidth value according to the obtained reduced channel evaluation threshold, includes:

[0012] Compare the reduced channel evaluation threshold with the minimum channel evaluation threshold of the target device;

[0013] If it is determined that the reduced channel evaluation threshold is greater than or equal to the minimum channel evaluation threshold, transmit the initial data packet based on the reduced channel evaluation threshold through the hardware;

[0014] If it is determined that the reduced channel evaluation threshold is less than the minimum channel evaluation threshold, perform a boosting process on the current bandwidth value until the current bandwidth value reaches the maximum bandwidth value of the target device.

[0015] In the above implementation process, when performing a reduction process on the current channel evaluation threshold, the obtained reduced channel evaluation threshold can be first compared with the minimum channel evaluation threshold of the target device. When the reduced channel evaluation threshold is greater than or equal to the minimum channel evaluation threshold, it indicates that the reduced channel evaluation threshold is within the adjustable range of the target device, and the reduced channel evaluation threshold can be used to select a corresponding channel to transmit the initial data packet. When the reduced channel evaluation threshold is less than the minimum channel evaluation threshold, it indicates that the reduced channel evaluation threshold is not within the adjustable range of the target device, and the bandwidth situation during data assembly can be improved by boosting the current bandwidth value until the current bandwidth value reaches the maximum bandwidth value of the target device. In the case of normal data transmission, if the channel evaluation threshold has been reduced to the non-adjustable range of the target device, the efficiency of transmitting data can be further improved by boosting the bandwidth value.

[0016] Optionally, the performing a boosting process on the current bandwidth value until the current bandwidth value reaches the maximum bandwidth value of the target device includes:

[0017] Compare the current bandwidth value with the maximum bandwidth value of the target device;

[0018] If it is determined that the current bandwidth value is equal to the maximum bandwidth value, continue to transmit the initial data packet based on the current channel evaluation threshold through the hardware;

[0019] If it is determined that the current bandwidth value is less than the maximum bandwidth value, boost the bandwidth level of the current bandwidth value to obtain an increased bandwidth value;

[0020] Assemble a first data packet based on the increased bandwidth value through the software, and transmit the first data packet based on the minimum channel evaluation threshold through the hardware.

[0021] In the above implementation process, when processing to increase the current bandwidth value used for current data assembly, the current bandwidth value can be first compared with the maximum bandwidth value of each channel of the target device. When the current bandwidth value is equal to the maximum bandwidth value, it indicates that the software has currently used the maximum bandwidth value for data assembly, and the initial data packet assembled can continue to be transmitted through the hardware based on the current channel evaluation threshold by selecting the corresponding channel. When the current bandwidth value is less than the maximum bandwidth value, it indicates that the software has not currently used the maximum bandwidth value for data assembly, and the bandwidth level of the current bandwidth value used for assembly can be increased to obtain an increased bandwidth value. The first data packet is assembled by the software based on the increased bandwidth value, and the first data packet is transmitted by the hardware based on the minimum channel evaluation threshold. It is possible to increase the level of the bandwidth value for data assembly by the software in the target device until it is increased to the maximum bandwidth value when the data is being normally transmitted and the channel evaluation threshold has been reduced to the non-adjustable range of the target device, so as to increase the length of the first data packet by increasing the bandwidth level and perform transmission based on the minimum channel evaluation threshold, thereby improving the data transmission efficiency when normal transmission is possible.

[0022] Optionally, the method further includes:

[0023] Detect the transmission situation of the first data packet transmitted by the hardware to obtain the first hardware problem count;

[0024] If it is determined that the first hardware problem count is less than the preset problem threshold, perform a reduction process on the minimum channel evaluation threshold, and adjust the increased bandwidth value according to the first updated reduced channel evaluation threshold obtained;

[0025] If it is determined that the first hardware problem count is greater than or equal to the preset problem threshold, perform an increase process on the minimum channel evaluation threshold, and adjust the increased bandwidth value according to the first updated increased channel evaluation threshold obtained.

[0026] In the above implementation process, the transmission situation of the first data packet can continue to be detected to obtain the corresponding first hardware problem count, and the first hardware problem count is compared with the preset problem threshold, so as to adjust the channel evaluation threshold and the bandwidth value accordingly based on the actual data transmission situation of the hardware, and the transmission work of the target device can be dynamically adjusted through a loop judgment process.

[0027] Optionally, the method further includes:

[0028] Determine the minimum channel evaluation threshold according to the device parameters of the target device; wherein, the minimum channel evaluation threshold represents the reception situation of the highest sensitivity of the target device.

[0029] In the above implementation process, according to the device parameters of the target device, the minimum channel evaluation threshold characterizing the reception situation of the highest sensitivity of the target device during idle channel evaluation can be determined, so that the target device has a lower limit of the adjustable range of the channel evaluation threshold. Thus, through the limitation of the minimum channel evaluation threshold, the hardware of the target device can normally select a channel for data transmission processing, effectively reducing the abnormal situation that unoccupied or low-occupation channels are determined as occupation conflicts due to too small a channel evaluation threshold, and the transmission abnormal situation caused by the abnormal situation.

[0030] Optionally, performing an increasing process on the current channel evaluation threshold and adjusting the current bandwidth value according to the obtained increased channel evaluation threshold includes:

[0031] Comparing the increased channel evaluation threshold with the maximum channel evaluation threshold of the target device;

[0032] If it is determined that the increased channel evaluation threshold is less than or equal to the maximum channel evaluation threshold, the initial data packet is transmitted by the hardware based on the increased channel evaluation threshold;

[0033] If it is determined that the decreased channel evaluation threshold is greater than the maximum channel evaluation threshold, the current bandwidth value is reduced until the current bandwidth value reaches the minimum bandwidth value of the target device.

[0034] In the above implementation process, when performing an increasing process on the current channel evaluation threshold, the obtained increased channel evaluation threshold can be first compared with the maximum channel evaluation threshold of the target device. When the increased channel evaluation threshold is less than or equal to the maximum channel evaluation threshold, it indicates that the increased channel evaluation threshold is within the adjustable range of the target device, and the increased channel evaluation threshold can be used to select a corresponding channel to transmit the initial data packet. When the increased channel evaluation threshold is greater than the maximum channel evaluation threshold, it indicates that the increased channel evaluation threshold is not within the adjustable range of the target device, and the current bandwidth value can be reduced to reduce the bandwidth situation during data assembly until the current bandwidth value reaches the minimum bandwidth value of the target device. In the case of abnormal data transmission, if the channel evaluation threshold has been increased to the non-adjustable range of the target device, the hardware problem situation during data transmission can be reduced by reducing the bandwidth value.

[0035] Optionally, the reducing the current bandwidth value until the current bandwidth value reaches the minimum bandwidth value of the target device includes:

[0036] Comparing the current bandwidth value with the minimum bandwidth value of the target device;

[0037] If it is determined that the current bandwidth value is equal to the minimum bandwidth value, continue to transmit the initial data packet through the hardware based on the current channel evaluation threshold;

[0038] If it is determined that the current bandwidth value is greater than the minimum bandwidth value, reduce the bandwidth level of the current bandwidth value to obtain a reduced bandwidth value;

[0039] Assemble a second data packet through the software based on the reduced bandwidth value, and transmit the second data packet through the hardware based on the minimum channel evaluation threshold of the target device.

[0040] In the above implementation process, when reducing the current bandwidth value used for current data assembly, the current bandwidth value can be first compared with the minimum bandwidth value of each channel of the target device. When the current bandwidth value is equal to the minimum bandwidth value, it indicates that the software has already used the minimum bandwidth value for data assembly, and the initial data packet assembled can continue to be transmitted through the hardware based on the current channel evaluation threshold by selecting the corresponding channel. When the current bandwidth value is greater than the minimum bandwidth value, it indicates that the software has not used the minimum bandwidth value for data assembly, and the bandwidth level of the current bandwidth value used for assembly can be reduced to obtain a reduced bandwidth value. Then, assemble a second data packet through the software based on the reduced bandwidth value, and transmit the second data packet through the hardware based on the minimum channel evaluation threshold of the target device. It can reduce the bandwidth value for data assembly in the software of the target device until it is reduced to the minimum bandwidth value in the case of abnormal data transmission and the channel evaluation threshold has increased to the non-adjustable range of the target device, so as to reduce the length of the second data packet by reducing the bandwidth level and perform transmission based on the minimum channel evaluation threshold to reduce the problem situation generated during hardware data transmission.

[0041] Optionally, the method further includes:

[0042] Detect the transmission situation of the hardware transmitting the second data packet to obtain the second hardware problem count;

[0043] If it is determined that the second hardware problem count is less than the preset problem threshold, reduce the minimum channel evaluation threshold, and adjust the reduced bandwidth value according to the obtained second updated reduced channel evaluation threshold;

[0044] If it is determined that the second hardware problem count is greater than or equal to the preset problem threshold, increase the minimum channel evaluation threshold, and adjust the reduced bandwidth value according to the obtained second updated increased channel evaluation threshold.

[0045] In the above implementation process, the transmission situation of the second data packet can be continuously detected to obtain the corresponding number of second hardware problems, and the number of second hardware problems is compared with a preset problem threshold, so as to adjust the channel evaluation threshold and the bandwidth value accordingly based on the actual data transmission situation of the hardware. The transmission work of the target device can be dynamically adjusted through a loop judgment process.

[0046] Optionally, the method further includes:

[0047] Determine the maximum channel evaluation threshold according to the device parameters of the target device; wherein, the maximum channel evaluation threshold characterizes the reception situation of the lowest sensitivity of the target device.

[0048] In the above implementation process, according to the device parameters of the target device, the maximum channel evaluation threshold characterizing the reception situation of the lowest sensitivity of the target device during idle channel evaluation can be determined, so that the target device has an upper limit of the adjustable range of the channel evaluation threshold. Thus, through the limitation of the maximum channel evaluation threshold, the hardware of the target device can normally select a channel for data transmission processing, effectively reducing the abnormal situation that a highly occupied channel is determined to be unoccupied due to an overly large channel evaluation threshold, and the transmission abnormal situation caused by the abnormal situation.

[0049] Optionally, the determination method of the preset problem threshold includes:

[0050] Determine the preset problem threshold of the number of hardware problems for data transmission of the target device according to the transmission performance of the target device.

[0051] In the above implementation process, when the number of hardware problems is greater than or equal to the preset problem threshold, it indicates that there are more error situations when the hardware performs data transmission, and the hardware cannot remedy all error situations within a limited time, and there is an abnormal situation in the data transmission process of the hardware. When the number of hardware problems is less than the preset problem threshold, it indicates that there are fewer error situations when the hardware performs data transmission, and the hardware can remedy the error situations within a limited time, and the data transmission process of the hardware is normal. The preset problem threshold for comparing the number of hardware problems can be determined according to the actual transmission performance of the target device to determine whether there is an abnormal data transmission situation in the target device, effectively improving the effectiveness of the preset problem threshold, and thus improving the accuracy of the adjustment scheme based on the comparison between the preset problem threshold and the number of hardware problems.

[0052] In a second aspect, an embodiment of the present application further provides a computer program product, where the computer program product includes computer programs / instructions, and when the computer programs / instructions are executed by a processor, the steps in any one of the above data transmission methods are implemented.

[0053] In summary, the embodiments of the present application provide a data transmission method and a computer program product, which can adjust the channel evaluation threshold and bandwidth value accordingly based on the actual data transmission situation of the hardware. While reducing the problems generated by the hardware, it can also improve the data transmission efficiency of wireless communication in complex environments and meet the wireless transmission requirements of various different scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0055] Figure 1 A block diagram of an electronic device provided by an embodiment of the present application;

[0056] Figure 2 A flowchart of a data transmission method provided by an embodiment of the present application;

[0057] Figure 3 A detailed flowchart of step S400 provided by an embodiment of the present application;

[0058] Figure 4 A detailed flowchart of step S430 provided by an embodiment of the present application;

[0059] Figure 5 A flowchart of another data transmission method provided by an embodiment of the present application;

[0060] Figure 6 A detailed flowchart of step S500 provided by an embodiment of the present application;

[0061] Figure 7 A detailed flowchart of step S530 provided by an embodiment of the present application;

[0062] Figure 8 A flowchart of yet another data transmission method provided by an embodiment of the present application.

[0063] Icons: 100 - Electronic device; 111 - Memory; 112 - Storage controller; 113 - Processor; 114 - Peripheral interface; 115 - Input / output unit; 116 - Display unit. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0064] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts belong to the scope protected by the embodiments of the present application.

[0065] Taking a channel bandwidth of 80M as an example, it can be divided into a main 40M channel and a secondary 40M channel. The main 40M channel can be further divided into a main 20M channel and a secondary 20M channel. When the HW reduces the BW, if the secondary 40M channel is occupied, the main 20M channel and the secondary 20M channel can be selected for data transmission. If the secondary 20M channel is occupied, due to the channel connection mechanism, only the main 20M channel can be selected for data transmission. In this case, if the software uses a bandwidth of 80M for data assembly, the assembled data packet exceeds the maximum length limit of the channel used by the hardware, and the hardware cannot disassemble the 80M data packet, resulting in a hardware error problem. If the hardware problem occurs too frequently, it will affect the overall data transmission efficiency, reduce the throughput, and cannot meet the current data transmission requirements.

[0066] To solve the above problems, the embodiments of the present application provide a data transmission method, which is applied to an electronic device. The electronic device can be a server, a personal computer (PC), a tablet computer, a smart phone, a personal digital assistant (PDA), or other electronic devices with logical computing functions. The electronic device can communicate with other devices through a wireless network to achieve data transmission. During the data transmission process of the electronic device, the channel evaluation threshold and the bandwidth value can be adjusted accordingly based on the actual data transmission situation of the hardware, while reducing the problems generated by the hardware, improving the data transmission efficiency of wireless communication in complex environments, and meeting the wireless transmission requirements of various different scenarios.

[0067] Optionally, please refer to Figure 1 , Figure 1 which is a block diagram of an electronic device provided by the embodiments of the present application. The electronic device 100 may include a memory 111, a storage controller 112, a processor 113, a peripheral interface 114, an input / output unit 115, and a display unit 116. Those of ordinary skill in the art can understand that Figure 1 the structure shown is only schematic and does not limit the structure of the electronic device 100. For example, the electronic device 100 may further include more or fewer components than those shown in Figure 1 , or have a different configuration from that shown in Figure 1 .

[0068] The above-mentioned components, namely, the memory 111, the memory controller 112, the processor 113, the peripheral interface 114, the input / output unit 115, and the display unit 116, are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The above-mentioned processor 113 is used to execute the executable module stored in the memory.

[0069] Among them, the memory 111 can be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory 111 is used to store programs. After receiving an execution instruction, the processor 113 executes the program. The methods executed by the electronic device 100 defined by the processes disclosed in any embodiment of this application can be applied to the processor 113 or implemented by the processor 113.

[0070] The above-mentioned processor 113 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor 113 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0071] The above-mentioned peripheral interface 114 couples various input / output devices to the processor 113 and the memory 111. In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 may be implemented on a single chip. In some other instances, they may be implemented by separate chips respectively.

[0072] The above-mentioned input / output unit 115 is used to provide input data to the user. The input / output unit 115 may be, but is not limited to, a mouse, a keyboard, etc.

[0073] The above-mentioned display unit 116 provides an interaction interface (such as a user operation interface) between the electronic device 100 and the user or is used to display image data for the user to refer to. In this embodiment, the display unit may be a liquid crystal display or a touch display. If it is a touch display, it may be a capacitive touch screen or a resistive touch screen that supports single-point and multi-point touch operations, etc. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations generated simultaneously at one or more positions on the touch display and hand over the sensed touch operations to the processor for calculation and processing. In the embodiments of the present application, the display unit 116 can display various information such as the transmission status of the hardware and the data transmission situation, etc.

[0074] The electronic device in this embodiment can be used to execute each step in the various data transmission methods provided by the embodiments of the present application. The implementation process of the data transmission method is described in detail through several embodiments below.

[0075] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a data transmission method provided by the embodiments of the present application. The method may include steps S200 - S500.

[0076] Step S200, assemble an initial data packet based on the current bandwidth value of the target device through software, and transmit the initial data packet based on the current channel evaluation threshold of the target device through hardware.

[0077] Among them, the target device is an electronic device capable of data transmission, such as a wireless network device, etc. The target device has corresponding hardware (i.e., HW) and software (i.e., SW). The software in the target device can assemble data based on the current bandwidth value to obtain a corresponding initial data packet, and the hardware of the target device can select a suitable channel to transmit the initial data packet based on the current channel evaluation threshold.

[0078] Optionally, the current bandwidth value is the bandwidth value of the channel used for data transmission selected according to the hardware. The channel evaluation threshold of the target device is an adjustable CCA threshold range, and the current channel evaluation threshold is the CCA threshold used in the current situation. When the hardware selects a channel, if the signal strength of the channel is lower than the current channel evaluation threshold, the channel is considered idle and an attempt to send data can be made. If the signal strength is higher than or equal to the current channel evaluation threshold, the channel is considered to be occupied and an attempt needs to be made after waiting for a period of time.

[0079] Optionally, the signal strength of the channel can be determined according to the distance between the target device and the corresponding transmission device, obstacles, etc. When the signal strength is lower than the current channel evaluation threshold, it is considered that there is no communication between the target device and the transmission device on this channel, that is, the channel is idle and data transmission can be performed. When the signal strength is higher than the channel evaluation threshold, it is considered that there is communication between the target device and the transmission device on this channel, that is, the channel is occupied and data transmission cannot be performed.

[0080] Step S300, detect the transmission situation of the initial data packet transmitted by the hardware to obtain the number of hardware problems.

[0081] Among them, the hardware can detect its own actual transmission situation to obtain the corresponding number of hardware problems.

[0082] Optionally, when detecting the hardware problem situation, periodic detection can be performed. For example, detection is performed at a period of 1 s. The number of hardware problems can be the number of transmission errors of the hardware transmission within this period, such as 2 times / s, etc.

[0083] Step S400, if it is determined that the number of hardware problems is less than the preset problem threshold, perform a reduction process on the current channel evaluation threshold, and adjust the current bandwidth value according to the obtained reduced channel evaluation threshold.

[0084] Among them, when the number of hardware problems is less than the preset problem threshold, it indicates that the hardware can achieve normal transmission functions. The current channel evaluation threshold can be reduced to improve the sensitivity of channel conflict judgment, and the current bandwidth value can be adjusted accordingly according to the obtained reduced channel evaluation threshold to further improve the transmission efficiency under normal transmission conditions.

[0085] Optionally, when performing the reduction process on the current channel evaluation threshold, a fixed value reduction method can be used. For example, the corresponding reduced channel evaluation threshold is obtained by using the current channel evaluation threshold - 5 dBm to improve the rationality of the reduced channel evaluation threshold through a suitable fixed value.

[0086] Step S500, if it is determined that the number of hardware problems is greater than or equal to the preset problem threshold, then perform an increasing process on the current channel evaluation threshold, and adjust the current bandwidth value according to the obtained increased channel evaluation threshold.

[0087] Among them, when the number of hardware problems is greater than or equal to the preset problem threshold, it indicates that the hardware cannot achieve normal transmission functions. The current channel evaluation threshold can be increased to reduce the sensitivity of channel conflict judgment, and the current bandwidth value can be adjusted accordingly according to the obtained increased channel evaluation threshold, so as to reduce the occurrence of problems with the hardware in case of abnormal transmission.

[0088] Optionally, when performing the increasing process on the current channel evaluation threshold, the fixed-value increasing method can be adopted. For example, the corresponding increased channel evaluation threshold is obtained by using the current channel evaluation threshold + 5dBm, so as to improve the rationality of the increased channel evaluation threshold through a suitable fixed value.

[0089] It should be noted that the determination method of the preset problem threshold can include: determining the preset problem threshold of the number of hardware problems for data transmission of the target device according to the transmission performance of the target device. When the number of hardware problems is greater than or equal to the preset problem threshold, it indicates that there are more error situations when the hardware performs data transmission, and the hardware cannot remedy all error situations within a limited time, such as retransmission, etc., and there are abnormal situations in the data transmission process of the hardware. When the number of hardware problems is less than the preset problem threshold, it indicates that there are fewer error situations when the hardware performs data transmission, and the hardware can remedy the error situations within a limited time, and the data transmission process of the hardware is normal. The preset problem threshold for comparing the number of hardware problems can be determined according to the actual transmission performance of the target device, so as to determine whether there are abnormal data transmission situations in the target device, effectively improving the effectiveness of the preset problem threshold, and thus improving the accuracy of the adjustment scheme based on the comparison between the preset problem threshold and the number of hardware problems.

[0090] Optionally, the transmission performance of the target device can include various transmission-related parameters such as the number of channels of the target device, the bandwidth situation of each channel, and the distance situation between the target device and the corresponding transmission device. By way of example, taking the target device having multiple 80M channels as an example, the corresponding preset problem threshold can be set to 1 time / s.

[0091] In Figure 2 In the shown embodiment, the channel evaluation threshold and the bandwidth value can be adjusted accordingly based on the actual data transmission situation of the hardware. While reducing the occurrence of problems with the hardware, it can also improve the data transmission efficiency of wireless communication in complex environments and meet the wireless transmission requirements of various different scenarios.

[0092] Optionally, please refer to Figure 3 , Figure 3 which is a detailed flowchart of step S400 provided by an embodiment of the present application. Step S400 may include steps S410 - S430.

[0093] Step S410, compare the reduced channel evaluation threshold with the minimum channel evaluation threshold of the target device.

[0094] Among them, when performing a reduction process on the current channel evaluation threshold, the obtained reduced channel evaluation threshold can be first compared with the minimum channel evaluation threshold of the target device.

[0095] It should be noted that the minimum channel evaluation threshold characterizes the reception situation of the highest sensitivity of the target device. The determination method of the minimum channel evaluation threshold may include: determining the minimum channel evaluation threshold according to the device parameters of the target device. The minimum channel evaluation threshold characterizing the reception situation of the highest sensitivity of the target device during idle channel evaluation can be determined according to the device parameters of the target device, so that the target device has a lower limit of the adjustable range of the channel evaluation threshold, thereby effectively reducing the abnormal situation that channels that are not occupied or lightly occupied are determined as occupancy conflicts due to too small a channel evaluation threshold, and the transmission abnormal situation caused by the abnormal situation through the limitation of the minimum channel evaluation threshold.

[0096] Optionally, the device parameters of the target device may include various types of parameters such as the model, name, number, channel situation, and transmission performance of the target device. The actual hardware situation of the target device can be determined according to the device parameters of the target device, so as to determine a suitable minimum channel evaluation threshold. For example, the minimum channel evaluation threshold can be set to -62 dBm, etc.

[0097] Step S420, if it is determined that the reduced channel evaluation threshold is greater than or equal to the minimum channel evaluation threshold, transmit the initial data packet based on the reduced channel evaluation threshold through the hardware.

[0098] Among them, when the reduced channel evaluation threshold is greater than or equal to the minimum channel evaluation threshold, it indicates that the reduced channel evaluation threshold is within the adjustable range of the target device. The reduced channel evaluation threshold can be used to select a corresponding channel to transmit the initial data packet, so as to further improve the sensitivity of the target device for evaluating the channel occupancy situation and reduce the adverse situation of channel conflicts under the condition of normal transmission.

[0099] Step S430, if it is determined that the reduced channel evaluation threshold is less than the minimum channel evaluation threshold, perform a boosting process on the current bandwidth value until the current bandwidth value reaches the maximum bandwidth value of the target device.

[0100] Among them, when the reduced channel evaluation threshold is less than the minimum channel evaluation threshold, it indicates that the reduced channel evaluation threshold is not within the adjustable range of the target device. The bandwidth situation during data assembly can be improved by increasing the current bandwidth value until the current bandwidth value reaches the maximum bandwidth value of the target device.

[0101] Under normal data transmission conditions, the channel evaluation threshold can be first reduced to the minimum channel evaluation threshold. If the hardware can still transmit normally when the channel evaluation is the most sensitive at this time, the bandwidth value during software assembly is increased to increase the length of the data packet and improve the transmission efficiency.

[0102] In Figure 3 In the illustrated embodiment, under normal data transmission conditions, if the channel evaluation threshold has been reduced to the non-adjustable range of the target device, the efficiency of transmitting data can be further improved by increasing the bandwidth value.

[0103] Optionally, please refer to Figure 4 , Figure 4 which is a detailed flowchart of step S430 provided by an embodiment of the present application. Step S430 may include steps S431-S434.

[0104] Step S431: Compare the current bandwidth value with the maximum bandwidth value of the target device.

[0105] Among them, when performing an increase processing on the current bandwidth value used for current data assembly, the current bandwidth value can be first compared with the maximum bandwidth value of each channel of the target device.

[0106] Exemplarily, taking the maximum bandwidth value of each channel in the target device as 80M as an example, the current bandwidth values used by software to assemble data may include three levels: 20M, 40M, and 80M.

[0107] Step S432: If it is determined that the current bandwidth value is equal to the maximum bandwidth value, continue to transmit the initial data packet through the hardware based on the current channel evaluation threshold.

[0108] Among them, when the current bandwidth value is equal to the maximum bandwidth value, it indicates that the software has currently used the maximum bandwidth value for data assembly. The initial data packet assembled can continue to be transmitted through the hardware based on the current channel evaluation threshold by selecting the corresponding channel.

[0109] Step S433: If it is determined that the current bandwidth value is less than the maximum bandwidth value, increase the bandwidth level of the current bandwidth value to obtain an increased bandwidth value.

[0110] Among them, when the current bandwidth value is less than the maximum bandwidth value, for example, the current bandwidth value is 20M, which is less than the maximum bandwidth value of 80M, etc., it indicates that the current software does not use the maximum bandwidth value for data assembly. The bandwidth level of the current bandwidth value used for assembly can be increased to obtain an increased bandwidth value. For example, 20M is increased to 40M, and the software assembles the first data packet based on the increased bandwidth value to increase the length of the data packet.

[0111] Step S434: Assemble the first data packet by the software based on the increased bandwidth value, and transmit the first data packet by the hardware based on the minimum channel evaluation threshold.

[0112] Among them, in order to reduce the adverse situation caused by channel conflict to data transmission, after obtaining the corresponding first data packet by increasing the bandwidth, the first data packet can be transmitted by the hardware based on the minimum channel evaluation threshold.

[0113] In Figure 4 In the shown embodiment, when the data is transmitted normally and the channel evaluation threshold has been reduced to the non-adjustable range of the target device, the bandwidth value for data assembly in the software of the target device can be increased in level until it is increased to the maximum bandwidth value, so as to increase the length of the first data packet by increasing the bandwidth level and transmit it based on the minimum channel evaluation threshold, so as to improve the data transmission efficiency when the data can be transmitted normally.

[0114] Optionally, please refer to Figure 5 , Figure 5 which is a schematic flowchart of another data transmission method provided by the embodiment of the present application. This method may further include steps S441-S443.

[0115] Step S441: Detect the transmission situation of the first data packet transmitted by the hardware to obtain the number of first hardware problems.

[0116] Step S442: If it is determined that the number of first hardware problems is less than the preset problem threshold, perform a reduction process on the minimum channel evaluation threshold, and adjust the increased bandwidth value according to the obtained first updated reduced channel evaluation threshold.

[0117] Step S443: If it is determined that the number of first hardware problems is greater than or equal to the preset problem threshold, perform an increase process on the minimum channel evaluation threshold, and adjust the increased bandwidth value according to the obtained first updated increased channel evaluation threshold.

[0118] It should be noted that steps S441-S443 are loop steps, and the execution manner is similar to other embodiments provided by the present application, so details are not described herein again.

[0119] In Figure 5In the illustrated embodiment, the detection of the transmission of the first data packet can be continued to obtain the corresponding number of first hardware problems, and the number of first hardware problems can be compared with a preset problem threshold, so as to adjust the channel evaluation threshold and the bandwidth value accordingly based on the actual data transmission situation of the hardware. The transmission work of the target device can be dynamically adjusted through a cyclic judgment process.

[0120] Optionally, please refer to Figure 6 , Figure 6 which is a detailed flowchart of step S500 provided by an embodiment of the present application. Step S500 may include steps S510 - S530.

[0121] Step S510, compare the increased channel evaluation threshold with the maximum channel evaluation threshold of the target device.

[0122] Among them, when increasing the current channel evaluation threshold, the obtained increased channel evaluation threshold can be first compared with the maximum channel evaluation threshold of the target device.

[0123] It should be noted that the maximum channel evaluation threshold characterizes the reception situation of the lowest sensitivity of the target device. The determination method of the maximum channel evaluation threshold may include: determining the maximum channel evaluation threshold according to the device parameters of the target device. The maximum channel evaluation threshold characterizing the reception situation of the lowest sensitivity of the target device during idle channel evaluation can be determined according to the device parameters of the target device, so that the target device has an upper limit of the adjustable range of the channel evaluation threshold, thereby enabling the hardware of the target device to normally select a channel for data transmission processing through the limitation of the maximum channel evaluation threshold, effectively reducing the abnormal situation that a highly occupied channel is determined to be unoccupied due to an overly large channel evaluation threshold, and the transmission abnormal situation caused by the abnormal situation.

[0124] Optionally, the device parameters of the target device may include various types of parameters such as the model, name, number, channel situation, and transmission performance of the target device. The actual hardware situation of the target device can be determined according to the device parameters of the target device, so as to determine an appropriate maximum channel evaluation threshold. For example, the maximum channel evaluation threshold can be set to -30 dBm, etc.

[0125] Step S520, if it is determined that the increased channel evaluation threshold is less than or equal to the maximum channel evaluation threshold, then the initial data packet is transmitted based on the increased channel evaluation threshold through the hardware.

[0126] Among them, when the increased channel evaluation threshold is less than or equal to the maximum channel evaluation threshold, it indicates that the increased channel evaluation threshold is within the adjustable range of the target device. The increased channel evaluation threshold can be used to select a corresponding channel to transmit the initial data packet. In the case of abnormal data transmission, by increasing the channel evaluation threshold, the sensitivity during channel occupancy evaluation can be reduced, so as to call more channel bandwidth to transmit the initial data packet and reduce the abnormal situation during the transmission of the initial data packet.

[0127] Step S530, if it is determined that the decreased channel evaluation threshold is greater than the maximum channel evaluation threshold, the current bandwidth value is processed to be reduced until the current bandwidth value reaches the minimum bandwidth value of the target device.

[0128] Among them, when the increased channel evaluation threshold is greater than the maximum channel evaluation threshold, it indicates that the increased channel evaluation threshold is not within the adjustable range of the target device. The bandwidth situation during data assembly can be reduced by reducing the current bandwidth value until the current bandwidth value reaches the minimum bandwidth value of the target device.

[0129] In the case of abnormal data transmission, the channel evaluation threshold can be first increased to the maximum channel evaluation threshold. If the hardware still cannot transmit normally when the channel evaluation is the most sensitive at this time, the bandwidth value during software assembly is reduced to reduce the length of the data packet and reduce the abnormal situation during transmission.

[0130] In Figure 6 In the illustrated embodiment, in the case of abnormal data transmission, if the channel evaluation threshold has been increased to the non-adjustable range of the target device, the hardware problem situation during data transmission can be reduced by reducing the bandwidth value.

[0131] Optionally, please refer to Figure 7 , Figure 7 which is a detailed flowchart of step S530 provided by the embodiment of the present application. Step S530 may include steps S531-S534.

[0132] Step S531, compare the current bandwidth value with the minimum bandwidth value of the target device.

[0133] Among them, when processing to reduce the current bandwidth value used for current data assembly, the current bandwidth value can be first compared with the minimum bandwidth value of each channel of the target device.

[0134] Exemplarily, taking the maximum bandwidth value of each channel in the target device as 80M as an example, the current bandwidth values used by software to assemble data may include three levels: 20M, 40M, and 80M, and the minimum bandwidth value is 20M.

[0135] Step S532: If it is determined that the current bandwidth value is equal to the minimum bandwidth value, continue to transmit the initial data packet through the hardware based on the current channel evaluation threshold.

[0136] Among them, when the current bandwidth value is equal to the minimum bandwidth value, it indicates that the software has already used the minimum bandwidth value for data assembly. It is possible to continue to select a corresponding channel to transmit the assembled initial data packet through the hardware based on the current channel evaluation threshold.

[0137] Step S533: If it is determined that the current bandwidth value is greater than the minimum bandwidth value, reduce the bandwidth level of the current bandwidth value to obtain a reduced bandwidth value.

[0138] Among them, when the current bandwidth value is greater than the minimum bandwidth value, for example, the current bandwidth value is 40M, which is greater than the maximum bandwidth value of 20M, etc., it indicates that the software has not used the minimum bandwidth value for data assembly. It is possible to reduce the bandwidth level of the current bandwidth value used for assembly to obtain a reduced bandwidth value. For example, reduce 40M to 20M, and assemble a second data packet through the software based on the reduced bandwidth value to reduce the length of the data packet.

[0139] Step S534: Assemble a second data packet through the software based on the reduced bandwidth value, and transmit the second data packet through the hardware based on the minimum channel evaluation threshold of the target device.

[0140] Among them, in order to reduce abnormal data transmission and the adverse effects of channel conflicts on data transmission, after reducing the bandwidth to obtain the corresponding second data packet, it is possible to transmit the second data packet through the hardware based on the minimum channel evaluation threshold of the target device.

[0141] In Figure 7 the embodiment shown, when there is abnormal data transmission and the channel evaluation threshold has increased to an inadjustable range of the target device, it is possible to reduce the bandwidth level of the bandwidth value for data assembly in the software of the target device until it is reduced to the minimum bandwidth value, so as to reduce the length of the second data packet by reducing the bandwidth level, and transmit based on the minimum channel evaluation threshold to reduce the problem situations generated during hardware data transmission.

[0142] Optionally, please refer to Figure 8 , Figure 8 which is a schematic flowchart of another data transmission method provided by the embodiment of the present application. This method may further include steps S541 - S543.

[0143] Step S541: Detect the transmission situation of the hardware transmitting the second data packet to obtain the number of second hardware problems.

[0144] Step S542: If it is determined that the number of second hardware problems is less than the preset problem threshold, the minimum channel evaluation threshold is decreased, and the reduced bandwidth value is adjusted according to the obtained second updated and decreased channel evaluation threshold.

[0145] Step S543: If it is determined that the number of second hardware problems is greater than or equal to the preset problem threshold, the minimum channel evaluation threshold is increased, and the reduced bandwidth value is adjusted according to the obtained second updated and increased channel evaluation threshold.

[0146] It should be noted that steps S541 - S543 are loop steps, and the execution manner is similar to other embodiments provided in this application, so details will not be elaborated here.

[0147] In Figure 8 the illustrated embodiment, the transmission situation of the second data packet can be continuously detected to obtain the corresponding number of second hardware problems, and the number of second hardware problems is compared with the preset problem threshold, so as to adjust the channel evaluation threshold and the bandwidth value accordingly based on the actual data transmission situation of the hardware. The transmission work of the target device can be dynamically adjusted through the loop judgment process.

[0148] It should be noted that after each adjustment of the channel evaluation threshold or the bandwidth value, the transmission situation of the data packet can be loop - detected, and based on the actually detected number of hardware problems and the preset problem threshold, the channel evaluation threshold or the bandwidth value can be iteratively adjusted to perform dynamic adjustment during the data transmission process of the target device. This can reduce both hardware transmission errors and the adverse situations caused by channel conflicts to data transmission, and improve the efficiency of data transmission.

[0149] The embodiment of this application also provides a computer program product. The computer program product includes computer programs / instructions, and the computer programs / instructions are executed by a processor to perform the steps in any one of the data transmission methods provided in this embodiment.

[0150] In several embodiments provided in this application, it should be understood that the disclosed device can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the block diagrams in the drawings show the possible architectures, functions, and operations of the device according to multiple embodiments of this application. In this regard, each block in the block diagram can represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram, as well as the combination of block diagrams, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0151] In addition, in each embodiment of this application, the various functional modules can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0152] If the described functions are implemented in the form of software function modules and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0153] The above description is only for the embodiments of this application and is not intended to limit the protection scope of this application. For those skilled in the art, this application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection scope of this application. It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0154] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should be covered within the protection scope of the present application.

[0155] It should be noted that, in this text, 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 actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, the elements defined by the statement "comprising..." do not exclude the existence of additional identical elements in the process, method, article or device comprising the said elements.

Claims

1. A data transmission method, characterized in that, The method includes: Assembling an initial data packet based on the current bandwidth value of the target device through software, and transmitting the initial data packet through hardware based on the current channel evaluation threshold of the target device; Detecting the transmission situation of the hardware transmitting the initial data packet to obtain the number of hardware problems; If it is determined that the number of hardware problems is less than the preset problem threshold, reducing the current channel evaluation threshold, and adjusting the current bandwidth value according to the obtained reduced channel evaluation threshold; If it is determined that the number of hardware problems is greater than or equal to the preset problem threshold, increasing the current channel evaluation threshold, and adjusting the current bandwidth value according to the obtained increased channel evaluation threshold.

2. The method according to claim 1, characterized in that, The reducing the current channel evaluation threshold and adjusting the current bandwidth value according to the obtained reduced channel evaluation threshold includes: Comparing the reduced channel evaluation threshold with the minimum channel evaluation threshold of the target device; If it is determined that the reduced channel evaluation threshold is greater than or equal to the minimum channel evaluation threshold, transmitting the initial data packet through the hardware based on the reduced channel evaluation threshold; If it is determined that the reduced channel evaluation threshold is less than the minimum channel evaluation threshold, increasing the current bandwidth value until the current bandwidth value reaches the maximum bandwidth value of the target device.

3. The method according to claim 2, wherein The increasing the current bandwidth value until the current bandwidth value reaches the maximum bandwidth value of the target device includes: Comparing the current bandwidth value with the maximum bandwidth value of the target device; If it is determined that the current bandwidth value is equal to the maximum bandwidth value, continuing to transmit the initial data packet through the hardware based on the current channel evaluation threshold; If it is determined that the current bandwidth value is less than the maximum bandwidth value, increasing the bandwidth level of the current bandwidth value to obtain an increased bandwidth value; Assembling a first data packet based on the increased bandwidth value through the software, and transmitting the first data packet through the hardware based on the minimum channel evaluation threshold.

4. The method according to claim 3, characterized in that The method further includes: Detecting the transmission situation of the hardware transmitting the first data packet to obtain the number of first hardware problems; If it is determined that the number of first hardware problems is less than the preset problem threshold, reducing the minimum channel evaluation threshold, and adjusting the increased bandwidth value according to the obtained first updated reduced channel evaluation threshold; If it is determined that the number of first hardware problems is greater than or equal to the preset problem threshold, increasing the minimum channel evaluation threshold, and adjusting the increased bandwidth value according to the obtained first updated increased channel evaluation threshold.

5. The method according to any one of claims 2-4, characterized in that, The method further includes: Determining the minimum channel evaluation threshold according to the device parameters of the target device; wherein, the minimum channel evaluation threshold characterizes the reception situation of the highest sensitivity of the target device.

6. The method according to claim 1, wherein The increasing the current channel evaluation threshold and adjusting the current bandwidth value according to the obtained increased channel evaluation threshold includes: Compare the increased channel evaluation threshold with the maximum channel evaluation threshold of the target device; If it is determined that the increased channel evaluation threshold is less than or equal to the maximum channel evaluation threshold, transmit the initial data packet by the hardware based on the increased channel evaluation threshold; If it is determined that the decreased channel evaluation threshold is greater than the maximum channel evaluation threshold, perform a reduction process on the current bandwidth value until the current bandwidth value reaches the minimum bandwidth value of the target device.

7. The method according to claim 6, characterized in that, The performing a reduction process on the current bandwidth value until the current bandwidth value reaches the minimum bandwidth value of the target device includes: Compare the current bandwidth value with the minimum bandwidth value of the target device; If it is determined that the current bandwidth value is equal to the minimum bandwidth value, continue to transmit the initial data packet by the hardware based on the current channel evaluation threshold; If it is determined that the current bandwidth value is greater than the minimum bandwidth value, reduce the bandwidth level of the current bandwidth value to obtain a reduced bandwidth value; Assemble a second data packet by the software based on the reduced bandwidth value, and transmit the second data packet by the hardware based on the minimum channel evaluation threshold of the target device.

8. The method according to claim 7, wherein The method further includes: Detect the transmission situation of the hardware transmitting the second data packet to obtain the number of second hardware problems; If it is determined that the number of second hardware problems is less than the preset problem threshold, perform a reduction process on the minimum channel evaluation threshold, and adjust the reduced bandwidth value according to the obtained second updated decreased channel evaluation threshold; If it is determined that the number of second hardware problems is greater than or equal to the preset problem threshold, perform an increase process on the minimum channel evaluation threshold, and adjust the reduced bandwidth value according to the obtained second updated increased channel evaluation threshold.

9. The method according to any one of claims 6-8, characterized in that, The method further includes: Determine the maximum channel evaluation threshold according to the device parameters of the target device; wherein, the maximum channel evaluation threshold characterizes the reception situation of the lowest sensitivity of the target device.

10. The method according to claim 1, characterized in that Wherein, The determining manner of the preset problem threshold includes: Determine the preset problem threshold of the number of hardware problems for data transmission of the target device according to the transmission performance of the target device.

11. A computer program product, characterized in that, The computer program product includes computer programs / instructions, and when the computer programs / instructions are executed by a processor, the steps in the method according to any one of claims 1-10 are implemented.