Method and system for joint time-series storage and query of drone trajectories and spectrum signals

By adopting a unified time reference and time-series database in the UAV system, a joint time-series storage model of UAV trajectory and spectrum signal is constructed, which solves the problems of data matching accuracy and query efficiency, and realizes multi-dimensional linkage query and real-time situation analysis.

CN123178397APending Publication Date: 2026-11-27CHINA SOUTH IND GRP SHANGHAI ELECTRIC CONTROL RES INST
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611322619.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-27

Smart Images

  • Figure CN123178397A_ABST
    Figure CN123178397A_ABST
Patent Text Reader

Abstract

The application provides a kind of unmanned aerial vehicle trajectory and spectrum signal joint timing storage and query method and system, rely on the unified time reference of unmanned aerial vehicle airborne timing module, complete the global time stamp synchronization of unmanned aerial vehicle flight trajectory time series data and spectrum time series data, build integrated time series storage model with unified time stamp as sorting primary key, unmanned aerial vehicle identification and task identification as dimension label, containing trajectory field set and spectrum field set.Simultaneously, the application constructs multiple association indexes, designs native time series space-time linkage query mechanism, supports multi-dimensional association query such as specified space-time interval trajectory backtracking, spectrum abnormal point positioning, trajectory corresponding spectrum feature reverse retrieval, abnormal spectrum position tracing, etc.The application eliminates the problem of multi-source data fragmentation, does not need cross-database calculation, effectively improves the efficiency of situation analysis, abnormal tracing and compliance detection, and adapts to various unmanned aerial vehicle mass time series data application scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of spatiotemporal data storage and query technology for unmanned aerial vehicles (UAVs), specifically, to a method and system for joint time-series storage and query of UAV trajectory and spectrum signals. Background Technology

[0002] In scenarios such as drone operations, low-altitude security, and airspace spectrum monitoring, drones can be equipped with positioning modules and spectrum acquisition modules to simultaneously collect and generate high-frequency time-series flight trajectory data and spectrum monitoring data. These two types of data are the core data foundation for airspace situational awareness, spectrum anomaly tracing, and flight trajectory compliance analysis.

[0003] The current mainstream data processing architecture in the industry has obvious technical defects. It generally adopts a separate storage mode, that is, it stores drone flight trajectory ledger data through relational databases and stores spectrum monitoring data separately through independent file systems or time-series databases. The two types of core data are collected, stored, and indexed independently, without forming a unified and interconnected system.

[0004] In existing technologies, the acquisition frequencies of UAV flight trajectory data and spectrum monitoring data are not consistent, and the two types of data lack a unified high-precision time reference, with their storage systems being isolated. Subsequent correlation analysis requires offline scripts to complete data alignment and splicing, which easily introduces millisecond-level time-series offset errors. This results in the inability to accurately establish the binding relationship between abnormal spectrum data and corresponding flight positions, and between trajectory points and corresponding airspace spectrum environments, leading to insufficient data matching accuracy.

[0005] Secondly, under the traditional architecture, conducting linked queries of trajectory and spectrum data and anomaly tracing requires retrieving heterogeneous data across databases and file systems. This necessitates multi-table joins and offline data concatenation to complete the related calculations, resulting in a cumbersome query process and high computational resource consumption. In scenarios with massive time-series data, high query latency and timeout rates make it difficult to support real-time situational analysis needs.

[0006] Moreover, traditional solutions rely on a hybrid architecture of multiple devices, including relational databases, distributed file systems, and independent time-series storage components. This leads to complex deployment processes, numerous data synchronization links, and a high risk of data loss and inconsistency. Furthermore, they cannot perform dedicated compression, sharding, or hot / cold tiering optimization for high-frequency UAV time-series data, resulting in low storage resource utilization.

[0007] Finally, existing technologies only support data queries in a single dimension, such as trajectory and spectrum, and cannot achieve multi-dimensional linkage filtering and two-way tracing of time, space, spectrum characteristics, and flight status. This makes it difficult to meet the core business needs of integrated airspace situation analysis and retrospective analysis of abnormal events.

[0008] A patent search revealed an invention patent with publication number CN113177037A, which discloses a method, system, device, and computer-readable storage medium for track storage and retrieval. The method includes the following steps: Step S1: A data acquisition terminal collects track data via a data collector; Step S2: The track data is connected to a distributed data bus via a distributed log receiving service; Step S3: The distributed data bus manages data through partitions, and records data usage by a big data computing engine using consumer groups and offsets; Step S4: The big data computing engine reads data from the distributed data bus, performs data fusion, and unifies the data recording target; Step S5: The fused and unified data is stored in a distributed search engine; Step S6: The data stored in the distributed search engine is filtered by time and space overlay, and detailed tracks and sampled tracks are obtained with customized data precision. This patent only processes single track data, resulting in a single data dimension; retrieval relies solely on spatiotemporal grid sampling, lacking anomaly tracing and status-linked query functions, and exhibits weak data processing accuracy and business adaptability.

[0009] In summary, given the problems of the existing technologies, researching a method and system for joint time-series storage and querying of UAV trajectories and spectrum signals has become a critical task that urgently needs to be addressed. Summary of the Invention

[0010] To address the shortcomings of existing technologies, the purpose of this invention is to provide a method and system for joint time-series storage and querying of UAV trajectory and spectrum signals.

[0011] A method for joint time-series storage and querying of UAV trajectory and spectrum signals according to the present invention includes the following steps: Step S1: Obtain the unified time reference output by the UAV onboard time synchronization module, as well as the original flight trajectory data and original spectrum monitoring data recorded by the onboard acquisition system; using the time of the time synchronization module as the only time reference, align the timestamps of the original flight trajectory data and the original spectrum monitoring data to the preset accuracy, perform data quality cleaning, and output standardized time-series data frames. Step S2: Obtain standardized time-series data frames and construct a joint time-series data table of UAV spatiotemporal spectrum based on the time-series database. The time-series data table uses a unified timestamp as the unique sorting primary key, UAV identifier and mission identifier as dimension labels, and sets trajectory field set and spectrum field set in the same time-series row to form an integrated time-series storage model. Step S3: Standardized time-series data frames are written into the time-series database in batches according to the structure of the integrated time-series storage model; the time-series database automatically completes the fragmented storage, enables time-series-specific compression, and adopts cold and hot tiered storage to output the time-series dataset after physical storage. Step S4: Based on the native indexing capabilities of the time-series database, construct a multi-linked index on the physically stored time-series dataset. The multi-linked index includes a time-series index, a device tag index, and a business feature index, and outputs a time-series data set with multiple indexes. Step S5: Obtain the time series data set with multiple indexes, respond to the external input query conditions, execute the native relational query using the multiple relational indexes, and directly return the query results to the external system.

[0012] Preferably, the raw flight trajectory data includes position data, altitude data, speed data, direction data, and attitude data; the raw spectrum monitoring data includes frequency data, bandwidth data, intensity data, signal-to-noise ratio data, and interference type data.

[0013] Preferably, data quality cleaning includes: removing outliers, interpolating and completing lost data, and correcting time-offset data for drift.

[0014] Preferably, the trajectory field set includes position coordinates, altitude, velocity, orientation angle, attitude angle, and positioning status; the spectrum field set includes real-time frequency, signal amplitude, noise floor, interference indicator, spectrum occupancy, and sampling bandwidth.

[0015] Preferably, the sharded storage is sharded by both time and tag dimensions; in the cold and hot tiered storage, recent data is stored on high-speed storage media, while historical data is transferred to archive storage media.

[0016] Preferably, the time-series index is constructed based on a unified timestamp field; the device tag index is constructed based on drone identifiers and mission identifiers; and the business feature index is constructed based on spectrum fields and trajectory fields.

[0017] Preferably, native related queries include: time-dimensional related queries, trajectory spatial related queries, spectrum anomaly reverse tracing queries, and trajectory status linked queries.

[0018] Preferably, the time-dimensional correlation query allows users to input a specified start and end time to batch query the complete flight trajectory of the UAV within that time period and the corresponding spectral characteristic data for each moment; the trajectory spatial correlation query allows users to input a specified latitude and longitude airspace range and flight altitude range to filter all UAV trajectory points within the range and query the spectral data of the corresponding points in conjunction with the query.

[0019] Preferably, the reverse tracing query for spectrum anomalies allows users to input spectrum anomaly conditions and quickly match the precise time, flight position, and flight status corresponding to all abnormal spectrum data; the linked query for trajectory status allows users to input trajectory anomaly conditions and query the spectrum environment data corresponding to the abnormal time.

[0020] This invention also provides a system for joint time-series storage and querying of UAV trajectory and spectrum signals, employing the aforementioned method for joint time-series storage and querying of UAV trajectory and spectrum signals, including: Module M1 acquires the unified time reference output by the UAV's onboard time synchronization module, as well as the raw flight trajectory data and raw spectrum monitoring data recorded by the onboard acquisition system; using the time of the time synchronization module as the sole time reference, it aligns the timestamps of the raw flight trajectory data and raw spectrum monitoring data to a preset precision, performs data quality cleaning, and outputs standardized time-series data frames. Module M2 acquires standardized time-series data frames and constructs a joint time-series data table of UAV spatiotemporal spectrum based on the time-series database. The time-series data table uses a unified timestamp as the unique sorting primary key, UAV identifier and mission identifier as dimension labels, and sets trajectory field sets and spectrum field sets in the same time-series row to form an integrated time-series storage model. Module M3 writes standardized time-series data frames into the time-series database in batches according to the structure of the integrated time-series storage model; the time-series database automatically completes the fragmented storage, enables time-series-specific compression, and adopts cold and hot tiered storage to output the physically stored time-series dataset. Module M4, based on the native indexing capabilities of time-series databases, builds multiple association indexes on the time-series dataset after physical storage. The multiple association indexes include time-series indexes, device tag indexes, and business feature indexes, and outputs a time-series data set with multiple indexes. Module M5 retrieves a time-series data set with multiple indexes, responds to externally input query conditions, executes native join queries using multiple join indexes, and directly returns the query results to the outside world.

[0021] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention, based on a unified millisecond-level high-precision time reference and combining dynamic interpolation completion with a time neighborhood minimum deviation matching strategy, solves the adaptation problem between low-frequency trajectory sampling data and high-frequency spectrum sampling data, eliminating null values ​​and temporal misalignment defects in heterogeneous data storage. By constructing an integrated time-series storage model in the same row and dimension, it fundamentally eliminates the processing mode of cross-database storage and offline data splicing, achieving precise binding of UAV trajectory data and spectrum data.

[0022] 2. This invention leverages the native capabilities of time-series databases to construct a multi-linked index system comprising time-series indexes, device tag indexes, and business feature indexes. It supports native linked queries and reverse tracing based on time dimensions, spatial dimensions, spectral features, and trajectory status. All query operations are implemented using native SQL from the time-series database, eliminating the need for third-party computing engines and cross-database joins. Compared to traditional architectures, query latency is significantly reduced in massive data scenarios, meeting the technical requirements of real-time situational analysis.

[0023] 3. This invention uses the UAV's onboard high-precision timing module as the sole time reference to achieve accurate alignment of all data timestamps. It can accurately match the UAV's flight time, position, and attitude state corresponding to each spectrum anomaly, and can also accurately locate the airspace spectrum environment corresponding to each abnormal flight trajectory. The source tracing accuracy is far superior to traditional offline alignment schemes.

[0024] 4. This invention uses the TDengine single time-series database component to replace the traditional multi-component hybrid storage architecture, reducing the complexity of device deployment and the number of faulty nodes. At the same time, through time-series-specific compression, dual time and tag sharding, and cold / hot tiered storage mechanisms, it optimizes the storage structure of massive time-series data, effectively improving storage resource utilization, and supports horizontal expansion, which can adapt to the long-term storage needs of high-frequency, massive data from large-scale UAV swarms.

[0025] 5. This invention natively supports four core query capabilities: time interval time series playback, airspace range data matching, spatiotemporal tracing of spectrum anomalies, and spectrum correlation analysis of trajectory anomalies. It can comprehensively cover business scenarios such as UAV spectrum inspection, low-altitude airspace management, electromagnetic environment monitoring, and flight anomaly review, making it more versatile and practical. Attached Figure Description

[0026] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a flowchart of a method for joint time-series storage and querying of UAV trajectory and spectrum signal in an embodiment of the present invention. Detailed Implementation

[0027] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.

[0028] This invention discloses a method and system for joint time-series storage and querying of UAV trajectory and spectrum signals. Addressing the shortcomings of existing technologies that use a separate database and file storage model for UAV flight trajectory data and spectrum monitoring data, such as spatiotemporal data fragmentation, complex query chains, large time-series alignment errors, low query efficiency for massive amounts of data, and the inability to achieve linked backtracking of trajectory and spectrum data, this invention achieves unified modeling, joint storage, and linked retrieval of all data based on a time-series database. It abandons the hybrid storage architecture of traditional relational databases combined with file systems, and establishes a unified time reference based on the UAV's onboard timing module. This enables full-domain timestamp synchronization of UAV flight trajectory time-series data and spectrum time-series data, constructing an integrated time-series storage model with a unified timestamp as the sorting primary key, UAV identifiers and mission identifiers as dimension labels, and including trajectory and spectrum field sets. This achieves integrated storage of UAV trajectory location data and spectrum energy, frequency, interference characteristics, and other data. Simultaneously, this invention constructs multiple associated indexes and designs a native spatiotemporal linked query mechanism, supporting multi-dimensional linked queries such as trajectory backtracking within a specified spatiotemporal interval, spectrum anomaly location, reverse retrieval of trajectory-corresponding spectrum features, and source tracing of abnormal spectrum locations. This invention solves the problem of fragmented multi-source heterogeneous data, eliminating the need for cross-database correlation calculations, and improving the processing efficiency of UAV situational data analysis, spectrum anomaly tracing, and flight trajectory compliance detection. It can be adapted to massive time-series data application scenarios such as UAV inspection, airspace monitoring, spectrum management, and low-altitude security.

[0029] Example 1: This embodiment provides a method for joint storage and correlation query of UAV trajectory and spectrum data, based on a time-series database, abandoning relational databases and offline file storage, including the following steps: Step S1: Obtain the unified time reference output by the UAV onboard time synchronization module, as well as the original flight trajectory data and original spectrum monitoring data recorded by the onboard acquisition system; using the time of the time synchronization module as the sole time reference, align the timestamps of the original flight trajectory data and the original spectrum monitoring data to the preset accuracy, perform data quality cleaning, and output standardized time-series data frames.

[0030] Specifically, the raw flight trajectory data includes position data, altitude data, speed data, direction data, and attitude data; the raw spectrum monitoring data includes frequency data, bandwidth data, intensity data, signal-to-noise ratio data, and interference type data.

[0031] Using the time of the airborne time synchronization module as the sole time reference, the original flight trajectory data and the original spectrum monitoring data are time-stamp aligned separately. The original timestamps carried by the two sets of data are uniformly mapped to the time reference of the time synchronization module, and the alignment accuracy is unified to the millisecond level.

[0032] For the two sets of data that have been timestamped and aligned, data quality cleaning is performed, including: removing outliers with acquisition anomalies, interpolating and completing time points with data packet loss, and correcting time drift for data with time offset, to ensure that trajectory data and spectrum data at the same time strictly correspond on the time axis.

[0033] After the above processing, a standardized time-series data frame is output. This standardized time-series data frame contains complete trajectory data and complete spectrum data at the same timestamp, and the trajectory data and spectrum data at each time point have a one-to-one correspondence, thus providing time-synchronized and complete usable data input for subsequent time-series storage.

[0034] Step S2: Obtain standardized time-series data frames and construct a joint time-series data table of UAV spatiotemporal spectrum based on the time-series database. The time-series data table uses a unified timestamp as the unique sorting primary key, UAV identifier and mission identifier as dimension labels, and sets trajectory field sets and spectrum field sets in the same time-series row to form an integrated time-series storage model.

[0035] Specifically, the time-series data table adopts a modeling structure with a unified timestamp primary key, a unique UAV label, and dual business field grouping, with no relational table joins throughout the table. Dimension Label Fields: Set fixed drone identifier, task identifier, and equipment type as dimension labels. The drone identifier uniquely identifies a single drone, the task identifier uniquely identifies a single job, and the equipment type identifies the model of the onboard equipment. These three dimension labels are used as global index dimensions to quickly distinguish data from different drones and different job tasks during queries.

[0036] Primary Key: A unified timestamp at the millisecond level is used as the unique sorting primary key for the time-series data table. All data is stored in ordered order according to the time sequence of this timestamp, ensuring a strict temporal arrangement of written data and supporting subsequent fast retrieval and playback along the time dimension.

[0037] Dual business field sets: Within the same time series row of the time series data table, both the trajectory field set and the spectrum field set are stored simultaneously, sharing the same timestamp primary key and the same set of dimension labels.

[0038] The trajectory field set includes position coordinates, altitude, velocity, orientation angle, attitude angle, and positioning status; the spectrum field set includes real-time frequency, signal amplitude, noise floor, interference indicator, spectrum occupancy, and sampling bandwidth.

[0039] Through the above structure, the time-series data table stores trajectory data and spectrum data in the same row of records in the same order and row, eliminating the problem of separation between trajectory data and spectrum data from the underlying data storage, forming an integrated time-series storage model, and providing clear data organization specifications for subsequent writing.

[0040] Step S3: Standardized time-series data frames are written into the time-series database in batches according to the structure of the integrated time-series storage model; the time-series database automatically completes the fragmented storage, enables time-series-specific compression, and adopts cold and hot tiered storage to output the physically stored time-series dataset.

[0041] Specifically, standardized time-series data frames are converted one by one into time-series data rows conforming to the field structure defined by the integrated time-series storage model, and then directly stored into the time-series database in batches. The entire writing process does not require database sharding or table partitioning, and does not require any cross-component transfer.

[0042] After writing, the time-series database automatically performs time-sharded storage of the data according to the time dimension, and simultaneously performs device-labeled storage of the data according to the device label dimension, realizing data partitioning management under dual dimensions.

[0043] The time-series database also employs time-series-specific compression algorithms to compress and store the massive amounts of data written. Specifically, for repetitive spatiotemporal data such as latitude, longitude, and altitude in trajectory data, as well as steadily changing data segments in spectrum data, high compression ratios are achieved using time-series database-specific algorithms such as differential compression and bit packing compression to reduce storage space usage.

[0044] Furthermore, the hot and cold tiered storage includes: hot data generated by recent tasks is stored on high-speed disk media to support real-time querying and status display; cold data generated by historical tasks is automatically triggered to archive and compress the cold data to low-cost storage media and perform archive compression with a higher compression ratio, while retaining the complete trajectory-spectrum correlation in the cold data to support subsequent long-term backtracking analysis.

[0045] After the above processing, the complete writing process from standardized time-series data frames to physical storage is completed, and the time-series dataset after physical storage is output.

[0046] Step S4: Based on the native indexing capabilities of the time-series database, construct a multi-linked index on the physically stored time-series dataset. The multi-linked index includes a time-series index, a device tag index, and a business feature index, and outputs a time-series data set with multiple indexes.

[0047] Specifically, a triple-association index is constructed on the time-series dataset to support subsequent bidirectional association queries.

[0048] The time-series index comprises: a time-series index built based on the millisecond-level unified timestamp field in the time-series dataset. This index uses timestamps as ordered keys to establish a fast lookup path along the time dimension, supporting rapid filtering and locating of data within any specified time interval during queries.

[0049] The device tag index includes: a device tag index constructed based on the drone identifier and task identifier dimension tag fields in the time-series dataset. This index uses the drone identifier and task identifier as composite keys to establish a fast lookup path for device and task dimensions, supporting rapid retrieval and extraction of all data for a single drone or a single operation task during querying.

[0050] The business feature index includes: a business feature index constructed based on the spectrum and trajectory fields in the time-series dataset. Specifically, a spectrum anomaly index is established for abnormal threshold conditions in the spectrum data, such as signal amplitude exceeding limits and interference flag triggering; a trajectory spatial range index is established for spatial range conditions in the trajectory data, such as latitude and longitude coordinates and altitude. This index supports the rapid location of records that meet the abnormal threshold or spatial range conditions during queries, enabling rapid filtering of abnormal data and trajectory-spectrum correlation matching.

[0051] After the above processing, the triple index is constructed on the physically stored time-series dataset, and the time-series data set with triple index is output.

[0052] Step S5: Obtain the time series data set with multiple indexes, respond to the external input query conditions, execute the native relational query using the multiple relational indexes, and directly return the query results to the external system.

[0053] Specifically, native join queries do not require cross-database calculations or offline data concatenation, including: Time-dimensional related query: Responding to the start and end conditions of the time interval input by external input, using the time-series index as the search path, it batch queries the complete flight trajectory data of the UAV within the time period in the time-series data set, and simultaneously extracts the spectrum feature data corresponding to each moment within the time period, outputting a time-synchronized trajectory-spectrum sequence to achieve time-synchronized playback.

[0054] Trajectory Spatial Association Query: Responding to external input airspace range conditions, including latitude and longitude coordinate intervals and flight altitude intervals, the system uses the trajectory airspace range index in the business feature index as the search path. It filters all UAV trajectory points within the specified airspace range in the time series data set and queries the spectrum data corresponding to each trajectory point in conjunction with the query, outputting a trajectory-spectrum association dataset within the airspace coverage area to achieve airspace spectrum situation linkage analysis.

[0055] Spectrum Anomaly Reverse Source Tracing Query: In response to externally input spectrum anomaly conditions, which include one or more of the following: signal strength exceeding limits, interference identification anomalies, and center frequency offset, the spectrum anomaly index in the service feature index is used as the search path. All spectrum data records that meet the anomaly conditions are quickly matched in the time series data set. The precise timestamp, flight position latitude and longitude, flight speed, heading angle, and attitude state corresponding to each abnormal spectrum record are extracted in reverse source tracing, and the complete spatiotemporal source tracing results of the spectrum anomaly are output.

[0056] Track status linkage query: In response to externally input track anomaly conditions, which include one or more of flight speeding, flight path deviation, and airspace intrusion, the system uses the device tag index and time series index as a joint search path to locate the time and corresponding record that meets the track anomaly conditions in the time series data set. It also links to query the spectrum environment data corresponding to the anomaly time and outputs the spectrum feature record of the track anomaly time to analyze the correlation between flight status anomalies and airspace spectrum interference.

[0057] After the above query operation, the query results are returned directly to the external system.

[0058] Example 2: This embodiment uses the TDengine time-series database to achieve joint storage and correlation querying of UAV trajectory and spectrum data. The specific implementation steps are as follows: Step S1, Data Acquisition and Timing Calibration: During the flight of the UAV, 10Hz high-frequency trajectory data and 50Hz spectrum sampling data are collected simultaneously. Based on the onboard GPS time synchronization, the timestamp accuracy of the dual-source data is unified to the millisecond level. Packet loss and out-of-order data are filtered out to generate standardized synchronous data frames.

[0059] Step S2: Construct a joint time series data table: Create a joint UAV spatiotemporal spectrum table in TDengine, using UAV identifier and mission identifier as label dimensions and millisecond timestamp as primary key. The same data table stores both trajectory location field and spectrum feature field to complete the unified time series modeling of heterogeneous data.

[0060] Step S3, Integrated Data Storage: The synchronized trajectory-spectrum joint data frames are written to TDengine in batches in real time. The database is automatically sharded by time and sharded by device tag. Time-series high compression storage and hot / cold tiered strategy are enabled. Hot data is read and written in real time, and cold data is automatically archived.

[0061] Step S4: Construct a multi-dimensional association index: Automatically generate time-series index, device tag index, spectrum anomaly feature index, and spatial range index to support multi-dimensional fast filtering and association matching.

[0062] Step S5: Execute related query business: Implement four types of core queries through native time-series SQL: replay trajectory and spectrum linkage data by time interval, filter corresponding spectrum status by airspace range, trace flight position based on spectrum anomaly parameters, and analyze spectrum environmental interference factors based on trajectory anomaly linkage analysis.

[0063] Example 3: The present invention also provides a system for joint time-series storage and query of UAV trajectory and spectrum signals. The system for joint time-series storage and query of UAV trajectory and spectrum signals can be implemented by executing the process steps of the method for joint time-series storage and query of UAV trajectory and spectrum signals. That is, those skilled in the art can understand the method for joint time-series storage and query of UAV trajectory and spectrum signals as a preferred embodiment of the system for joint time-series storage and query of UAV trajectory and spectrum signals.

[0064] Specifically, the joint time-series storage and query system for drone trajectory and spectrum signals includes: Module M1 acquires the unified time reference output by the UAV's onboard time synchronization module, as well as the raw flight trajectory data and raw spectrum monitoring data recorded by the onboard acquisition system; using the time of the time synchronization module as the sole time reference, it aligns the timestamps of the raw flight trajectory data and raw spectrum monitoring data to a preset precision, performs data quality cleaning, and outputs standardized time-series data frames. Module M2 acquires standardized time-series data frames and constructs a joint time-series data table of UAV spatiotemporal spectrum based on the time-series database. The time-series data table uses a unified timestamp as the unique sorting primary key, UAV identifier and mission identifier as dimension labels, and sets trajectory field sets and spectrum field sets in the same time-series row to form an integrated time-series storage model. Module M3 writes standardized time-series data frames into the time-series database in batches according to the structure of the integrated time-series storage model; the time-series database automatically completes the fragmented storage, enables time-series-specific compression, and adopts cold and hot tiered storage to output the physically stored time-series dataset. Module M4, based on the native indexing capabilities of time-series databases, builds multiple association indexes on the time-series dataset after physical storage. The multiple association indexes include time-series indexes, device tag indexes, and business feature indexes, and outputs a time-series data set with multiple indexes. Module M5 retrieves a time-series data set with multiple indexes, responds to externally input query conditions, executes native join queries using multiple join indexes, and directly returns the query results to the outside world.

[0065] Those skilled in the art will understand that, besides implementing the system and its various devices, modules, and units provided by this invention in the form of purely computer-readable program code, the same functions can be achieved entirely through logical programming of the method steps, making the system and its various devices, modules, and units of this invention function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, the system and its various devices, modules, and units provided by this invention can be considered as a hardware component, and the devices, modules, and units included therein for implementing various functions can also be considered as structures within the hardware component; alternatively, the devices, modules, and units for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0066] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.

Claims

1. A method for joint time-series storage and querying of UAV trajectory and spectrum signals, characterized in that, Includes the following steps: Step S1: Obtain the unified time reference output by the UAV's onboard time synchronization module, as well as the raw flight trajectory data and raw spectrum monitoring data recorded by the onboard acquisition system; Using the time of the timing module as the sole time reference, the timestamps of the original flight trajectory data and the original spectrum monitoring data are aligned to a preset precision, and data quality cleaning is performed to output standardized time-series data frames. Step S2: Obtain the standardized time-series data frame and construct a time-series data table of UAV spatiotemporal spectrum joint based on the time-series database; the time-series data table uses a unified timestamp as the unique sorting primary key, UAV identifier and mission identifier as dimension labels, and sets trajectory field set and spectrum field set in the same time-series row to form an integrated time-series storage model. Step S3: Write the standardized time-series data frames into the time-series database in batches according to the structure of the integrated time-series storage model; The time-series database automatically completes the sharded storage, enables time-series-specific compression, and adopts cold and hot tiered storage to output the physically stored time-series dataset. Step S4: Based on the native indexing capabilities of the time-series database, construct a multi-linked index on the physically stored time-series dataset. The multi-linked index includes a time-series index, a device tag index, and a business feature index, and output a time-series data set with multiple indexes. Step S5: Obtain the time-series data set with multiple indexes, respond to the externally input query conditions, execute the native association query using the multiple association indexes, and directly return the query results to the outside.

2. The method for joint time-series storage and query of UAV trajectory and spectrum signals according to claim 1, characterized in that, The raw flight trajectory data includes position data, altitude data, speed data, direction data, and attitude data; the raw spectrum monitoring data includes frequency data, bandwidth data, intensity data, signal-to-noise ratio data, and interference type data.

3. The method for joint time-series storage and query of UAV trajectory and spectrum signals according to claim 1, characterized in that, The data quality cleaning includes: removing outliers, interpolating and completing lost data, and correcting time-offset data for drift.

4. The method for joint time-series storage and query of UAV trajectory and spectrum signals according to claim 1, characterized in that, The trajectory field set includes position coordinates, altitude, velocity, orientation angle, attitude angle, and positioning status; the spectrum field set includes real-time frequency, signal amplitude, noise floor, interference indicator, spectrum occupancy, and sampling bandwidth.

5. The method for joint time-series storage and query of UAV trajectory and spectrum signals according to claim 1, characterized in that, The sharded storage is sharded by both time and tag dimensions; in the cold and hot tiered storage, recent data is stored on high-speed storage media, while historical data is transferred to archive storage media.

6. The method for joint time-series storage and query of UAV trajectory and spectrum signals according to claim 1, characterized in that, The time-series index is constructed based on the unified timestamp field; the device tag index is constructed based on the drone identifier and mission identifier; and the business feature index is constructed based on the spectrum field and trajectory field.

7. The method for joint time-series storage and query of UAV trajectory and spectrum signals according to claim 1, characterized in that, The native related queries include: time-dimensional related queries, trajectory spatial related queries, spectrum anomaly reverse tracing queries, and trajectory status linkage queries.

8. The method for joint time-series storage and query of UAV trajectory and spectrum signal according to claim 7, characterized in that, The time-dimensional correlation query allows users to input a specified start and end time to batch query the complete flight trajectory of the UAV within that time period and the corresponding spectral feature data for each moment. The trajectory spatial correlation query allows users to input a specified latitude and longitude airspace range and flight altitude range to filter all UAV trajectory points within the range and query the spectral data of the corresponding points.

9. The method for joint time-series storage and query of UAV trajectory and spectrum signal according to claim 7, characterized in that, The spectrum anomaly reverse tracing query allows you to input spectrum anomaly conditions and quickly match the precise time, flight position, and flight status corresponding to all abnormal spectrum data; the trajectory status linkage query allows you to input trajectory anomaly conditions and query the spectrum environment data corresponding to the abnormal time.

10. A system for joint time-series storage and query of UAV trajectory and spectrum signals, employing the method for joint time-series storage and query of UAV trajectory and spectrum signals as described in any one of claims 1-9, characterized in that, include: Module M1 acquires the unified time reference output by the UAV's onboard time synchronization module, as well as the raw flight trajectory data and raw spectrum monitoring data recorded by the onboard acquisition system; Using the time of the timing module as the sole time reference, the timestamps of the original flight trajectory data and the original spectrum monitoring data are aligned to a preset precision, and data quality cleaning is performed to output standardized time-series data frames. Module M2 acquires the standardized time-series data frame and constructs a joint time-series data table of UAV spatiotemporal spectrum based on the time-series database. The time-series data table uses a unified timestamp as the unique sorting primary key, UAV identifier and mission identifier as dimension labels, and sets trajectory field set and spectrum field set in the same time-series row to form an integrated time-series storage model. Module M3 writes the standardized time-series data frames into the time-series database in batches according to the structure of the integrated time-series storage model; The time-series database automatically completes the sharded storage, enables time-series-specific compression, and adopts cold and hot tiered storage to output the physically stored time-series dataset. Module M4, based on the native indexing capabilities of the time-series database, constructs multiple association indexes on the time-series dataset after physical storage. The multiple association indexes include time-series indexes, device tag indexes, and business feature indexes, and outputs a time-series data set with multiple indexes. Module M5 acquires the time-series data set with multiple indexes, responds to externally input query conditions, executes native relational queries using the multiple relational indexes, and directly returns the query results to the outside.

Citation Information

Patent Citations

  • Track storage and retrieval method, system and device and computer storage readable medium

    CN113177037A