Short-range wireless transmission method, device, equipment and storage medium
By obtaining the data amount and current channel status information of the data to be transmitted, the transmission channel is dynamically adjusted to ensure the data transmission rate, solving the problem of short-range wireless transmission delay, and achieving stable and efficient data transmission.
Patent Information
- Application Number
- CN202510286068.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-04-08
AI Technical Summary
On the premise of ensuring the stability of data transmission, how to prevent the delay of short-range wireless transmission?
By obtaining the data amount and current channel status information of the data to be transmitted, the transmission rate of each channel is determined, and whether the maximum transmission rate is greater than the short-range transmission rate. If not greater than, a multi-channel transmission method and a fast switching algorithm are used to dynamically adjust the transmission channel to ensure the data transmission rate.
It realizes that while ensuring data transmission stability, the data transmission rate is improved, thereby preventing the delay of short-range wireless transmission.
Smart Images

Figure CN119789064A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to a short-range wireless transmission method, device, equipment and storage medium. Background Art
[0002] In the field of wireless communications, short-range wireless transmission technology is widely used in short-distance data transmission between various devices, such as smart homes, IoT devices, Bluetooth connections, and wireless LANs. With the increase in device density and complexity, higher requirements are placed on the stability, speed, and delay of data transmission. On the premise of ensuring data transmission stability, how to prevent the delay of short-range wireless transmission has become an urgent problem to be solved. Summary of the invention
[0003] The present application provides a short-range wireless transmission method, device, equipment and storage medium to solve the problems raised by the above background technology.
[0004] In a first aspect, the present application provides a short-range wireless transmission method, comprising: Acquire data to be transmitted, and determine the amount of the data to be transmitted; Acquire current channel state information through a preset channel detection device; wherein the channel state information includes signal power, noise power and bandwidth of multiple channels; For each of the channels, determining a transmission rate of the channel based on a signal power, a noise power and a bandwidth of the channel; Determining a short-range transmission rate of the data to be transmitted based on the data volume; Determining whether a maximum transmission rate among the transmission rates is greater than the short-range transmission rate; If not, the data to be transmitted is transmitted to the receiving end based on a preset multi-channel transmission method.
[0005] In a possible implementation manner, after determining whether the maximum transmission rate among the transmission rates is greater than the short-range transmission rate, the method further includes: If so, determining that the channel corresponding to the maximum transmission rate is the transmission channel; Acquire a historical channel transmission rate information set connected to the current moment and within a preset time period after the current moment in a database; the historical channel transmission rate information set includes a plurality of historical transmission rate curve information of each of the channels within the preset time period, and each of the historical transmission rate curve information includes a plurality of historical transmission rate curves; Based on the historical channel transmission rate information set, determining whether there is a channel with a transmission rate greater than the short-range transmission rate in real time within the preset time period; If so, sending the data to be transmitted to the receiving end via the transmission channel; In the process of sending the data to be transmitted to the receiving end, the transmission channel is monitored in real time, and when the transmission rate of the transmission channel is lower than the short-range transmission rate, the transmission channel of the data to be transmitted is switched to the transmission channel with the highest transmission rate through a preset fast switching algorithm; this step is iterated until the data to be transmitted is transmitted to the receiving end; If not, the data to be transmitted is transmitted to the receiving end based on a preset multi-channel transmission method.
[0006] In a possible implementation, the determining, based on the historical channel transmission rate information set, whether there exists in real time a channel having a transmission rate greater than the short-range transmission rate within the preset time period includes: Determine a minimum transmission rate among all transmission rates corresponding to all the historical transmission rate curves; comparing the minimum transmission rate to the short range transmission rate; If the minimum transmission rate is greater than the short-range transmission rate, determining that there exists in real time within the preset time period a channel whose transmission rate is greater than the short-range transmission rate; If the minimum transmission rate is not greater than the short-range transmission rate, it is determined that no channel having a transmission rate greater than the short-range transmission rate exists in real time within the preset time period.
[0007] In a possible implementation manner, the transmitting the to-be-transmitted data to the receiving end based on the preset multi-channel transmission method includes: Determine the amount of transmission data corresponding to the minimum transmission rate; Segmenting the data to be transmitted based on the data volume and the transmission data volume to obtain a plurality of data blocks corresponding to the data to be transmitted, and arranging the data blocks in sequence based on the positions of the data blocks in the data to be transmitted to obtain a data block sequence; For each of the data blocks, marking the sequence number of the data block in the data block sequence on the data block to obtain a marked data block; determining a plurality of target channels based on the number of the data blocks and the historical channel transmission rate information set; The data to be transmitted is transmitted to a receiving end through the multiple target channels.
[0008] In a possible implementation manner, determining a plurality of target channels based on the number of the data blocks and the historical channel transmission rate information set includes: For each of the channels, determining a target number corresponding to the channel based on the historical transmission rate curve information corresponding to the channel; wherein the target number is the minimum transmission rate among all transmission rates corresponding to all historical transmission rate curves in the historical transmission rate curve information corresponding to the channel; Arranging the channels in sequence based on the target numbers corresponding to the channels to obtain a channel sequence; wherein the target numbers corresponding to the channels in the channel sequence decrease in sequence; A plurality of target channels are sequentially selected from the channel sequence; wherein the number of the target channels is consistent with the number of the data blocks.
[0009] In a second aspect, the present application provides a short-range wireless transmission device, comprising: A first acquisition module, used to acquire data to be transmitted and determine the data volume of the data to be transmitted; A second acquisition module, configured to acquire current channel state information through a preset channel detection device; wherein the channel state information includes signal power, noise power and bandwidth of multiple channels; A first determination module, configured to determine, for each of the channels, a transmission rate of the channel based on a signal power, a noise power and a bandwidth of the channel; A second determining module, configured to determine a short-range transmission rate of the data to be transmitted based on the data volume; A judging module, for judging whether the maximum transmission rate among the transmission rates is greater than the short-range transmission rate; The transmission module is used to transmit the data to be transmitted to a receiving end based on a preset multi-channel transmission method if the maximum transmission rate is not greater than the short-range transmission rate.
[0010] In a third aspect, the present application provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the short-range wireless transmission method as described in any one of the above items is implemented.
[0011] In a fourth aspect, the present application provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, wherein when the computer program is executed by a processor, the short-range wireless transmission method as described in any one of the above items is implemented.
[0012] The present application provides a short-range wireless transmission method, device, equipment and storage medium, the method comprising: obtaining data to be transmitted, and determining the data volume of the data to be transmitted; obtaining the current channel state information through a preset channel detection device; wherein the channel state information includes the signal power, noise power and bandwidth of multiple channels; for each of the channels, determining the transmission rate of the channel based on the signal power, noise power and bandwidth of the channel; determining the short-range transmission rate of the data to be transmitted based on the data volume; determining whether the maximum transmission rate among the transmission rates is greater than the short-range transmission rate; if not, transmitting the data to be transmitted to the receiving end based on a preset multi-channel transmission method. This method ensures the data transmission rate while ensuring the stability of data transmission, thereby preventing delays in short-range wireless transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0014] Figure 1 A schematic diagram of a flow chart of a short-range wireless transmission method provided in an embodiment of the present application; Figure 2 A schematic block diagram of the structure of a short-range wireless transmission device provided in an embodiment of the present application; Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0016] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0017] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0018] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0019] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0020] See also Figure 1 , Figure 1 A schematic diagram of a flow chart of a short-range wireless transmission method provided in an embodiment of the present application, such as Figure 1 As shown, the short-range wireless transmission method provided in the embodiment of the present application includes steps S1 to S5.
[0021] Step S1: Acquire data to be transmitted, and determine the data volume of the data to be transmitted.
[0022] The data to be transmitted includes but is not limited to data collected by sensors, control instructions generated by a central control system, data information obtained from the cloud, and data information input manually, and the data volume is the total bit value of the data to be transmitted. Specifically, the data to be transmitted is subjected to bit value analysis by a preset data analysis module to determine the bit value of the data to be transmitted.
[0023] Step S2: obtaining current channel state information through a preset channel detection device; wherein the channel state information includes signal power, noise power and bandwidth of multiple channels.
[0024] The channel detection device may be a spectrum analyzer or a software defined radio (SDR) device.
[0025] Step S3: for each of the channels, determine the transmission rate of the channel based on the signal power, noise power and bandwidth of the channel.
[0026] Specifically, the transmission rate of the channel is determined using the Shannon-Hartley theorem.
[0027] Step S4: Determine the short-range transmission rate of the data to be transmitted based on the data volume.
[0028] Specifically, the short-range transmission rate is obtained by dividing the data volume by a preset short-range transmission time threshold. It can be understood that in order to ensure the timeliness of short-range transmission, this embodiment sets a short-range transmission time threshold for short-range transmission.
[0029] Step S5: Determine whether the maximum transmission rate among the transmission rates is greater than the short-range transmission rate.
[0030] Step S6: If not, transmit the data to be transmitted to the receiving end based on a preset multi-channel transmission method.
[0031] Specifically, step S6 includes the following steps: Acquire a historical channel transmission rate information set connected to the current moment and within a preset time period after the current moment in the database; the historical channel transmission rate information set includes a plurality of historical transmission rate curve information of each of the channels within the preset time period, and each of the historical transmission rate curve information includes a plurality of historical transmission rate curves; the duration corresponding to the preset time period is the short-range transmission time threshold; Determine a minimum transmission rate among all transmission rates corresponding to all the historical transmission rate curves; Determine the amount of transmission data corresponding to the minimum transmission rate; specifically, obtain the amount of transmission data by multiplying the minimum transmission rate by the short-range transmission time threshold; The data to be transmitted is segmented based on the data amount and the transmission data amount to obtain a plurality of data blocks corresponding to the data to be transmitted, and the data blocks are arranged in sequence based on the positions of the data blocks in the data to be transmitted to obtain a data block sequence; wherein, when the ratio of the data amount to the transmission data amount is an integer, the number of the data blocks is the ratio of the data amount to the transmission data amount, and the data amount of each of the data blocks is the transmission data amount; when the ratio of the data amount to the transmission data amount is a decimal, the number of the data blocks is an integer adjacent to the ratio and greater than the ratio, for example, if the ratio is 3.3, the number of the data blocks is 4, and the data amount of each of the data blocks shall not be greater than the transmission data amount; For each of the data blocks, marking the sequence number of the data block in the data block sequence on the data block to obtain a marked data block; determining a plurality of target channels based on the number of the data blocks and the historical channel transmission rate information set; The data to be transmitted is transmitted to the receiving end through the multiple target channels. Specifically, each of the marked data blocks is transmitted to the receiving end through different target channels. After receiving each of the marked data blocks, the receiving end splices each of the data blocks based on the serial numbers marked on each of the marked data blocks to obtain the data to be transmitted.
[0032] It can be understood that the above-mentioned method of transmitting the data to be transmitted to the receiving end based on a preset multi-channel transmission method, by determining the amount of transmission data corresponding to the minimum transmission rate, and segmenting the data to be transmitted based on the data amount and the transmission data amount, obtains multiple data blocks corresponding to the data to be transmitted and subsequent steps, which can improve the effectiveness of transmitting each data block to the receiving end, and help prevent delays in short-range wireless transmission while ensuring the stability of data transmission.
[0033] Wherein, determining a plurality of target channels based on the number of the data blocks and the historical channel transmission rate information set comprises the following steps: For each of the channels, determining a target number corresponding to the channel based on the historical transmission rate curve information corresponding to the channel; wherein the target number is the minimum transmission rate among all transmission rates corresponding to all historical transmission rate curves in the historical transmission rate curve information corresponding to the channel; Arranging the channels in sequence based on the target numbers corresponding to the channels to obtain a channel sequence; wherein the target numbers corresponding to the channels in the channel sequence decrease in sequence; A plurality of target channels are sequentially selected from the channel sequence; wherein the number of the target channels is consistent with the number of the data blocks.
[0034] It can be understood that the above-mentioned method of determining multiple target channels based on the number of data blocks and the historical channel transmission rate information set, determines that the transmission rate of each target channel within the preset time period is not less than the minimum transmission rate. Since the data amount of each data block is not greater than the transmission data amount corresponding to the minimum transmission rate, even if the transmission rate of each target channel within the preset time period is the minimum transmission rate, each target channel can smoothly transmit each marked data block to the receiving end. In fact, the transmission rate of each target channel within the preset time period is not less than the minimum transmission rate. Therefore, each target channel determined by the above method can ensure that each marked data block is transmitted to the receiving end.
[0035] The method provided in this embodiment ensures the data transmission rate while ensuring the stability of data transmission, thereby preventing the delay of short-range wireless transmission.
[0036] In some embodiments, after determining whether the maximum transmission rate among the transmission rates is greater than the short-range transmission rate, the method further comprises the following steps: If so, determining that the channel corresponding to the maximum transmission rate is the transmission channel; Acquire a historical channel transmission rate information set connected to the current moment and within a preset time period after the current moment in a database; the historical channel transmission rate information set includes a plurality of historical transmission rate curve information of each of the channels within the preset time period, and each of the historical transmission rate curve information includes a plurality of historical transmission rate curves; Based on the historical channel transmission rate information set, determining whether there is a channel with a transmission rate greater than the short-range transmission rate in real time within the preset time period; If yes, the data to be transmitted is sent to the receiving end through the transmission channel; it can be understood that if there is a channel with a transmission rate greater than the short-range transmission rate in real time within the preset time period, it helps to ensure the transmission rate of the data to be transmitted during the transmission process and prevent transmission delay; In the process of sending the data to be transmitted to the receiving end, the transmission channel is monitored in real time, and when the transmission rate of the transmission channel is lower than the short-range transmission rate, the transmission channel of the data to be transmitted is switched to the transmission channel with the highest transmission rate through a preset fast switching algorithm; this step is iterated until the data to be transmitted is transmitted to the receiving end; If not, the data to be transmitted is transmitted to the receiving end based on a preset multi-channel transmission method; it should be noted that the method of transmitting the data to be transmitted to the receiving end based on a preset multi-channel transmission method has been introduced in detail above and will not be repeated here.
[0037] Wherein, judging whether there exists in real time a channel having a transmission rate greater than the short-range transmission rate within the preset time period based on the historical channel transmission rate information set includes: Determine a minimum transmission rate among all transmission rates corresponding to all the historical transmission rate curves; comparing the minimum transmission rate to the short range transmission rate; If the minimum transmission rate is greater than the short-range transmission rate, determining that there exists in real time within the preset time period a channel whose transmission rate is greater than the short-range transmission rate; If the minimum transmission rate is not greater than the short-range transmission rate, it is determined that no channel having a transmission rate greater than the short-range transmission rate exists in real time within the preset time period.
[0038] The method provided in this embodiment ensures the stability and timeliness of the data to be transmitted when it is transmitted as a whole without segmenting the data to be transmitted, and can effectively prevent the occurrence of short-range wireless transmission delay when the data to be transmitted is transmitted as a whole.
[0039] See also Figure 2 , Figure 2 A schematic block diagram of the structure of the short-range wireless transmission device 100 provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the short-range wireless transmission device 100 provided in the embodiment of the present application includes: The first acquisition module 110 is used to acquire the data to be transmitted and determine the data volume of the data to be transmitted.
[0040] The second acquisition module 120 is used to acquire current channel state information through a preset channel detection device; wherein the channel state information includes signal power, noise power and bandwidth of multiple channels.
[0041] The first determination module 130 is configured to determine, for each of the channels, a transmission rate of the channel based on the signal power, noise power and bandwidth of the channel.
[0042] The second determining module 140 is configured to determine a short-range transmission rate of the data to be transmitted based on the data volume.
[0043] The determination module 150 determines whether the maximum transmission rate among the transmission rates is greater than the short-range transmission rate.
[0044] The transmission module 160 is configured to transmit the data to be transmitted to a receiving end based on a preset multi-channel transmission method if the maximum transmission rate is not greater than the short-range transmission rate.
[0045] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and conciseness of description, the specific working process of the system and each module described above can refer to the corresponding process in the aforementioned short-range wireless transmission method embodiment, and will not be repeated here.
[0046] The short-range wireless transmission device 100 provided in the above embodiment can be implemented in the form of a computer program. The computer program can be used in Figure 3 The system is run on the terminal device 200 shown.
[0047] See also Figure 3 , Figure 3The present invention provides a schematic block diagram of the structure of a terminal device 200 according to an embodiment of the present application. The terminal device 200 includes a processor 201 and a memory 202. The processor 201 and the memory 202 are connected via a device bus 203, wherein the memory 202 may include a non-volatile storage medium and an internal memory.
[0048] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed by the processor 201, the processor 201 can execute any of the above-mentioned short-range wireless transmission methods.
[0049] The processor 201 is used to provide computing and control capabilities to support the operation of the entire terminal device 200.
[0050] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can execute any of the above-mentioned short-range wireless transmission methods.
[0051] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the terminal device 200 involved in the scheme of the present application. The specific terminal device 200 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0052] It should be understood that the processor 201 may be a central processing unit (CPU), and the processor 201 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0053] In some embodiments, the processor 201 is used to run a computer program stored in the memory to implement the following steps: Acquire data to be transmitted, and determine the amount of the data to be transmitted; Acquire current channel state information through a preset channel detection device; wherein the channel state information includes signal power, noise power and bandwidth of multiple channels; For each of the channels, determining a transmission rate of the channel based on a signal power, a noise power and a bandwidth of the channel; Determining a short-range transmission rate of the data to be transmitted based on the data volume; Determining whether a maximum transmission rate among the transmission rates is greater than the short-range transmission rate; If not, the data to be transmitted is transmitted to the receiving end based on a preset multi-channel transmission method.
[0054] It should be noted that technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the terminal device 200 described above can refer to the corresponding process of the aforementioned short-range wireless transmission method, and will not be repeated here.
[0055] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the one or more processors implement the short-range wireless transmission method provided in the embodiment of the present application.
[0056] The computer-readable storage medium may be an internal storage unit of the terminal device 200 in the aforementioned embodiment, such as a hard disk or memory of the terminal device 200. The computer-readable storage medium may also be an external storage device of the terminal device 200, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped with the terminal device 200.
[0057] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A short-range wireless transmission method, characterized in that: include: Acquire data to be transmitted, and determine the amount of the data to be transmitted; Acquire current channel state information through a preset channel detection device; wherein the channel state information includes signal power, noise power and bandwidth of multiple channels; For each of the channels, determining a transmission rate of the channel based on a signal power, a noise power and a bandwidth of the channel; Determining a short-range transmission rate of the data to be transmitted based on the data volume; Determining whether a maximum transmission rate among the transmission rates is greater than the short-range transmission rate; If not, the data to be transmitted is transmitted to the receiving end based on a preset multi-channel transmission method.
2. The short-range wireless transmission method according to claim 1, characterized in that: After determining whether the maximum transmission rate among the transmission rates is greater than the short-range transmission rate, the method further includes: If so, determining that the channel corresponding to the maximum transmission rate is the transmission channel; Acquire a historical channel transmission rate information set connected to the current moment and within a preset time period after the current moment in a database; the historical channel transmission rate information set includes a plurality of historical transmission rate curve information of each of the channels within the preset time period, and each of the historical transmission rate curve information includes a plurality of historical transmission rate curves; Based on the historical channel transmission rate information set, determining whether there is a channel with a transmission rate greater than the short-range transmission rate in real time within the preset time period; If so, sending the data to be transmitted to the receiving end via the transmission channel; In the process of sending the data to be transmitted to the receiving end, the transmission channel is monitored in real time, and when the transmission rate of the transmission channel is lower than the short-range transmission rate, the transmission channel of the data to be transmitted is switched to the transmission channel with the highest transmission rate through a preset fast switching algorithm; this step is iterated until the data to be transmitted is transmitted to the receiving end; If not, the data to be transmitted is transmitted to the receiving end based on a preset multi-channel transmission method.
3. The short-range wireless transmission method according to claim 2, characterized in that: The determining, based on the historical channel transmission rate information set, whether there exists in real time a channel having a transmission rate greater than the short-range transmission rate within the preset time period includes: Determine a minimum transmission rate among all transmission rates corresponding to all the historical transmission rate curves; comparing the minimum transmission rate to the short range transmission rate; If the minimum transmission rate is greater than the short-range transmission rate, determining that there exists in real time within the preset time period a channel whose transmission rate is greater than the short-range transmission rate; If the minimum transmission rate is not greater than the short-range transmission rate, it is determined that no channel having a transmission rate greater than the short-range transmission rate exists in real time within the preset time period.
4. The short-range wireless transmission method according to claim 3, characterized in that: The method of transmitting the data to be transmitted to the receiving end based on the preset multi-channel transmission method includes: Determine the amount of transmission data corresponding to the minimum transmission rate; Segmenting the data to be transmitted based on the data volume and the transmission data volume to obtain a plurality of data blocks corresponding to the data to be transmitted, and arranging the data blocks in sequence based on the positions of the data blocks in the data to be transmitted to obtain a data block sequence; For each of the data blocks, marking the sequence number of the data block in the data block sequence on the data block to obtain a marked data block; determining a plurality of target channels based on the number of the data blocks and the historical channel transmission rate information set; The data to be transmitted is transmitted to a receiving end through the multiple target channels.
5. The short-range wireless transmission method according to claim 4, characterized in that: The determining of a plurality of target channels based on the number of the data blocks and the historical channel transmission rate information set comprises: For each of the channels, determining a target number corresponding to the channel based on the historical transmission rate curve information corresponding to the channel; wherein the target number is the minimum transmission rate among all transmission rates corresponding to all historical transmission rate curves in the historical transmission rate curve information corresponding to the channel; Arranging the channels in sequence based on the target numbers corresponding to the channels to obtain a channel sequence; wherein the target numbers corresponding to the channels in the channel sequence decrease in sequence; A plurality of target channels are sequentially selected from the channel sequence; wherein the number of the target channels is consistent with the number of the data blocks.
6. A short-range wireless transmission device, characterized in that: include: A first acquisition module, used to acquire data to be transmitted and determine the data volume of the data to be transmitted; A second acquisition module, configured to acquire current channel state information through a preset channel detection device; wherein the channel state information includes signal power, noise power and bandwidth of multiple channels; A first determination module, configured to determine, for each of the channels, a transmission rate of the channel based on a signal power, a noise power and a bandwidth of the channel; A second determining module, configured to determine a short-range transmission rate of the data to be transmitted based on the data volume; A judging module, for judging whether the maximum transmission rate among the transmission rates is greater than the short-range transmission rate; The transmission module is used to transmit the data to be transmitted to a receiving end based on a preset multi-channel transmission method if the maximum transmission rate is not greater than the short-range transmission rate.
7. A terminal device, characterized in that: The terminal device comprises a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the short-range wireless transmission method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the short-range wireless transmission method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Data transmission method and related device
CN109495880A
Data transmission method and device, electronic equipment and readable storage medium
CN110769465A
Channel allocation method for power line carrier communication, data transmission method and related device
CN113852451A
Data transmission method and device
CN114173314A
Multi-channel switching method and system applied to intelligent communication system and medium
CN116506953A