Wireless device frequency adjustment method, apparatus, and electronic device
Patent Information
- Application Number
- CN202510324968.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2026-10-13
AI Technical Summary
[0003]但目前在一些免费频段,如433M,868M,915M频段,还没有相关的技术来进行无线设备管理,因此在这些频段容易出现无线设备信号之间相关干扰的问题
[0061]上述第二方面至第七方面中的各个方面以及各个方面可能达到的技术效果请参照上述针对第一方面或第一方面中的各种可能方案可以达到的技术效果说明,这里不再重复赘述。
Smart Images

Figure CN122909684A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to wireless device frequency adjustment methods, apparatus and electronic devices. Background Technology
[0002] Wireless communication technology is now widely used in various fields, such as communication, navigation, and monitoring. With the increasing number of wireless devices, spectrum resources are becoming increasingly scarce. How to effectively manage wireless devices and avoid mutual interference has become a pressing issue. Existing technologies such as WiFi, Bluetooth, and Zigbee all operate in the 2.4 GHz band. Given the large number of electronic devices, anti-collision technology is relatively mature and can effectively prevent data congestion and signal quality degradation caused by an excessive number of wireless devices.
[0003] However, there is currently no technology to manage wireless devices in some free frequency bands, such as 433M, 868M, and 915M. Therefore, interference between wireless device signals is likely to occur in these frequency bands. Summary of the Invention
[0004] This application provides a method, apparatus, and electronic device for adjusting the frequency of a wireless device, which improves the performance and management efficiency of the wireless device by automatically setting the center frequency and bandwidth of the wireless device and scanning nearby interference sources in real time.
[0005] In a first aspect, this application provides a method for adjusting the frequency of a wireless device, the method being applied to a communicator, the method comprising:
[0006] Scan according to the preset scanning bandwidth to determine if there are any interference sources;
[0007] If an interference source is present, the current center frequency of the communicator will be shifted to the left or right by the preset scanning bandwidth, and the number of scans will be updated.
[0008] If no interference source is found, the current center frequency is stored, and the scan is terminated.
[0009] Optionally, after the number of update scans, the method further includes:
[0010] Determine whether the current scan count is greater than or equal to the total scan count, wherein the total scan count is equal to the fixed bandwidth divided by the preset scan bandwidth;
[0011] If the current number of scans is greater than or equal to the total number of scans, then report that the current center frequency has been reached and end the scan.
[0012] If the current number of scans is less than the total number of scans, then the scanning continues.
[0013] Optionally, the step of scanning according to a preset scanning bandwidth to determine whether there is an interference source includes:
[0014] Data is scanned according to the preset scanning bandwidth to determine whether there is an interference source.
[0015] If data is detected during scanning, it is determined that there is a source of interference.
[0016] If no data is detected, it is determined that there is no source of interference.
[0017] Optionally, the step of scanning according to a preset scanning bandwidth to determine whether there is an interference source further includes:
[0018] Perform a signal quality scan based on the preset scanning bandwidth to determine if there are any interference sources.
[0019] If a signal is detected and the quality of the signal is greater than the set standard, then an interference source is determined to exist.
[0020] If a signal is detected and the quality of the signal is less than or equal to the set standard, it is determined that there is no interference source.
[0021] If no signal is detected, it is determined that there is no interference source.
[0022] Optionally, the communicator is a photovoltaic tracking communicator, which is used to monitor the meteorological information of the photovoltaic power station and send control commands to the photovoltaic tracking controller according to the meteorological information.
[0023] Optionally, the initial center frequency of the communicator is any frequency in the low frequency band or the mid frequency band, wherein the low frequency band is 433MHz to 434MHz, and the mid frequency band is 865MHz to 875MHz or 902MHz to 928MHz.
[0024] Optionally, the method further includes: when the communicator receives an interrogation signal sent by the controller, the communicator sends a response signal to the controller, wherein the interrogation signal is used to confirm whether the controller and the communicator are at the same center frequency.
[0025] Secondly, this application provides a method for adjusting the frequency of a wireless device, the method being applied to a controller, the method comprising:
[0026] The communicator is scanned according to a preset scanning bandwidth to determine whether a response signal sent by the communicator is received. The communicator scan consists of continuously sending a set number of interrogation signals, which are used to confirm whether the controller and the communicator are at the same center frequency.
[0027] If the response signal is not received, the current center frequency of the controller is shifted to the left or right by the preset scanning bandwidth, and the number of communicator scans is updated.
[0028] If the response signal is received, the current center frequency is stored, and the communicator scan is terminated;
[0029] The communicator is the communicator used in the wireless device frequency adjustment method described in any of the first aspects above.
[0030] Optionally, after updating the communicator scan count, the method further includes:
[0031] Determine if the current number of communicator scans is greater than or equal to the set number of scans;
[0032] If the current number of communicator scans is greater than or equal to the set number of scans, the communicator scan ends and a message is displayed indicating that no communicator exists.
[0033] If the current number of communicator scans is less than the set number of scans, then the communicator scan continues.
[0034] Optionally, the initial center frequency of the controller is the same as the initial center frequency of the communicator.
[0035] Optionally, the controller is a photovoltaic tracking controller, which is used to receive control commands sent by the photovoltaic tracking communicator and adjust the photovoltaic modules according to the control commands.
[0036] Thirdly, this application provides a frequency adjustment device for a wireless device, the device being applied to a communicator, the device comprising:
[0037] The scanning module is used to scan according to the preset scanning bandwidth to determine whether there is an interference source;
[0038] The adjustment module is used to shift the current center frequency of the communicator to the left or right by the preset scanning bandwidth and update the number of scans if an interference source is present.
[0039] The storage module is used to store the current center frequency and end the scan if there is no interference source.
[0040] Optionally, the device is further configured to: determine whether the current scan count is greater than or equal to the total scan count, wherein the total scan count is equal to the fixed bandwidth divided by the preset scan bandwidth; if the current scan count is greater than or equal to the total scan count, then report that the current center frequency is full and end the scan; if the current scan count is less than the total scan count, then continue the scan.
[0041] Optionally, the scanning module is specifically used to: scan data according to the preset scanning bandwidth to determine whether there is an interference source; if data is scanned, it is determined that there is an interference source; if no data is scanned, it is determined that there is no interference source.
[0042] Optionally, the scanning module is further configured to: perform signal quality scanning according to a preset scanning bandwidth to determine whether there is an interference source; if a signal is scanned and the quality of the signal is greater than a set standard, then it is determined that there is an interference source; if a signal is scanned and the quality of the signal is less than or equal to the set standard, then it is determined that there is no interference source; if no signal is scanned, then it is determined that there is no interference source.
[0043] Optionally, the communicator is a photovoltaic tracking communicator, which is used to monitor the meteorological information of the photovoltaic power station and send control commands to the photovoltaic tracking controller according to the meteorological information.
[0044] Optionally, the initial center frequency of the communicator is any frequency in the low frequency band or the mid frequency band, wherein the low frequency band is 433MHz to 434MHz, and the mid frequency band is 865MHz to 875MHz or 902MHz to 928MHz.
[0045] Optionally, the device is further configured to: when the communicator receives an interrogation signal sent by the controller, the communicator sends a response signal to the controller, wherein the interrogation signal is used to confirm whether the controller and the communicator are at the same center frequency.
[0046] Fourthly, this application provides a wireless device frequency adjustment apparatus, the apparatus being applied to a controller, the apparatus comprising:
[0047] The scanning module is used to scan the communicator according to a preset scanning bandwidth and determine whether a response signal sent by the communicator is received. The communicator scanning is to continuously send an interrogation signal a set number of times. The interrogation signal is used to confirm whether the controller and the communicator are at the same center frequency.
[0048] The adjustment module is used to shift the current center frequency of the controller to the left or right by the preset scanning bandwidth and update the number of communicator scans if the response signal is not received.
[0049] A storage module is used to store the current center frequency and end the communicator scan if the response signal is received;
[0050] The communicator is the communicator used in the wireless device frequency adjustment method described in any of the first aspects above.
[0051] Optionally, the device is further configured to: determine whether the current number of communicator scans is greater than or equal to a set number of scans; if the current number of communicator scans is greater than or equal to the set number of scans, then end the communicator scan and indicate that no communicator exists; if the current number of communicator scans is less than the set number of scans, then continue the communicator scan.
[0052] Optionally, the initial center frequency of the controller is the same as the initial center frequency of the communicator.
[0053] Optionally, the controller is a photovoltaic tracking controller, which is used to receive control commands sent by the photovoltaic tracking communicator and adjust the photovoltaic modules according to the control commands.
[0054] Fifthly, this application provides a photovoltaic support control system, the system comprising: at least one photovoltaic tracking communicator and multiple photovoltaic tracking controllers; wherein
[0055] The photovoltaic tracking communicator is used to implement any of the method steps in the wireless device frequency adjustment method described in the first aspect above.
[0056] The photovoltaic tracking controller is used to implement the method steps of any one of the wireless device frequency adjustment methods described in the second aspect above.
[0057] Sixthly, this application provides an electronic device, the electronic device comprising:
[0058] Memory, used to store computer programs;
[0059] When the processor executes the computer program stored in the memory, it implements the steps of the above-described wireless device frequency adjustment method.
[0060] In a seventh aspect, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described wireless device frequency adjustment method.
[0061] For the various aspects of the second to seventh aspects mentioned above, and the technical effects that each aspect may achieve, please refer to the above description of the technical effects that can be achieved for the first aspect or the various possible solutions in the first aspect, which will not be repeated here. Attached Figure Description
[0062] Figure 1 A flowchart of a wireless device frequency adjustment method for a communicator provided in this application;
[0063] Figure 2A flowchart of a wireless device frequency adjustment method for a controller provided in this application;
[0064] Figure 3 A schematic diagram of a wireless device frequency adjustment device applied to a communicator, provided in this application;
[0065] Figure 4 A schematic diagram of a wireless device frequency adjustment device applied to a controller, as provided in this application;
[0066] Figure 5 A schematic diagram of the structure of an electronic device provided in this application. Detailed Implementation
[0067] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The specific operating methods in the method embodiments can also be applied to the device embodiments, system embodiments, and computer program products.
[0068] In the description of this application, "multiple" is understood as "at least two". "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. A connected to B can represent: A and B directly connected, or A and B connected through C. Furthermore, in the description of this application, terms such as "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance or order.
[0069] The design concept of the embodiments of this application will be briefly introduced below.
[0070] Currently, for low-frequency signal allocation, especially in a large photovoltaic area, the frequency band is uniformly allocated by the owner after communication and confirmation with various manufacturers. Although existing wireless equipment management methods can avoid interference to some extent, several problems remain. First, the current methods typically involve manual operation when setting the center frequency and bandwidth, which is inefficient and prone to errors. Second, uniformly allocating frequency bands requires communication with the photovoltaic area owners, which is time-consuming and labor-intensive.
[0071] To address the aforementioned technical problems, this application provides a wireless device frequency adjustment method. This method, by automatically adjusting the center frequency and bandwidth, and by scanning and responding to interference sources in real time, can effectively manage wireless devices, avoid mutual interference, and improve the stability and reliability of the system.
[0072] It is worth noting that the technical features included in the embodiments of this application can be used in any combination. Those skilled in the art should understand that, based on actual application situations, the technical solutions obtained by reasonably combining the technical features in the embodiments of this application can also solve the same technical problems or achieve the same technical effects.
[0073] The method provided in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0074] See Figure 1 As shown in the figure, this application embodiment provides a wireless device frequency adjustment method, which is applied to a communicator. First, step 101 involves scanning according to a preset scanning bandwidth to determine whether there is an interference source.
[0075] In this embodiment of the application, preferably, before performing interference source scanning, an initial center frequency and scanning bandwidth are first set for the communicator. The initial center frequency can be set to any frequency in the low-frequency band or the mid-frequency band. The low-frequency band can range from 433MHz to 434MHz, and the mid-frequency band can range from 865MHz to 875MHz or 902MHz to 928MHz. The scanning bandwidth can be set based on actual testing. Tests have shown that when the scanning bandwidth is set to 60kHz or less, the communication itself will be interfered with. For example, if one frequency is 410.00MHz and the other is 410.05MHz, these two frequencies will be interfered with. Therefore, it is preferable to set the scanning bandwidth to be greater than 60kHz, for example, 0.1MHz.
[0076] In addition to the initial center frequency and bandwidth, the scan time and total number of scans also need to be set. It should be noted that the total number of scans equals the preset fixed bandwidth divided by the preset scan bandwidth. For example, if the preset scan bandwidth is 0.1MHz, the total number of scans is 1MHz ÷ 0.1MHz = 10; if the preset scan bandwidth is 0.2MHz, the total number of scans is 1MHz ÷ 0.2MHz = 5. The preset fixed bandwidth is the threshold value for determining that the current center frequency has reached its maximum. The scan time is set according to actual needs; for example, if set to 10 seconds and the number of scans is 10, then 10 scans need to be completed within the 10-second scan time.
[0077] Then, a scan is performed according to a preset scanning bandwidth to determine whether there is an interference source nearby. In one embodiment, the method for scanning for interference sources is data scanning. Specifically, a data scan is performed according to the preset scanning bandwidth. If data is scanned, it indicates that there is a communicator of the same type nearby, and it is determined that there is an interference source; if no data is scanned, it is determined that there is no interference source.
[0078] In one embodiment, the method for scanning for interference sources is signal quality scanning. Specifically, signal quality scanning is performed according to a preset scanning bandwidth. If a signal is detected and its quality is greater than a set standard, for example, if the signal quality is -30 dBm and greater than the set standard of -50 dBm, then an interference source is determined to exist. If a signal is detected and its quality is less than or equal to the set standard, for example, if the signal quality is -50 dBm and equal to the set standard, then an interference source is determined to not exist. If no signal is detected, it is also determined that no interference source exists.
[0079] In one embodiment, the method of scanning interference sources is data scanning and signal quality scanning. By using both data scanning and signal quality scanning to scan interference sources, the detection accuracy of nearby interference sources can be improved.
[0080] In one embodiment, if an interference source is determined to exist, step 102 is executed. In another embodiment, if no interference source is determined to exist, step 103 is executed.
[0081] Further reference Figure 1 Step 102 involves shifting the current center frequency of the communicator to the left or right by a preset scanning bandwidth if an interference source is present, and updating the scan count. In this embodiment, when an interference source is determined to exist near the communicator, the current center frequency of the communicator is shifted to the left or right by a preset scanning bandwidth, and the scan count is updated.
[0082] Taking the first scan as an example, the communicator's current center frequency is the initial center frequency of 433MHz, the scan count is 0, and the scan bandwidth is 0.1MHz. When an interference source is detected near the communicator, the current center frequency is shifted to the right to 433MHz + 0.1MHz = 433.1MHz, and the scan count is incremented by 1. After updating the scan count, it is determined whether the current scan count is greater than or equal to the total scan count. In one implementation, if the current scan count is greater than or equal to the total scan count, the current center frequency is reported as full, and the scan ends. In another implementation, if the current scan count is less than the total scan count, the scan continues.
[0083] Further reference Figure 1Step 103 involves storing the current center frequency and ending the scan if no interference source is detected. In this embodiment, when it is determined that no interference source is present near the communicator, the current center frequency is stored and the scan ends. It is worth noting that when the method provided in this embodiment is applied to a photovoltaic power generation scenario, the communicator is specifically a photovoltaic tracking communicator. The photovoltaic tracking communicator can be used to monitor meteorological information of the photovoltaic power station in real time, such as temperature, humidity, and wind speed, and send control commands to the photovoltaic tracking controller based on the monitored meteorological information. For example, it can send control commands to the photovoltaic tracking controller when extreme weather is detected, ensuring that the photovoltaic tracking controller adjusts the angle in a timely manner to ensure the safety of the photovoltaic modules.
[0084] The above method, through real-time scanning, can respond to changes in interference in real time and adjust the center frequency of wireless devices promptly, improving the real-time performance and accuracy of wireless device management. By setting a smaller scanning bandwidth and a larger number of scans, the utilization rate of spectrum resources can be optimized while ensuring communication, avoiding resource waste and improving resource utilization.
[0085] Furthermore, in this embodiment of the application, the communicator and the controller communicate. When the communicator receives an interrogation signal sent by the controller, it sends a response signal to the controller. The interrogation signal is used to confirm whether the controller and the communicator are at the same center frequency, so as to ensure normal communication between the communicator and the controller.
[0086] See Figure 2 As shown in the figure, this application embodiment provides a wireless device frequency adjustment method, which is applied to a controller. First, step 201 involves scanning the communicator according to a preset scanning bandwidth to determine whether a response signal sent by the communicator is received.
[0087] First, set the controller's initial center frequency, scan bandwidth, scan time, and the number of scans by the communicator. Set the controller's initial center frequency and scan bandwidth to be the same as the communicator's initial center frequency and scan bandwidth. For example, if the communicator's initial center frequency is 433MHz and its scan bandwidth is 0.1MHz, then the controller's initial center frequency should also be set to 433MHz and its scan bandwidth to 0.1MHz.
[0088] In this embodiment, communicator scanning refers to the controller continuously sending a predetermined number of query signals. For example, when performing a communicator scan, the controller continuously sends three query signals to the communicator. The scanning time and the number of communicator scans are set according to actual needs. For instance, if the scanning time is set to 10 seconds and the number of communicator scans is 10, then 10 communicator scans are performed within 10 seconds, with three query signals sent for each scan. The controller performs communicator scanning according to a preset scanning bandwidth and determines whether it receives a response signal from the communicator.
[0089] In one possible implementation, if no acknowledgment signal is received from the communicator, step 203 is executed. In another possible implementation, if an acknowledgment signal is received from the communicator, step 204 is executed.
[0090] Furthermore, Figure 2 Step 202, as shown, involves shifting the controller's current center frequency to the left or right by a preset scanning bandwidth if no response signal is received, and updating the communicator's scan count. In this embodiment, if the controller does not receive a response signal from the communicator, it shifts the controller's current center frequency to the left or right by a preset scanning bandwidth and updates the communicator's scan count. For example, the controller's current center frequency is shifted to the right to 433MHz + 0.1MHz = 433.1MHz, and the communicator's scan count is incremented by 1.
[0091] After updating the communicator scan count, it is also necessary to determine whether the current communicator scan count is greater than or equal to the set scan count. In one possible implementation, if the current communicator scan count is greater than or equal to the set scan count, the communicator scan ends and a message indicating that no communicator exists is displayed. In another possible implementation, if the current communicator scan count is less than the set scan count, the communicator scan continues.
[0092] Furthermore, Figure 2 Step 203, as shown, involves storing the current center frequency and ending the communicator scan if a response signal is received. In this embodiment, if the controller receives a response signal from the communicator, indicating that the controller and the communicator are on the same frequency and can communicate, the current center frequency is stored and the communicator scan ends. It is worth noting that when the method provided in this embodiment is applied to a photovoltaic power generation scenario, the controller is specifically a photovoltaic tracking controller. The photovoltaic tracking controller receives control commands sent by the photovoltaic tracking communicator and adjusts the photovoltaic modules according to the control commands.
[0093] The above method sets the controller's center frequency and scanning bandwidth according to the communicator's center frequency and scanning bandwidth. By scanning the communicator in real time, it achieves automatic adjustment of the center frequency, ensuring the communication connection between the controller and the communicator, improving the compatibility of wireless devices, and can be widely used in the management of various wireless devices.
[0094] Based on the same inventive concept, this application also provides a frequency adjustment device for a wireless device, which is applied to a communicator. See [link to relevant documentation]. Figure 3The device includes: a scanning module 301, used to scan according to a preset scanning bandwidth to determine whether there is an interference source; an adjustment module 302, used to shift the current center frequency of the communicator to the left / right by the preset scanning bandwidth and update the number of scans if there is an interference source; and a storage module 303, used to store the current center frequency and end the scanning if there is no interference source.
[0095] Optionally, such as Figure 3 The apparatus shown is further configured to: determine whether the current scan count is greater than or equal to the total scan count, wherein the total scan count is equal to the fixed bandwidth divided by the preset scan bandwidth; if the current scan count is greater than or equal to the total scan count, report that the current center frequency is full and end the scan; if the current scan count is less than the total scan count, continue the scan.
[0096] Optionally, the scanning module 301 is specifically used to: perform data scanning according to the preset scanning bandwidth to determine whether there is an interference source; if data is scanned, it is determined that there is an interference source; if no data is scanned, it is determined that there is no interference source.
[0097] Optionally, the scanning module 301 is further configured to: perform signal quality scanning according to a preset scanning bandwidth to determine whether there is an interference source; if a signal is scanned and the quality of the signal is greater than a set standard, then it is determined that there is an interference source; if a signal is scanned and the quality of the signal is less than or equal to the set standard, then it is determined that there is no interference source; if no signal is scanned, then it is determined that there is no interference source.
[0098] Optionally, the communicator is a photovoltaic tracking communicator, which is used to monitor the meteorological information of the photovoltaic power station and send control commands to the photovoltaic tracking controller according to the meteorological information.
[0099] Optionally, the initial center frequency of the communicator is any frequency in the low frequency band or the mid frequency band, wherein the low frequency band is 433MHz to 434MHz, and the mid frequency band is 865MHz to 875MHz or 902MHz to 928MHz.
[0100] Optionally, the device is further configured to: when the communicator receives an interrogation signal sent by the controller, the communicator sends a response signal to the controller, wherein the interrogation signal is used to confirm whether the controller and the communicator are at the same center frequency.
[0101] Based on the same inventive concept, this application also provides a wireless device frequency adjustment device, which is applied to a controller, see [link to relevant documentation]. Figure 4The device includes: a scanning module 401, used to scan the communicator according to a preset scanning bandwidth and determine whether a response signal sent by the communicator is received, wherein the communicator scanning involves continuously sending a set number of interrogation signals, the interrogation signals being used to confirm whether the controller and the communicator are at the same center frequency; an adjustment module 402, used to shift the current center frequency of the controller to the left or right by the preset scanning bandwidth and update the number of communicator scans if no response signal is received; and a storage module 403, used to store the current center frequency and end the communicator scanning if the response signal is received; wherein the communicator is the aforementioned Figure 1 The communicator used in the frequency adjustment method of the wireless device shown.
[0102] Optionally, the device is further configured to: determine whether the current number of communicator scans is greater than or equal to a set number of scans; if the current number of communicator scans is greater than or equal to the set number of scans, then end the communicator scan and indicate that no communicator exists; if the current number of communicator scans is less than the set number of scans, then continue the communicator scan.
[0103] Optionally, the initial center frequency of the controller is the same as the initial center frequency of the communicator.
[0104] Optionally, the controller is a photovoltaic tracking controller, which is used to receive control commands sent by the photovoltaic tracking communicator and adjust the photovoltaic modules according to the control commands.
[0105] Based on the same inventive concept, this application also provides a photovoltaic support control system, which includes: at least one photovoltaic tracking communicator and multiple photovoltaic tracking controllers; wherein,
[0106] Photovoltaic tracking communicator is used to achieve Figure 1 The steps of the wireless device frequency adjustment method are shown below;
[0107] Photovoltaic tracking controller is used to achieve Figure 2 The steps of the wireless device frequency adjustment method are shown.
[0108] Based on the same inventive concept, this application also provides an electronic device that can realize the function of the aforementioned wireless device frequency adjustment device. (Refer to...) Figure 5 The electronic device includes:
[0109] At least one processor 501 and a memory 502 connected to at least one processor 501. In this embodiment, the specific connection medium between the processor 501 and the memory 502 is not limited. Figure 5The example shown is the connection between processor 501 and memory 502 via bus 500. Bus 500 is... Figure 5 The connections between other components are indicated by thick lines and are for illustrative purposes only, not as limiting information. The Bus 500 can be divided into address bus, data bus, control bus, etc., for ease of representation. Figure 5 The term 501 is represented by a single thick line, but this does not imply that there is only one bus or one type of bus. Alternatively, the processor 501 can also be called a controller; there is no restriction on the name.
[0110] In this embodiment, memory 502 stores instructions executable by at least one processor 501. By executing the instructions stored in memory 502, at least one processor 501 can perform the wireless device frequency adjustment method described above. Processor 501 can implement... Figure 3 The functions of each module in the device shown in / 4.
[0111] The processor 501 is the control center of the device. It can connect to various parts of the control device through various interfaces and lines. By running or executing instructions stored in memory 502 and calling data stored in memory 502, the processor can perform various functions and process data, thereby monitoring the device as a whole.
[0112] In one possible design, processor 501 may include one or more processing units. Processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 501. In some embodiments, processor 501 and memory 502 may be implemented on the same chip; in some embodiments, they may also be implemented on separate chips.
[0113] The processor 501 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the wireless device frequency adjustment method disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0114] Memory 502, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 502 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 502 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 502 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.
[0115] By designing and programming the processor 501, the code corresponding to the wireless device frequency adjustment method described in the foregoing embodiments can be embedded into the chip, enabling the chip to execute the code during operation. Figure 1 The steps of the wireless device frequency adjustment method shown in embodiment / 2 are described below. How to design and program the processor 501 is a technique well-known to those skilled in the art and will not be elaborated upon here.
[0116] Based on the same inventive concept, embodiments of this application also provide a storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the wireless device frequency adjustment method described above.
[0117] In some possible implementations, various aspects of the wireless device frequency adjustment method provided in this application can also be implemented in the form of a program product, which includes program code that, when the program product is run on a device, causes the control device to perform the steps in the wireless device frequency adjustment method according to the various exemplary embodiments of this application described above.
[0118] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0119] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0120] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0121] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0122] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for adjusting the frequency of a wireless device, characterized in that, Applied to a communicator, the method includes: Scan according to the preset scanning bandwidth to determine if there are any interference sources; If an interference source is present, the current center frequency of the communicator will be shifted to the left or right by the preset scanning bandwidth, and the number of scans will be updated. If no interference source is found, the current center frequency is stored, and the scan is terminated.
2. The method as described in claim 1, characterized in that, Following the update scan count, the following is also included: Determine whether the current scan count is greater than or equal to the total scan count, wherein the total scan count is equal to the fixed bandwidth divided by the preset scan bandwidth; If the current number of scans is greater than or equal to the total number of scans, then report that the current center frequency has been reached and end the scan. If the current number of scans is less than the total number of scans, then the scanning continues.
3. The method as described in claim 1, characterized in that, The step of scanning according to a preset scanning bandwidth to determine whether there is an interference source includes: Data is scanned according to the preset scanning bandwidth to determine whether there is an interference source. If data is detected during scanning, it is determined that there is a source of interference. If no data is detected, it is determined that there is no source of interference.
4. The method as described in claim 1, characterized in that, The step of scanning according to a preset scanning bandwidth to determine whether there is an interference source also includes: Perform a signal quality scan based on the preset scanning bandwidth to determine if there are any interference sources. If a signal is detected and the quality of the signal is greater than the set standard, then an interference source is determined to exist. If a signal is detected and the quality of the signal is less than or equal to the set standard, it is determined that there is no interference source. If no signal is detected, it is determined that there is no interference source.
5. The method as described in claim 1, characterized in that, The communicator is a photovoltaic tracking communicator, which is used to monitor the meteorological information of the photovoltaic power station and send control commands to the photovoltaic tracking controller based on the meteorological information.
6. The method as described in claim 1, characterized in that, The initial center frequency of the communicator is any frequency in the low frequency band or the medium frequency band, wherein the low frequency band is 433MHz to 434MHz, and the medium frequency band is 865MHz to 875MHz or 902MHz to 928MHz.
7. The method as described in claim 1, characterized in that, The method further includes: when the communicator receives an interrogation signal sent by the controller, the communicator sends a response signal to the controller, wherein the interrogation signal is used to confirm whether the controller and the communicator are at the same center frequency.
8. A method for adjusting the frequency of a wireless device, characterized in that, Applied to a controller, the method includes: The communicator is scanned according to a preset scanning bandwidth to determine whether a response signal sent by the communicator is received. The communicator scan consists of continuously sending a set number of interrogation signals, which are used to confirm whether the controller and the communicator are at the same center frequency. If the response signal is not received, the current center frequency of the controller is shifted to the left or right by the preset scanning bandwidth, and the number of communicator scans is updated. If the response signal is received, the current center frequency is stored, and the communicator scan is terminated; The communicator is the communicator used in the wireless device frequency adjustment method according to any one of claims 1-7.
9. The method as described in claim 8, characterized in that, Following the update of the communicator scan count, the following is also included: Determine if the current number of communicator scans is greater than or equal to the set number of scans; If the current number of communicator scans is greater than or equal to the set number of scans, the communicator scan ends and a message is displayed indicating that no communicator exists. If the current number of communicator scans is less than the set number of scans, then the communicator scan continues.
10. The method as described in claim 8, characterized in that, The initial center frequency of the controller is the same as the initial center frequency of the communicator.
11. The method of claim 8, characterized in that, The controller is a photovoltaic tracking controller, which is used to receive control commands sent by the photovoltaic tracking communicator and adjust the photovoltaic modules according to the control commands.
12. A frequency adjustment device for a wireless device, characterized in that, Applied to a communicator, the device includes: The scanning module is used to scan according to the preset scanning bandwidth to determine whether there is an interference source; The adjustment module is used to shift the current center frequency of the communicator to the left or right by the preset scanning bandwidth and update the number of scans if an interference source is present. The storage module is used to store the current center frequency and end the scan if there is no interference source.
13. A frequency adjustment device for a wireless device, characterized in that, Applied to a controller, the device includes: The scanning module is used to scan the communicator according to a preset scanning bandwidth and determine whether a response signal sent by the communicator is received. The communicator scanning is to continuously send an interrogation signal a set number of times. The interrogation signal is used to confirm whether the controller and the communicator are at the same center frequency. The adjustment module is used to shift the current center frequency of the controller to the left or right by the preset scanning bandwidth and update the number of communicator scans if the response signal is not received. A storage module is used to store the current center frequency and end the communicator scan if the response signal is received; The communicator is the communicator used in the wireless device frequency adjustment method according to any one of claims 1-7.
14. A photovoltaic support control system, characterized in that, The system includes: at least one photovoltaic tracking communicator and multiple photovoltaic tracking controllers; wherein... The photovoltaic tracking communicator is used to implement the method steps of any one of claims 1-7; The photovoltaic tracking controller is used to implement the method steps of any one of claims 8-11.
15. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, when executing a computer program stored in the memory, implements the method steps of any one of claims 1-11.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method steps of any one of claims 1-11.