Weather radar standard program control method and weather radar standard signal processor

By partitioning the working procedures adapted to different models of weather radar in the standard weather radar signal processor, and using the guide address table for checks and modifications, the problem of low network efficiency of weather radar of different models is solved, and seamless switching and efficient networking is achieved for plug-and-play.

CN120492044AActive Publication Date: 2025-08-15BEIJING METABTAR RADAR
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510710377.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-08-15
Estimated Expiration
2045-05-29

AI Technical Summary

Technical Problem

Different manufacturers and different models of weather radar need to be connected separately through different weather radar signal processors to work normally, resulting in low efficiency in weather radar networking and poor compatibility and consistency.

Method used

It provides a standard program control method for weather radar and a standard signal processor. It stores working programs adapted to different types of weather radars through partitions. It uses the startup guide program to read the guide address table of the configured partition to perform target weather radar verification. If the verification is passed, the signal will be processed. Otherwise, the transmission interface will be polled and the guidance address table will be modified to adapt to the target weather radar.

Benefits of technology

It realizes seamless switching and plug-and-play of different models of weather radars, improves networking efficiency, breaks through the traditional one-machine one-system mode, and realizes compatibility and consistency of multiple machines and one-system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120492044A_ABST
    Figure CN120492044A_ABST
Patent Text Reader

Abstract

The invention discloses a weather radar standard program control method and a weather radar standard signal processor, and the method comprises the steps: loading a starting guide program of a control partition in response to an obtained power-on instruction; and reading a first guide address table of the configuration partition according to the starting guide program, loading a target working program of a target partition indicated by the first guide address table, and checking the target weather radar according to the target working program. And if the target weather radar passes the verification, processing the signal of the target weather radar. And if the target weather radar does not pass the verification, polling a matching result of each transmission interface and the target weather radar, modifying the first guide address table according to the matching result to obtain a second guide address table, performing modification based on the matching result to obtain the second guide address table, and loading a working program of a partition indicated by the second guide address table. Therefore, seamless switching of different types of weather radars is realized, so that the different types of weather radars can be plug-and-play, and the networking efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a weather radar standard program control method and a weather radar standard signal processor. Background Art

[0002] The weather radar signal processor is the core module of the weather radar system, which can convert the raw signal received from the weather radar into identifiable target information such as distance, speed, direction, etc.

[0003] In the related art, weather radars of different manufacturers and models need to be connected through different weather radar signal processors to work properly, and the weather radar signal processors need to adapt different program control logics for processors of different manufacturers and models.

[0004] The weather radar signal processor in the related technology needs to meet the "one machine, one system" model in the networking scenario of multiple models of weather radars, and has low compatibility and consistency, resulting in low weather radar networking efficiency. Summary of the Invention

[0005] In response to the above problems, the present application provides a weather radar standard program control method and a weather radar standard signal processor, which are used to improve the compatibility and consistency of weather radar signal processors for multiple models of weather radars, thereby improving the efficiency of weather radar networking.

[0006] Based on this, this application discloses the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides a weather radar standard program control method, which is applied to a weather radar standard signal processor, wherein the weather radar standard signal processor includes multiple transmission interfaces adapted for different models of weather radars, and the method includes:

[0008] In response to the weather radar standard signal processor acquiring a power-on instruction, loading a boot program of the control partition;

[0009] Reading a first boot address table of a configuration partition according to the boot program, and loading a target working program of a target partition, wherein the target partition is a program partition indicated by the first boot address table among multiple program partitions, and different program partitions are used to store working programs adapted to different models of weather radars;

[0010] Calibrate the target weather radar according to the target working procedures;

[0011] If the target weather radar passes the verification, processing the signal of the target weather radar; if the target weather radar fails the verification, polling the matching results between each transmission interface and the target weather radar, and modifying the first guide address table according to the matching results to obtain a second guide address table;

[0012] The working program of the program partition indicated by the second boot address table is loaded.

[0013] Optionally, the control partition includes an error handling program, and if the target weather radar verification fails, polling the matching results between each of the transmission interfaces and the target weather radar, and modifying the first boot address table according to the matching results to obtain a second boot address table; loading a working program of the program partition indicated by the second boot address table, including:

[0014] If the target weather radar verification fails, the process jumps to the control partition and loads the error handling program of the control partition, wherein the error handling program is used to execute the steps of polling the matching results of each transmission interface and the target weather radar and subsequent steps.

[0015] Optionally, the method further includes:

[0016] If the target weather radar verification passes, performing a program verification on the target working program;

[0017] If the program is verified to be correct, the signal of the target weather radar is processed;

[0018] If the program verification is wrong, the process jumps to the control partition and loads the error handling program of the control partition.

[0019] Optionally, the error handling program is further configured to:

[0020] Counting the number of program check errors by a first error counter;

[0021] If the number of the first error counter is greater than a first preset threshold, a remote download waiting instruction for the working program is sent to the target terminal.

[0022] Optionally, polling the matching results between each of the transmission interfaces and the target weather radar includes:

[0023] determining, in sequence according to a first period, whether each of the transmission interfaces matches the target weather radar, where the first period is used to indicate an interval for polling each of the matching results;

[0024] If the target transmission interface and the target weather radar cannot be matched within a second period, adding 1 to a second error counter and determining the matching result of the target transmission interface as a mismatch, the target transmission interface being one of the plurality of transmission interfaces;

[0025] If the target transmission interface matches the target weather radar within the second period, the matching result of the target transmission interface is determined as a match.

[0026] Optionally, the method further includes:

[0027] If the number of errors counted by the second error counter exceeds a second preset threshold, polling the matching results between each of the transmission interfaces and the target weather radar is stopped.

[0028] Optionally, the method further includes:

[0029] In response to receiving the remote download instruction, downloading the upgrade working program corresponding to the remote download instruction;

[0030] The upgrade working program is written into the program partition corresponding to the upgrade working program.

[0031] Optionally, the upgrade working program includes a plurality of file pieces, and downloading the upgrade working program carried by the remote download instruction includes:

[0032] Obtaining multiple file slices corresponding to the upgrade work program;

[0033] Verifying each of the file pieces using a first verification algorithm, and storing the verified file pieces in a buffer;

[0034] Writing the upgrade working program into the program partition corresponding to the upgrade working program includes:

[0035] The upgrade working program is verified by using a second verification algorithm. If each of the file pieces passes the verification and the upgrade working program passes the verification, the upgrade working program is written into the program partition corresponding to the upgrade working program.

[0036] Optionally, the method further includes:

[0037] If the download is interrupted or the writing process is abnormal, the process jumps to the control partition and loads the error handling program of the control partition, which is used to execute the steps of polling the matching results of each transmission interface and the target weather radar and subsequent steps.

[0038] In a second aspect, an embodiment of the present application provides a weather radar standard signal processor, which includes multiple transmission interfaces, a core processing unit, and a memory adapted for different models of weather radars:

[0039] The core processing unit is configured to execute the method according to the first aspect of the claim above;

[0040] The memory includes a control partition, multiple program partitions and a configuration partition. The control partition is used to store a startup boot program, different program partitions are used to store working programs adapted to different models of weather radars, and the configuration partition is used to store a first boot address table.

[0041] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method described in the first aspect above.

[0042] In a fourth aspect, an embodiment of the present application provides a computer program product comprising a computer program, which, when executed on a computer device, enables the computer device to execute the method described in the first aspect above.

[0043] It can be seen from the above technical solutions that this application has at least the following beneficial effects:

[0044] In response to the weather radar standard signal processor receiving a power-on command, the boot program of the control partition is loaded. Different program partitions are used to store operating programs adapted for different weather radar models. This allows a single weather radar standard signal processor to store multiple sets of control logic, thereby enabling data exchange with different weather radar models. The boot program reads the first boot address table of the configuration partition and loads the target operating program of the target partition indicated by the first boot address table. The target weather radar is then verified based on the target operating program. If the target weather radar passes the verification, the control logic of the target operating program and its corresponding transmission interface are adapted for the target weather radar, and the target weather radar signal can then be processed. If the target weather radar fails the verification, the matching results between each transmission interface and the target weather radar are polled, and the first boot address table is modified based on the matching results to obtain a second boot address table. By modifying the second boot address table based on the matching results, the operating program that is truly adapted for the target weather radar is determined and loaded. Therefore, by partitioning the storage to adapt to the working programs of different types of weather radars, multiple sets of control architectures and interaction logics can be realized through one weather radar standard signal processor, thereby improving compatibility. When the working program of the target partition does not match the target weather radar, the boot address table is modified to ensure the boot address table, so that the current weather radar standard signal processor can be guided to the program partition corresponding to the target weather radar during the startup process, thereby realizing seamless switching between different types of weather radars, making different types of weather radars plug-and-play, breaking through the traditional mode of "one machine, one system", and realizing "multiple machines, one system", so that different types of weather radars and weather radar standard signal processors have consistency, thereby improving networking efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0046] Figure 1 A flowchart of a standard program control method for a weather radar provided in an embodiment of the present application;

[0047] Figure 2 This is a schematic diagram of the structure of a weather radar standard signal processor provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The following describes embodiments of the present application in more detail with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustrative purposes only and are not intended to limit the scope of protection of the present application.

[0049] Related technologies require different weather radar signal processors to network different weather radars, resulting in low efficiency. While traditional standard weather radar signal processors standardize intermediate frequency echo signal acquisition, signal processing algorithms, and processes, and are compatible with the physical interfaces of all weather radar models, the architectures, subsystems, interfaces, and communication protocols used by different models of weather radars produced by different manufacturers vary significantly. To address these significant differences, it is necessary to develop unique control architectures and interaction logic for different signal weather radar systems.

[0050] Table 1 illustrates the differences between weather radar models using three manufacturers as examples. This table illustrates the differences between weather radars from different manufacturers. Weather radars from different manufacturers use different system architectures, corresponding to different communication protocols and control logic.

[0051] Table 1

[0052] Weather radar system architecture illustrate Manufacturer A (Hefei) Distributed network node control architecture Each module transmits identification, control, status, and angle code data to each other through the UDP multicast network Manufacturer B (Chengdu) Binary network node control architecture The two main nodes in the computer room and antenna warehouse control their respective modules Manufacturer C (Beijing) Centralized control architecture Control all weather radar components via monitoring unit

[0053] Based on this, the embodiment of the present application provides a weather radar standard program control method and a weather radar standard signal processor. By partitioning and storing working programs adapted to different models of weather radars, multiple sets of control architectures and interaction logics can be implemented through one weather radar standard signal processor, thereby improving compatibility. When the working program of the target partition does not match the target weather radar, the boot address table is modified to ensure the boot address table, so that the current weather radar standard signal processor can be guided to the program partition corresponding to the target weather radar during the startup process, thereby realizing seamless switching between different models of weather radars, so that different models of weather radars can be plug-and-play, breaking through the traditional mode of "one machine, one system", and realizing "multiple machines, one system", so that different models of weather radars and weather radar standard signal processors have consistency, thereby improving networking efficiency.

[0054] See also Figure 1, which is a flow chart of the weather radar standard program control method provided by the embodiment of the present application. For the sake of convenience in description, the following embodiment uses the execution subject of the weather radar standard program control method as a weather radar standard signal processor, which includes multiple transmission interfaces adapted to different models of weather radars. Figure 1 As shown, the weather radar standard program control method includes S101-S105.

[0055] S101: In response to the weather radar standard signal processor obtaining a power-on instruction, loading a boot program of a control partition.

[0056] The power-on command is an initialization command automatically triggered by the hardware firmware when the weather radar standard signal processor is powered on. The control partition is one of multiple partitions within the weather radar standard signal processor's storage area. The control partition is used to store programs that implement the boot process, such as the boot program that guides the weather radar standard signal processor to determine its operating program during startup. In response to the power-on command, the weather radar standard signal processor initiates the boot process and loads the control partition's boot program.

[0057] Referring to Table 2 below, each partition is described by taking the memory of a weather radar standard signal processor including six partitions as an example.

[0058] Table 2

[0059] 1 0x0000_0000~0x005C_FFFF Golden Zone (5.82M) #Boot Manager + Secure Boot Program + Remote Upgrade Manager 2 0x005D_0000~0x00E6_FFFF Program_A(8.25M) #A-type weather radar signal processing program 3 0x00E7_0000~0x0170_FFFF Program_B(8.25M) #B-type weather radar signal processing program 4 0x0171_0000~0x01FA_FFFF Program_C(8.25M) #C-type weather radar signal processing program 5 0x01FB_0000~0x01FE_0000 Config area (192K) #Boot address table, working program check data 6 0x01FF_0000~0x01FF_FFFF Work_Data(64K) #Working data area

[0060] Different partitions are obtained by dividing the memory with different addresses.

[0061] Partition 1 is the control partition (Golden zone), which includes a boot manager, a secure boot program, and a remote upgrade management program. The boot manager is used to execute the boot program.

[0062] Partition 2 to Partition 4 are three program partitions, which are used to store working programs adapted to Type A weather radar, Type B weather radar and Type C weather radar respectively.

[0063] Partition 5 is a configuration partition, which is used to store a boot address table and a working program for checking data. The boot address table is used to indicate a program partition (such as partition 2 to partition 4) adapted for the target weather radar. For example, the configuration partition can store the address of the program partition, and by reading the address of the program partition, it can jump to the corresponding program partition. The target weather radar is a weather radar used to interact with data with a weather radar standard signal processor.

[0064] Partition 6 is the working data area, which is used to store the working data generated by the weather radar standard signal processor.

[0065] For example, after power-on, the BootRom search program is executed, stepping 32KB, and after retrieving the GoldenBootRom Header of the control partition, the first stage boot loader (FSBL) of the control partition is loaded. FSBL is a boot program.

[0066] S102: Read the first boot address table of the configuration partition according to the boot program, and load the target working program of the target partition.

[0067] The first boot address table is the initial boot address table. The addresses stored in the first boot address table can be the addresses determined during the last boot or the factory default addresses, which are not limited in this embodiment of the present application. The target partition is the program partition indicated by the first boot address table among the multiple program partitions. Different program partitions are used to store working programs adapted for different types of weather radars. Different working programs correspond to different transmission interfaces, such as the working program for a C-type weather radar corresponding to the transmission interface adapted for a C-type weather radar. For example, the first boot address table can be used to indicate partition 4, which is the program partition that stores the working program adapted for a C-type weather radar.

[0068] According to the boot program, the first boot address table of the configuration partition is read, and the target working program can be read from the address indicated by the first boot address table and loaded. The target working program is the working program stored in the target partition.

[0069] S103: Verify the target weather radar according to the target working procedure.

[0070] During the process of loading the target working program, the target weather radar needs to be verified to determine whether the target weather radar can be controlled by the target working program, that is, to determine whether the target partition and the target working program are suitable for the target weather radar.

[0071] Specifically, the target weather radar identifier can be obtained by bidirectionally communicating with the target weather radar using the transmission interface corresponding to the target working program. For example, the weather radar standard signal processor first sends a first identifier of the weather radar standard signal processor to the target weather radar. After receiving the first identifier, the target weather radar sends a second identifier of the target weather radar to the weather radar standard signal processor. A check is then performed to see whether the identifier of the target weather radar matches the transmission interface corresponding to the target working program. If so, the verification passes; if not, the verification fails.

[0072] By verifying the target weather radar, it is possible to determine whether the target partition and target working program indicated by the first boot address table are adaptable to the target weather radar, so that subsequent processing can be performed according to different verification results to complete the startup process of the corresponding working program of the target weather radar.

[0073] See Table 3 below, which includes the transmission interfaces and descriptions of different types of weather radars.

[0074] Table 3

[0075] Communication interface Hardware Connection Applicable weather radar models Transmission data type Gigabit Ethernet RGMII interface Type A weather radar Equipment identification, control instructions, status feedback SPI bus FPGA PL interface Type B weather radar Equipment identification, control instructions, status feedback Serial port (RS232) FPGA PL-side UART module C-type weather radar Equipment identification, control instructions, status feedback

[0076] The transmission interface is an interface for transmitting weather radar signal data, such as the weather radar's equipment identification, control instructions, status feedback, weather radar signals, etc. The transmission interface can include two parts: the communication interface and the hardware connection. Different models of weather radars require different types of communication interfaces and hardware connections to achieve data transmission.

[0077] S104: If the target weather radar passes the verification, the target weather radar signal is processed. If the target weather radar fails the verification, the matching results between each transmission interface and the target weather radar are polled, and the first guide address table is modified according to the matching results to obtain a second guide address table.

[0078] If the target weather radar passes verification, it indicates that the target working program stored in the target partition is compatible with the target weather radar and can be processed through the target working program's control logic. Furthermore, the target working program's corresponding transmission interface is also compatible with the target weather radar, enabling data exchange. This also confirms that the address indicated by the first boot address table is correct, and there is no need to modify the first boot address table. In this case, the target weather radar's signals can be directly processed through the target working program.

[0079] As an implementation method, after the target weather radar passes verification, a flag indicating verification success is sent to the weather radar data acquisition (RDA) subsystem computer, and the error counter and fault flag of the configuration partition are cleared. The error counter can be used to count the number of polling match failures, and the fault flag is used to indicate that a valid weather radar identifier was not detected.

[0080] If the target weather radar fails verification, it indicates that the target working program stored in the target partition is not compatible with the target weather radar. The target weather radar cannot be processed through the control logic of the target working program, and the transmission interface corresponding to the target working program is also not compatible with the target weather radar, making data exchange impossible. This also confirms that the address indicated by the first boot address table is incorrect and needs to be modified. This situation may be caused by a temporary replacement of the weather radar or a mismatch between the target weather radar and the default program partition. Based on this, the matching results of each transmission interface and the target weather radar can be polled, that is, each transmission interface can be determined in turn to determine whether it matches the target weather radar. Based on the matching results, the transmission interface that matches the target weather radar can be determined, and then the target weather radar model can be determined based on the working program corresponding to the transmission interface. The first boot address table is then modified to obtain a second boot address table. The second boot address table is the modified boot address table. Through modification, the second boot address table can point to the partition of the working program that is compatible with the target weather radar, thereby completing the update synchronization of the first boot address table.

[0081] In a possible implementation, the process of polling matching results can be seen in A1-A3:

[0082] A1: According to the first cycle, determine whether each transmission interface matches the target weather radar.

[0083] The first period is used to indicate the interval for polling each matching result. For example, the first period may be 500 ms.

[0084] A2: If the target transmission interface and the target weather radar cannot be matched within the second period, the second error counter is incremented by 1, and the matching result of the target transmission interface is determined as mismatch.

[0085] The second period is used to indicate the upper limit of the duration during which no valid weather radar identification is detected. For example, the second period may be 300ms. The target transmission interface is one of the multiple transmission interfaces. The second error counter is used to count the number of mismatches.

[0086] A3: If the target transmission interface matches the target weather radar within the second cycle, the matching result of the target transmission interface is determined as a match.

[0087] For example:

[0088] Detect Ethernet interface (Type A weather radar identifier) → If the timeout exceeds 300ms, the second error counter is incremented by 1 and the process proceeds to the next stage. If a valid weather radar identifier is detected within 300ms, the process is considered a match.

[0089] Detect SPI interface (Type B weather radar ID code) → Timeout 300ms, then the second error counter +1, and enter the next stage; if a valid weather radar identifier is detected within 300ms, it is determined to be a match.

[0090] Detect serial port (C-type weather radar signature) → If the timeout is 300ms, the second error counter is incremented by 1 and the process proceeds to the next stage. If a valid weather radar identifier is detected within 300ms, the process is considered a match.

[0091] Therefore, after detecting that the last transmission interface does not match the target weather radar, the first transmission interface can continue to be detected in a loop to see if it matches the target weather radar, thereby achieving continuous real-time detection. The second error counter can reflect the number of current matching failures, so that further processing can be performed based on the error counter.

[0092] Furthermore, if the number of errors of the second error counter exceeds a second preset threshold, polling the matching results between each transmission interface and the target weather radar is stopped.

[0093] This can prevent the polling process from falling into an infinite loop and reduce the load on the weather radar standard signal processor so that scenes with too many errors can be further processed instead of continuing to poll for matching results.

[0094] S105: Load the working program of the program partition indicated by the second boot address table.

[0095] After obtaining the second boot address table, the target boot address table can indicate the program partition and the corresponding working program adapted for the target weather radar. By loading the working program, the signal of the target weather radar can be processed normally through the control logic of the working program and the transmission interface corresponding to the working program.

[0096] As can be seen from the above technical solution, the weather radar standard signal processor includes multiple transmission interfaces adapted for different weather radar models. In response to a power-on command received by the weather radar standard signal processor, the bootloader of the control partition is loaded. Different program partitions are used to store operating programs adapted for different weather radar models. This allows a single weather radar standard signal processor to store multiple sets of control logic, enabling data exchange with different weather radar models. The bootloader reads the first boot address table of the configuration partition and loads the target operating program of the target partition indicated by the first boot address table. Verification is then performed on the target weather radar based on the target operating program. If the verification of the target weather radar passes, it indicates that the control logic of the target operating program and its corresponding transmission interface are adapted for the target weather radar, and the target weather radar signal can then be processed. If the verification of the target weather radar fails, the matching results between each transmission interface and the target weather radar are polled, and the first boot address table is modified based on the matching results to obtain a second boot address table. By modifying the second boot address table based on the matching results, the operating program that is truly adapted for the target weather radar is determined and loaded. Therefore, by partitioning the storage to adapt to the working programs of different types of weather radars, multiple sets of control architectures and interaction logics can be realized through one weather radar standard signal processor, thereby improving compatibility. When the working program of the target partition does not match the target weather radar, the boot address table is modified to ensure the boot address table, so that the current weather radar standard signal processor can be guided to the program partition corresponding to the target weather radar during the startup process, thereby realizing seamless switching between different types of weather radars, making different types of weather radars plug-and-play, breaking through the traditional mode of "one machine, one system", and realizing "multiple machines, one system", so that different types of weather radars and weather radar standard signal processors have consistency, thereby improving networking efficiency.

[0097] In one possible implementation, the control partition also includes an error handler. If the target weather radar fails verification, the system jumps to the control partition and loads the error handler. The error handler is used to execute the steps of polling the matching results between each transmission interface and the target weather radar and subsequent steps. The error handler is used to handle the situation where the target weather radar does not match.

[0098] Specifically, the jump address of the first boot address table may be modified to the error handling program of the control partition, thereby jumping to the program entry of the error handling program and loading the error handling program.

[0099] Therefore, in response to various situations where the target weather radar does not match (such as temporary replacement of weather radar, incompatible weather radar models), it is possible to directly jump to the error handler and start the relevant processing flow by loading the error handler, thereby achieving unified processing of abnormal situations encountered in the process of adapting different models of weather radars, improving adaptation efficiency, and thus improving the networking efficiency of weather radars.

[0100] In a possible implementation, when the target weather radar passes verification, that is, after determining that the model of the target weather radar matches the target working program, the target working program may be subjected to program verification to determine the executability of the target working program.

[0101] If the program verification is correct, it means that the target working program can be executed normally, and then the signal of the target weather radar is processed.

[0102] If the program verification error indicates that the target working program cannot be executed normally, the process will jump to the control partition, load the error handling program of the control partition, and enter the process of handling the abnormal situation.

[0103] Therefore, by verifying the program, while ensuring that the target working program is used for the target weather radar, the executableness of the target working program is further determined, reducing the possibility of being unable to process weather radar signal data due to program errors, thereby improving the accuracy of adaptation.

[0104] Furthermore, the error handling program can be used to count the number of program check errors through a first error counter.

[0105] If the number of times the first error counter counts exceeds a first preset threshold, it indicates that the current target working program is damaged, lost, or otherwise unable to be executed. In this case, a remote download wait instruction for the working program can be sent to the target terminal. This remote download wait instruction is used to instruct the weather radar standard signal processor to receive the remote download instruction and download the corresponding working program. The first preset threshold and the second preset threshold can be the same or different, and those skilled in the art can set them according to actual needs.

[0106] The target terminal is a computer device with Over-the-Air Technology (OTA) technology, for example, the target terminal may be an RDA computer.

[0107] Therefore, when the target working program is proved to be unexecutable for many times, a remote download instruction can be sent to the target terminal, so that the weather radar standard signal processor can obtain the correct and updated working program, thereby improving the fault tolerance of the target weather radar matching process.

[0108] In a possible implementation, in response to receiving the remote download instruction, the upgrade working program corresponding to the remote download instruction is downloaded, and the upgrade working program is written into the program partition corresponding to the upgrade working program.

[0109] The remote download instruction may include the weather radar model and file size, and after the connection is established, the upgrade program is transmitted to the terminal corresponding to the remote download instruction, for example, by receiving the remote download instruction through a UDP handshake.

[0110] The upgraded working program is a working program transmitted by OTA, corresponding to one of multiple working programs. For example, if the working program of the C-type weather radar is damaged, the upgraded working program of the C-type weather radar can be received through OTA and then written into the program partition corresponding to the C-type weather radar.

[0111] As an implementation method, after writing to the corresponding program partition, it is possible to jump to the control partition and load the error handling program of the control partition.

[0112] It should be noted that during the downloading and writing processes, the related services of weather radar data processing can be suspended through hardware interrupt shielding, thereby avoiding interference with the downloading or writing process and improving data transmission reliability.

[0113] Therefore, the upgraded working program can be written into the corresponding partition through OTA, so that the working program of each partition can be maintained and iterated, making the working program stored in each partition more effective, thereby reducing the error probability in the process of adapting to the target weather radar and improving the efficiency of weather radar networking.

[0114] In a possible implementation, if the upgrade program includes multiple file pieces, which are the smallest units of data transmission, the download process can be performed as follows:

[0115] Get multiple file slices corresponding to the upgrade program.

[0116] Each file fragment is verified using a first verification algorithm, and the verified file fragments are stored in a buffer, thereby achieving dual backup storage. In the event of an abnormal file fragment transmission, the file fragment can be restored from the buffer. For example, the buffer can be a DDR4 buffer.

[0117] The upgrade working program is verified by using a second verification algorithm. If each file piece passes the verification and the upgrade working program passes the verification, the upgrade working program is written into the program partition corresponding to the upgrade working program.

[0118] The first verification algorithm and the second verification algorithm may be the same or different. For example, the first verification algorithm may be CRC16 and the second verification algorithm may be SHA-256. This embodiment of the present application does not limit this.

[0119] As an implementation manner, if the file segment verification fails, an instruction for instructing retransmission may be sent, and if the number of file segment verification failures exceeds a third preset threshold, an error is reported for the transmission verification failure process.

[0120] As an implementation method, the writing process can be verified through readback comparison and inverse code verification. If the verification is wrong, an instruction to retransmit the upgraded working program can be sent to the terminal corresponding to the remote download instruction.

[0121] As an implementation method, after the writing is completed, the process can jump to the control partition and load the error handling program of the control partition, thereby restarting the above startup process so that a valid upgrade working program can be applied.

[0122] Therefore, through double encryption and double backup storage, the security and fault tolerance of the OTA process are improved, thereby improving the effectiveness and safety of the working procedures adapted to the target weather radar.

[0123] Furthermore, if the download is interrupted or the writing process is abnormal, the process can jump to the control partition and load the error handling program of the control partition.

[0124] Therefore, if there is a problem with the OTA, the error handling process can be restarted, thereby re-executing the boot process for subsequent retransmission.

[0125] See also Figure 2 The embodiment of the present application further provides a weather radar standard signal processor, wherein the weather radar standard signal processor 200 includes a plurality of transmission interfaces 201 adapted for different types of weather radars, a core processing unit 202, and a memory 203.

[0126] The core processing unit 202 is used to execute the method of the above method embodiment;

[0127] The memory 203 includes a control partition 2031, multiple program partitions 2032 and a configuration partition 2033. The control partition 2031 is used to store the startup boot program, the different program partitions 2032 are used to store working programs adapted to different models of weather radars, and the configuration partition 2033 is used to store the first boot address table.

[0128] The weather radar standard signal processor is exemplarily described below.

[0129] The core processing unit may include a PS side (ARM processing system) and a PL side (FPGA programmable logic) interconnected by an AXI (universal standard) high-speed bus to achieve collaborative processing of hardware acceleration and software control.

[0130] See Table 4, which is used to indicate the transmission interface and related circuit components included in the weather radar standard signal processor.

[0131] Table 4

[0132] Module Specifications Purpose and function description DDR4 memory 4GB capacity, 1600MHz speed PS side running memory QSPI Flash 256Mb NOR type, four-wire high-speed interface Stores multiple versions of firmware, FPGA configuration bitstreams, and weather radar operating parameters Fiber optic interface SFP module, 1Gbps full-duplex transmission Communicate with RDA computer, remote program upgrade and weather radar echo data return. Strong anti-interference ability Gigabit Ethernet RGMII interface Type A weather radar working data transmission (identification, control, status) SPI interface FPGA PL interface B-type weather radar working data transmission (identification, control, status) Serial Port RS232, FPGA PL interface C-type weather radar working data transmission (identification, control, status)

[0133] An embodiment of the present application further provides a computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method of the above method embodiment.

[0134] An embodiment of the present application further provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the method of the above method embodiment.

[0135] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the systems or devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0136] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0137] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or plural.

[0138] It should also be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0139] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0140] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A weather radar standard program control method, characterized in that: Applied to a weather radar standard signal processor, the weather radar standard signal processor includes multiple transmission interfaces adapted to different models of weather radars, the method comprising: In response to the weather radar standard signal processor acquiring a power-on instruction, loading a boot program of the control partition; Reading a first boot address table of a configuration partition according to the boot program, and loading a target working program of a target partition, wherein the target partition is a program partition indicated by the first boot address table among multiple program partitions, and different program partitions are used to store working programs adapted to different models of weather radars; Calibrate the target weather radar according to the target working procedures; If the target weather radar passes the verification, processing the signal of the target weather radar; if the target weather radar fails the verification, polling the matching results between each transmission interface and the target weather radar, and modifying the first guide address table according to the matching results to obtain a second guide address table; The working program of the program partition indicated by the second boot address table is loaded.

2. The method according to claim 1, characterized in that The control partition includes an error handling program, which polls the matching results between each of the transmission interfaces and the target weather radar if the target weather radar verification fails, and modifies the first boot address table according to the matching results to obtain a second boot address table; Loading a working program of the program partition indicated by the second boot address table includes: If the target weather radar verification fails, the process jumps to the control partition and loads the error handling program of the control partition, wherein the error handling program is used to execute the steps of polling the matching results of each transmission interface and the target weather radar and subsequent steps.

3. The method according to claim 2, characterized in that The method further comprises: If the target weather radar verification passes, performing a program verification on the target working program; If the program is verified to be correct, the signal of the target weather radar is processed; If the program verification is wrong, the process jumps to the control partition and loads the error handling program of the control partition.

4. The method according to claim 3, characterized in that The error handler is also used to: Counting the number of program check errors by a first error counter; If the number of the first error counter is greater than a first preset threshold, a remote download waiting instruction for the working program is sent to the target terminal.

5. The method according to claim 1, wherein The polling of the matching results between each of the transmission interfaces and the target weather radar includes: determining, in sequence according to a first period, whether each of the transmission interfaces matches the target weather radar, where the first period is used to indicate an interval for polling each of the matching results; If the target transmission interface and the target weather radar cannot be matched within a second period, adding 1 to a second error counter and determining the matching result of the target transmission interface as a mismatch, the target transmission interface being one of the plurality of transmission interfaces; If the target transmission interface matches the target weather radar within the second period, the matching result of the target transmission interface is determined as a match.

6. The method according to claim 5, characterized in that The method further comprises: If the number of errors counted by the second error counter exceeds a second preset threshold, polling the matching results between each of the transmission interfaces and the target weather radar is stopped.

7. The method according to claim 1 or 4, characterized in that The method further comprises: In response to receiving the remote download instruction, downloading the upgrade working program corresponding to the remote download instruction; The upgrade working program is written into the program partition corresponding to the upgrade working program.

8. The method according to claim 7, characterized in that The upgrade working program includes a plurality of file pieces, and the downloading of the upgrade working program carried by the remote download instruction includes: Obtaining multiple file slices corresponding to the upgrade work program; Verifying each of the file pieces using a first verification algorithm, and storing the verified file pieces in a buffer; Writing the upgrade working program into the program partition corresponding to the upgrade working program includes: The upgrade working program is verified by using a second verification algorithm. If each of the file pieces passes the verification and the upgrade working program passes the verification, the upgrade working program is written into the program partition corresponding to the upgrade working program.

9. The method according to claim 8, characterized in that The method further comprises: If the download is interrupted or the writing process is abnormal, the process jumps to the control partition and loads the error handling program of the control partition, which is used to execute the steps of polling the matching results of each transmission interface and the target weather radar and subsequent steps.

10. A weather radar standard signal processor, characterized in that: The weather radar standard signal processor includes multiple transmission interfaces, core processing units, and memories adapted to different types of weather radars: The core processing unit is configured to execute the method according to any one of claims 1 to 9; The memory includes a control partition, multiple program partitions and a configuration partition. The control partition is used to store a startup boot program, different program partitions are used to store working programs adapted to different models of weather radars, and the configuration partition is used to store a first boot address table.

Citation Information

Patent Citations

  • VPX-platform-based radar signal processing system and application software design method

    CN107167773A

  • Dynamic configuration method of communication protocol, wireless communication device, and household appliance

    CN108965018A

  • Compatibility method and device for DDR, storage medium and equipment

    CN113535238A

  • Weather radar standard signal processor

    CN222482410U

  • Firmware data processing method and apparatus

    WO2022116088A1