Hybrid data calling method and device for electromagnetic scattering field
By adopting a hybrid data call method in the field of electromagnetic scattering, data classification is stored in different types of databases and managed through a unified interface, the problems of inefficiency and inflexible management of a single database in the face of diversified data requirements are solved, and efficient data storage and query are achieved.
Patent Information
- Application Number
- CN202411729201.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-21
AI Technical Summary
In the field of electromagnetic scattering, the prior art often uses a single type of database when storing data in the field of electromagnetic scattering, resulting in low storage efficiency and inflexible management when facing diversified data needs.
The mixed data call method is used to classify and process the collected data of the moving target, store it in the relational database, graph database and file database, and data query and management are carried out through a unified interface.
By integrating the advantages of multiple databases, efficient storage, query and management of electromagnetic scattered data is achieved, and data processing capabilities and user access experience are improved.
Smart Images

Figure CN119669275A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data storage technology, and in particular to a hybrid data calling method and device for the field of electromagnetic scattering. Background Art
[0002] Electromagnetic scattering technology is widely used in radar, wireless communication, remote sensing and other fields. These applications involve a large amount of data storage and management needs. In the face of different data types and storage requirements, relational databases, graph databases, and file databases can be adaptively selected for storage.
[0003] In the related art, a single type of database is mostly used for data storage. However, a single type of database has limitations to varying degrees when facing diverse data demands, resulting in low data storage efficiency and inflexible management.
[0004] Based on this, there is an urgent need for a hybrid data calling method and device for the field of electromagnetic scattering to solve the above technical problems. Summary of the invention
[0005] The present invention provides a hybrid data calling method and device for the electromagnetic scattering field, which can effectively improve the data management and use efficiency in the electromagnetic scattering field. The technical solution is as follows:
[0006] On the one hand, a hybrid data calling method for the field of electromagnetic scattering is provided, the method comprising:
[0007] Classify and process the acquired data of the moving target; wherein the classification results include structured data, unstructured data and complex relationship data;
[0008] The classification results are indexed and query optimized and stored in a composite database;
[0009] According to the query instructions of the unified interface, all data related to the target to be queried in the composite database are retrieved.
[0010] On the other hand, a hybrid data calling device for the field of electromagnetic scattering is provided, the device comprising:
[0011] A classification module is used to classify the acquired data of the moving target; wherein the classification results include structured data, unstructured data and complex relationship data;
[0012] A storage module is used to index and optimize the classification results and store them in a composite database;
[0013] The retrieval module is used to retrieve all data related to the target to be queried in the composite database according to the query instruction of the unified interface.
[0014] On the other hand, a computer device is provided, which includes a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the steps of the above-mentioned hybrid data calling method for the electromagnetic scattering field.
[0015] On the other hand, a computer-readable storage medium is provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the hybrid data calling method for the electromagnetic scattering field are implemented.
[0016] On the other hand, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of the above-mentioned hybrid data calling method for the electromagnetic scattering field.
[0017] The technical solution provided by the present invention can at least bring the following beneficial effects: by integrating the advantages of relational databases, graph databases and file databases, it is possible to realize efficient storage, query and management of electromagnetic scattering data according to the characteristics of different types of data. At the same time, a unified access interface is used to interconnect various database modules, supporting users to access multiple types of data through a single request. In order to optimize query efficiency, the system adopts technologies such as SQL optimization, graph traversal algorithm and full-text retrieval to improve the processing ability of complex data. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 This is a flow chart of a hybrid data calling method for the electromagnetic scattering field provided by an embodiment of the present invention;
[0020] Figure 2 is a schematic diagram of a composite database storage architecture provided by an embodiment of the present invention;
[0021] Figure 3 is a hybrid data storage and call flow chart provided by an embodiment of the present invention;
[0022] Figure 4 This is a structural diagram of a hybrid data calling device for the electromagnetic scattering field provided by an embodiment of the present invention;
[0023] Figure 5It is a hardware architecture diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0025] As mentioned above, most existing technologies use a single type of database to store electromagnetic scattering data, which has limitations to varying degrees when facing diverse data demands.
[0026] Based on this, the concept of the present invention is to achieve storage of various types of data by establishing a Chinese hybrid storage system, thereby improving the efficiency of data management and use in the field of electromagnetic scattering.
[0027] The specific implementation of the above concept is described below.
[0028] Please refer to Figure 1 , an embodiment of the present invention provides a hybrid data calling method for the electromagnetic scattering field, the method comprising:
[0029] Step 100, classifying and processing the acquired data of the moving target;
[0030] Step 102, indexing and query optimizing the classification results and storing them in a composite database;
[0031] Step 104: retrieve all data related to the target to be queried in the composite database according to the query instruction of the unified interface.
[0032] In the embodiment of the present invention, by integrating the advantages of relational database, graph database and file database, it is possible to realize efficient storage, query and management of electromagnetic scattering data according to the characteristics of different types of data. At the same time, a unified access interface is used to interconnect various database modules, supporting users to access multiple types of data through a single request. In order to optimize query efficiency, the system adopts SQL optimization, graph traversal algorithm and full-text search technology to improve the processing ability of complex data.
[0033] Described below Figure 1 How the various steps are performed.
[0034] First, with respect to step 100, classification processing is performed on the acquired data of the moving target.
[0035] There are three types of data on moving targets, namely structured data, complex relational data and unstructured data. Structured data includes matrix data and scattering data of moving targets, such as the target's ID, band, position and corresponding point-frequency RCS data. Complex relational data includes the relationship information between moving targets and different moving targets, such as the spatial relationship and trajectory relationship between targets. Unstructured data includes one-dimensional and two-dimensional images of moving targets.
[0036] Then, for step 102, the classification results are indexed and query optimized and then stored in a composite database.
[0037] Since electromagnetic scattering technology is widely used in radar, wireless communication, remote sensing and other fields, these applications involve a large amount of data storage and management needs, and a single data repository is difficult to adapt to all data. For example, although relational databases are more efficient in processing structured data, they are obviously inefficient in dealing with large-scale data, complex related information and unstructured data (such as images and waveforms); graph databases are more effective in representing complex relationships between data, but they are not efficient in managing and storing structured data; and file databases are suitable for storing large amounts of unstructured data, but their support for complex queries and data relationships is relatively limited. Therefore, in order to facilitate the subsequent call of stored data, it is necessary to store the classified different data in the most appropriate database.
[0038] In an embodiment of the present invention, the storage process includes: storing complex relational data in a graph database with moving targets as nodes, spatial relationships and trajectory relationships of moving targets as edges, and basic information of moving targets as node attributes; optimizing the primary key index of structured data, and storing the optimization results in a target table of the relational database to accelerate query through SQL index; associating the index of the unstructured data file system with the basic information of the moving targets, and storing them in a file database to accelerate query through full-text retrieval technology.
[0039] Specifically, the storage method of the relational database, for example, the basic attribute information of the electromagnetic scattering data of target A is stored in the target table of the relational database, and the query is optimized through the primary key index. These data can be quickly accessed and processed through SQL queries in subsequent analysis.
[0040] The storage method of the graph database is to collect complex relationship data between targets, with targets as nodes, spatial and trajectory relationships as edges, and basic information of targets as node attributes, including size, profile, etc., for storage. For example, the spatial relationship and motion trajectory of target A and target B, which reflect the complex correlation between targets, are suitable for storage in a graph database. Through the graph database, the system can record the relative positions of targets at different times, and use graph traversal algorithms to establish dynamic trajectory relationships between targets. The system can analyze complex relationship queries such as motion patterns and interactive behaviors between multiple targets, thereby improving the accuracy of monitoring and analysis.
[0041] The storage method of the file database is to collect the unstructured data of the target and associate it with the basic information of the target through the index of the file system, so as to ensure that the user can quickly locate and obtain the waveform file or image data related to a certain target through the ID or keyword. For example, when the user queries target A, the system can automatically extract the relevant scattering waveform and SAR image data from the file database through its ID.
[0042] In the embodiment of the present invention, the graph database, the relational database and the file database are associated with each other using the ID information of the moving target as a foreign key, thereby achieving the management and calling of the entire composite database.
[0043] With respect to step 104, all data associated with the target to be queried in the composite database are retrieved according to the query instruction of the unified interface.
[0044] In an embodiment of the present invention, the retrieval process includes: identifying the data type of the target to be queried in the query instruction; traversing all data storage spaces in the composite database according to the data type to obtain all relevant data of the target to be queried; integrating all relevant data to obtain integrated data for presenting comprehensive information of the target.
[0045] Furthermore, the traversal process of the storage space includes: retrieving the corresponding database according to the data type to obtain the first related data; wherein the first related data includes the basic data of the type of the target to be queried and the multi-target relationship data related to the target to be queried; retrieving the remaining database according to the ID information of the target to be queried to obtain the second related data; wherein the second related data includes the remaining types of data of the target to be queried.
[0046] The database retrieval method includes: using the SQL index mechanism to query structured data to obtain the basic attributes of the target to be queried; using the graph traversal algorithm to query the relational data to obtain the motion trajectory and relative position of the target to be queried; using the full-text retrieval algorithm to query the unstructured data to obtain the waveform and image of the target to be queried.
[0047] Specific as Figure 3As shown in the above steps, we can see that structured data is stored in the relational database, the association between objects is stored in the graph database, and large-scale waveform and image data is stored in the file database. In order to ensure fast data query, an efficient indexing mechanism is established for each type of data.
[0048] The structured data in the relational database is queried quickly through SQL indexes, the graph database stores the relationships between targets through node and edge indexes, and the file database uses full-text retrieval technology to quickly search for waveform files and images.
[0049] Then, a query request is issued through a unified interface, the data type is automatically identified according to the query content, and the most suitable database module is selected for retrieval. For example, when a user queries the detailed information of target A, the graph database is directly queried to obtain the basic attribute information of the target, and further obtains the relationship information between it and target B. At the same time, the scattered data of target A can be extracted from the relational database, and finally the unstructured data related to target A can be retrieved from the file database. After integrating these data, they are returned to the user to ensure that comprehensive information of the target is presented in a single interface.
[0050] Please refer to Figure 4 The embodiment of the present invention provides a hybrid data calling device for the electromagnetic scattering field, the device comprising:
[0051] The classification module 400 is used to classify the acquired data of the moving target;
[0052] Storage module 402, used for indexing and query optimizing the classification results and storing them in a composite database;
[0053] The retrieval module 404 is used to retrieve all data related to the target to be queried in the composite database according to the query instruction of the unified interface.
[0054] In the embodiment of the present invention, the classification result of the classification module 400 includes structured data, unstructured data and complex relational data.
[0055] In an embodiment of the present invention, when the storage module 402 performs indexing and query optimization on the classification results and stores them in a composite database, it is specifically used to perform the following operations: store complex relational data in a graph database with moving targets as nodes, spatial relationships and trajectory relationships of moving targets as edges, and basic information of moving targets as node attributes; optimize the primary key index of structured data, and store the optimization results in the target table of the relational database to accelerate queries through SQL indexes; associate the index of the unstructured data file system with the basic information of the moving targets and store them in a file database to accelerate queries through full-text retrieval technology.
[0056] In the embodiment of the present invention, the graph database, the relational database and the file database are associated with each other using the ID information of the moving target as a foreign key.
[0057] In an embodiment of the present invention, when the retrieval module 404 executes a query instruction according to a unified interface to retrieve all data related to the target to be queried in the composite database, it is specifically used to perform the following operations: identify the data type of the target to be queried in the query instruction; traverse all data storage spaces in the composite database according to the data type to obtain all relevant data of the target to be queried; integrate all relevant data to obtain integrated data for presenting comprehensive information of the target.
[0058] In an embodiment of the present invention, all data storage spaces in a composite database are traversed according to the data type to obtain all relevant data of the target to be queried, including: searching the corresponding database according to the data type to obtain first relevant data; wherein the first relevant data includes basic data of the type of the target to be queried and multi-target relationship data related to the target to be queried; searching the remaining database according to the ID information of the target to be queried to obtain second relevant data; wherein the second relevant data includes the remaining types of data of the target to be queried.
[0059] In an embodiment of the present invention, a database retrieval method includes: using a SQL index mechanism to query structured data to obtain basic attributes of the target to be queried; using a graph traversal algorithm to query relational data to obtain the motion trajectory and relative position of the target to be queried; using a full-text retrieval algorithm to query unstructured data to obtain the waveform and image of the target to be queried.
[0060] It should be noted that the hybrid data calling device for the electromagnetic scattering field provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the hybrid data calling device for the electromagnetic scattering field provided in the above embodiment and the hybrid data calling method embodiment for the electromagnetic scattering field belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0061] The embodiment of the present application also provides a computer device, please refer to Figure 5 The computer device includes a processor and a memory, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the hybrid data calling method for the electromagnetic scattering field provided by the above-mentioned method embodiments.
[0062] An embodiment of the present application also provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the hybrid data calling method for the electromagnetic scattering field provided by the above-mentioned method embodiments.
[0063] An embodiment of the present application also provides a computer program product, which includes a computer program. A processor of a computer device reads the computer program from a computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the hybrid data calling method for the electromagnetic scattering field described in any of the above embodiments.
[0064] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0065] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0066] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used 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 "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0067] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A hybrid data calling method for the field of electromagnetic scattering, characterized in that: The method comprises: Classify and process the acquired data of the moving target; wherein the classification results include structured data, unstructured data and complex relationship data; The classification results are indexed and query optimized and stored in a composite database; According to the query instructions of the unified interface, all data related to the target to be queried in the composite database are retrieved.
2. The method according to claim 1, characterized in that The step of indexing and query optimizing the classification results and storing them in a composite database includes: The complex relational data is stored in the graph database with the moving targets as nodes, the spatial relationships and trajectory relationships of the moving targets as edges, and the basic information of the moving targets as node attributes; Optimize the primary key index of structured data and store the optimization results in the target table of the relational database to accelerate query through SQL index; The index of the unstructured data file system is associated with the basic information of the moving target and stored in the file database to accelerate the query through full-text retrieval technology.
3. The method according to claim 2, characterized in that The graph database, the relational database and the file database are associated with each other using the ID information of the moving target as a foreign key.
4. The method according to claim 3, characterized in that The method of retrieving all data related to the target to be queried in the composite database according to the query instruction of the unified interface includes: Identify the data type of the target to be queried in the query instruction; Traverse all data storage spaces in the composite database according to the data type to obtain all relevant data of the target to be queried; All relevant data are integrated and processed to obtain integrated data for presenting comprehensive information about the target.
5. The method according to claim 4, characterized in that The method traverses all data storage spaces in the composite database according to the data type to obtain all relevant data of the target to be queried, including: Searching a corresponding database according to the data type to obtain first related data; wherein the first related data includes basic data of the type of the target to be queried and multi-target relationship data related to the target to be queried; The remaining database is searched according to the ID information of the target to be queried to obtain the second related data; wherein the second related data includes the remaining types of data of the target to be queried.
6. The method according to claim 5, characterized in that Database search methods include: Use the SQL index mechanism to query structured data and obtain the basic attributes of the target to be queried; Use graph traversal algorithm to query relational data and obtain the motion trajectory and relative position of the target to be queried; The full-text retrieval algorithm is used to query unstructured data to obtain the waveform and image of the target to be queried.
7. A hybrid data calling device for the field of electromagnetic scattering, characterized in that: The device comprises: A classification module is used to classify the acquired data of the moving target; wherein the classification results include structured data, unstructured data and complex relationship data; A storage module is used to index and optimize the classification results and store them in a composite database; The retrieval module is used to retrieve all data related to the target to be queried in the composite database according to the query instruction of the unified interface.
8. A computer device, characterized in that: The computer device includes a memory and a processor, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the steps of any one of the methods described in claims 1-6.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The method comprises a computer program, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.