WO2021208094A1 - Bandwidth switching method and device, unmanned aerial vehicle, and computer readable storage medium - Google Patents

Bandwidth switching method and device, unmanned aerial vehicle, and computer readable storage medium Download PDF

Info

Publication number
WO2021208094A1
WO2021208094A1 PCT/CN2020/085426 CN2020085426W WO2021208094A1 WO 2021208094 A1 WO2021208094 A1 WO 2021208094A1 CN 2020085426 W CN2020085426 W CN 2020085426W WO 2021208094 A1 WO2021208094 A1 WO 2021208094A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
current
target
mcs
wireless link
Prior art date
Application number
PCT/CN2020/085426
Other languages
French (fr)
Chinese (zh)
Inventor
孟凡淦
尹小俊
戴劲
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/085426 priority Critical patent/WO2021208094A1/en
Priority to CN202080005238.7A priority patent/CN112771921A/en
Publication of WO2021208094A1 publication Critical patent/WO2021208094A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth

Definitions

  • This application relates to the field of wireless communication technology, and in particular to a bandwidth switching method, device, drone, and computer-readable storage medium.
  • users can take high-definition pictures and high-definition videos through shooting equipment, such as drones and cameras, and the captured high-definition pictures and high-definition videos are stored on the shooting device.
  • shooting equipment such as drones and cameras
  • the captured high-definition pictures and high-definition videos are stored on the shooting device.
  • the user needs to use the high-definition pictures and high-definition videos on the shooting device . It is necessary to download high-definition pictures and high-definition videos on the shooting device through the wireless link to the local device, but when downloading high-definition pictures or high-definition videos through the wireless link, the interference of external signals will affect the throughput of the wireless link, which in turn affects the high-definition
  • the resolution or download rate of a picture or high-definition video The maximum throughput of wireless links under different bandwidths is different.
  • the present application provides a bandwidth switching method, device, drone, and computer-readable storage medium, which are designed to adaptively switch the working bandwidth of the wireless link and improve the anti-interference performance of the wireless link.
  • this application provides a bandwidth switching method, which is used to control the working bandwidth of a wireless link to switch between multiple bandwidths, including:
  • the present application also provides a bandwidth switching device, the bandwidth switching device is used to control the working bandwidth of the wireless link to switch between multiple bandwidths, and the bandwidth switching device includes a memory and a processor;
  • the memory is used to store computer programs;
  • the processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
  • this application also provides an unmanned aerial vehicle, which includes a photographing device and any bandwidth switching device as provided in the specification of this application.
  • the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor realizes the information provided in the specification of the present application. Any bandwidth switching method.
  • the embodiments of the application provide a bandwidth switching method, device, drone, and computer-readable storage medium, by acquiring the first target interference power spectral density of the wireless link under the current bandwidth and the second target under the remaining bandwidth Interference power spectrum density, and determine the target bandwidth from the remaining bandwidths according to the first target interference power spectrum density and the second target interference power spectrum density.
  • the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth
  • Switching the current bandwidth of the wireless link to the target bandwidth can accurately switch the working bandwidth of the wireless link, improve the anti-interference performance of the wireless link, and ensure the transmission reliability of the wireless link.
  • FIG. 1 is a schematic diagram of a scenario for implementing the bandwidth switching method provided by the present application
  • FIG. 2 is a schematic flowchart of steps of a bandwidth switching method provided by an embodiment of the present application
  • Fig. 3 is a schematic flowchart of sub-steps of the bandwidth switching method in Fig. 2;
  • FIG. 4 is a schematic flowchart of sub-steps of the bandwidth switching method in FIG. 2;
  • FIG. 5 is a schematic block diagram of the structure of a bandwidth switching device provided by an embodiment of the present application.
  • Fig. 6 is a schematic block diagram of the structure of an unmanned aerial vehicle provided by an embodiment of the present application.
  • Fig. 1 is a schematic diagram of a scenario for implementing the bandwidth switching method provided by the present application.
  • a wireless link is established between the control terminal 100 and the drone 200, and the drone 200 It includes a photographing device 201 through which pictures and videos can be taken, and the taken pictures and videos can be stored, and the pictures and/or videos stored in the drone 200 can be downloaded to the control terminal 100 through the wireless link.
  • the control terminal includes a remote control, a ground control platform, a mobile phone, a tablet computer, a notebook computer, a PC computer, etc.
  • the UAV 200 may be a rotary wing aircraft.
  • the drone 200 may be a multi-rotor aircraft that may include multiple rotors.
  • the multiple rotors can rotate to generate lifting force for the drone 200.
  • the rotor may be a propulsion unit, which allows the drone 200 to move freely in the air.
  • the rotor can rotate at the same rate and/or can generate the same amount of lift or thrust.
  • the rotor can rotate at different speeds at will, generating different amounts of lifting force or thrust, and/or allowing the drone 200 to rotate.
  • one, two, three, four, five, six, seven, eight, nine, ten or more rotors may be provided on the drone 200. These rotors can be arranged such that their rotation axes are parallel to each other. In some cases, the rotation axis of the rotors can be at any angle with respect to each other, which can affect the movement of the drone 200.
  • the drone 200 may have multiple rotors.
  • the rotor may be connected to the main body of the drone 200, and the main body may include a control unit, an inertial measurement unit (IMU), a processor, a battery, a power supply, and/or other sensors.
  • the rotor may be connected to the body by one or more arms or extensions branching from the central part of the body.
  • one or more arms may extend radially from the central body of the drone 200, and may have a rotor at or near the end of the arm.
  • FIG. 2 is a schematic flowchart of steps of a bandwidth switching method provided by an embodiment of the present application. Specifically, as shown in FIG. 2, the bandwidth switching method includes step S101 to step S103.
  • the wireless link between the drone and the control terminal is a downlink wireless link, that is, the wireless link established when the control terminal downloads pictures and/or videos from the drone.
  • the wireless link includes multiple bandwidths. For example, 10MHz bandwidth, 20MHz bandwidth, 40MHz bandwidth, etc., and the remaining bandwidths are bandwidths other than the current bandwidth among multiple bandwidths.
  • the interference power spectral density of each channel of the wireless link under the current bandwidth is obtained, and the interference power spectral density of each channel of the wireless link under the current bandwidth is used to determine that the wireless link is under the current bandwidth.
  • the wireless link includes multiple channels, and the interference power spectrum density of each channel is different. The greater the interference power spectrum density of the channel, the stronger the interference signal of the channel, the lower the transmission reliability of the channel, and the interference power of the channel The smaller the spectral density, the weaker the interference signal of the channel and the stronger the transmission reliability of the channel.
  • the first target interference power spectral density of the wireless link under the current bandwidth can be accurately determined by the interference power spectral density of each channel of the wireless link under the current bandwidth.
  • the current Modulation and Coding Scheme (MCS) gear of the wireless link under the current bandwidth is acquired, and the wireless link is determined according to the current MCS gear of the wireless link under the current bandwidth
  • the interference power spectral density corresponding to the current bandwidth is determined according to the interference power spectral density of each channel under the current bandwidth, that is, the minimum interference power in the interference power spectral density of each channel under the current bandwidth
  • the spectral density is used as the interference power spectral density corresponding to the current bandwidth
  • the first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density corresponding to the current bandwidth and the signal energy attenuation value.
  • the first target interference power spectral density of the wireless link under the current bandwidth can be accurately determined. It is convenient for the subsequent accurate bandwidth switching judgment.
  • the signal energy attenuation value of the wireless link under the current bandwidth can be obtained.
  • the correspondence relationship table of MCS gear, bandwidth and signal energy attenuation value is Through link simulation, the greater the signal energy attenuation value, the greater the positive compensation for interference power spectral density, and the smaller the signal energy attenuation value, the smaller the forward compensation for interference power spectral density.
  • the second target interference power spectral density of the wireless link under the remaining bandwidth can be obtained, specifically, the interference power spectral density of each channel of the wireless link under the remaining bandwidth can be obtained; according to the wireless link
  • the interference power spectral density of each channel under the remaining bandwidth determines the second target interference power spectral density of the wireless link under the remaining bandwidth.
  • the second target interference power spectrum density of the wireless link in the remaining bandwidth can be accurately determined by the interference power spectrum density of each channel of the wireless link in the remaining bandwidth.
  • the current MCS gear of the wireless link in the remaining bandwidth is obtained, and the signal energy attenuation value of the wireless link in the remaining bandwidth is determined according to the current MCS gear of the wireless link in the remaining bandwidth;
  • the interference power spectrum density of each channel under the current bandwidth determines the interference power spectrum density corresponding to the remaining bandwidth, that is, the smallest interference power spectrum density in the interference power spectrum density of each channel under the remaining bandwidth is used as the interference power spectrum corresponding to the remaining bandwidth
  • Density Determine the second target interference power spectrum density of the wireless link in the remaining bandwidth according to the signal energy attenuation value of the wireless link in the remaining bandwidth and the interference power spectrum density corresponding to the remaining bandwidth.
  • the target interference power spectral density of the 10MHz bandwidth and the target interference power spectral density of the 20MHz bandwidth are obtained; if the current bandwidth of the wireless link 20MHz, the remaining bandwidth of the wireless link includes 10MHz and 40MHz, then obtain the target interference power spectral density of the 20MHz bandwidth, the target interference power spectral density of the 10MHz bandwidth, and the target interference power spectral density of the 40MHz bandwidth; if the current bandwidth of the wireless link If it is 40MHz, and the remaining bandwidth of the wireless link includes 10MHz and 20MHz, the target interference power spectral density of the 40MHz bandwidth and the target interference power spectral density of the 20MHz bandwidth are obtained.
  • the target interference power spectrum density of the target bandwidth is smaller than the first target interference power spectrum density, that is, the target interference power spectrum density of the target bandwidth is smaller than the target interference power spectrum density of the current bandwidth.
  • the target bandwidth is determined from the remaining bandwidths; when the first target interference power spectrum density is greater than the second target interference power spectrum density, the target bandwidth needs to be determined from the remaining bandwidths.
  • the ratio of the target bandwidth to the current bandwidth is equal to the first preset ratio or the second preset ratio, the first preset ratio is 0.5, and the second preset ratio is 2.
  • the current bandwidth of the wireless link is 10MHz
  • the remaining bandwidths of the wireless link include 20MHz and 40MHz
  • the target interference power spectral density of the 10MHz bandwidth is greater than the target interference power spectral density of the 20MHz bandwidth
  • the 20MHz bandwidth is used as the wireless link Target bandwidth
  • the current bandwidth of the wireless link is 40MHz
  • the remaining bandwidth of the wireless link includes 10MHz and 20MHz
  • the target interference power spectral density of the 40MHz bandwidth is greater than the target interference power spectral density of the 20MHz bandwidth
  • the 20MHz bandwidth is taken as The target bandwidth of the wireless link.
  • the current bandwidth of the wireless link is 20MHz
  • the remaining bandwidths of the wireless link include 10MHz and 40MHz
  • the target interference power spectral density of the 40MHz bandwidth is less than the target interference power spectral density of the 20MHz bandwidth
  • the target interference power spectral density of the 10MHz bandwidth If the target interference power spectral density is greater than 20MHz bandwidth, the 40MHz bandwidth is used as the target bandwidth of the wireless link, and the target interference power spectral density of 40MHz bandwidth is greater than the target interference power spectral density of 20MHz bandwidth, and the target interference power spectral density of 10MHz bandwidth is less than
  • the 10MHz bandwidth is used as the target bandwidth of the wireless link, while the target interference power spectral density of 40MHz bandwidth is less than the target interference power spectral density of 20MHz bandwidth, and the target interference power spectral density of 10MHz bandwidth is less than 20MHz.
  • the 10MHz bandwidth or 40MHz bandwidth is used as the target bandwidth
  • the wireless link After determining the target bandwidth, it is necessary to further determine whether the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth. When it is determined that the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, the wireless link The current bandwidth of the wireless link is switched to the target bandwidth, and when it is determined that the wireless link does not meet the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, the current bandwidth of the wireless link is not switched. Among them, the bandwidth switching conditions between different bandwidths are different.
  • the bandwidth switching condition for switching from 10MHz bandwidth to 20MHz bandwidth the bandwidth condition for switching from 20MHz bandwidth to 10MHz bandwidth, the bandwidth switching condition for switching from 20MHz bandwidth to 40MHz bandwidth, and the bandwidth switching condition for switching from 20MHz bandwidth to 40MHz bandwidth, and the bandwidth switching condition for switching from 20MHz bandwidth to 40MHz bandwidth are The bandwidth switching conditions of the 20MHz bandwidth are different.
  • step S103 specifically includes: sub-steps S1031a to S1032a.
  • S1031a When it is determined that the current bandwidth and the target bandwidth are both smaller than the preset bandwidth, obtain the current throughput of the current bandwidth and the limit throughput of the target bandwidth.
  • the bandwidth switching condition for switching the current bandwidth to the target bandwidth is related to the current throughput of the current bandwidth and the limit throughput of the target bandwidth. Therefore, the current throughput of the current bandwidth and The limit throughput of the target bandwidth.
  • the limit throughput includes the maximum throughput and the minimum throughput.
  • the limit throughput of each bandwidth can be calculated and determined in advance or in real time.
  • the preset bandwidth can be set based on actual conditions, and this application does not specifically limit this For example, the preset bandwidth is 40MHz bandwidth.
  • the preset bandwidth is 40MHz bandwidth
  • the current bandwidth is 10MHz
  • the target bandwidth is 20MHz.
  • the current bandwidth and target bandwidth are both smaller than the preset bandwidth. Therefore, the current throughput of 10MHz bandwidth and the limit throughput of 20MHz bandwidth are obtained.
  • the current bandwidth is 20MHz and the target bandwidth is 10MHz
  • both the current bandwidth and the target bandwidth are less than the preset bandwidth, so the current throughput of the 20MHz bandwidth and the limit throughput of the 10MHz bandwidth are obtained.
  • the method for determining the limit throughput of each bandwidth is specifically: obtaining the limit MCS gear of each bandwidth and the preset downlink subframe proportion; according to the limit MCS gear of each bandwidth, determining each The limit transmission block size TBS of the bandwidth, and the limit throughput of each bandwidth is determined according to the limit transmission block size TBS of each bandwidth and the preset downlink subframe ratio.
  • the limit MCS gear includes the maximum MCS gear and the minimum MCS gear
  • the limit TBS includes the maximum TBS and the minimum TBS.
  • the relationship between the MCS gear and the TBS is determined through link simulation, and the downlink subframe ratio is preset It can be set based on actual conditions, which is not specifically limited in this application, for example, the preset downlink subframe ratio is 0.8.
  • S1032a According to the current throughput and the limit throughput, determine whether the wireless link satisfies a bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; when it is determined that the current bandwidth is greater than the target bandwidth, and When the current throughput is greater than or equal to the maximum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the current bandwidth is 20MHz bandwidth
  • the target bandwidth is 10MHz bandwidth.
  • the wireless link meets the bandwidth switching conditions for switching from 20MHz bandwidth to 10MHz bandwidth; in 20MHz bandwidth
  • the current throughput is greater than or equal to the maximum throughput of the 10MHz bandwidth
  • the wireless link does not meet the bandwidth switching condition for switching from the 20MHz bandwidth to the 10MHz bandwidth.
  • the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; when it is determined that the current bandwidth is less than the target bandwidth, and When the current throughput is less than or equal to the minimum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the current bandwidth is 10MHz bandwidth
  • the target bandwidth is 20MHz bandwidth.
  • the current throughput of 10MHz bandwidth is greater than the minimum throughput of 20MHz bandwidth, it is determined that the wireless link meets the bandwidth switching conditions for switching from 10MHz bandwidth to 20MHz bandwidth; in 10MHz bandwidth
  • the current throughput of is less than or equal to the minimum throughput of the 20MHz bandwidth, it is determined that the wireless link does not meet the bandwidth switching condition for switching from the 10MHz bandwidth to the 20MHz bandwidth.
  • step S103 specifically includes: sub-steps S1031b to S1032b.
  • the medium access control layer (Medium Access Control, MAC) is mainly responsible for the channel reception in the wireless link and the scheduling of the MCS gear of the current bandwidth, and generates the MCS scheduling information.
  • the MCS scheduling information includes the MCS scheduling array, and the MCS scheduling array is First-in-first-out array, the MCS scheduling array includes a preset number of scheduled MCS stalls. Each time the media access control layer MAC schedules the MCS stalls of the current bandwidth, the MCS scheduling array is updated based on the scheduled MCS stalls.
  • the bandwidth switching condition for switching the current bandwidth to the target bandwidth is related to the MCS scheduling information of the media access control layer MAC, so the MCS scheduling information of the media access control layer MAC is obtained.
  • the MCS scheduling information Through the MCS scheduling information, the demand for the amount of service data of the wireless link can be known, and the demand for the amount of service data can be used to determine whether the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the wireless link between the drone and the control terminal uses the ISM frequency band with 2.4 GHz and 5.8 GHz as the center frequency, and the total available bandwidth of the ISM frequency band corresponding to 2.4 GHz and 5.8 GHz is 218 MHz.
  • the 40MHz bandwidth needs to be activated according to the demand of the business data volume.
  • the 40MHz bandwidth needs to be switched to the 20MHz bandwidth or the 10MHz bandwidth. That is to say, determining whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth based on the demand for the amount of service data can further improve the anti-interference performance of the wireless link.
  • S1032b Determine, according to the MCS scheduling information, whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the full scheduling rate of the wireless link is determined according to the MCS scheduling array and the maximum MCS gear of the current bandwidth; when it is determined that the full scheduling rate is greater than or equal to the preset full scheduling rate, the wireless link is determined The link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; when it is determined that the full scheduling rate is less than the preset full scheduling rate, it is determined that the wireless link does not meet the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the preset full scheduling rate can be set according to actual conditions, which is not specifically limited in this application, for example, the preset full scheduling rate is 0.8. The full scheduling rate of the wireless link can accurately determine whether the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the higher the quality of the wireless link the greater the signal-to-noise ratio, and the greater the value of the maximum MCS gear.
  • the packet error rate is below 10%.
  • the wireless link In the NACK and ACK feedback of the receiving end (control terminal), determine the maximum MCS gear. For example, NACK indicates that the receiving end (control terminal) cannot demodulate, demodulates the error or does not receive downlink data, and ACK indicates the receiving end (control terminal)
  • the downlink data is successfully demodulated, and the MCS gear that satisfies the packet error rate of less than 10% can be adaptively calculated through statistics, that is, the maximum MCS gear.
  • the method of determining the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth is specifically: counting the MCS gears in the MCS scheduling array equal to the maximum MCS gear of the current bandwidth.
  • the number, the target number is obtained; the full scheduling rate of the wireless link is determined according to the preset number and the target number.
  • the preset number can be set based on the actual situation, and this application does not specifically limit this.
  • the preset number is 500
  • the number of MCS gears in the MCS scheduling array equal to the maximum MCS gear of the current bandwidth is 400
  • the full scheduling rate of the wireless link is 400 divided by 500 equals 0.8.
  • the MCS scheduling array of 20MHz bandwidth is obtained.
  • the MCS scheduling array includes 500 scheduled MCS gears, and the MCS gears in the MCS scheduling array are equal to the current bandwidth
  • the maximum number of MCS gears is 450, then the full scheduling rate of the wireless link under the 20MHz bandwidth is 450 divided by 500 equals 0.9, which is greater than the preset full scheduling rate 0.8. Therefore, it can be determined that the wireless link meets the requirement of switching from 20MHz bandwidth to Bandwidth switching conditions of 40MHz bandwidth.
  • the interference power spectrum density of each channel of the wireless link under the current bandwidth is further obtained;
  • the interference power spectral density of the channel is determined whether there are two consecutive channels whose interference power spectral densities are both smaller than the first preset threshold; when it is determined that there are two consecutive channels whose interference power spectral densities are both smaller than the first preset threshold, and If the difference between the interference power spectral densities of the two consecutive channels is less than or equal to the second preset threshold, it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the interference power spectrum density of each channel of the wireless link under the current bandwidth can be used to accurately determine whether the wireless link meets the requirement of switching from the current bandwidth to the target bandwidth. Bandwidth switching conditions.
  • the wireless link when it is determined that there is no interference power spectrum density of two consecutive channels that are both less than the first preset threshold, it is determined that the wireless link does not meet the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; or when it is determined When the interference power spectral densities of two consecutive channels are less than the first preset threshold, and the difference between the interference power spectral densities of the two consecutive channels is greater than the second preset threshold, it is determined that the wireless link does not meet the requirements of the current bandwidth Switch to the bandwidth switching condition of the target bandwidth.
  • the MCS scheduling information includes the first MCS scheduling array and the second MCS scheduling array respectively corresponding to the continuous first channel and the second channel under the current bandwidth. Both the first MCS scheduling array and the second MCS scheduling array are The method for determining whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth according to the MCS scheduling information includes a preset number of scheduled MCS gear positions: when it is determined that the current bandwidth is greater than the target bandwidth, obtain The maximum MCS gear of the first channel and the maximum MCS gear of the second channel; determine according to the first MCS scheduling array, the second MCS scheduling array, the maximum MCS gear of the first channel, and the maximum MCS gear of the second channel Bandwidth switching index; when it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, it is determined that the wireless link meets the bandwidth switching conditions for switching from the current bandwidth to the target bandwidth; when the bandwidth switching index is determined to be less than the preset bandwidth switching index, it is determined The wireless link does not meet
  • the preset bandwidth switching index can be set based on actual conditions, which is not specifically limited in this application, for example, the preset bandwidth switching index is 0.8.
  • the current bandwidth is 40MHz bandwidth and the target bandwidth is 20MHz bandwidth
  • the bandwidth switching index determined by the array, the maximum MCS gear of the first channel and the maximum MCS gear of the second channel is 0.85, and the preset bandwidth switching index is 0.8, so it can be determined that the wireless link satisfies the switching from 40MHz bandwidth to 20MHz bandwidth
  • the bandwidth switching conditions are examples of the bandwidth.
  • the method of determining the bandwidth switching index is specifically: counting the first MCS The number of MCS gears in the scheduling array that is less than or equal to one-half of the largest MCS gear of the first channel to obtain the first number; statistics of the MCS gears in the second MCS scheduling array are less than or equal to the largest MCS gear of the second channel One-half of the number of bits to obtain the second number; determine the bandwidth switching index according to the first number, the second number, and the preset number, that is, determine the percentage of the first number occupies the preset number to obtain the first bandwidth switching index, And determine the percentage that the first number occupies the preset number to obtain the second bandwidth switching index, and then calculate the average value of the first bandwidth switching index and the second bandwidth switching index, and calculate the difference between the first bandwidth switching index and the second bandwidth switching index The average value is used as the bandwidth switching index.
  • the wireless link when it is determined that the first bandwidth switching index and the second bandwidth switching index are both greater than or equal to the preset bandwidth switching index, it is determined that the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; When the first bandwidth switching index and/or the second bandwidth switching index are less than the preset bandwidth switching index, it is determined that the wireless link does not satisfy the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the first bandwidth switching index and the second bandwidth switching index it can be accurately determined whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth are obtained; the current throughput of the current bandwidth and the maximum MCS of the target bandwidth are obtained.
  • the gear position determines whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the bandwidth switching index is greater than or equal to the preset bandwidth switching index
  • the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth can further accurately determine whether the wireless link meets the requirement of switching from the current bandwidth to the target bandwidth. Bandwidth switching conditions.
  • the method of determining whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth is specifically: according to the maximum MCS of the target bandwidth
  • the gear position determines the maximum throughput of the target bandwidth; when it is determined that the maximum throughput of the target bandwidth is greater than or equal to the current throughput of the current bandwidth, it is determined that the wireless link meets the bandwidth switching condition of switching from the current bandwidth to the target bandwidth; when the target is determined When the maximum throughput of the bandwidth is less than the current throughput of the current bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the relationship between the maximum MCS gear, bandwidth, and maximum throughput can be obtained through link simulation, which is not specifically limited in this application.
  • the bandwidth switching method provided by the foregoing embodiment obtains the first target interference power spectral density under the current bandwidth of the wireless link and the second target interference power spectral density under the remaining bandwidth, and according to the sum of the first target interference power spectral density
  • the second target interference power spectrum density is to determine the target bandwidth from the remaining bandwidths.
  • FIG. 5 is a schematic block diagram of the structure of a bandwidth switching apparatus provided by an embodiment of the present application.
  • the bandwidth switching device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected by a bus 303, which is, for example, an I2C (Inter-integrated Circuit) bus.
  • the bandwidth switching device 300 is used to control the operating bandwidth of the wireless link to switch between multiple bandwidths, and the multiple bandwidths include 10 MHz bandwidth, 20 MHz bandwidth, and 40 MHz bandwidth.
  • the processor 301 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
  • MCU micro-controller unit
  • CPU central processing unit
  • DSP Digital Signal Processor
  • the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
  • the processor 301 is configured to run a computer program stored in the memory 302, and implement the following steps when the computer program is executed:
  • the processor when the processor implements the acquisition of the first target interference power spectral density of the wireless link under the current bandwidth, it is used to implement:
  • the first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density of each channel under the current bandwidth.
  • the processor when the processor is configured to determine the first target interference power spectral density of the wireless link under the current bandwidth according to the interference power spectral density of each channel under the current bandwidth, the processor is configured to implement:
  • the first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density corresponding to the current bandwidth and the signal energy attenuation value.
  • the processor determines the interference power spectrum density corresponding to the current bandwidth according to the interference power spectrum density of each channel under the current bandwidth, it is used to implement:
  • the minimum interference power spectrum density in the interference power spectrum density of each channel under the current bandwidth is used as the interference power spectrum density corresponding to the current bandwidth.
  • the target interference power spectral density of the target bandwidth is less than the first target interference power spectral density.
  • the ratio of the target bandwidth to the current bandwidth is equal to a first preset ratio or a second preset ratio.
  • processor is further configured to implement the following steps:
  • the wireless link According to the current throughput and the limit throughput, it is determined whether the wireless link satisfies a bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the limit throughput includes any one of a maximum throughput and a minimum throughput; the processor realizes that according to the current throughput and the limit throughput, it is possible to determine whether the wireless link satisfies the When the current bandwidth is switched to the bandwidth switching condition of the target bandwidth, it is used to realize:
  • processor is further configured to implement the following steps:
  • processor is further configured to implement the following steps:
  • the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the MCS scheduling information includes an MCS scheduling array, and the MCS scheduling array includes a preset number of scheduled MCS gears; the processor realizes that according to the MCS scheduling information, it is possible to determine whether the wireless link meets the requirements.
  • the processor realizes that according to the MCS scheduling information, it is possible to determine whether the wireless link meets the requirements.
  • the current bandwidth is switched to the bandwidth switching condition of the target bandwidth, it is used to realize:
  • the processor realizes the determination of the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth, it is used to realize:
  • processor is further configured to implement the following steps:
  • the wireless link is determined The path meets the bandwidth switching condition.
  • processor is further configured to implement the following steps:
  • the MCS scheduling information includes a first MCS scheduling array and a second MCS scheduling array respectively corresponding to the continuous first channel and the second channel under the current bandwidth, the first MCS scheduling array and the second MCS scheduling array
  • the MCS scheduling arrays each include a preset number of scheduled MCS gear positions; the processor can determine whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth according to the MCS scheduling information When used to achieve:
  • bandwidth switching index is less than the preset bandwidth switching index, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  • the processor is configured to determine the bandwidth switching index according to the first MCS scheduling array, the second MCS scheduling array, the maximum MCS gear of the first channel, and the maximum MCS gear of the second channel. accomplish:
  • the bandwidth switching index is determined according to the first number, the second number, and the preset number.
  • processor is further configured to implement the following steps:
  • the wireless link According to the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth, it is determined whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  • the processor determines whether the wireless link satisfies the bandwidth for switching from the current bandwidth to the target bandwidth according to the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth. When switching conditions, it is used to achieve:
  • FIG. 6 is a schematic block diagram of the structure of an unmanned aerial vehicle according to an embodiment of the present application.
  • the drone 400 includes a camera 401 and a bandwidth switching device 402, and the bandwidth switching device 402 can implement any bandwidth switching method as provided in the specification of this application.
  • the drone 400 may be a rotary wing aircraft.
  • the drone 400 may be a multi-rotor aircraft that may include multiple rotors.
  • the multiple rotors can rotate to generate lifting force for the drone 400.
  • the rotor may be a propulsion unit, which allows the drone 400 to move freely in the air.
  • the rotor can rotate at the same rate and/or can generate the same amount of lift or thrust.
  • the rotor can rotate at different speeds at will, generating different amounts of lifting force or thrust, and/or allowing the drone 400 to rotate.
  • one, two, three, four, five, six, seven, eight, nine, ten or more rotors may be provided on the drone 400.
  • These rotors can be arranged such that their rotation axes are parallel to each other.
  • the rotation axis of the rotors may be at any angle with respect to each other, which may affect the movement of the drone 400.
  • the drone 400 may have multiple rotors.
  • the rotor may be connected to the body of the drone 400, and the body may include a control unit, an inertial measurement unit (IMU), a processor, a battery, a power supply, and/or other sensors.
  • the rotor may be connected to the body by one or more arms or extensions branching from the central part of the body.
  • one or more arms may extend radially from the central body of the drone 400, and may have a rotor at or near the end of the arm.
  • the embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the foregoing implementation Example provides the steps of the bandwidth switching method.
  • the computer-readable storage medium may be the internal storage unit of the drone described in any of the foregoing embodiments, such as the hard disk or memory of the drone.
  • the computer-readable storage medium may also be an external storage device of the drone, such as a plug-in hard disk equipped on the drone, a smart memory card (Smart Media Card, SMC), or a secure digital (Secure Digital, SD) card, flash card (Flash Card), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a bandwidth switching method and device, an unmanned aerial vehicle, and a computer readable storage medium. The method comprises: obtaining a first target interference power spectral density under the current bandwidth and a second target interference power spectral density under the remaining bandwidths (S101); determining a target bandwidth according to the first target interference power spectral density and the second target interference power spectral density (S102); and switching the current bandwidth to the target bandwidth (S103). The present application improves the interference resistance of a wireless link.

Description

带宽切换方法、装置、无人机及计算机可读存储介质Bandwidth switching method, device, drone and computer readable storage medium 技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种带宽切换方法、装置、无人机及计算机可读存储介质。This application relates to the field of wireless communication technology, and in particular to a bandwidth switching method, device, drone, and computer-readable storage medium.
背景技术Background technique
目前,用户可以通过拍摄设备,例如无人机和相机等,拍摄高清图片和高清视频,拍摄的高清图片和高清视频存储在拍摄设备上,当用户需要使用拍摄设备上的高清图片和高清视频时,需要通过无线链路下载拍摄设备上的高清图片和高清视频至本地设备,但在通过无线链路下载高清图片或者高清视频时,外界信号的干扰会影响无线链路的吞吐量,进而影响高清图片或者高清视频的清晰度或下载速率。不同带宽下的无线链路的最大吞吐量不同,通过切换无线链路的工作带宽,可以减少外界信号的干扰对高清图片和高清视频传输的影响,因此,如何自适应地切换无线链路的工作带宽是目前亟待解决的问题。At present, users can take high-definition pictures and high-definition videos through shooting equipment, such as drones and cameras, and the captured high-definition pictures and high-definition videos are stored on the shooting device. When the user needs to use the high-definition pictures and high-definition videos on the shooting device , It is necessary to download high-definition pictures and high-definition videos on the shooting device through the wireless link to the local device, but when downloading high-definition pictures or high-definition videos through the wireless link, the interference of external signals will affect the throughput of the wireless link, which in turn affects the high-definition The resolution or download rate of a picture or high-definition video. The maximum throughput of wireless links under different bandwidths is different. By switching the working bandwidth of the wireless link, the impact of external signal interference on the transmission of high-definition pictures and high-definition video can be reduced. Therefore, how to switch the work of the wireless link adaptively Bandwidth is a problem that needs to be solved urgently.
发明内容Summary of the invention
基于此,本申请提供了一种带宽切换方法、装置、无人机及计算机可读存储介质,旨在自适应地切换无线链路的工作带宽,提高无线链路的抗干扰性。Based on this, the present application provides a bandwidth switching method, device, drone, and computer-readable storage medium, which are designed to adaptively switch the working bandwidth of the wireless link and improve the anti-interference performance of the wireless link.
第一方面,本申请提供了一种带宽切换方法,所述方法用于控制无线链路的工作带宽在多个带宽之间切换,包括:In the first aspect, this application provides a bandwidth switching method, which is used to control the working bandwidth of a wireless link to switch between multiple bandwidths, including:
获取所述无线链路在当前带宽下的第一目标干扰功率谱密度以及在其余带宽下的第二目标干扰功率谱密度,所述其余带宽为所述多个带宽中除所述当前带宽以外的带宽;Acquire the first target interference power spectral density under the current bandwidth and the second target interference power spectral density under the remaining bandwidth of the wireless link, where the remaining bandwidth is the number of bandwidths other than the current bandwidth bandwidth;
根据所述第一目标干扰功率谱密度和所述第二目标干扰功率谱密度,从所述其余带宽中确定目标带宽;Determine a target bandwidth from the remaining bandwidths according to the first target interference power spectral density and the second target interference power spectral density;
当确定所述无线链路满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,将所述无线链路的当前带宽切换为所述目标带宽。When it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, switching the current bandwidth of the wireless link to the target bandwidth.
第二方面,本申请还提供了一种带宽切换装置,所述带宽切换装置用于控制无线链路的工作带宽在多个带宽之间切换,所述带宽切换装置包括存储器和处理器;所述存储器用于存储计算机程序;In a second aspect, the present application also provides a bandwidth switching device, the bandwidth switching device is used to control the working bandwidth of the wireless link to switch between multiple bandwidths, and the bandwidth switching device includes a memory and a processor; The memory is used to store computer programs;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
获取所述无线链路在当前带宽下的第一目标干扰功率谱密度以及在其余带宽下的第二目标干扰功率谱密度,所述其余带宽为所述多个带宽中除所述当前带宽以外的带宽;Acquire the first target interference power spectral density under the current bandwidth and the second target interference power spectral density under the remaining bandwidth of the wireless link, where the remaining bandwidth is the number of bandwidths other than the current bandwidth bandwidth;
根据所述第一目标干扰功率谱密度和所述第二目标干扰功率谱密度,从所述其余带宽中确定目标带宽;Determine a target bandwidth from the remaining bandwidths according to the first target interference power spectral density and the second target interference power spectral density;
当确定所述无线链路满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,将所述无线链路的当前带宽切换为所述目标带宽。When it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, switching the current bandwidth of the wireless link to the target bandwidth.
第三方面,本申请还提供了一种无人机,所述无人机包括拍摄装置和如本申请说明书提供的任一种带宽切换装置。In the third aspect, this application also provides an unmanned aerial vehicle, which includes a photographing device and any bandwidth switching device as provided in the specification of this application.
第四方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如本申请说明书提供的任一种带宽切换方法。In a fourth aspect, the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor realizes the information provided in the specification of the present application. Any bandwidth switching method.
本申请实施例提供了一种带宽切换方法、装置、无人机及计算机可读存储介质,通过获取无线链路在当前带宽下的第一目标干扰功率谱密度以及在其余带宽下的第二目标干扰功率谱密度,并根据第一目标干扰功率谱密度和第二目标干扰功率谱密度,从其余带宽中确定目标带宽,当确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件时,将无线链路的当前带宽切换为目标带宽,能够准确的切换无线链路的工作带宽,提高无线链路的抗干扰性,保证无线链路的传输可靠性。The embodiments of the application provide a bandwidth switching method, device, drone, and computer-readable storage medium, by acquiring the first target interference power spectral density of the wireless link under the current bandwidth and the second target under the remaining bandwidth Interference power spectrum density, and determine the target bandwidth from the remaining bandwidths according to the first target interference power spectrum density and the second target interference power spectrum density. When it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, Switching the current bandwidth of the wireless link to the target bandwidth can accurately switch the working bandwidth of the wireless link, improve the anti-interference performance of the wireless link, and ensure the transmission reliability of the wireless link.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是实施本申请提供的带宽切换方法的一场景示意图;FIG. 1 is a schematic diagram of a scenario for implementing the bandwidth switching method provided by the present application;
图2是本申请实施例提供的一种带宽切换方法的步骤示意流程图;2 is a schematic flowchart of steps of a bandwidth switching method provided by an embodiment of the present application;
图3是图2中的带宽切换方法的子步骤示意流程图;Fig. 3 is a schematic flowchart of sub-steps of the bandwidth switching method in Fig. 2;
图4是图2中的带宽切换方法的子步骤示意流程图;4 is a schematic flowchart of sub-steps of the bandwidth switching method in FIG. 2;
图5是本申请实施例提供的一种带宽切换装置的结构示意性框图;FIG. 5 is a schematic block diagram of the structure of a bandwidth switching device provided by an embodiment of the present application;
图6是本申请实施例提供的一种无人机的结构示意性框图。Fig. 6 is a schematic block diagram of the structure of an unmanned aerial vehicle provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
基于上述问题,本申请提供一种带宽切换方法,该带宽切换方法应用于拍摄设备,例如,相机和装载有拍摄装置的可移动平台等,可移动平台包括无人机、可移动机器人和云台车等,请参阅图1,图1是实施本申请提供的带宽切换方法的一场景示意图,如图1所示,控制终端100与无人机200之间建立有无线链路,无人机200包括拍摄装置201,通过该拍摄装置201能够拍摄图片和视频,并存储拍摄的图片和视频,通过该无线链路能够将无人机200中存储的图片和/或视频下载到控制终端100,在通过无线链路下载无人机200中存储的图片和/或视频时,基于无线链路在各带宽下的目标干扰功率谱密度和无线链路中待下载的图片和/或视频的数据量,确定目标带宽,并将无线链路的当前带宽切换为目标带宽,从而能够准确的切换无线链路的工作带宽,减少外界干扰信号对无线链路的干扰,保证无线链路的传输可靠性。Based on the above problems, this application provides a bandwidth switching method, which is applied to shooting equipment, for example, cameras and movable platforms loaded with shooting devices, etc. The movable platforms include drones, movable robots, and pan-tilts. For vehicles, please refer to Fig. 1. Fig. 1 is a schematic diagram of a scenario for implementing the bandwidth switching method provided by the present application. As shown in Fig. 1, a wireless link is established between the control terminal 100 and the drone 200, and the drone 200 It includes a photographing device 201 through which pictures and videos can be taken, and the taken pictures and videos can be stored, and the pictures and/or videos stored in the drone 200 can be downloaded to the control terminal 100 through the wireless link. When downloading pictures and/or videos stored in the UAV 200 through a wireless link, based on the target interference power spectral density of the wireless link in each bandwidth and the data volume of the pictures and/or videos to be downloaded in the wireless link, Determine the target bandwidth, and switch the current bandwidth of the wireless link to the target bandwidth, so as to accurately switch the working bandwidth of the wireless link, reduce the interference of external interference signals on the wireless link, and ensure the transmission reliability of the wireless link.
其中,控制终端包括遥控器、地面控制平台、手机、平板电脑、笔记本电脑和PC电脑等,无人机200可以是旋翼飞机。在某些情形下,无人机200可以是可包括多个旋翼的多旋翼飞行器。多个旋翼可旋转而为无人机200产生提升力。旋翼可以是推进单元,可使得无人机200在空中自由移动。旋翼可按相同速率旋转和/或可产生相同量的提升力或推力。旋翼可按不同的速率随意地旋转,产生不同量的提升力或推力和/或允许无人机200旋转。在某些情形下,在无人机200上可提供一个、两个、三个、四个、五个、六个、七个、八个、九 个、十个或更多个旋翼。这些旋翼可布置成其旋转轴彼此平行。在某些情形下,旋翼的旋转轴可相对于彼此呈任意角度,从而可影响无人机200的运动。Among them, the control terminal includes a remote control, a ground control platform, a mobile phone, a tablet computer, a notebook computer, a PC computer, etc., and the UAV 200 may be a rotary wing aircraft. In some cases, the drone 200 may be a multi-rotor aircraft that may include multiple rotors. The multiple rotors can rotate to generate lifting force for the drone 200. The rotor may be a propulsion unit, which allows the drone 200 to move freely in the air. The rotor can rotate at the same rate and/or can generate the same amount of lift or thrust. The rotor can rotate at different speeds at will, generating different amounts of lifting force or thrust, and/or allowing the drone 200 to rotate. In some cases, one, two, three, four, five, six, seven, eight, nine, ten or more rotors may be provided on the drone 200. These rotors can be arranged such that their rotation axes are parallel to each other. In some cases, the rotation axis of the rotors can be at any angle with respect to each other, which can affect the movement of the drone 200.
无人机200可具有多个旋翼。旋翼可连接至无人机200的本体,本体可包含控制单元、惯性测量单元(inertial measuring unit,IMU)、处理器、电池、电源和/或其他传感器。旋翼可通过从本体中心部分分支出来的一个或多个臂或延伸而连接至本体。例如,一个或多个臂可从无人机200的中心本体放射状延伸出来,而且在臂末端或靠近末端处可具有旋翼。The drone 200 may have multiple rotors. The rotor may be connected to the main body of the drone 200, and the main body may include a control unit, an inertial measurement unit (IMU), a processor, a battery, a power supply, and/or other sensors. The rotor may be connected to the body by one or more arms or extensions branching from the central part of the body. For example, one or more arms may extend radially from the central body of the drone 200, and may have a rotor at or near the end of the arm.
请参阅图2,图2是本申请实施例提供的一种带宽切换方法的步骤示意流程图。具体地,如图2所示,该带宽切换方法包括步骤S101至步骤S103。Please refer to FIG. 2, which is a schematic flowchart of steps of a bandwidth switching method provided by an embodiment of the present application. Specifically, as shown in FIG. 2, the bandwidth switching method includes step S101 to step S103.
S101、获取所述无线链路在当前带宽下的第一目标干扰功率谱密度以及在其余带宽下的第二目标干扰功率谱密度。S101. Obtain a first target interference power spectrum density of the wireless link in the current bandwidth and a second target interference power spectrum density of the wireless link in the remaining bandwidth.
其中,无人机与控制终端之间的无线链路为下行无线链路,即控制终端从无人机中下载图片和/或视频时所建立的无线链路,无线链路包括多个带宽,例如,10MHz带宽、20MHz带宽和40MHz带宽等,其余带宽为多个带宽中除当前带宽以外的带宽。Among them, the wireless link between the drone and the control terminal is a downlink wireless link, that is, the wireless link established when the control terminal downloads pictures and/or videos from the drone. The wireless link includes multiple bandwidths. For example, 10MHz bandwidth, 20MHz bandwidth, 40MHz bandwidth, etc., and the remaining bandwidths are bandwidths other than the current bandwidth among multiple bandwidths.
在一些实施方式中,获取无线链路在当前带宽下的每个信道的干扰功率谱密度,并根据无线链路在当前带宽下的每个信道的干扰功率谱密度确定无线链路在当前带宽下的第一目标干扰功率谱密度。其中,无线链路包括多个信道,每个信道的干扰功率谱密度不同,信道的干扰功率谱密度越大,则说明信道的干扰信号越强,信道的传输可靠性越低,信道的干扰功率谱密度越小,则说明信道的干扰信号越弱,信道的传输可靠性越强。通过无线链路在当前带宽下的每个信道的干扰功率谱密度可以准确地确定无线链路在当前带宽下的第一目标干扰功率谱密度。In some embodiments, the interference power spectral density of each channel of the wireless link under the current bandwidth is obtained, and the interference power spectral density of each channel of the wireless link under the current bandwidth is used to determine that the wireless link is under the current bandwidth. The first target interference power spectral density. Among them, the wireless link includes multiple channels, and the interference power spectrum density of each channel is different. The greater the interference power spectrum density of the channel, the stronger the interference signal of the channel, the lower the transmission reliability of the channel, and the interference power of the channel The smaller the spectral density, the weaker the interference signal of the channel and the stronger the transmission reliability of the channel. The first target interference power spectral density of the wireless link under the current bandwidth can be accurately determined by the interference power spectral density of each channel of the wireless link under the current bandwidth.
在一些实施方式中,获取无线链路在当前带宽下的当前调制与解调策略(Modulation and Coding Scheme,MCS)档位,并根据无线链路在当前带宽下的当前MCS档位确定无线链路在当前带宽下的信号能量衰减值;根据当前带宽下每个信道的干扰功率谱密度确定当前带宽对应的干扰功率谱密度,即将当前带宽下的每个信道的干扰功率谱密度中的最小干扰功率谱密度作为当前带宽对应的干扰功率谱密度;根据当前带宽对应的干扰功率谱密度和该信号能量衰减值确定无线链路在当前带宽下的第一目标干扰功率谱密度。通过基于信号能量衰减值对当前带宽下的每个信道的干扰功率谱密度中的最小干扰功率谱密度进行补偿,从而可以准确地确定无线链路在当前带宽下的第一目标干扰功率谱 密度,便于后续准确地进行带宽切换判断。In some embodiments, the current Modulation and Coding Scheme (MCS) gear of the wireless link under the current bandwidth is acquired, and the wireless link is determined according to the current MCS gear of the wireless link under the current bandwidth The signal energy attenuation value under the current bandwidth; the interference power spectral density corresponding to the current bandwidth is determined according to the interference power spectral density of each channel under the current bandwidth, that is, the minimum interference power in the interference power spectral density of each channel under the current bandwidth The spectral density is used as the interference power spectral density corresponding to the current bandwidth; the first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density corresponding to the current bandwidth and the signal energy attenuation value. By compensating for the minimum interference power spectral density in the interference power spectral density of each channel under the current bandwidth based on the signal energy attenuation value, the first target interference power spectral density of the wireless link under the current bandwidth can be accurately determined. It is convenient for the subsequent accurate bandwidth switching judgment.
其中,通过查询MCS档位、带宽和信号能量衰减值的对应关系表,可以获取到无线链路在当前带宽下的信号能量衰减值,MCS档位、带宽和信号能量衰减值的对应关系表是通过链路仿真得到的,信号能量衰减值越大,则对干扰功率谱密度的正向补偿越大,反之信号能量衰减值越小,则对干扰功率谱密度的正向补偿越小。Among them, by querying the correspondence table of MCS gear, bandwidth and signal energy attenuation value, the signal energy attenuation value of the wireless link under the current bandwidth can be obtained. The correspondence relationship table of MCS gear, bandwidth and signal energy attenuation value is Through link simulation, the greater the signal energy attenuation value, the greater the positive compensation for interference power spectral density, and the smaller the signal energy attenuation value, the smaller the forward compensation for interference power spectral density.
类似的,按照同样的方式可以获取无线链路在其余带宽下的第二目标干扰功率谱密度,具体地,获取无线链路在其余带宽下的每个信道的干扰功率谱密度;根据无线链路在其余带宽下的每个信道的干扰功率谱密度确定无线链路在其余带宽下的第二目标干扰功率谱密度。通过无线链路在其余带宽下的每个信道的干扰功率谱密度可以准确地确定无线链路在其余带宽下的第二目标干扰功率谱密度。Similarly, in the same way, the second target interference power spectral density of the wireless link under the remaining bandwidth can be obtained, specifically, the interference power spectral density of each channel of the wireless link under the remaining bandwidth can be obtained; according to the wireless link The interference power spectral density of each channel under the remaining bandwidth determines the second target interference power spectral density of the wireless link under the remaining bandwidth. The second target interference power spectrum density of the wireless link in the remaining bandwidth can be accurately determined by the interference power spectrum density of each channel of the wireless link in the remaining bandwidth.
在一些实施方式中,获取无线链路在其余带宽下的当前MCS档位,并根据无线链路在其余带宽下的当前MCS档位确定无线链路在其余带宽下的信号能量衰减值;根据所述当前带宽下每个信道的干扰功率谱密度确定其余带宽对应的干扰功率谱密度,即将其余带宽下的每个信道的干扰功率谱密度中的最小干扰功率谱密度作为其余带宽对应的干扰功率谱密度;根据无线链路在其余带宽下的信号能量衰减值和其余带宽对应的干扰功率谱密度确定无线链路在其余带宽下的第二目标干扰功率谱密度。In some embodiments, the current MCS gear of the wireless link in the remaining bandwidth is obtained, and the signal energy attenuation value of the wireless link in the remaining bandwidth is determined according to the current MCS gear of the wireless link in the remaining bandwidth; The interference power spectrum density of each channel under the current bandwidth determines the interference power spectrum density corresponding to the remaining bandwidth, that is, the smallest interference power spectrum density in the interference power spectrum density of each channel under the remaining bandwidth is used as the interference power spectrum corresponding to the remaining bandwidth Density: Determine the second target interference power spectrum density of the wireless link in the remaining bandwidth according to the signal energy attenuation value of the wireless link in the remaining bandwidth and the interference power spectrum density corresponding to the remaining bandwidth.
例如,若无线链路的当前带宽为10MHz,无线链路的其余带宽包括20MHz和40MHz,则获取10MHz带宽的目标干扰功率谱密度和20MHz带宽的目标干扰功率谱密度;若无线链路的当前带宽为20MHz,无线链路的其余带宽包括10MHz和40MHz,则获取20MHz带宽的目标干扰功率谱密度、10MHz带宽的目标干扰功率谱密度和40MHz带宽的目标干扰功率谱密度;若无线链路的当前带宽为40MHz,无线链路的其余带宽包括10MHz和20MHz,则获取40MHz带宽的目标干扰功率谱密度和20MHz带宽的目标干扰功率谱密度。For example, if the current bandwidth of the wireless link is 10MHz, and the remaining bandwidth of the wireless link includes 20MHz and 40MHz, the target interference power spectral density of the 10MHz bandwidth and the target interference power spectral density of the 20MHz bandwidth are obtained; if the current bandwidth of the wireless link 20MHz, the remaining bandwidth of the wireless link includes 10MHz and 40MHz, then obtain the target interference power spectral density of the 20MHz bandwidth, the target interference power spectral density of the 10MHz bandwidth, and the target interference power spectral density of the 40MHz bandwidth; if the current bandwidth of the wireless link If it is 40MHz, and the remaining bandwidth of the wireless link includes 10MHz and 20MHz, the target interference power spectral density of the 40MHz bandwidth and the target interference power spectral density of the 20MHz bandwidth are obtained.
S102、根据所述第一目标干扰功率谱密度和所述第二目标干扰功率谱密度,从所述其余带宽中确定目标带宽。S102. Determine a target bandwidth from the remaining bandwidths according to the first target interference power spectrum density and the second target interference power spectrum density.
其中,目标带宽的目标干扰功率谱密度小于第一目标干扰功率谱密度,即目标带宽的目标干扰功率谱密度小于当前带宽的目标干扰功率谱密度。Wherein, the target interference power spectrum density of the target bandwidth is smaller than the first target interference power spectrum density, that is, the target interference power spectrum density of the target bandwidth is smaller than the target interference power spectrum density of the current bandwidth.
在确定第一目标干扰功率谱密度和第二目标干扰功率谱密度后,当第一目标干扰功率谱密度小于第二目标干扰功率谱密度,则不需要切换无线链路的工 作带宽,则不需要从其余带宽中确定目标带宽;当第一目标干扰功率谱密度大于第二目标干扰功率谱密度,则需要从其余带宽中确定目标带宽。其中,目标带宽与当前带宽的比值等于第一预设比值或者第二预设比值,第一预设比值为0.5,第二预设比值为2。After determining the first target interference power spectrum density and the second target interference power spectrum density, when the first target interference power spectrum density is less than the second target interference power spectrum density, there is no need to switch the working bandwidth of the wireless link, and no The target bandwidth is determined from the remaining bandwidths; when the first target interference power spectrum density is greater than the second target interference power spectrum density, the target bandwidth needs to be determined from the remaining bandwidths. Wherein, the ratio of the target bandwidth to the current bandwidth is equal to the first preset ratio or the second preset ratio, the first preset ratio is 0.5, and the second preset ratio is 2.
例如,无线链路的当前带宽为10MHz,无线链路的其余带宽包括20MHz和40MHz,且10MHz带宽的目标干扰功率谱密度大于20MHz带宽的目标干扰功率谱密度,则将20MHz带宽作为无线链路的目标带宽;又例如,无线链路的当前带宽为40MHz,无线链路的其余带宽包括10MHz和20MHz,且40MHz带宽的目标干扰功率谱密度大于20MHz带宽的目标干扰功率谱密度,则将20MHz带宽作为无线链路的目标带宽。For example, the current bandwidth of the wireless link is 10MHz, the remaining bandwidths of the wireless link include 20MHz and 40MHz, and the target interference power spectral density of the 10MHz bandwidth is greater than the target interference power spectral density of the 20MHz bandwidth, then the 20MHz bandwidth is used as the wireless link Target bandwidth; for another example, the current bandwidth of the wireless link is 40MHz, the remaining bandwidth of the wireless link includes 10MHz and 20MHz, and the target interference power spectral density of the 40MHz bandwidth is greater than the target interference power spectral density of the 20MHz bandwidth, then the 20MHz bandwidth is taken as The target bandwidth of the wireless link.
再例如,无线链路的当前带宽为20MHz,无线链路的其余带宽包括10MHz和40MHz,且40MHz带宽的目标干扰功率谱密度小于20MHz带宽的目标干扰功率谱密度,10MHz带宽的目标干扰功率谱密度大于20MHz带宽的目标干扰功率谱密度,则将40MHz带宽作为无线链路的目标带宽,而40MHz带宽的目标干扰功率谱密度大于20MHz带宽的目标干扰功率谱密度,10MHz带宽的目标干扰功率谱密度小于20MHz带宽的目标干扰功率谱密度,则将10MHz带宽作为无线链路的目标带宽,而40MHz带宽的目标干扰功率谱密度小于20MHz带宽的目标干扰功率谱密度,10MHz带宽的目标干扰功率谱密度小于20MHz带宽的目标干扰功率谱密度,则将10MHz带宽或40MHz带宽作为无线链路的目标带宽。For another example, the current bandwidth of the wireless link is 20MHz, the remaining bandwidths of the wireless link include 10MHz and 40MHz, and the target interference power spectral density of the 40MHz bandwidth is less than the target interference power spectral density of the 20MHz bandwidth, and the target interference power spectral density of the 10MHz bandwidth If the target interference power spectral density is greater than 20MHz bandwidth, the 40MHz bandwidth is used as the target bandwidth of the wireless link, and the target interference power spectral density of 40MHz bandwidth is greater than the target interference power spectral density of 20MHz bandwidth, and the target interference power spectral density of 10MHz bandwidth is less than For the target interference power spectral density of 20MHz bandwidth, the 10MHz bandwidth is used as the target bandwidth of the wireless link, while the target interference power spectral density of 40MHz bandwidth is less than the target interference power spectral density of 20MHz bandwidth, and the target interference power spectral density of 10MHz bandwidth is less than 20MHz. For the target interference power spectral density of the bandwidth, the 10MHz bandwidth or 40MHz bandwidth is used as the target bandwidth of the wireless link.
S103、当确定所述无线链路满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,将所述无线链路的当前带宽切换为所述目标带宽。S103: When it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, switch the current bandwidth of the wireless link to the target bandwidth.
在确定目标带宽之后,需要进一步地确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件,当确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件时,将无线链路的当前带宽切换为目标带宽,而当确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件时,不切换无线链路的当前带宽。其中,不同带宽之间的带宽切换条件不同,例如,10MHz带宽切换为20MHz带宽的带宽切换条件、20MHz带宽切换为10MHz带宽的带宽条件、20MHz带宽切换为40MHz带宽的带宽切换条件和40MHz带宽切换为20MHz带宽的带宽切换条件各不相同。After determining the target bandwidth, it is necessary to further determine whether the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth. When it is determined that the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, the wireless link The current bandwidth of the wireless link is switched to the target bandwidth, and when it is determined that the wireless link does not meet the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, the current bandwidth of the wireless link is not switched. Among them, the bandwidth switching conditions between different bandwidths are different. For example, the bandwidth switching condition for switching from 10MHz bandwidth to 20MHz bandwidth, the bandwidth condition for switching from 20MHz bandwidth to 10MHz bandwidth, the bandwidth switching condition for switching from 20MHz bandwidth to 40MHz bandwidth, and the bandwidth switching condition for switching from 20MHz bandwidth to 40MHz bandwidth, and the bandwidth switching condition for switching from 20MHz bandwidth to 40MHz bandwidth are The bandwidth switching conditions of the 20MHz bandwidth are different.
在一实施例中,如图3所示,步骤S103具体包括:子步骤S1031a至S1032a。In an embodiment, as shown in FIG. 3, step S103 specifically includes: sub-steps S1031a to S1032a.
S1031a、当确定所述当前带宽和所述目标带宽均小于预设带宽时,获取所 述当前带宽的当前吞吐量以及所述目标带宽的极限吞吐量。S1031a: When it is determined that the current bandwidth and the target bandwidth are both smaller than the preset bandwidth, obtain the current throughput of the current bandwidth and the limit throughput of the target bandwidth.
当确定当前带宽和目标带宽均小于预设带宽时,当前带宽切换为目标带宽的带宽切换条件与当前带宽的当前吞吐量以及目标带宽的极限吞吐量有关,因此,获取当前带宽的当前吞吐量以及目标带宽的极限吞吐量。其中,极限吞吐量包括最大吞吐量和最小吞吐量,每个带宽的极限吞吐量可以提前计算确定,也可以实时计算确定,预设带宽可基于实际情况进行设置,本申请对此不做具体限定,例如,预设带宽为40MHz带宽。When it is determined that the current bandwidth and the target bandwidth are both less than the preset bandwidth, the bandwidth switching condition for switching the current bandwidth to the target bandwidth is related to the current throughput of the current bandwidth and the limit throughput of the target bandwidth. Therefore, the current throughput of the current bandwidth and The limit throughput of the target bandwidth. Among them, the limit throughput includes the maximum throughput and the minimum throughput. The limit throughput of each bandwidth can be calculated and determined in advance or in real time. The preset bandwidth can be set based on actual conditions, and this application does not specifically limit this For example, the preset bandwidth is 40MHz bandwidth.
例如,预设带宽为40MHz带宽,当前带宽为10MHz,目标带宽为20MHz,通过比较可知当前带宽和目标带宽均小于预设带宽,因此获取10MHz带宽的当前吞吐量以及20MHz带宽的极限吞吐量,又例如,当前带宽为20MHz,目标带宽为10MHz,通过比较可知当前带宽和目标带宽均小于预设带宽,因此获取20MHz带宽的当前吞吐量以及10MHz带宽的极限吞吐量。For example, the preset bandwidth is 40MHz bandwidth, the current bandwidth is 10MHz, and the target bandwidth is 20MHz. Through comparison, it can be seen that the current bandwidth and target bandwidth are both smaller than the preset bandwidth. Therefore, the current throughput of 10MHz bandwidth and the limit throughput of 20MHz bandwidth are obtained. For example, if the current bandwidth is 20MHz and the target bandwidth is 10MHz, it can be seen from comparison that both the current bandwidth and the target bandwidth are less than the preset bandwidth, so the current throughput of the 20MHz bandwidth and the limit throughput of the 10MHz bandwidth are obtained.
在一些实施方式中,每个带宽的极限吞吐量的确定方式具体为:获取每个带宽的极限MCS档位和预设下行子帧占比;根据每个带宽的极限MCS档位,确定每个带宽的极限传输块大小TBS,并根据每个带宽的极限传输块大小TBS和预设下行子帧占比,确定每个带宽的极限吞吐量。其中,极限MCS档位包括最大MCS档位和最小MCS档位,极限TBS包括最大TBS和最小TBS,MCS档位与TBS之间的关系是通过链路仿真确定的,预设下行子帧占比可基于实际情况进行设置,本申请对此不做具体限定,例如,预设下行子帧占比为0.8。In some embodiments, the method for determining the limit throughput of each bandwidth is specifically: obtaining the limit MCS gear of each bandwidth and the preset downlink subframe proportion; according to the limit MCS gear of each bandwidth, determining each The limit transmission block size TBS of the bandwidth, and the limit throughput of each bandwidth is determined according to the limit transmission block size TBS of each bandwidth and the preset downlink subframe ratio. Among them, the limit MCS gear includes the maximum MCS gear and the minimum MCS gear, and the limit TBS includes the maximum TBS and the minimum TBS. The relationship between the MCS gear and the TBS is determined through link simulation, and the downlink subframe ratio is preset It can be set based on actual conditions, which is not specifically limited in this application, for example, the preset downlink subframe ratio is 0.8.
S1032a、根据所述当前吞吐量以及所述极限吞吐量,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。S1032a: According to the current throughput and the limit throughput, determine whether the wireless link satisfies a bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
具体地,当确定当前带宽大于目标带宽,且当前吞吐量小于目标带宽的最大吞吐量时,确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件;当确定当前带宽大于目标带宽,且当前吞吐量大于或等于目标带宽的最大吞吐量时,确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件。通过比较当前带宽的当前吞吐量和目标带宽的极限吞吐量,可以防止无线链路切换带宽后无线链路的吞吐量发生突变,提高无线链路的传输可靠性。Specifically, when it is determined that the current bandwidth is greater than the target bandwidth, and the current throughput is less than the maximum throughput of the target bandwidth, it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; when it is determined that the current bandwidth is greater than the target bandwidth, and When the current throughput is greater than or equal to the maximum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition for switching from the current bandwidth to the target bandwidth. By comparing the current throughput of the current bandwidth with the limit throughput of the target bandwidth, it is possible to prevent a sudden change in the throughput of the wireless link after the bandwidth of the wireless link is switched, and to improve the transmission reliability of the wireless link.
例如,当前带宽为20MHz带宽,目标带宽为10MHz带宽,在20MHz带宽的当前吞吐量小于10MHz带宽的最大吞吐量时,确定无线链路满足由20MHz带宽切换为10MHz带宽的带宽切换条件;在20MHz带宽的当前吞吐量大于或等于10MHz带宽的最大吞吐量时,确定无线链路不满足由20MHz带宽切换为10MHz带宽的带宽切换条件。For example, the current bandwidth is 20MHz bandwidth, and the target bandwidth is 10MHz bandwidth. When the current throughput of 20MHz bandwidth is less than the maximum throughput of 10MHz bandwidth, it is determined that the wireless link meets the bandwidth switching conditions for switching from 20MHz bandwidth to 10MHz bandwidth; in 20MHz bandwidth When the current throughput is greater than or equal to the maximum throughput of the 10MHz bandwidth, it is determined that the wireless link does not meet the bandwidth switching condition for switching from the 20MHz bandwidth to the 10MHz bandwidth.
具体地,当确定当前带宽小于目标带宽,且当前吞吐量大于目标带宽的最小吞吐量时,确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件;当确定当前带宽小于目标带宽,且当前吞吐量小于或等于目标带宽的最小吞吐量时,确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件。Specifically, when it is determined that the current bandwidth is less than the target bandwidth and the current throughput is greater than the minimum throughput of the target bandwidth, it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; when it is determined that the current bandwidth is less than the target bandwidth, and When the current throughput is less than or equal to the minimum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
例如,当前带宽为10MHz带宽,目标带宽为20MHz带宽,在10MHz带宽的当前吞吐量大于20MHz带宽的最小吞吐量时,确定无线链路满足由10MHz带宽切换为20MHz带宽的带宽切换条件;在10MHz带宽的当前吞吐量小于或等于20MHz带宽的最小吞吐量时,确定无线链路不满足由10MHz带宽切换为20MHz带宽的带宽切换条件。For example, the current bandwidth is 10MHz bandwidth, and the target bandwidth is 20MHz bandwidth. When the current throughput of 10MHz bandwidth is greater than the minimum throughput of 20MHz bandwidth, it is determined that the wireless link meets the bandwidth switching conditions for switching from 10MHz bandwidth to 20MHz bandwidth; in 10MHz bandwidth When the current throughput of is less than or equal to the minimum throughput of the 20MHz bandwidth, it is determined that the wireless link does not meet the bandwidth switching condition for switching from the 10MHz bandwidth to the 20MHz bandwidth.
在一实施例中,如图4所示,步骤S103具体包括:子步骤S1031b至S1032b。In an embodiment, as shown in FIG. 4, step S103 specifically includes: sub-steps S1031b to S1032b.
S1031b、当确定所述当前带宽或者所述目标带宽大于或者等于预设带宽时,获取介质访问控制层MAC的MCS调度信息。S1031b: When it is determined that the current bandwidth or the target bandwidth is greater than or equal to a preset bandwidth, obtain the MCS scheduling information of the media access control layer MAC.
其中,介质访问控制层(Medium Access Control,MAC)主要负责无线链路中的信道承接以及当前带宽的MCS档位的调度,并生成MCS调度信息,MCS调度信息包括MCS调度数组,MCS调度数组为先进先出数组,MCS调度数组包括预设数量的调度后的MCS档位,每次介质访问控制层MAC调度当前带宽的MCS档位后,基于调度后的MCS档位更新MCS调度数组。Among them, the medium access control layer (Medium Access Control, MAC) is mainly responsible for the channel reception in the wireless link and the scheduling of the MCS gear of the current bandwidth, and generates the MCS scheduling information. The MCS scheduling information includes the MCS scheduling array, and the MCS scheduling array is First-in-first-out array, the MCS scheduling array includes a preset number of scheduled MCS stalls. Each time the media access control layer MAC schedules the MCS stalls of the current bandwidth, the MCS scheduling array is updated based on the scheduled MCS stalls.
当确定当前带宽或者目标带宽大于或等于预设带宽时,当前带宽切换为目标带宽的带宽切换条件与介质访问控制层MAC的MCS调度信息有关,因此获取介质访问控制层MAC的MCS调度信息。通过MCS调度信息可以知晓无线链路的业务数据量的需求,通过业务数据量的需求可以确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件。When it is determined that the current bandwidth or the target bandwidth is greater than or equal to the preset bandwidth, the bandwidth switching condition for switching the current bandwidth to the target bandwidth is related to the MCS scheduling information of the media access control layer MAC, so the MCS scheduling information of the media access control layer MAC is obtained. Through the MCS scheduling information, the demand for the amount of service data of the wireless link can be known, and the demand for the amount of service data can be used to determine whether the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
在一些实施方式中,无人机和控制终端的无线链路采用2.4GHz和5.8GHz为中心频点的ISM频段,而2.4GHz和5.8GHz对应的ISM频段总共可用的带宽为218MHz。以多个带宽包括10MHz带宽、20MHz带宽和40MHz带宽为例,当无线链路的工作带宽切换到40MHz时,218MHz仅可划分5个信道,在多个无人机同时运行的情况下容易造成多个无人机之间的相互干扰,因此,40MHz带宽需要根据业务数据量的需求来判断是否启用,当业务数据量的需求不大时需要将40MHz的带宽切换至20MHz带宽或10MHz带宽。也就是说,通过业务数据量的需求确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件,可以进一步提高无线链路的抗干扰性能。In some embodiments, the wireless link between the drone and the control terminal uses the ISM frequency band with 2.4 GHz and 5.8 GHz as the center frequency, and the total available bandwidth of the ISM frequency band corresponding to 2.4 GHz and 5.8 GHz is 218 MHz. Taking multiple bandwidths including 10MHz bandwidth, 20MHz bandwidth, and 40MHz bandwidth as an example, when the working bandwidth of the wireless link is switched to 40MHz, 218MHz can only be divided into 5 channels, which is likely to cause multiple channels when multiple drones are running at the same time. There is mutual interference between drones. Therefore, the 40MHz bandwidth needs to be activated according to the demand of the business data volume. When the demand for the business data volume is not large, the 40MHz bandwidth needs to be switched to the 20MHz bandwidth or the 10MHz bandwidth. That is to say, determining whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth based on the demand for the amount of service data can further improve the anti-interference performance of the wireless link.
S1032b、根据所述MCS调度信息确定所述无线链路是否满足由所述当前 带宽切换为所述目标带宽的带宽切换条件。S1032b. Determine, according to the MCS scheduling information, whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
具体地,当确定当前带宽小于目标带宽时,根据MCS调度数组和当前带宽的最大MCS档位确定无线链路的满调度率;当确定满调度率大于或等于预设满调度率时,确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件;当确定满调度率小于预设满调度率时,确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件。其中,预设满调度率可以根据实际情况进行设置,本申请对此不做具体限定,例如,预设满调度率为0.8。通过无线链路的满调度率能够准确地确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件。Specifically, when it is determined that the current bandwidth is less than the target bandwidth, the full scheduling rate of the wireless link is determined according to the MCS scheduling array and the maximum MCS gear of the current bandwidth; when it is determined that the full scheduling rate is greater than or equal to the preset full scheduling rate, the wireless link is determined The link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; when it is determined that the full scheduling rate is less than the preset full scheduling rate, it is determined that the wireless link does not meet the bandwidth switching condition for switching from the current bandwidth to the target bandwidth. Among them, the preset full scheduling rate can be set according to actual conditions, which is not specifically limited in this application, for example, the preset full scheduling rate is 0.8. The full scheduling rate of the wireless link can accurately determine whether the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
其中,无线链路的质量越高,信噪比越大,最大MCS档位的取值越大,取最大MCS档位传输数据时,错包率在10%以下,具体地,根据无线链路中接收端(控制终端)的NACK和ACK反馈,确定最大MCS档位,例如NACK表示接收端(控制终端)无法解调、解调错误或没有收到下行数据,ACK表示接收端(控制终端)对下行数据解调成功,经过统计可以自适应的计算出满足错包率小于10%的MCS档位,即最大MCS档位。Among them, the higher the quality of the wireless link, the greater the signal-to-noise ratio, and the greater the value of the maximum MCS gear. When the maximum MCS gear is used to transmit data, the packet error rate is below 10%. Specifically, according to the wireless link In the NACK and ACK feedback of the receiving end (control terminal), determine the maximum MCS gear. For example, NACK indicates that the receiving end (control terminal) cannot demodulate, demodulates the error or does not receive downlink data, and ACK indicates the receiving end (control terminal) The downlink data is successfully demodulated, and the MCS gear that satisfies the packet error rate of less than 10% can be adaptively calculated through statistics, that is, the maximum MCS gear.
在一些实施方式中,根据MCS调度数组和当前带宽的最大MCS档位确定无线链路的满调度率的方式具体为:统计该MCS调度数组中的MCS档位等于当前带宽的最大MCS档位的数量,得到目标数量;根据预设数量和目标数量确定无线链路的满调度率。其中,预设数量可基于实际情况进行设置,本申请对此不做具体限定,例如,预设数量为500,该MCS调度数组中的MCS档位等于当前带宽的最大MCS档位的数量为400,则无线链路的满调度率为400除以500等于0.8。In some embodiments, the method of determining the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth is specifically: counting the MCS gears in the MCS scheduling array equal to the maximum MCS gear of the current bandwidth. The number, the target number is obtained; the full scheduling rate of the wireless link is determined according to the preset number and the target number. Among them, the preset number can be set based on the actual situation, and this application does not specifically limit this. For example, the preset number is 500, and the number of MCS gears in the MCS scheduling array equal to the maximum MCS gear of the current bandwidth is 400 , The full scheduling rate of the wireless link is 400 divided by 500 equals 0.8.
例如,当前带宽为20MHz带宽,目标带宽为40MHz带宽,则获取20MHz带宽的MCS调度数组,MCS调度数组包括500个调度后的MCS档位,且该MCS调度数组中的MCS档位等于当前带宽的最大MCS档位的数量为450,则无线链路在20MHz带宽下的满调度率为450除以500等于0.9,大于预设满调度率0.8,因此,可以确定无线链路满足由20MHz带宽切换为40MHz带宽的带宽切换条件。For example, if the current bandwidth is 20MHz bandwidth and the target bandwidth is 40MHz bandwidth, the MCS scheduling array of 20MHz bandwidth is obtained. The MCS scheduling array includes 500 scheduled MCS gears, and the MCS gears in the MCS scheduling array are equal to the current bandwidth The maximum number of MCS gears is 450, then the full scheduling rate of the wireless link under the 20MHz bandwidth is 450 divided by 500 equals 0.9, which is greater than the preset full scheduling rate 0.8. Therefore, it can be determined that the wireless link meets the requirement of switching from 20MHz bandwidth to Bandwidth switching conditions of 40MHz bandwidth.
在一些实施方式中,当确定满调度率大于或等于预设阈值时,进一步地获取无线链路在当前带宽下的每个信道的干扰功率谱密度;根据无线链路在当前带宽下的每个信道的干扰功率谱密度,确定是否存在连续的两个信道的干扰功率谱密度均小于第一预设阈值;当确定存在连续的两个信道的干扰功率谱密度 均小于第一预设阈值,且连续的两个信道的干扰功率谱密度的差值小于或等于第二预设阈值,则确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件。通过在确定满调度率大于或等于预设阈值时,进一步地根据无线链路在当前带宽下的每个信道的干扰功率谱密度可以准确地确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件。In some embodiments, when it is determined that the full scheduling rate is greater than or equal to the preset threshold, the interference power spectrum density of each channel of the wireless link under the current bandwidth is further obtained; The interference power spectral density of the channel is determined whether there are two consecutive channels whose interference power spectral densities are both smaller than the first preset threshold; when it is determined that there are two consecutive channels whose interference power spectral densities are both smaller than the first preset threshold, and If the difference between the interference power spectral densities of the two consecutive channels is less than or equal to the second preset threshold, it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth. When it is determined that the full scheduling rate is greater than or equal to the preset threshold, the interference power spectrum density of each channel of the wireless link under the current bandwidth can be used to accurately determine whether the wireless link meets the requirement of switching from the current bandwidth to the target bandwidth. Bandwidth switching conditions.
在一些实施方式中,当确定不存在连续的两个信道的干扰功率谱密度均小于第一预设阈值时,确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件;或者当确定存在连续的两个信道的干扰功率谱密度均小于第一预设阈值,而连续的两个信道的干扰功率谱密度的差值大于第二预设阈值时,确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件。In some embodiments, when it is determined that there is no interference power spectrum density of two consecutive channels that are both less than the first preset threshold, it is determined that the wireless link does not meet the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; or when it is determined When the interference power spectral densities of two consecutive channels are less than the first preset threshold, and the difference between the interference power spectral densities of the two consecutive channels is greater than the second preset threshold, it is determined that the wireless link does not meet the requirements of the current bandwidth Switch to the bandwidth switching condition of the target bandwidth.
在一些实施方式中,MCS调度信息包括当前带宽下的连续的第一信道和第二信道分别对应的第一MCS调度数组和第二MCS调度数组,第一MCS调度数组和第二MCS调度数组均包括预设数量的调度后的MCS档位,根据MCS调度信息确定无线链路是否满足由所述当前带宽切换为目标带宽的带宽切换条件的方式具体为:当确定当前带宽大于目标带宽时,获取第一信道的最大MCS档位和第二信道的最大MCS档位;根据第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位,确定带宽切换指数;当确定带宽切换指数大于或等于预设带宽切换指数时,确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件;当确定带宽切换指数小于预设带宽切换指数时,确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件。In some embodiments, the MCS scheduling information includes the first MCS scheduling array and the second MCS scheduling array respectively corresponding to the continuous first channel and the second channel under the current bandwidth. Both the first MCS scheduling array and the second MCS scheduling array are The method for determining whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth according to the MCS scheduling information includes a preset number of scheduled MCS gear positions: when it is determined that the current bandwidth is greater than the target bandwidth, obtain The maximum MCS gear of the first channel and the maximum MCS gear of the second channel; determine according to the first MCS scheduling array, the second MCS scheduling array, the maximum MCS gear of the first channel, and the maximum MCS gear of the second channel Bandwidth switching index; when it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, it is determined that the wireless link meets the bandwidth switching conditions for switching from the current bandwidth to the target bandwidth; when the bandwidth switching index is determined to be less than the preset bandwidth switching index, it is determined The wireless link does not meet the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
其中,带宽切换指数越大,则无线链路满足由当前带宽切换为目标带宽的带宽切换条件的概率就越小,而带宽切换指数越大,则无线链路满足由当前带宽切换为目标带宽的带宽切换条件的概率就越小,预设带宽切换指数可基于实际情况进行设置,本申请对此不做具体限定,例如,预设带宽切换指数为0.8。Among them, the larger the bandwidth switching index, the smaller the probability that the wireless link meets the bandwidth switching condition of switching from the current bandwidth to the target bandwidth, and the larger the bandwidth switching index, the wireless link meets the requirement of switching from the current bandwidth to the target bandwidth. The lower the probability of the bandwidth switching condition, the preset bandwidth switching index can be set based on actual conditions, which is not specifically limited in this application, for example, the preset bandwidth switching index is 0.8.
例如,当前带宽为40MHz带宽,目标带宽为20MHz带宽,则获取40MHz带宽的连续的第一信道的最大MCS档位和第二信道的最大MCS档位,通过第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位确定的带宽切换指数为0.85,且预设带宽切换指数为0.8,因此可以确定无线链路满足由40MHz带宽切换为20MHz带宽的带宽切换条件。For example, if the current bandwidth is 40MHz bandwidth and the target bandwidth is 20MHz bandwidth, then obtain the maximum MCS gear of the first channel and the maximum MCS gear of the second channel of continuous 40MHz bandwidth, through the first MCS scheduling array and the second MCS scheduling The bandwidth switching index determined by the array, the maximum MCS gear of the first channel and the maximum MCS gear of the second channel is 0.85, and the preset bandwidth switching index is 0.8, so it can be determined that the wireless link satisfies the switching from 40MHz bandwidth to 20MHz bandwidth The bandwidth switching conditions.
在一些实施方式中,根据第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位,确定带宽切换指数的方式 具体为:统计第一MCS调度数组中MCS档位小于或等于第一信道的最大MCS档位的二分之一的数量,得到第一数量;统计第二MCS调度数组中MCS档位小于或等于第二信道的最大MCS档位的二分之一的数量,得到第二数量;根据第一数量、第二数量和预设数量确定带宽切换指数,即确定第一数量占据预设数量的百分比,得到第一带宽切换指数,并确定第一数量占据预设数量的百分比,得到第二带宽切换指数,然后计算第一带宽切换指数与第二带宽切换指数的平均值,并将第一带宽切换指数与第二带宽切换指数的平均值作为带宽切换指数。In some embodiments, according to the first MCS scheduling array, the second MCS scheduling array, the maximum MCS gear of the first channel, and the maximum MCS gear of the second channel, the method of determining the bandwidth switching index is specifically: counting the first MCS The number of MCS gears in the scheduling array that is less than or equal to one-half of the largest MCS gear of the first channel to obtain the first number; statistics of the MCS gears in the second MCS scheduling array are less than or equal to the largest MCS gear of the second channel One-half of the number of bits to obtain the second number; determine the bandwidth switching index according to the first number, the second number, and the preset number, that is, determine the percentage of the first number occupies the preset number to obtain the first bandwidth switching index, And determine the percentage that the first number occupies the preset number to obtain the second bandwidth switching index, and then calculate the average value of the first bandwidth switching index and the second bandwidth switching index, and calculate the difference between the first bandwidth switching index and the second bandwidth switching index The average value is used as the bandwidth switching index.
在一些实施方式中,当确定第一带宽切换指数和第二带宽切换指数均大于或等于预设带宽切换指数时,确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件;当确定第一带宽切换指数和/或第二带宽切换指数小于预设带宽切换指数时,确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件。通过第一带宽切换指数和第二带宽切换指数可以准确地确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件。In some embodiments, when it is determined that the first bandwidth switching index and the second bandwidth switching index are both greater than or equal to the preset bandwidth switching index, it is determined that the wireless link meets the bandwidth switching condition for switching from the current bandwidth to the target bandwidth; When the first bandwidth switching index and/or the second bandwidth switching index are less than the preset bandwidth switching index, it is determined that the wireless link does not satisfy the bandwidth switching condition for switching from the current bandwidth to the target bandwidth. Through the first bandwidth switching index and the second bandwidth switching index, it can be accurately determined whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
在一些实施方式中,当确定带宽切换指数大于或等于预设带宽切换指数时,获取当前带宽的当前吞吐量和目标带宽的最大MCS档位;根据当前带宽的当前吞吐量和目标带宽的最大MCS档位,确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件。在确定带宽切换指数大于或等于预设带宽切换指数时,进一步地根据当前带宽的当前吞吐量和目标带宽的最大MCS档位可以进一步准确地确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件。In some embodiments, when it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth are obtained; the current throughput of the current bandwidth and the maximum MCS of the target bandwidth are obtained. The gear position determines whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth. When it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth can further accurately determine whether the wireless link meets the requirement of switching from the current bandwidth to the target bandwidth. Bandwidth switching conditions.
在一些实施方式中,根据当前带宽的当前吞吐量和目标带宽的最大MCS档位,确定无线链路是否满足由当前带宽切换为目标带宽的带宽切换条件的方式具体为:根据目标带宽的最大MCS档位,确定目标带宽的最大吞吐量;当确定目标带宽的最大吞吐量大于或等于当前带宽的当前吞吐量时,确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件;当确定目标带宽的最大吞吐量小于当前带宽的当前吞吐量时,确定无线链路不满足由当前带宽切换为目标带宽的带宽切换条件。其中,最大MCS档位、带宽和最大吞吐量之间的关系可以通过链路仿真得到,本申请对此不做具体限定。In some embodiments, according to the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth, the method of determining whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth is specifically: according to the maximum MCS of the target bandwidth The gear position determines the maximum throughput of the target bandwidth; when it is determined that the maximum throughput of the target bandwidth is greater than or equal to the current throughput of the current bandwidth, it is determined that the wireless link meets the bandwidth switching condition of switching from the current bandwidth to the target bandwidth; when the target is determined When the maximum throughput of the bandwidth is less than the current throughput of the current bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition for switching from the current bandwidth to the target bandwidth. Among them, the relationship between the maximum MCS gear, bandwidth, and maximum throughput can be obtained through link simulation, which is not specifically limited in this application.
上述实施例提供的带宽切换方法,通过获取无线链路在当前带宽下的第一目标干扰功率谱密度以及在其余带宽下的第二目标干扰功率谱密度,并根据第一目标干扰功率谱密度和第二目标干扰功率谱密度,从其余带宽中确定目标带 宽,当确定无线链路满足由当前带宽切换为目标带宽的带宽切换条件时,将无线链路的当前带宽切换为目标带宽,能够准确的切换无线链路的工作带宽,提高无线链路的抗干扰性,保证无线链路的传输可靠性。The bandwidth switching method provided by the foregoing embodiment obtains the first target interference power spectral density under the current bandwidth of the wireless link and the second target interference power spectral density under the remaining bandwidth, and according to the sum of the first target interference power spectral density The second target interference power spectrum density is to determine the target bandwidth from the remaining bandwidths. When it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, the current bandwidth of the wireless link is switched to the target bandwidth, which can accurately Switch the working bandwidth of the wireless link, improve the anti-interference of the wireless link, and ensure the transmission reliability of the wireless link.
请参阅图5,图5是本申请实施例提供的一种带宽切换装置的结构示意性框图。如图5所示,带宽切换装置300包括处理器301和存储器302,处理器301和存储器302通过总线303连接,该总线303比如为I2C(Inter-integrated Circuit)总线。带宽切换装置300用于控制无线链路的工作带宽在多个带宽之间切换,多个带宽包括10MHz带宽、20MHz带宽和40MHz带宽。Please refer to FIG. 5, which is a schematic block diagram of the structure of a bandwidth switching apparatus provided by an embodiment of the present application. As shown in FIG. 5, the bandwidth switching device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected by a bus 303, which is, for example, an I2C (Inter-integrated Circuit) bus. The bandwidth switching device 300 is used to control the operating bandwidth of the wireless link to switch between multiple bandwidths, and the multiple bandwidths include 10 MHz bandwidth, 20 MHz bandwidth, and 40 MHz bandwidth.
具体地,处理器301可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 301 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器302可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
其中,所述处理器301用于运行存储在存储器302中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor 301 is configured to run a computer program stored in the memory 302, and implement the following steps when the computer program is executed:
获取所述无线链路在当前带宽下的第一目标干扰功率谱密度以及在其余带宽下的第二目标干扰功率谱密度,所述其余带宽为所述多个带宽中除所述当前带宽以外的带宽;Acquire the first target interference power spectral density under the current bandwidth and the second target interference power spectral density under the remaining bandwidth of the wireless link, where the remaining bandwidth is the number of bandwidths other than the current bandwidth bandwidth;
根据所述第一目标干扰功率谱密度和所述第二目标干扰功率谱密度,从所述其余带宽中确定目标带宽;Determine a target bandwidth from the remaining bandwidths according to the first target interference power spectral density and the second target interference power spectral density;
当确定所述无线链路满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,将所述无线链路的当前带宽切换为所述目标带宽。When it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, switching the current bandwidth of the wireless link to the target bandwidth.
可选地,所述处理器实现获取所述无线链路在当前带宽下的第一目标干扰功率谱密度时,用于实现:Optionally, when the processor implements the acquisition of the first target interference power spectral density of the wireless link under the current bandwidth, it is used to implement:
获取所述无线链路在当前带宽下的每个信道的干扰功率谱密度;Acquiring the interference power spectral density of each channel of the wireless link under the current bandwidth;
根据所述当前带宽下的每个信道的干扰功率谱密度确定所述无线链路在当前带宽下的第一目标干扰功率谱密度。The first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density of each channel under the current bandwidth.
可选地,所述处理器实现根据所述当前带宽下每个信道的干扰功率谱密度确定所述无线链路在当前带宽下的第一目标干扰功率谱密度时,用于实现:Optionally, when the processor is configured to determine the first target interference power spectral density of the wireless link under the current bandwidth according to the interference power spectral density of each channel under the current bandwidth, the processor is configured to implement:
获取所述当前带宽下的当前调制与解调策略MCS档位,并根据所述当前带宽下的当前MCS档位确定所述当前带宽下的信号能量衰减值;Acquiring the current modulation and demodulation strategy MCS gear under the current bandwidth, and determining the signal energy attenuation value under the current bandwidth according to the current MCS gear under the current bandwidth;
根据所述当前带宽下每个信道的干扰功率谱密度确定所述当前带宽对应的 干扰功率谱密度;Determine the interference power spectral density corresponding to the current bandwidth according to the interference power spectral density of each channel under the current bandwidth;
根据所述当前带宽对应的干扰功率谱密度和所述信号能量衰减值确定所述无线链路在当前带宽下的第一目标干扰功率谱密度。The first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density corresponding to the current bandwidth and the signal energy attenuation value.
可选地,所述处理器实现根据所述当前带宽下的每个信道的干扰功率谱密度确定所述当前带宽对应的干扰功率谱密度时,用于实现:Optionally, when the processor determines the interference power spectrum density corresponding to the current bandwidth according to the interference power spectrum density of each channel under the current bandwidth, it is used to implement:
将所述当前带宽下的每个信道的干扰功率谱密度中的最小干扰功率谱密度作为所述当前带宽对应的干扰功率谱密度。The minimum interference power spectrum density in the interference power spectrum density of each channel under the current bandwidth is used as the interference power spectrum density corresponding to the current bandwidth.
可选地,所述目标带宽的目标干扰功率谱密度小于所述第一目标干扰功率谱密度。Optionally, the target interference power spectral density of the target bandwidth is less than the first target interference power spectral density.
可选地,所述目标带宽与所述当前带宽的比值等于第一预设比值或者第二预设比值。Optionally, the ratio of the target bandwidth to the current bandwidth is equal to a first preset ratio or a second preset ratio.
可选地,所述处理器还用于实现以下步骤:Optionally, the processor is further configured to implement the following steps:
当确定所述当前带宽和所述目标带宽均小于预设带宽时,获取所述当前带宽的当前吞吐量以及所述目标带宽的极限吞吐量;When it is determined that the current bandwidth and the target bandwidth are both smaller than the preset bandwidth, acquiring the current throughput of the current bandwidth and the limit throughput of the target bandwidth;
根据所述当前吞吐量以及所述极限吞吐量,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。According to the current throughput and the limit throughput, it is determined whether the wireless link satisfies a bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
可选地,所述极限吞吐量包括最大吞吐量和最小吞吐量中的任一项;所述处理器实现根据所述当前吞吐量以及所述极限吞吐量,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,用于实现:Optionally, the limit throughput includes any one of a maximum throughput and a minimum throughput; the processor realizes that according to the current throughput and the limit throughput, it is possible to determine whether the wireless link satisfies the When the current bandwidth is switched to the bandwidth switching condition of the target bandwidth, it is used to realize:
当确定所述当前带宽大于所述目标带宽,且所述当前吞吐量小于所述目标带宽的最大吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the current bandwidth is greater than the target bandwidth and the current throughput is less than the maximum throughput of the target bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
当确定所述当前带宽大于所述目标带宽,且所述当前吞吐量大于或等于所述目标带宽的最大吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the current bandwidth is greater than the target bandwidth, and the current throughput is greater than or equal to the maximum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
可选地,所述处理器还用于实现以下步骤:Optionally, the processor is further configured to implement the following steps:
当确定所述当前带宽小于所述目标带宽,且所述当前吞吐量大于所述目标带宽的最小吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the current bandwidth is less than the target bandwidth and the current throughput is greater than the minimum throughput of the target bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
当确定所述当前带宽小于所述目标带宽,且所述当前吞吐量小于或等于所述目标带宽的最小吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the current bandwidth is less than the target bandwidth, and the current throughput is less than or equal to the minimum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
可选地,所述处理器还用于实现以下步骤:Optionally, the processor is further configured to implement the following steps:
当确定所述当前带宽或者所述目标带宽大于或者等于预设带宽时,获取介质访问控制层MAC的MCS调度信息;When it is determined that the current bandwidth or the target bandwidth is greater than or equal to the preset bandwidth, acquiring the MCS scheduling information of the MAC of the media access control layer;
根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换 为所述目标带宽的带宽切换条件。According to the MCS scheduling information, it is determined whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
可选地,所述MCS调度信息包括MCS调度数组,所述MCS调度数组包括预设数量的调度后的MCS档位;所述处理器实现根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,用于实现:Optionally, the MCS scheduling information includes an MCS scheduling array, and the MCS scheduling array includes a preset number of scheduled MCS gears; the processor realizes that according to the MCS scheduling information, it is possible to determine whether the wireless link meets the requirements. When the current bandwidth is switched to the bandwidth switching condition of the target bandwidth, it is used to realize:
当确定所述当前带宽小于所述目标带宽时,根据所述MCS调度数组和所述当前带宽的最大MCS档位确定所述无线链路的满调度率;When it is determined that the current bandwidth is less than the target bandwidth, determine the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth;
当确定所述满调度率大于或等于预设满调度率时,确定所述无线链路满足所述带宽切换条件;When it is determined that the full scheduling rate is greater than or equal to the preset full scheduling rate, determining that the wireless link satisfies the bandwidth switching condition;
当确定所述满调度率小于预设满调度率时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the full scheduling rate is less than the preset full scheduling rate, it is determined that the wireless link does not satisfy the bandwidth switching condition.
可选地,所述处理器实现根据所述MCS调度数组和所述当前带宽的最大MCS档位确定所述无线链路的满调度率时,用于实现:Optionally, when the processor realizes the determination of the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth, it is used to realize:
统计所述MCS调度数组中的MCS档位等于所述当前带宽的最大MCS档位的数量,得到目标数量;Count the number of MCS gears in the MCS scheduling array equal to the maximum MCS gears of the current bandwidth to obtain the target number;
根据所述预设数量和所述目标数量确定所述无线链路的满调度率。Determine the full scheduling rate of the wireless link according to the preset number and the target number.
可选地,所述处理器还用于实现以下步骤:Optionally, the processor is further configured to implement the following steps:
当确定所述满调度率大于或等于预设阈值时,获取所述无线链路在当前带宽下的每个信道的干扰功率谱密度;When it is determined that the full scheduling rate is greater than or equal to a preset threshold, acquiring the interference power spectral density of each channel of the wireless link under the current bandwidth;
根据所述无线链路在当前带宽下的每个信道的干扰功率谱密度,确定是否存在连续的两个信道的干扰功率谱密度均小于第一预设阈值;Determine, according to the interference power spectrum density of each channel of the wireless link under the current bandwidth, whether there are two consecutive channels whose interference power spectrum density is both less than a first preset threshold;
当确定存在连续的两个信道的干扰功率谱密度均小于第一预设阈值,且连续的两个信道的干扰功率谱密度的差值小于或等于第二预设阈值,则确定所述无线链路满足所述带宽切换条件。When it is determined that the interference power spectral densities of two consecutive channels are less than the first preset threshold, and the difference between the interference power spectral densities of the two consecutive channels is less than or equal to the second preset threshold, the wireless link is determined The path meets the bandwidth switching condition.
可选地,所述处理器还用于实现以下步骤:Optionally, the processor is further configured to implement the following steps:
当确定不存在连续的两个信道的干扰功率谱密度均小于第一预设阈值时,确定所述无线链路不满足所述带宽切换条件;或者When it is determined that there are no interference power spectral densities of two consecutive channels that are both less than the first preset threshold, it is determined that the wireless link does not meet the bandwidth switching condition; or
当确定存在连续的两个信道的干扰功率谱密度均小于第一预设阈值,而连续的两个信道的干扰功率谱密度的差值大于第二预设阈值时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the interference power spectral densities of two consecutive channels are both smaller than the first preset threshold, and the difference between the interference power spectral densities of the two consecutive channels is greater than the second preset threshold, it is determined that the wireless link is not Meet the bandwidth switching condition.
可选地,所述MCS调度信息包括所述当前带宽下的连续的第一信道和第二信道分别对应的第一MCS调度数组和第二MCS调度数组,所述第一MCS 调度数组和第二MCS调度数组均包括预设数量的调度后的MCS档位;所述处理器实现根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,用于实现:Optionally, the MCS scheduling information includes a first MCS scheduling array and a second MCS scheduling array respectively corresponding to the continuous first channel and the second channel under the current bandwidth, the first MCS scheduling array and the second MCS scheduling array The MCS scheduling arrays each include a preset number of scheduled MCS gear positions; the processor can determine whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth according to the MCS scheduling information When used to achieve:
当确定所述当前带宽大于所述目标带宽时,获取所述第一信道的最大MCS档位和所述第二信道的最大MCS档位;When it is determined that the current bandwidth is greater than the target bandwidth, acquiring the maximum MCS gear of the first channel and the maximum MCS gear of the second channel;
根据所述第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位,确定带宽切换指数;Determine the bandwidth switching index according to the first MCS scheduling array, the second MCS scheduling array, the maximum MCS gear of the first channel, and the maximum MCS gear of the second channel;
当确定所述带宽切换指数大于或等于预设带宽切换指数时,确定所述无线链路满足所述带宽切换条件;When it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, determining that the wireless link satisfies the bandwidth switching condition;
当确定所述带宽切换指数小于预设带宽切换指数时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the bandwidth switching index is less than the preset bandwidth switching index, it is determined that the wireless link does not satisfy the bandwidth switching condition.
可选地,所述处理器实现根据所述第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位,确定带宽切换指数时,用于实现:Optionally, the processor is configured to determine the bandwidth switching index according to the first MCS scheduling array, the second MCS scheduling array, the maximum MCS gear of the first channel, and the maximum MCS gear of the second channel. accomplish:
统计所述第一MCS调度数组中MCS档位小于或等于所述第一信道的最大MCS档位的二分之一的数量,得到第一数量;Counting the number of MCS gears in the first MCS scheduling array that is less than or equal to one-half of the maximum MCS gear of the first channel to obtain the first number;
统计所述第二MCS调度数组中MCS档位小于或等于所述第二信道的最大MCS档位的二分之一的数量,得到第二数量;Counting the number of MCS gears in the second MCS scheduling array that is less than or equal to one-half of the maximum MCS gear of the second channel to obtain a second number;
根据所述第一数量、第二数量和预设数量确定带宽切换指数。The bandwidth switching index is determined according to the first number, the second number, and the preset number.
可选地,所述处理器还用于实现以下步骤:Optionally, the processor is further configured to implement the following steps:
当确定所述带宽切换指数大于或等于预设带宽切换指数时,获取所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位;When it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, acquiring the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth;
根据所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。According to the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth, it is determined whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
可选地,所述处理器实现根据所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,用于实现:Optionally, the processor determines whether the wireless link satisfies the bandwidth for switching from the current bandwidth to the target bandwidth according to the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth. When switching conditions, it is used to achieve:
根据所述目标带宽的最大MCS档位,确定所述目标带宽的最大吞吐量;Determine the maximum throughput of the target bandwidth according to the maximum MCS gear of the target bandwidth;
当确定所述目标带宽的最大吞吐量大于或等于所述当前带宽的当前吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the maximum throughput of the target bandwidth is greater than or equal to the current throughput of the current bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
当确定所述目标带宽的最大吞吐量小于所述当前带宽的当前吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the maximum throughput of the target bandwidth is less than the current throughput of the current bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的带宽切换装置的具体工作过程,可以参考前述带宽切换方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the bandwidth switching device described above can refer to the corresponding process in the foregoing bandwidth switching method embodiment. Go into details again.
请参阅图6,图6是本申请实施例提供的一种无人机的结构示意性框图。Please refer to FIG. 6, which is a schematic block diagram of the structure of an unmanned aerial vehicle according to an embodiment of the present application.
如图6所示,无人机400包括拍摄装置401和带宽切换装置402,该带宽切换装置402可以实现如本申请说明书提供的任一种带宽切换方法。As shown in FIG. 6, the drone 400 includes a camera 401 and a bandwidth switching device 402, and the bandwidth switching device 402 can implement any bandwidth switching method as provided in the specification of this application.
无人机400可以是旋翼飞机。在某些情形下,无人机400可以是可包括多个旋翼的多旋翼飞行器。多个旋翼可旋转而为无人机400产生提升力。旋翼可以是推进单元,可使得无人机400在空中自由移动。旋翼可按相同速率旋转和/或可产生相同量的提升力或推力。旋翼可按不同的速率随意地旋转,产生不同量的提升力或推力和/或允许无人机400旋转。在某些情形下,在无人机400上可提供一个、两个、三个、四个、五个、六个、七个、八个、九个、十个或更多个旋翼。这些旋翼可布置成其旋转轴彼此平行。在某些情形下,旋翼的旋转轴可相对于彼此呈任意角度,从而可影响无人机400的运动。The drone 400 may be a rotary wing aircraft. In some cases, the drone 400 may be a multi-rotor aircraft that may include multiple rotors. The multiple rotors can rotate to generate lifting force for the drone 400. The rotor may be a propulsion unit, which allows the drone 400 to move freely in the air. The rotor can rotate at the same rate and/or can generate the same amount of lift or thrust. The rotor can rotate at different speeds at will, generating different amounts of lifting force or thrust, and/or allowing the drone 400 to rotate. In some cases, one, two, three, four, five, six, seven, eight, nine, ten or more rotors may be provided on the drone 400. These rotors can be arranged such that their rotation axes are parallel to each other. In some cases, the rotation axis of the rotors may be at any angle with respect to each other, which may affect the movement of the drone 400.
无人机400可具有多个旋翼。旋翼可连接至无人机400的本体,本体可包含控制单元、惯性测量单元(inertial measuring unit,IMU)、处理器、电池、电源和/或其他传感器。旋翼可通过从本体中心部分分支出来的一个或多个臂或延伸而连接至本体。例如,一个或多个臂可从无人机400的中心本体放射状延伸出来,而且在臂末端或靠近末端处可具有旋翼。The drone 400 may have multiple rotors. The rotor may be connected to the body of the drone 400, and the body may include a control unit, an inertial measurement unit (IMU), a processor, a battery, a power supply, and/or other sensors. The rotor may be connected to the body by one or more arms or extensions branching from the central part of the body. For example, one or more arms may extend radially from the central body of the drone 400, and may have a rotor at or near the end of the arm.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的无人机的具体工作过程,可以参考前述带宽切换方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working process of the drone described above can refer to the corresponding process in the foregoing bandwidth switching method embodiment. Go into details again.
本申请的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现上述实施例提供的带宽切换方法的步骤。The embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the foregoing implementation Example provides the steps of the bandwidth switching method.
其中,所述计算机可读存储介质可以是前述任一实施例所述的无人机的内部存储单元,例如所述无人机的硬盘或内存。所述计算机可读存储介质也可以是所述无人机的外部存储设备,例如所述无人机上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。The computer-readable storage medium may be the internal storage unit of the drone described in any of the foregoing embodiments, such as the hard disk or memory of the drone. The computer-readable storage medium may also be an external storage device of the drone, such as a plug-in hard disk equipped on the drone, a smart memory card (Smart Media Card, SMC), or a secure digital (Secure Digital, SD) card, flash card (Flash Card), etc.
应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用 的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, unless the context clearly indicates other circumstances, the singular forms "a", "an" and "the" are intended to include plural forms.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Anyone familiar with the technical field can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (38)

  1. 一种带宽切换方法,其特征在于,所述方法用于控制无线链路的工作带宽在多个带宽之间切换,包括:A bandwidth switching method, characterized in that the method is used to control the working bandwidth of a wireless link to switch between multiple bandwidths, including:
    获取所述无线链路在当前带宽下的第一目标干扰功率谱密度以及在其余带宽下的第二目标干扰功率谱密度,所述其余带宽为所述多个带宽中除所述当前带宽以外的带宽;Acquire the first target interference power spectral density under the current bandwidth and the second target interference power spectral density under the remaining bandwidth of the wireless link, where the remaining bandwidth is the number of bandwidths other than the current bandwidth bandwidth;
    根据所述第一目标干扰功率谱密度和所述第二目标干扰功率谱密度,从所述其余带宽中确定目标带宽;Determine a target bandwidth from the remaining bandwidths according to the first target interference power spectral density and the second target interference power spectral density;
    当确定所述无线链路满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,将所述无线链路的当前带宽切换为所述目标带宽。When it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, switching the current bandwidth of the wireless link to the target bandwidth.
  2. 根据权利要求1所述的带宽切换方法,其特征在于,所述获取所述无线链路在当前带宽下的第一目标干扰功率谱密度,包括:The bandwidth switching method according to claim 1, wherein the obtaining the first target interference power spectral density of the wireless link under the current bandwidth comprises:
    获取所述无线链路在当前带宽下的每个信道的干扰功率谱密度;Acquiring the interference power spectral density of each channel of the wireless link under the current bandwidth;
    根据所述当前带宽下的每个信道的干扰功率谱密度确定所述无线链路在当前带宽下的第一目标干扰功率谱密度。The first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density of each channel under the current bandwidth.
  3. 根据权利要求2所述的带宽切换方法,其特征在于,所述根据所述当前带宽下每个信道的干扰功率谱密度确定所述无线链路在当前带宽下的第一目标干扰功率谱密度,包括:The bandwidth switching method according to claim 2, wherein the first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density of each channel under the current bandwidth, include:
    获取所述当前带宽下的当前调制与解调策略MCS档位,并根据所述当前带宽下的当前MCS档位确定所述当前带宽下的信号能量衰减值;Acquiring the current modulation and demodulation strategy MCS gear under the current bandwidth, and determining the signal energy attenuation value under the current bandwidth according to the current MCS gear under the current bandwidth;
    根据所述当前带宽下每个信道的干扰功率谱密度确定所述当前带宽对应的干扰功率谱密度;Determine the interference power spectral density corresponding to the current bandwidth according to the interference power spectral density of each channel under the current bandwidth;
    根据所述当前带宽对应的干扰功率谱密度和所述信号能量衰减值确定所述无线链路在当前带宽下的第一目标干扰功率谱密度。The first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density corresponding to the current bandwidth and the signal energy attenuation value.
  4. 根据权利要求3所述的带宽切换方法,其特征在于,所述根据所述当前带宽下的每个信道的干扰功率谱密度确定所述当前带宽对应的干扰功率谱密度,包括:The bandwidth switching method according to claim 3, wherein the determining the interference power spectrum density corresponding to the current bandwidth according to the interference power spectrum density of each channel under the current bandwidth comprises:
    将所述当前带宽下的每个信道的干扰功率谱密度中的最小干扰功率谱密度作为所述当前带宽对应的干扰功率谱密度。The minimum interference power spectrum density in the interference power spectrum density of each channel under the current bandwidth is used as the interference power spectrum density corresponding to the current bandwidth.
  5. 根据权利要求1至4中任一项所述的带宽切换方法,其特征在于,所述 目标带宽的目标干扰功率谱密度小于所述第一目标干扰功率谱密度。The bandwidth switching method according to any one of claims 1 to 4, wherein the target interference power spectrum density of the target bandwidth is smaller than the first target interference power spectrum density.
  6. 根据权利要求5所述的带宽切换方法,其特征在于,所述目标带宽与所述当前带宽的比值等于第一预设比值或者第二预设比值。The bandwidth switching method according to claim 5, wherein the ratio of the target bandwidth to the current bandwidth is equal to a first preset ratio or a second preset ratio.
  7. 根据权利要求1至4中任一项所述的带宽切换方法,其特征在于,所述方法还包括:The bandwidth switching method according to any one of claims 1 to 4, wherein the method further comprises:
    当确定所述当前带宽和所述目标带宽均小于预设带宽时,获取所述当前带宽的当前吞吐量以及所述目标带宽的极限吞吐量;When it is determined that the current bandwidth and the target bandwidth are both smaller than the preset bandwidth, acquiring the current throughput of the current bandwidth and the limit throughput of the target bandwidth;
    根据所述当前吞吐量以及所述极限吞吐量,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。According to the current throughput and the limit throughput, it is determined whether the wireless link satisfies a bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  8. 根据权利要求7所述的带宽切换方法,其特征在于,所述极限吞吐量包括最大吞吐量和最小吞吐量中的任一项;所述根据所述当前吞吐量以及所述极限吞吐量,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件,包括:The bandwidth switching method according to claim 7, wherein the limit throughput includes any one of a maximum throughput and a minimum throughput; the determination is based on the current throughput and the limit throughput Whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth includes:
    当确定所述当前带宽大于所述目标带宽,且所述当前吞吐量小于所述目标带宽的最大吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the current bandwidth is greater than the target bandwidth and the current throughput is less than the maximum throughput of the target bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述当前带宽大于所述目标带宽,且所述当前吞吐量大于或等于所述目标带宽的最大吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the current bandwidth is greater than the target bandwidth, and the current throughput is greater than or equal to the maximum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  9. 根据权利要求8所述的带宽切换方法,其特征在于,所述方法还包括:The bandwidth switching method according to claim 8, wherein the method further comprises:
    当确定所述当前带宽小于所述目标带宽,且所述当前吞吐量大于所述目标带宽的最小吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the current bandwidth is less than the target bandwidth and the current throughput is greater than the minimum throughput of the target bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述当前带宽小于所述目标带宽,且所述当前吞吐量小于或等于所述目标带宽的最小吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the current bandwidth is less than the target bandwidth, and the current throughput is less than or equal to the minimum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  10. 根据权利要求7所述的带宽切换方法,其特征在于,所述方法还包括:The bandwidth switching method according to claim 7, wherein the method further comprises:
    当确定所述当前带宽或者所述目标带宽大于或者等于预设带宽时,获取介质访问控制层MAC的MCS调度信息;When it is determined that the current bandwidth or the target bandwidth is greater than or equal to the preset bandwidth, acquiring the MCS scheduling information of the MAC of the media access control layer;
    根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。Determine, according to the MCS scheduling information, whether the wireless link satisfies a bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  11. 根据权利要求10所述的带宽切换方法,其特征在于,所述MCS调度信息包括MCS调度数组,所述MCS调度数组包括预设数量的调度后的MCS档位;所述根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件,包括:The bandwidth switching method according to claim 10, wherein the MCS scheduling information includes an MCS scheduling array, and the MCS scheduling array includes a preset number of scheduled MCS gear positions; and the scheduling information is based on the MCS scheduling information. Determining whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth includes:
    当确定所述当前带宽小于所述目标带宽时,根据所述MCS调度数组和所 述当前带宽的最大MCS档位确定所述无线链路的满调度率;When it is determined that the current bandwidth is less than the target bandwidth, determine the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth;
    当确定所述满调度率大于或等于预设满调度率时,确定所述无线链路满足所述带宽切换条件;When it is determined that the full scheduling rate is greater than or equal to the preset full scheduling rate, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述满调度率小于预设满调度率时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the full scheduling rate is less than the preset full scheduling rate, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  12. 根据权利要求11所述的带宽切换方法,其特征在于,所述根据所述MCS调度数组和所述当前带宽的最大MCS档位确定所述无线链路的满调度率,包括:The bandwidth switching method according to claim 11, wherein the determining the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth comprises:
    统计所述MCS调度数组中的MCS档位等于所述当前带宽的最大MCS档位的数量,得到目标数量;Count the number of MCS gears in the MCS scheduling array equal to the maximum MCS gears of the current bandwidth to obtain the target number;
    根据所述预设数量和所述目标数量确定所述无线链路的满调度率。Determine the full scheduling rate of the wireless link according to the preset number and the target number.
  13. 根据权利要求11所述的带宽切换方法,其特征在于,所述方法还包括:The bandwidth switching method according to claim 11, wherein the method further comprises:
    当确定所述满调度率大于或等于预设阈值时,获取所述无线链路在当前带宽下的每个信道的干扰功率谱密度;When it is determined that the full scheduling rate is greater than or equal to a preset threshold, acquiring the interference power spectral density of each channel of the wireless link under the current bandwidth;
    根据所述无线链路在当前带宽下的每个信道的干扰功率谱密度,确定是否存在连续的两个信道的干扰功率谱密度均小于第一预设阈值;Determine, according to the interference power spectrum density of each channel of the wireless link under the current bandwidth, whether there are two consecutive channels whose interference power spectrum density is both less than a first preset threshold;
    当确定存在连续的两个信道的干扰功率谱密度均小于第一预设阈值,且连续的两个信道的干扰功率谱密度的差值小于或等于第二预设阈值,则确定所述无线链路满足所述带宽切换条件。When it is determined that the interference power spectral densities of two consecutive channels are less than the first preset threshold, and the difference between the interference power spectral densities of the two consecutive channels is less than or equal to the second preset threshold, the wireless link is determined The path meets the bandwidth switching condition.
  14. 根据权利要求13所述的带宽切换方法,其特征在于,所述方法还包括:The bandwidth switching method according to claim 13, wherein the method further comprises:
    当确定不存在连续的两个信道的干扰功率谱密度均小于第一预设阈值时,确定所述无线链路不满足所述带宽切换条件;或者When it is determined that there are no interference power spectral densities of two consecutive channels that are both less than the first preset threshold, it is determined that the wireless link does not meet the bandwidth switching condition; or
    当确定存在连续的两个信道的干扰功率谱密度均小于第一预设阈值,而连续的两个信道的干扰功率谱密度的差值大于第二预设阈值时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the interference power spectral densities of two consecutive channels are both smaller than the first preset threshold, and the difference between the interference power spectral densities of the two consecutive channels is greater than the second preset threshold, it is determined that the wireless link is not Meet the bandwidth switching condition.
  15. 根据权利要求10所述的带宽切换方法,其特征在于,所述MCS调度信息包括所述当前带宽下的连续的第一信道和第二信道分别对应的第一MCS调度数组和第二MCS调度数组,所述第一MCS调度数组和第二MCS调度数组均包括预设数量的调度后的MCS档位;所述根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件,包括:The bandwidth switching method according to claim 10, wherein the MCS scheduling information includes a first MCS scheduling array and a second MCS scheduling array corresponding to the continuous first channel and the second channel under the current bandwidth, respectively , The first MCS scheduling array and the second MCS scheduling array both include a preset number of scheduled MCS gears; the determining according to the MCS scheduling information whether the wireless link satisfies switching from the current bandwidth to The bandwidth switching condition of the target bandwidth includes:
    当确定所述当前带宽大于所述目标带宽时,获取所述第一信道的最大MCS 档位和所述第二信道的最大MCS档位;When it is determined that the current bandwidth is greater than the target bandwidth, acquiring the maximum MCS gear of the first channel and the maximum MCS gear of the second channel;
    根据所述第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位,确定带宽切换指数;Determine the bandwidth switching index according to the first MCS scheduling array, the second MCS scheduling array, the maximum MCS gear of the first channel, and the maximum MCS gear of the second channel;
    当确定所述带宽切换指数大于或等于预设带宽切换指数时,确定所述无线链路满足所述带宽切换条件;When it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述带宽切换指数小于预设带宽切换指数时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the bandwidth switching index is less than the preset bandwidth switching index, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  16. 根据权利要求15所述的带宽切换方法,其特征在于,所述根据所述第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位,确定带宽切换指数,包括:The bandwidth switching method according to claim 15, wherein the first MCS scheduling array, the second MCS scheduling array, the largest MCS gear of the first channel, and the largest MCS gear of the second channel are based on the first MCS scheduling array, the second MCS scheduling array, and Determine the bandwidth switching index, including:
    统计所述第一MCS调度数组中MCS档位小于或等于所述第一信道的最大MCS档位的二分之一的数量,得到第一数量;Counting the number of MCS gears in the first MCS scheduling array that is less than or equal to one-half of the maximum MCS gear of the first channel to obtain the first number;
    统计所述第二MCS调度数组中MCS档位小于或等于所述第二信道的最大MCS档位的二分之一的数量,得到第二数量;Counting the number of MCS gears in the second MCS scheduling array that is less than or equal to one-half of the maximum MCS gear of the second channel to obtain a second number;
    根据所述第一数量、第二数量和预设数量确定带宽切换指数。The bandwidth switching index is determined according to the first number, the second number, and the preset number.
  17. 根据权利要求15所述的带宽切换方法,其特征在于,所述方法还包括:The bandwidth switching method according to claim 15, wherein the method further comprises:
    当确定所述带宽切换指数大于或等于预设带宽切换指数时,获取所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位;When it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, acquiring the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth;
    根据所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。According to the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth, it is determined whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  18. 根据权利要求17所述的带宽切换方法,其特征在于,所述根据所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件,包括:The bandwidth switching method according to claim 17, wherein the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth are used to determine whether the wireless link meets the requirements of the current bandwidth. The bandwidth switching conditions for switching to the target bandwidth include:
    根据所述目标带宽的最大MCS档位,确定所述目标带宽的最大吞吐量;Determine the maximum throughput of the target bandwidth according to the maximum MCS gear of the target bandwidth;
    当确定所述目标带宽的最大吞吐量大于或等于所述当前带宽的当前吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the maximum throughput of the target bandwidth is greater than or equal to the current throughput of the current bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述目标带宽的最大吞吐量小于所述当前带宽的当前吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the maximum throughput of the target bandwidth is less than the current throughput of the current bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  19. 一种带宽切换装置,其特征在于,所述带宽切换装置用于控制无线链路的工作带宽在多个带宽之间切换,所述带宽切换装置包括存储器和处理器;A bandwidth switching device, characterized in that the bandwidth switching device is used to control the working bandwidth of a wireless link to switch between multiple bandwidths, and the bandwidth switching device includes a memory and a processor;
    所述存储器用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现 如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
    获取所述无线链路在当前带宽下的第一目标干扰功率谱密度以及在其余带宽下的第二目标干扰功率谱密度,所述其余带宽为所述多个带宽中除所述当前带宽以外的带宽;Acquire the first target interference power spectral density under the current bandwidth and the second target interference power spectral density under the remaining bandwidth of the wireless link, where the remaining bandwidth is the number of bandwidths other than the current bandwidth bandwidth;
    根据所述第一目标干扰功率谱密度和所述第二目标干扰功率谱密度,从所述其余带宽中确定目标带宽;Determine a target bandwidth from the remaining bandwidths according to the first target interference power spectral density and the second target interference power spectral density;
    当确定所述无线链路满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,将所述无线链路的当前带宽切换为所述目标带宽。When it is determined that the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, switching the current bandwidth of the wireless link to the target bandwidth.
  20. 根据权利要求19所述的带宽切换装置,其特征在于,所述处理器实现获取所述无线链路在当前带宽下的第一目标干扰功率谱密度时,用于实现:The bandwidth switching device according to claim 19, wherein when the processor implements the acquisition of the first target interference power spectral density of the wireless link under the current bandwidth, it is used to implement:
    获取所述无线链路在当前带宽下的每个信道的干扰功率谱密度;Acquiring the interference power spectral density of each channel of the wireless link under the current bandwidth;
    根据所述当前带宽下的每个信道的干扰功率谱密度确定所述无线链路在当前带宽下的第一目标干扰功率谱密度。The first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density of each channel under the current bandwidth.
  21. 根据权利要求20所述的带宽切换装置,其特征在于,所述处理器实现根据所述当前带宽下每个信道的干扰功率谱密度确定所述无线链路在当前带宽下的第一目标干扰功率谱密度时,用于实现:The bandwidth switching device according to claim 20, wherein the processor is configured to determine the first target interference power of the wireless link in the current bandwidth according to the interference power spectrum density of each channel in the current bandwidth When the spectral density is used, it is used to achieve:
    获取所述当前带宽下的当前调制与解调策略MCS档位,并根据所述当前带宽下的当前MCS档位确定所述当前带宽下的信号能量衰减值;Acquiring the current modulation and demodulation strategy MCS gear under the current bandwidth, and determining the signal energy attenuation value under the current bandwidth according to the current MCS gear under the current bandwidth;
    根据所述当前带宽下每个信道的干扰功率谱密度确定所述当前带宽对应的干扰功率谱密度;Determine the interference power spectral density corresponding to the current bandwidth according to the interference power spectral density of each channel under the current bandwidth;
    根据所述当前带宽对应的干扰功率谱密度和所述信号能量衰减值确定所述无线链路在当前带宽下的第一目标干扰功率谱密度。The first target interference power spectral density of the wireless link under the current bandwidth is determined according to the interference power spectral density corresponding to the current bandwidth and the signal energy attenuation value.
  22. 根据权利要求21所述的带宽切换装置,其特征在于,所述处理器实现根据所述当前带宽下的每个信道的干扰功率谱密度确定所述当前带宽对应的干扰功率谱密度时,用于实现:22. The bandwidth switching device according to claim 21, wherein the processor is configured to determine the interference power spectrum density corresponding to the current bandwidth according to the interference power spectrum density of each channel under the current bandwidth. accomplish:
    将所述当前带宽下的每个信道的干扰功率谱密度中的最小干扰功率谱密度作为所述当前带宽对应的干扰功率谱密度。The minimum interference power spectrum density in the interference power spectrum density of each channel under the current bandwidth is used as the interference power spectrum density corresponding to the current bandwidth.
  23. 根据权利要求19至22中任一项所述的带宽切换装置,其特征在于,所述目标带宽的目标干扰功率谱密度小于所述第一目标干扰功率谱密度。The bandwidth switching device according to any one of claims 19 to 22, wherein the target interference power spectral density of the target bandwidth is smaller than the first target interference power spectral density.
  24. 根据权利要求23所述的带宽切换装置,其特征在于,所述目标带宽与所述当前带宽的比值等于第一预设比值或者第二预设比值。The bandwidth switching device according to claim 23, wherein the ratio of the target bandwidth to the current bandwidth is equal to a first preset ratio or a second preset ratio.
  25. 根据权利要求19至22中任一项所述的带宽切换装置,其特征在于, 所述处理器还用于实现以下步骤:The bandwidth switching device according to any one of claims 19 to 22, wherein the processor is further configured to implement the following steps:
    当确定所述当前带宽和所述目标带宽均小于预设带宽时,获取所述当前带宽的当前吞吐量以及所述目标带宽的极限吞吐量;When it is determined that the current bandwidth and the target bandwidth are both smaller than the preset bandwidth, acquiring the current throughput of the current bandwidth and the limit throughput of the target bandwidth;
    根据所述当前吞吐量以及所述极限吞吐量,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。According to the current throughput and the limit throughput, it is determined whether the wireless link satisfies a bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  26. 根据权利要求25所述的带宽切换装置,其特征在于,所述极限吞吐量包括最大吞吐量和最小吞吐量中的任一项;所述处理器实现根据所述当前吞吐量以及所述极限吞吐量,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,用于实现:The bandwidth switching device according to claim 25, wherein the limit throughput includes any one of a maximum throughput and a minimum throughput; When determining whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, it is used to achieve:
    当确定所述当前带宽大于所述目标带宽,且所述当前吞吐量小于所述目标带宽的最大吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the current bandwidth is greater than the target bandwidth and the current throughput is less than the maximum throughput of the target bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述当前带宽大于所述目标带宽,且所述当前吞吐量大于或等于所述目标带宽的最大吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the current bandwidth is greater than the target bandwidth, and the current throughput is greater than or equal to the maximum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  27. 根据权利要求26所述的带宽切换装置,其特征在于,所述处理器还用于实现以下步骤:The bandwidth switching device according to claim 26, wherein the processor is further configured to implement the following steps:
    当确定所述当前带宽小于所述目标带宽,且所述当前吞吐量大于所述目标带宽的最小吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the current bandwidth is less than the target bandwidth and the current throughput is greater than the minimum throughput of the target bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述当前带宽小于所述目标带宽,且所述当前吞吐量小于或等于所述目标带宽的最小吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the current bandwidth is less than the target bandwidth, and the current throughput is less than or equal to the minimum throughput of the target bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  28. 根据权利要求25所述的带宽切换装置,其特征在于,所述处理器还用于实现以下步骤:The bandwidth switching device according to claim 25, wherein the processor is further configured to implement the following steps:
    当确定所述当前带宽或者所述目标带宽大于或者等于预设带宽时,获取介质访问控制层MAC的MCS调度信息;When it is determined that the current bandwidth or the target bandwidth is greater than or equal to the preset bandwidth, acquiring the MCS scheduling information of the MAC of the media access control layer;
    根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。Determine, according to the MCS scheduling information, whether the wireless link satisfies a bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  29. 根据权利要求28所述的带宽切换装置,其特征在于,所述MCS调度信息包括MCS调度数组,所述MCS调度数组包括预设数量的调度后的MCS档位;所述处理器实现根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,用于实现:The bandwidth switching device according to claim 28, wherein the MCS scheduling information includes an MCS scheduling array, and the MCS scheduling array includes a preset number of scheduled MCS gear positions; When the MCS scheduling information determines whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth, it is used to achieve:
    当确定所述当前带宽小于所述目标带宽时,根据所述MCS调度数组和所述当前带宽的最大MCS档位确定所述无线链路的满调度率;When it is determined that the current bandwidth is less than the target bandwidth, determine the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth;
    当确定所述满调度率大于或等于预设满调度率时,确定所述无线链路满足 所述带宽切换条件;When it is determined that the full scheduling rate is greater than or equal to the preset full scheduling rate, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述满调度率小于预设满调度率时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the full scheduling rate is less than the preset full scheduling rate, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  30. 根据权利要求29所述的带宽切换装置,其特征在于,所述处理器实现根据所述MCS调度数组和所述当前带宽的最大MCS档位确定所述无线链路的满调度率时,用于实现:The bandwidth switching device according to claim 29, wherein the processor is configured to determine the full scheduling rate of the wireless link according to the MCS scheduling array and the maximum MCS gear of the current bandwidth. accomplish:
    统计所述MCS调度数组中的MCS档位等于所述当前带宽的最大MCS档位的数量,得到目标数量;Count the number of MCS gears in the MCS scheduling array equal to the maximum MCS gears of the current bandwidth to obtain the target number;
    根据所述预设数量和所述目标数量确定所述无线链路的满调度率。Determine the full scheduling rate of the wireless link according to the preset number and the target number.
  31. 根据权利要求29所述的带宽切换装置,其特征在于,所述处理器还用于实现以下步骤:The bandwidth switching device according to claim 29, wherein the processor is further configured to implement the following steps:
    当确定所述满调度率大于或等于预设阈值时,获取所述无线链路在当前带宽下的每个信道的干扰功率谱密度;When it is determined that the full scheduling rate is greater than or equal to a preset threshold, acquiring the interference power spectral density of each channel of the wireless link under the current bandwidth;
    根据所述无线链路在当前带宽下的每个信道的干扰功率谱密度,确定是否存在连续的两个信道的干扰功率谱密度均小于第一预设阈值;Determine, according to the interference power spectrum density of each channel of the wireless link under the current bandwidth, whether there are two consecutive channels whose interference power spectrum density is both less than a first preset threshold;
    当确定存在连续的两个信道的干扰功率谱密度均小于第一预设阈值,且连续的两个信道的干扰功率谱密度的差值小于或等于第二预设阈值,则确定所述无线链路满足所述带宽切换条件。When it is determined that the interference power spectral densities of two consecutive channels are less than the first preset threshold, and the difference between the interference power spectral densities of the two consecutive channels is less than or equal to the second preset threshold, the wireless link is determined The path meets the bandwidth switching condition.
  32. 根据权利要求31所述的带宽切换装置,其特征在于,所述处理器还用于实现以下步骤:The bandwidth switching device according to claim 31, wherein the processor is further configured to implement the following steps:
    当确定不存在连续的两个信道的干扰功率谱密度均小于第一预设阈值时,确定所述无线链路不满足所述带宽切换条件;或者When it is determined that there are no interference power spectral densities of two consecutive channels that are both less than the first preset threshold, it is determined that the wireless link does not meet the bandwidth switching condition; or
    当确定存在连续的两个信道的干扰功率谱密度均小于第一预设阈值,而连续的两个信道的干扰功率谱密度的差值大于第二预设阈值时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the interference power spectral densities of two consecutive channels are both smaller than the first preset threshold, and the difference between the interference power spectral densities of the two consecutive channels is greater than the second preset threshold, it is determined that the wireless link is not Meet the bandwidth switching condition.
  33. 根据权利要求28所述的带宽切换装置,其特征在于,所述MCS调度信息包括所述当前带宽下的连续的第一信道和第二信道分别对应的第一MCS调度数组和第二MCS调度数组,所述第一MCS调度数组和第二MCS调度数组均包括预设数量的调度后的MCS档位;所述处理器实现根据所述MCS调度信息确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,用于实现:The bandwidth switching device according to claim 28, wherein the MCS scheduling information includes a first MCS scheduling array and a second MCS scheduling array respectively corresponding to the continuous first channel and the second channel under the current bandwidth , The first MCS scheduling array and the second MCS scheduling array both include a preset number of scheduled MCS gears; the processor realizes that according to the MCS scheduling information, it determines whether the wireless link meets the requirements of the current When bandwidth switching is the bandwidth switching condition of the target bandwidth, it is used to achieve:
    当确定所述当前带宽大于所述目标带宽时,获取所述第一信道的最大MCS 档位和所述第二信道的最大MCS档位;When it is determined that the current bandwidth is greater than the target bandwidth, acquiring the maximum MCS gear of the first channel and the maximum MCS gear of the second channel;
    根据所述第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位,确定带宽切换指数;Determine the bandwidth switching index according to the first MCS scheduling array, the second MCS scheduling array, the maximum MCS gear of the first channel, and the maximum MCS gear of the second channel;
    当确定所述带宽切换指数大于或等于预设带宽切换指数时,确定所述无线链路满足所述带宽切换条件;When it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述带宽切换指数小于预设带宽切换指数时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the bandwidth switching index is less than the preset bandwidth switching index, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  34. 根据权利要求33所述的带宽切换装置,其特征在于,所述处理器实现根据所述第一MCS调度数组、第二MCS调度数组、第一信道的最大MCS档位和第二信道的最大MCS档位,确定带宽切换指数时,用于实现:The bandwidth switching device according to claim 33, wherein the processor implements the maximum MCS gear of the first channel and the maximum MCS of the second channel according to the first MCS scheduling array, the second MCS scheduling array, and the maximum MCS of the first channel. Gear position, when determining the bandwidth switching index, it is used to achieve:
    统计所述第一MCS调度数组中MCS档位小于或等于所述第一信道的最大MCS档位的二分之一的数量,得到第一数量;Counting the number of MCS gears in the first MCS scheduling array that is less than or equal to one-half of the maximum MCS gear of the first channel to obtain the first number;
    统计所述第二MCS调度数组中MCS档位小于或等于所述第二信道的最大MCS档位的二分之一的数量,得到第二数量;Counting the number of MCS gears in the second MCS scheduling array that is less than or equal to one-half of the maximum MCS gear of the second channel to obtain a second number;
    根据所述第一数量、第二数量和预设数量确定带宽切换指数。The bandwidth switching index is determined according to the first number, the second number, and the preset number.
  35. 根据权利要求33所述的带宽切换装置,其特征在于,所述处理器还用于实现以下步骤:The bandwidth switching device according to claim 33, wherein the processor is further configured to implement the following steps:
    当确定所述带宽切换指数大于或等于预设带宽切换指数时,获取所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位;When it is determined that the bandwidth switching index is greater than or equal to the preset bandwidth switching index, acquiring the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth;
    根据所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件。According to the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth, it is determined whether the wireless link satisfies the bandwidth switching condition for switching from the current bandwidth to the target bandwidth.
  36. 根据权利要求35所述的带宽切换装置,其特征在于,所述处理器实现根据所述当前带宽的当前吞吐量和所述目标带宽的最大MCS档位,确定所述无线链路是否满足由所述当前带宽切换为所述目标带宽的带宽切换条件时,用于实现:The bandwidth switching device according to claim 35, wherein the processor determines whether the wireless link satisfies the current throughput of the current bandwidth and the maximum MCS gear of the target bandwidth. When the current bandwidth is switched to the bandwidth switching condition of the target bandwidth, it is used to realize:
    根据所述目标带宽的最大MCS档位,确定所述目标带宽的最大吞吐量;Determine the maximum throughput of the target bandwidth according to the maximum MCS gear of the target bandwidth;
    当确定所述目标带宽的最大吞吐量大于或等于所述当前带宽的当前吞吐量时,确定所述无线链路满足所述带宽切换条件;When it is determined that the maximum throughput of the target bandwidth is greater than or equal to the current throughput of the current bandwidth, determining that the wireless link satisfies the bandwidth switching condition;
    当确定所述目标带宽的最大吞吐量小于所述当前带宽的当前吞吐量时,确定所述无线链路不满足所述带宽切换条件。When it is determined that the maximum throughput of the target bandwidth is less than the current throughput of the current bandwidth, it is determined that the wireless link does not satisfy the bandwidth switching condition.
  37. 一种无人机,其特征在于,所述无人机包括拍摄装置和如权利要求19至36中任一项所述的带宽切换装置。An unmanned aerial vehicle, characterized in that the unmanned aerial vehicle comprises a photographing device and the bandwidth switching device according to any one of claims 19 to 36.
  38. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1至18中任一项所述的带宽切换方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes as described in any one of claims 1 to 18. The bandwidth switching method described.
PCT/CN2020/085426 2020-04-17 2020-04-17 Bandwidth switching method and device, unmanned aerial vehicle, and computer readable storage medium WO2021208094A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/085426 WO2021208094A1 (en) 2020-04-17 2020-04-17 Bandwidth switching method and device, unmanned aerial vehicle, and computer readable storage medium
CN202080005238.7A CN112771921A (en) 2020-04-17 2020-04-17 Bandwidth switching method and device, unmanned aerial vehicle and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/085426 WO2021208094A1 (en) 2020-04-17 2020-04-17 Bandwidth switching method and device, unmanned aerial vehicle, and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2021208094A1 true WO2021208094A1 (en) 2021-10-21

Family

ID=75699521

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/085426 WO2021208094A1 (en) 2020-04-17 2020-04-17 Bandwidth switching method and device, unmanned aerial vehicle, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN112771921A (en)
WO (1) WO2021208094A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115996433A (en) * 2023-03-22 2023-04-21 新华三技术有限公司 Radio resource adjustment method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102144418A (en) * 2008-08-26 2011-08-03 摩托罗拉移动公司 Method and apparatus for making handover decisions in a heterogeneous network
WO2015035601A1 (en) * 2013-09-13 2015-03-19 华为技术有限公司 Method and network equipment for switching channel bandwidth
US20170332264A1 (en) * 2014-11-07 2017-11-16 Zte Corporation Method, system and relevant device for measuring unauthorized carrier, and computer storage medium
WO2019041150A1 (en) * 2017-08-30 2019-03-07 深圳市大疆创新科技有限公司 Channel switching method and apparatus, and communication device
CN110786054A (en) * 2018-12-28 2020-02-11 深圳市大疆创新科技有限公司 Power control method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102144418A (en) * 2008-08-26 2011-08-03 摩托罗拉移动公司 Method and apparatus for making handover decisions in a heterogeneous network
WO2015035601A1 (en) * 2013-09-13 2015-03-19 华为技术有限公司 Method and network equipment for switching channel bandwidth
US20170332264A1 (en) * 2014-11-07 2017-11-16 Zte Corporation Method, system and relevant device for measuring unauthorized carrier, and computer storage medium
WO2019041150A1 (en) * 2017-08-30 2019-03-07 深圳市大疆创新科技有限公司 Channel switching method and apparatus, and communication device
CN110786054A (en) * 2018-12-28 2020-02-11 深圳市大疆创新科技有限公司 Power control method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115996433A (en) * 2023-03-22 2023-04-21 新华三技术有限公司 Radio resource adjustment method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112771921A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US10135719B2 (en) Transmitting and receiving data based on multipath
JP7118164B2 (en) UPLINK CONTROL INFORMATION TRANSMISSION, UPLINK CONTROL INFORMATION RECEIVING METHOD AND DEVICE
US9148819B2 (en) In-place A-MSDU aggregation for wireless systems
WO2019023902A1 (en) Communication mode control method and device
WO2020010730A1 (en) Data transmission method, device and system for unmanned aerial vehicle system, and ground image transmission module
US11191038B2 (en) Determining wideband transmission power based on interference and preamble detection levels for an overlapping basic service set
WO2021208094A1 (en) Bandwidth switching method and device, unmanned aerial vehicle, and computer readable storage medium
EP3264662A1 (en) Method and device for data transmission
US20080240092A1 (en) Arrangements for controlling multiple mac interfaces
US20120320772A1 (en) Communication devices for transmitting data based on available resources
CN114885431A (en) Communication method and device
US10681625B1 (en) Single-user acknowledgement options for wireless communication in a multi-user environment
EP3618494A1 (en) Method for determining length of feedback response information and related product
CN112020069B (en) Resource units for broadband transmission in wireless networks
CN112584354A (en) Communication method based on unmanned aerial vehicle and unmanned vehicle
US12028436B2 (en) Semantic communication: protocol stack and model selection
CN108702355B (en) Method used in user equipment and associated UE
WO2023072157A1 (en) Interference determination method and apparatus
CN114828182B (en) Uplink power adjustment method and related equipment
CN115918140A (en) Wireless mesh network
WO2022204997A1 (en) Wireless communication method, movable platform, system, and computer readable storage medium
WO2022140965A1 (en) Remote control device and control method therefor, remote control communication system, and storage medium
WO2022021090A1 (en) Video transmission method, movable platform and computer-readable storage medium
US20230308932A1 (en) Design for XR Traffic Information Indication
CN110278015A (en) A kind of antenna selecting method, device and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20931083

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20931083

Country of ref document: EP

Kind code of ref document: A1