A radar emitter database storage system and storage method for offline recovery of a file system
By designing a radar radiation source database storage system for offline recovery of file systems, the problems of discontinuous data records and complex data flow in the prior art are solved, and the security, stability and universality of data storage are improved.
Patent Information
- Application Number
- CN202411039236.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2044-07-31
AI Technical Summary
The existing radar radiation source database storage system has discontinuous data records in field tests, making it difficult to quickly identify and export data, and the data flow is complex, the operation is redundant, the storage efficiency is low and error-prone.
Design a radar radiation source database storage system for offline recovery of file systems. Through the radiation source data generation module, data recording module, file recovery information table update module, data transmission module, file recovery and upper computer interaction module, upper computer module and command operation module, offline data recording and later file system recovery is realized.
It reduces the system load, improves the security and stability of data storage, enhances the universality and portability of the system, reduces workload and lowers the threshold for migration of invention results.
Smart Images

Figure CN118963667B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of database storage, and particularly relates to a radar radiation source database storage system and a storage method for off-line recovery of a file system. Background Art
[0002] Radar radiation source recognition is an important function of a radar countermeasure system. The radiation source recognition system mainly consists of two parts: a radar database and an identification processor. The identification processor can compare the detected radar signal characteristic parameters with the data representing the known radar technical performance in the radar database and give an identification result. The radar radiation source database needs to be established through a large amount of radar detection data, which is processed and analyzed, and continuously verified, supplemented, and modified. The specific process of establishing the radar radiation source database is as follows: The analog intermediate frequency signal is sampled by a high-speed AD to obtain a digital intermediate frequency signal. After being received by the FPGA, digital down-conversion, channelization are performed, and then detection is carried out. After detection, the large ones are selected to generate pulse description words, and continuous work is carried out to establish the radar radiation source database.
[0003] In the field test, the radar detection data is not continuously recorded, and only when a detection target appears will it be recorded as valid data. If only the data is saved, all the data is mixed together, and it is impossible to quickly screen out the data of interest. When subsequent data needs to be exported, a complex interaction protocol needs to be established between the FPGA and the DSP, which is inefficient and error-prone.
[0004] Managing data through files is more convenient and efficient. If a file system is established on the FPGA, it is extremely difficult, and corresponding upper computer software needs to be developed, with limited functions and lack of generality. If a file system is established on the DSP, it is relatively easy, but the data processed on the FPGA needs to be sent to the DSP first, and then the DSP calls the read and write interfaces of the file system and writes to the eMMC memory mounted on the FPGA through the EMIF interface. The schematic diagram of the data stream is as Figure 3 shown. Although the function can meet the requirements, the data stream is extremely complex and the operation is redundant, resulting in low data storage efficiency and being error-prone. Summary of the Invention
[0005] In order to overcome the above-mentioned disadvantages of the prior art, the purpose of the present invention is to propose a radar radiation source database storage system and a storage method for off-line recovery of a file system. By designing different modules, the system can achieve the effect of only recording data in the early stage and reconstructing the recorded data into a file system in the later stage. The present invention can improve the security and stability of data storage while reducing the system load.
[0006] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0007] A radar radiation source database storage system for off-line recovery of a file system, comprising: a radiation source data generation module, a radiation source data recording module, a file recovery information table update module, a data transmission module, a file recovery and interaction module with a host computer, a host computer module, and an instruction operation module;
[0008] The radiation source data generation module is configured to receive an intermediate frequency analog signal of a radar radiation source, convert the intermediate frequency analog signal into an intermediate frequency digital signal, convert the intermediate frequency digital signal into a pulse description word through the instruction operation module, generate radar radiation source data by using the pulse description word and radar characteristic parameters, and construct a radar radiation source database;
[0009] The radiation source data recording module is configured to record the radar radiation source data in the radar radiation source database;
[0010] The file recovery information table update module is configured to generate, store, and update a file recovery information table;
[0011] The data transmission module is configured to transmit the radar radiation source data and the file recovery information table to the file recovery and interaction module with the host computer;
[0012] The file recovery and interaction module with the host computer is configured to establish the radar radiation source data as a file system according to the file recovery information table, and transmit the file system to the host computer module;
[0013] The host computer module is configured to display the directory of the file system and export the file system;
[0014] The instruction operation module is configured to control the radiation source data generation module to convert the intermediate frequency digital signal into a pulse description word; to send an instruction to the radiation source data recording module to enable the radiation source data recording module to record the data in the radar radiation source database into a storage medium; to send an instruction to the file recovery information table update module to enable the file recovery information table update module to generate, store, and update the file recovery information table; and to transfer the operation instructions of the file recovery and interaction module with the host computer to the radiation source data recording module and the file recovery information table update module.
[0015] It further includes a clock generation module, configured to receive the intermediate frequency analog signal, generate a clock signal, and transfer the clock signal to the radiation source data generation module and the instruction operation module to provide a time reference for system operation.
[0016] The hardware device corresponding to the radiation source data generation module is preferably an externally connected data source AD.
[0017] The hardware device corresponding to the radiation source data recording module is a data storage medium, preferably an eMMC memory; the hardware device corresponding to the file recovery information table update module is a data storage medium, preferably an NVRAM memory.
[0018] The radiation source data recording module includes a boot sector, a reserved sector, a FAT partition, a root directory partition, and a data area. Among them, the FAT partition is used to index the location of the file data area, and the root directory partition is used to store file names.
[0019] The file recovery information table includes: the number of files, the file end address, the file creation time, the file count, and the file size.
[0020] The hardware device corresponding to the data transmission module is preferably a PCIE bus, an SRIO bus, or an EMIF bus.
[0021] The hardware device corresponding to the instruction operation module is preferably an FPGA.
[0022] The hardware device corresponding to the file recovery and interaction with the host computer module is preferably a DSP.
[0023] A method for storing a radar radiation source database for off-line recovery of a file system is implemented based on a radar radiation source database storage system for off-line recovery of a file system described in any one of the above. The method includes:
[0024] In the data generation and recording stage, the radiation source data generation module receives the intermediate frequency analog signal of the radar radiation source to be recorded, converts the intermediate frequency analog signal into an intermediate frequency digital signal, the instruction operation module converts the intermediate frequency digital signal into a pulse description word, generates radar radiation source data using the pulse description word and radar characteristic parameters, and constructs a radar radiation source database;
[0025] The instruction operation module sends a storage instruction to the radiation source data recording module to store the radar radiation source data in the radiation source data recording module;
[0026] The instruction operation module sends a storage instruction to the file recovery information table update module, and the file recovery information table update module generates a file recovery information table and stores the file recovery information table in the file recovery information table update module;
[0027] In the file recovery stage, the file recovery and interaction with the host computer module initiates a file recovery instruction, and the instruction operation module passes the file recovery instruction to the radiation source data recording module and the file recovery information table update module respectively;
[0028] The radiation source data recording module and the file recovery information table update module respectively transfer the radar radiation source data and the file recovery information table to the file recovery and interaction with the host computer module through the data transmission module;
[0029] The file recovery and interaction module with the host computer initiates the establishment of the file system, and restores the radar radiation source data and the file recovery information table to the corresponding file system.
[0030] In the file export stage, the host computer module performs directory display and one-key export on the file system restored by the file recovery and interaction module with the host computer.
[0031] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0032] 1. The data storage system for offline recovery of the file system of the present invention enables the FPGA to only update the file recovery information table while recording data, without the need to establish a real file system and a custom host computer for its use. Instead, a general host computer FTP client is used. This not only increases the versatility and portability of the system, but also reduces the workload and lowers the threshold for the transfer of the invention results. At the same time, the separate operations of data recording and file system recovery greatly improve the efficiency of data storage, and avoid the repeated creation, search and update of the boot sector, free clusters, identification area, and root directory partition of the file system while writing data.
[0033] 2. The data storage system for offline recovery of the file system of the present invention improves the security of data storage. According to the current design, the file recovery information table is updated every time 256KB of data is recorded. This can ensure that even in the event of sudden factors such as power failure or external impact, the file system will not be damaged due to the content of the boot sector of the file system not being written back in time, resulting in the loss of all data. At most, only the data recorded between two file offline recovery table update intervals will be lost.
[0034] 3. The data storage system for offline recovery of the file system of the present invention uses an eMMC memory, which encapsulates a high-density NAND FLASH and an MMC controller inside. It not only has a fast speed and high security, but also is convenient to use, with functions such as built-in bad block management and load balancing.
[0035] 4. The data storage system for offline recovery of the file system of the present invention allows the database to be directly exported in the form of a file through the network and named according to the real-time time when the file is generated, which is convenient for quickly finding the required file for analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a schematic diagram of the composition of the radar radiation source database storage module of the present invention.
[0037] Figure 2 It is a schematic diagram of the structure of the radar radiation source database storage system of the present invention.
[0038] Figure 3 Schematic diagram of the storage of the radar emitter data stream when the file system is directly generated.
[0039] Figure 4 Schematic diagram of the storage of the radar emitter data stream when the file system is restored offline.
[0040] Figure 5 Flowchart of the method for updating the file recovery information table of the present invention.
[0041] Figure 6 Schematic diagram of the specific steps of the file recovery of the present invention.
[0042] Figure 7 Operation interface and display effect diagram of the host computer module of the present invention. Detailed implementation manners
[0043] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
[0044] A radar emitter database storage system for file system offline recovery, as Figure 1 shown, includes: a radiation source data generation module 401, a radiation source data recording module 402, a file recovery information table update module 403, a data transmission module 404, a file recovery and host computer interaction module 405, a host computer module 406, and an instruction operation module 407;
[0045] The radiation source data generation module 401 is connected to the radiation source data recording module 402 and the file recovery information table update module 403. In the file recovery stage, the radiation source data recording module 402 and the file recovery information table update module 403 transmit data and file recovery table information to the file recovery and host computer interaction module 405 through the data transmission module 404. In the data export stage, data and instruction interactions are carried out between the host computer module 406 and the file recovery and host computer interaction module 405, the data transmission module 404, and the radiation source data recording module 402.
[0046] The radiation source data generation module 401 is used to receive the intermediate frequency analog signal of the radar emitter, obtain the digital intermediate frequency signal after high-speed AD sampling, perform digital down-conversion and channelization on the intermediate frequency digital signal through the instruction operation module 407, and then perform detection. After detection, the larger ones are selected to generate pulse description words, including pulse arrival time, frequency, channel number, etc. These pulse description words and their related radar characteristic parameters are sorted out to construct a radar emitter database. When the target is locked, while recording data on the radiation source data recording module 402, relevant information is recorded on the file recovery information table update module 403. The corresponding hardware device is preferably an externally connected data source AD.
[0047] The radiation source data recording module 402 records data into the storage medium after receiving the start recording signal. Currently, the storage medium for data recording is preferably eMMC. The starting position of data recording is determined by the file recovery and host computer interaction module 405. In order to restore the data to the organizational structure of the file system in the later stage, the position of the data area here needs to be determined on the basis of reserving subsequent boot sectors, reserved sectors, FAT partitions, and root directory partitions. When recording, the eMMC is written sector by sector according to the actual data stream.
[0048] Specifically:
[0049] The starting position of the radiation source data recording module 402 to record data is restricted by the file recovery and host computer interaction module 405. After the module 405 establishes the file system, it will perform file system creation and mounting operations, and define the number of sectors, sector size, and block size of the storage device. Currently, the defined size exceeds 128G. Although the current actual storage device size is only 32G, this is to support larger-capacity storage devices without modifying any programs. After the file system creation and mounting operations are completed, the position of the data area of the file system will also be determined accordingly. The first sector of the file system is the boot sector, which stores the specific information of the file system, such as the number of FAT tables, the size of each FAT table, the number of bytes per sector, the number of sectors included in each cluster, the number of reserved sectors, the size of the file system, the starting cluster number of the root directory, and some other additional information. These contents are the key information for later file recovery.
[0050] The file recovery information table update module 403 is updated at regular intervals and mainly stores information such as the real-time time, number, and size of radiation library data records. This part of the information is an important support for later file recovery; the corresponding hardware device is the data storage medium, preferably an NVRAM memory; the file recovery information table includes: the number of files, the file end address, the file creation time, the file count, and the file size.
[0051] Specifically:
[0052] The file recovery information table update module 403 is used to store information such as the real-time time, number, and size of radiation source data records. Among them, the created real-time time is the Beidou time parsed from the serial port, the file count is written according to the actual file serial number. Currently, the file size is updated every 256KB of recording. After reaching 32Mbytes or receiving the stop recording signal, the file information is updated to the next address. Through this information table, combined with the parameters during file system creation, the data can be restored to the organizational form of the file.
[0053] Except for the system startup and shutdown commands, the data generation and recording phase does not require the data transmission module 404, the file recovery and host computer interaction module 405, or the host computer module 406. That is to say, unlike a conventional data acquisition system, during the data acquisition phase, there is no need to store data in the format of a file, repeatedly search for free clusters, allocate cluster chains for data storage, and update the root directory partition, identification area, log, etc. of the file, which improves the efficiency of writing data to the storage medium. After the system stops working, complete data and a file recovery information table matching the data are obtained.
[0054] The data transmission module 404 is used to transmit radar radiation source data and the file recovery information table to the file recovery and host computer interaction module 405; the corresponding hardware device is preferably a PCIE bus, an SRIO bus, or an EMIF bus. It is necessary to complete the transmission of data and the file recovery information table to the subsequent module. For the current storage media eMMC and NVRAM, a protocol for reading, writing, and erasing by sector and byte is written. By clearing and setting the frame response bits before and after each transmission, the effectiveness of instruction interaction is ensured.
[0055] The file recovery and host computer interaction module 405 is used to initiate the establishment of the file system during the file recovery phase. This part of the work does not occupy the data recording time and can be completely initiated during the system idle phase. Through the data transmission module 404, the file recovery information table is read into the recovery module, and the FAT partition and the root directory partition are rebuilt according to its content. The file name is in the format of "year + month + day + hour + minute + number", which is convenient for accurate search and positioning of later data; the corresponding hardware device is preferably a DSP.
[0056] The FAT partition is used to index the location of the file data area. Each word represents a cluster number, and according to the number and size of the files, the cluster numbers are filled in the appropriate positions in the FAT partition. The root directory partition is used to store file names. The method of jointly storing short file names and long file names is adopted, and the two are associated through a check bit to ensure the correctness of the subsequent FTP directory display.
[0057] The host computer module 406 is used to display the directory of the recovered file system and export it with one key during the file system export phase, and supports queued downloading and drag-and-drop functions.
[0058] Specifically:
[0059] The host computer module 406 is responsible for directory display and direct export of the restored files. The general FTP client host computer software FileZilla is adopted, which conducts data transmission with the file restoration and interaction module, and can efficiently complete the download work of the radar emitter database. The operation interface and display effect of the host computer module are as Figure 7 shown.
[0060] The instruction operation module 407 is used to control the emitter data generation module 401 to convert the intermediate frequency digital signal into a pulse description word; to send instructions to the emitter data recording module 402 to enable the emitter data recording module 402 to record the data in the radar emitter database into the storage medium; to send instructions to the file restoration information table update module 403 to enable the file restoration information table update module 403 to generate, store and update the file restoration information table; to transfer the operation instructions of the file restoration and host computer interaction module 405 to the emitter data recording module 402 and the file restoration information table update module 403; the corresponding hardware device is FPGA.
[0061] It further includes a clock generation module 408, which is used to receive the intermediate frequency analog signal, generate a clock signal, and transfer the clock signal to the emitter data generation module 401 and the instruction operation module 407 to provide a time reference for the system operation.
[0062] A method for storing a radar emitter database with file system offline restoration is implemented based on any one of the above-mentioned radar emitter database storage systems with file system offline restoration. The method includes:
[0063] In the data generation and recording stage, the emitter data generation module 401 receives the intermediate frequency analog signal of the radar emitter to be recorded, converts the intermediate frequency analog signal into an intermediate frequency digital signal, the instruction operation module 407 converts the intermediate frequency digital signal into a pulse description word, generates radar emitter data by using the pulse description word and radar characteristic parameters, and constructs a radar emitter database;
[0064] The instruction operation module 407 sends a storage instruction to the emitter data recording module 402 to store the radar emitter data in the emitter data recording module 402;
[0065] The instruction operation module 407 sends a storage instruction to the file restoration information table update module 403, and the file restoration information table update module 403 generates a file restoration information table and stores the file restoration information table in the file restoration information table update module 403;
[0066] In the file recovery stage, the file recovery and host computer interaction module 405 issues a file recovery instruction, and the instruction operation module 407 transmits the file recovery instruction to the radiation source data recording module 402 and the file recovery information table update module 403 respectively;
[0067] The radiation source data recording module 402 and the file recovery information table update module 403 respectively transmit the radar radiation source data and the file recovery information table to the file recovery and host computer interaction module 405 through the data transmission module 404;
[0068] The file recovery and host computer interaction module 405 initiates the establishment of the file system, and restores the radar radiation source data and the file recovery information table to the corresponding file system;
[0069] In the file export stage, the host computer module 406 performs directory display and one-key export on the file system restored by the file recovery and host computer interaction module 405.
[0070] As Figure 5 shown in the flowchart of the update method of the file recovery information table according to the embodiment of the present invention, the method of recording the valid information of file recovery is described in the figure, and the method specifically includes:
[0071] Step 501, the file recovery information table update module 403 first determines whether an update is required. According to the current embodiment, if 256KB of data has been recorded again after the last update, or a stop recording instruction is received, it is a sign to enter the next step.
[0072] Step 502, it can be obtained through step 501 that the file recovery table needs to be updated, but which data items need to be specifically updated needs to be further determined. According to the current embodiment, the size of each file is 32Mbytes, which is set according to system requirements for subsequent analysis, and other sizes can also be set. Therefore, when a file record reaches 32Mbytes or a stop recording signal is received, it means that the currently recorded data will be restored to a file later. Fill in the information at the corresponding positions according to the requirements of steps 503, 504, 505, 506, and 507. If it is judged in step 502 that the size of the data recorded after the last offset of the file data item does not reach 32Mbytes and no stop recording signal is received, then only the file end address and file size need to be overwritten according to steps 508 and 509.
[0073] In this example, the format of the file recovery information table can refer to Table 1 shown below.
[0074] Table 1
[0075]
[0076]
[0077] The data transmission module 404 is responsible for the communication between the radiation source data module 402, the file recovery table update module 403, and the file recovery and host computer interaction module. Except for the instructions to control the start and end of the storage system, most of these communications occur during the file recovery phase. The specific steps of file recovery are as Figure 6 shown, including:
[0078] Step 601: Initialize the boot sector, mainly the information related to the volume layout and file system structure, including the number of FAT tables, the size of each FAT table, the number of bytes per sector, the number of sectors included in each cluster, the starting cluster number of the root directory, etc. The boot sector needs to be established on the eMMC, and the corresponding read and write eMMC sector instructions are shown in Table 2.
[0079] Table 2
[0080]
[0081]
[0082] Step 602: Establish reserved sectors. After the file system is created, the number of reserved sectors is also determined. In this embodiment, the number of reserved sectors is 39.
[0083] Step 603: Read the file recovery information table. In the current instance, the file recovery information table is stored in the NVRAM, and the NVRAM can be read by byte. For convenience, 4096 bytes are read at a time. The operation instructions of the NVRAM are shown in Table 2.
[0084] Step 604: Reconstruct the FAT partition according to the file recovery information table. The FAT partition is used to index the location of the file data area. Each word represents a cluster number. In the current embodiment, the size of a cluster is 256K, which is also the interval for updating the file recovery information table and can be modified according to actual needs. According to the number and size of the files, the cluster number arrangement of the data in the FAT partition can be reconstructed. The specific rule is: if the newly created file only occupies one cluster, the FAT table entry corresponding to the allocated cluster will be written with an end mark. If the newly created file occupies more than one cluster, the cluster number of the next cluster allocated to it will be written in the FAT table entry corresponding to each cluster it occupies, and an end mark will be written in the FAT table entry corresponding to the last cluster.
[0085] Step 605: Reconstruct the root directory partition according to the file recovery information table. The root directory partition is used to store information such as file names and file lengths, which is convenient for later directory display. Currently, file names greater than 8 bytes can be supported. In the current embodiment, the form of the file name is "year + month + day + hour + minute + number", and the time comes from Beidou, which is convenient for later accurate positioning of the required data files. When the file name is greater than 8 bytes, the actual storage considers using the method of jointly storing short file names and long file names. The short file name is generated according to certain rules and has a size of 7 bytes. To ensure the uniqueness of each file name, the short file name is used for verification and filled into the fixed position of the long file name. Currently, the length of the file name is 25 bytes, and it can be identified by 3 directory entries. The first directory entry stores the 14th to 25th bytes of the file name, as well as the check bit and flag bit. The second directory entry stores the 1st to 13th bytes of the file name, as well as the check bit and flag bit. The third directory entry stores the short file name, starting cluster number, and size and other information.
[0086] The present invention will be further described below in conjunction with embodiments.
[0087] This embodiment provides a radar radiation source database storage system for off-line recovery of a file system. As long as the FPGA updates the file recovery information table as required while recording the radiation source data. The data flow schematic diagram is as Figure 4 shown. After the recording is completed, through simple instruction interaction with the DSP, the data recorded by the FPGA is placed in the appropriate position according to the requirements of the standard file system, and the boot area, file allocation table area, root directory partition, etc. are reconstructed according to the file recovery information table, and the data can be restored into files. An FTP server is established on the DSP, the FTP commands are adapted to the file system interface, and an FTP client is installed on the PC side to complete the display of the file directory on the eMMC and the remote download of files. Compared with directly using the standard file system interface, this system not only has a great improvement in efficiency, avoids redundant data transmission, but also has higher security. In the later file recovery stage, at most the data recorded between two update intervals is lost, and the situation of file system damage and all data loss caused by the content of the boot area not being written back in time due to sudden power off will not occur. At the same time, the database can be directly exported in the form of files through the network and named according to the real-time time when the files are generated, which is convenient for quickly finding the required files for analysis.
[0088] Specifically:
[0089] A radar radiation source database storage system for off-line recovery of a file system includes: a clock generation module 408, an AD, an FPGA, a DSP, Beidou, an eMMC, and an NVRAM memory. The storage system structure schematic diagram is as Figure 2 shown.
[0090] The clock generation module 408 is used to generate a 2.4 GHz clock signal, which is output through a clock management chip, with 3 paths sent to the high-speed AD and 3 paths sent to the GTX clock of the FPGA.
[0091] The AD is used to collect the intermediate-frequency analog signal and convert it into an intermediate-frequency digital signal. After the data is processed to a certain extent, it is sent to the FPGA.
[0092] The FPGA is used to receive the intermediate-frequency digital signal, generate a radar radiation source database after processing, and write the data into the eMMC. The size of each write is one sector. In the current embodiment, the starting position of data writing is determined by the DSP-side file system. If it is not written according to the regulations, it cannot be restored to a file later. When the data is filled with 256K bytes each time, the file recovery information table on the NVRAM needs to be updated. The content of the file recovery information table mainly includes: the number of files, the file end address, the file creation time, the file count, and the file size. Among them, the number of files indicates how many files are currently recorded in the eMMC. The current limit size of each file is 32M. When the data is greater than 32M, it automatically switches to the next file. The file end address indicates the position where the eMMC is currently used. When there is a sudden power failure or restart, it can be located at the position where the previous write ended for continued writing without wasting storage space. In addition, the FPGA is also responsible for the transfer of DSP operation instructions for the eMMC and NVRAM. Since the DSP cannot directly operate these two memories, it is necessary to rely on the FPGA to complete operations such as reading, writing, and erasing of eMMC sectors and NVRAM spaces.
[0093] The eMMC is used to store the radar radiation source database, with a read / write speed of up to 400M / S. Currently, a 32G product is used. The smallest operable unit is a sector, and the size of one sector is 512 bytes. The FPGA can complete the read, write, and erase operations of eMMC sectors through programming.
[0094] The NVRAM is used to store the file recovery information table. The NVRAM is a non-volatile random access memory, which, like the eMMC, can still retain data after a power failure. The currently used NVRAM size is 128K, and it can be operated byte by byte.
[0095] The Beidou obtains satellite signals through an external antenna, which can provide positioning and time information. The file creation time in the file recovery information table is provided for the FPGA through the serial port.
[0096] The DSP needs to establish a file system and an FTP server, complete the interaction with the eMMC and NVRAM memories mounted on the FPGA through the emif interface, and complete the interaction with the FTP client on the PC through the Ethernet.
[0097] The above storage medium can use storage media with larger capacity and faster transmission rate, such as NVMe SSD and SATA SSD.
[0098] When the FPGA operates the eMMC, it can issue an instruction to operate on multiple sectors simultaneously, thereby improving the write and read efficiency of the eMMC.
[0099] The size of a single file can be set to other sizes than 32M. It only needs to modify the relevant data items in the file recovery information table accordingly. It can also be set to record a single file continuously, or receive an instruction to start recording the next file, adapting to the recording requirements of the system in various scenarios.
[0100] The update frequency of the file recovery information table can be set to update when it is greater than 256K or less than 256K, weighing the tolerance of data loss in case of emergencies and the efficiency of system data storage.
[0101] The instruction interaction between the FPGA and the DSP can be transmitted through high-speed interfaces such as SRIO to speed up the FTP export file. The FTP client can use FileZilla, which is a free and open-source FTP software. It can resume interrupted transfers for uploading and downloading, support queuing for uploading and downloading, support drag-and-drop, and has a user-friendly, controllable, and organized interface, enabling efficient management of the radiation source database files.
[0102] Those of ordinary skill in the art can understand that the above embodiments are specific embodiments for implementing the present application. In actual applications, various changes can be made in form and details without departing from the spirit and scope of the present application.
Claims
1. A radar emitter database storage system for offline file system recovery, characterized in that: include: Radiation source data generation module, radiation source data recording module, file recovery information table update module, data transmission module, file recovery and host computer interaction module, host computer module and instruction operation module; The instruction operation module is FPGA, and the file recovery and host computer interaction module is DSP; The radiation source data generation module is used to receive the intermediate frequency analog signal of the radar radiation source, convert the intermediate frequency analog signal into an intermediate frequency digital signal, convert the intermediate frequency digital signal into a pulse description word through the instruction operation module, generate radar radiation source data using the pulse description word and radar characteristic parameters, and build a radar radiation source database; A radiation source data recording module, used for recording radar radiation source data in a radar radiation source database; A file recovery information table update module, used to generate, store and update the file recovery information table; The file recovery information table includes: the number of files, the end address of the file, the time of file creation, the file count and the file size; A data transmission module, used to transmit radar radiation source data and file recovery information table to the file recovery and host computer interaction module; The file recovery and host computer interaction module is used to establish the radar radiation source data as a file system according to the file recovery information table, and transmit the file system to the host computer module; The host computer module is used to display the directory of the file system and export the file system; The instruction operation module is used to control the radiation source data generation module to convert the intermediate frequency digital signal into a pulse description word; to send instructions to the radiation source data recording module so that the radiation source data recording module records the data in the radar radiation source database into a storage medium; to send instructions to the file recovery information table update module so that the file recovery information table update module generates, stores and updates the file recovery information table; and to pass the operation instructions of the file recovery and upper computer interaction module to the radiation source data recording module and the file recovery information table update module.
2. According to the radar emitter database storage system for offline file system recovery of claim 1, it is characterized in that: It also includes a clock generation module for receiving an intermediate frequency analog signal, generating a clock signal, and transmitting the clock signal to the radiation source data generation module and the instruction operation module to provide a time reference for system operation.
3. The radar emitter database storage system for offline file system recovery according to claim 2, characterized in that: The hardware device corresponding to the radiation source data generation module is an external data source AD.
4. The radar emitter database storage system for offline file system recovery according to claim 3 is characterized in that: The hardware device corresponding to the radiation source data recording module is the eMMC memory; the hardware device corresponding to the file recovery information table updating module is the NVRAM memory.
5. The radar emitter database storage system for offline file system recovery according to claim 4, characterized in that: The radiation source data recording module includes a boot sector, a reserved sector, a FAT partition, a root directory partition and a data area, wherein the FAT partition is used to index the location of the file data area, and the root directory partition is used to store the file name.
6. The radar emitter database storage system for offline file system recovery according to claim 5, characterized in that: The hardware device corresponding to the data transmission module is a PCIE bus, a SRIO bus or an EMIF bus.
7. A radar emitter database storage method for offline file system recovery, based on a radar emitter database storage system for offline file system recovery as claimed in any one of claims 1 to 6, characterized in that: The method comprises: In the data generation and recording stage, the radiation source data generation module receives the intermediate frequency analog signal of the radar radiation source to be recorded, converts the intermediate frequency analog signal into an intermediate frequency digital signal, and the instruction operation module converts the intermediate frequency digital signal into a pulse description word, generates radar radiation source data using the pulse description word and radar characteristic parameters, and builds a radar radiation source database; The instruction operation module sends a storage instruction to the radiation source data recording module to store the radar radiation source data in the radiation source data recording module; The instruction operation module sends a storage instruction to the file recovery information table update module, and the file recovery information table update module generates a file recovery information table and stores the file recovery information table in the file recovery information table update module; In the file recovery phase, the file recovery and interaction module with the host computer initiates a file recovery instruction, and the instruction operation module transmits the file recovery instruction to the radiation source data recording module and the file recovery information table update module respectively; The radiation source data recording module and the file recovery information table updating module respectively transmit the radar radiation source data and the file recovery information table to the file recovery and upper computer interaction module through the data transmission module; File recovery and the establishment of a file system initiated by the host computer interaction module to restore the radar radiation source data and file recovery information table to the corresponding file system; During the file export phase, the host computer module performs directory display and one-click export of the file system restored by the file recovery module and the host computer interaction module.
Citation Information
Patent Citations
Digital storage and forwarding type interference system
CN104360326A
Real-time microwave correlated imaging device and method based on FPGA and DSP
CN111896956A