Method, device and computer readable storage medium for storing ephemeris data
By using a standardized storage method that combines attribute matching and time sorting of ephemeris data, the problem of mixed ephemeris data storage was solved, achieving efficient data management and business stability.
Patent Information
- Application Number
- CN202610702597.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-20
- Publication Date
- 2026-08-25
AI Technical Summary
The lack of a unified and standardized ephemeris data storage standard and classification architecture in existing technologies leads to mixed, redundant, overlapping, and disordered data storage, affecting data retrieval efficiency and business reliability.
By acquiring the attribute information of ephemeris data, the target sub-storage area is accurately matched. Combined with preset duration and quantity limits, a data processing strategy is formulated to achieve standardized storage sorted by attribute and time, clean up redundant data, and form dedicated partitions and circular queue management.
It enables the orderly storage of ephemeris data, simplifies the data retrieval process, improves data retrieval efficiency, ensures the stability and reliability of business operations, and avoids data errors and matching failures.
Smart Images

Figure CN122633782A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of satellite technology, and in particular to methods, apparatus and computer-readable storage media for ephemeris data storage. Background Technology
[0002] Currently, in the daily storage and management of ephemeris data, there is a lack of unified and standardized storage standards and classification architecture. Different ephemeris data are stored together without proper classification and organization, resulting in chaotic and disorderly data storage.
[0003] The long-term disorganized storage of ephemeris data leads to a series of problems, such as overlapping data versions, redundant file accumulation, and mixing of old and new data. Some valid ephemeris data is also easily covered or missed by redundant information. At the same time, the scattered and disordered storage method cannot clearly distinguish different types of data such as precise ephemeris and broadcast ephemeris, and it is also difficult to identify ephemeris data with different sampling intervals and different levels of precision.
[0004] A disorganized storage structure directly reduces the efficiency of subsequent ephemeris data retrieval, parsing, and application, requiring workers to spend a significant amount of time screening and troubleshooting each item. Moreover, disordered data storage hinders subsequent business operations such as batch data processing, calculation, and modeling, and is prone to retrieval errors and data matching failures, severely impacting the overall operational efficiency and data reliability of navigation and positioning, data calculation, and other related businesses. Summary of the Invention
[0005] This application provides a method, apparatus, and computer-readable storage medium for storing ephemeris data, which can improve the orderliness of ephemeris data storage.
[0006] To achieve the above objectives, this application adopts the following technical solution: Firstly, a method for storing ephemeris data is provided. The method includes: acquiring ephemeris data to be stored; searching within a storage area for a target sub-storage area corresponding to the data attribute information based on the data attribute information of the ephemeris data to be stored; the data attribute information includes the system type of the satellite system to which it belongs and the satellite identifier of the satellite to which it belongs; the target sub-storage area is used to store the ephemeris data corresponding to the data attribute information; the storage area includes multiple sub-storage areas; when a target sub-storage area corresponding to the data attribute information exists within the storage area, determining a data processing strategy for the data in the target sub-storage area based on the data restriction information of the ephemeris data to be stored; the data restriction information includes a preset ephemeris data expiration time and a preset total number of ephemeris data, and the data processing strategy is used to indicate whether to delete the historical ephemeris data to be deleted in the target sub-storage area; storing the ephemeris data after the latest ephemeris data in the target sub-storage area according to the data processing strategy; the latest ephemeris data is the ephemeris data with the latest reception time in the target sub-storage area.
[0007] In conjunction with the first aspect, in some embodiments of the first aspect, when there is no target sub-storage area corresponding to the data attribute information in the storage area, the method further includes: determining and storing the system type of the satellite system to which the ephemeris data to be stored belongs in an empty sub-storage area in the storage area, and using the empty sub-storage area as the target sub-storage area; storing the satellite identifier of the satellite to which the ephemeris data to be stored belongs after the system type; storing the total number of ephemeris data after the satellite identifier; the total number of ephemeris data is the sum of the current number of ephemeris data corresponding to the satellite identifier in the storage area and 1; and storing the ephemeris data to be stored after the total number of ephemeris data. In conjunction with the first aspect, in certain embodiments of the first aspect, a data processing strategy for data in a target sub-storage area is determined based on data restriction information of the ephemeris data to be stored, including: determining whether the number of ephemeris data in the target sub-storage area is less than the preset total number of ephemeris data; determining whether the difference between the reception time of the earliest ephemeris data and the current time is less than the preset ephemeris data expiration time; the earliest ephemeris data is the ephemeris data in the target sub-storage area with the earliest reception time; if both are true, determining that the data processing strategy indicates not to delete historical ephemeris data in the target sub-storage area; otherwise, determining that the data processing strategy indicates to delete the historical ephemeris data to be deleted in the target sub-storage area; the historical ephemeris data to be deleted is the earliest ephemeris data, or the historical ephemeris data to be deleted is historical ephemeris data whose difference between the reception time and the current time is greater than the preset ephemeris data expiration time.
[0008] In conjunction with the first aspect, in some embodiments of the first aspect, after storing the ephemeris data into the latest ephemeris data in the target sub-storage area according to the data processing strategy, the method further includes: treating different target sub-storage areas corresponding to different data attribute information in the storage area as different data storage units; and establishing a circular queue among multiple data storage units.
[0009] Secondly, an ephemeris data storage device is provided for implementing the ephemeris data storage method of the first aspect described above. The ephemeris data storage device includes modules, units, or means corresponding to the above method. These modules, units, or means can be implemented in hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
[0010] In conjunction with the second aspect, in some embodiments of the second aspect, the ephemeris data storage device includes: an acquisition module and a processing module; the acquisition module is used to acquire ephemeris data to be stored; the processing module is used to search in the storage area whether a target sub-storage area corresponding to the data attribute information exists based on the data attribute information of the ephemeris data to be stored; the data attribute information includes the system type of the satellite system to which it belongs and the satellite identifier of the satellite to which it belongs; the target sub-storage area is used to store the ephemeris data corresponding to the data attribute information; the storage area includes multiple sub-storage areas; the processing module is further used to determine a data processing strategy for the data in the target sub-storage area based on the data restriction information of the ephemeris data to be stored when a target sub-storage area corresponding to the data attribute information exists in the storage area; the data restriction information includes a preset ephemeris data expiration time and a preset total number of ephemeris data, and the data processing strategy is used to indicate whether to delete the historical ephemeris data to be deleted in the target sub-storage area; the processing module is further used to store the ephemeris data after the latest ephemeris data in the target sub-storage area according to the data processing strategy; the latest ephemeris data is the ephemeris data with the latest reception time in the target sub-storage area.
[0011] In conjunction with the second aspect, in some embodiments of the second aspect, when there is no target sub-storage area corresponding to the data attribute information in the storage area, the processing module is further configured to: determine and store the system type of the satellite system to which the ephemeris data to be stored belongs in an empty sub-storage area in the storage area, and use the empty sub-storage area as the target sub-storage area; store the satellite identifier of the satellite to which the ephemeris data to be stored belongs after the system type; store the total number of ephemeris data after the satellite identifier; the total number of ephemeris data is the sum of the current number of ephemeris data corresponding to the satellite identifier in the storage area and 1; and store the ephemeris data to be stored after the total number of ephemeris data. In conjunction with the second aspect, in some embodiments of the second aspect, the processing module is further configured to determine a data processing strategy for data in the target sub-storage area based on data restriction information of the ephemeris data to be stored, including: determining whether the number of ephemeris data in the target sub-storage area is less than the preset total number of ephemeris data; determining whether the difference between the reception time of the earliest ephemeris data and the current time is less than the preset ephemeris data expiration time; the earliest ephemeris data is the ephemeris data in the target sub-storage area with the earliest reception time; if both are true, determining that the data processing strategy indicates not to delete historical ephemeris data in the target sub-storage area; otherwise, determining that the data processing strategy indicates to delete the historical ephemeris data to be deleted in the target sub-storage area; the historical ephemeris data to be deleted is the earliest ephemeris data, or the historical ephemeris data to be deleted is historical ephemeris data whose difference between the reception time and the current time is greater than the preset ephemeris data expiration time.
[0012] In conjunction with the second aspect, in some embodiments of the second aspect, after storing the ephemeris data into the latest ephemeris data in the target sub-storage area according to the data processing strategy, the processing module is further configured to: treat different target sub-storage areas corresponding to different data attribute information in the storage area as different data storage units; and establish a circular queue among multiple data storage units.
[0013] Thirdly, an ephemeris data storage device is provided, comprising: at least one processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method provided by the first aspect and any possible implementation thereof.
[0014] Fourthly, a computer-readable storage medium is provided, which, when executed by a processor of an ephemeris data storage device, enables the ephemeris data storage device to perform the methods provided in the first aspect and any possible embodiments thereof.
[0015] Fifthly, a computer program product containing instructions is provided that, when run on a computer, enables the computer to perform the methods provided in the first aspect and any possible implementation thereof.
[0016] The technical effects of any one of the second to fifth aspects can be found in the technical effects of the different embodiments of the first aspect described above, and will not be repeated here.
[0017] The solution provided in this application first acquires the ephemeris data to be stored. Based on key data attribute information such as the satellite system type and satellite identifier, it accurately matches and locates the corresponding target sub-storage area within the overall storage area, enabling the ephemeris data to be exclusively partitioned and categorized by satellite system and individual satellite dimensions. Simultaneously, combined with data limitation information such as preset ephemeris data expiration time and preset total number of ephemeris data, it intelligently formulates exclusive data processing strategies for historical ephemeris data in the target sub-storage area, identifies and cleans up historical ephemeris data that meets the elimination criteria as needed, and then sequentially stores the ephemeris data to be stored after the latest received ephemeris data in the target sub-storage area, forming a standardized storage architecture that is partitioned by attribute and sorted by time.
[0018] This solution addresses the industry pain points of traditional ephemeris data storage management, such as the lack of unified standards, classification architecture, and the chaotic stacking of various data types. It fundamentally eliminates issues like overlapping data versions, the continuous accumulation of redundant files, and the disorderly mixing of old and new heterogeneous data, preventing the accidental overwriting or loss of valid ephemeris data by redundant information. Through standardized partitioned storage, it not only significantly simplifies subsequent data retrieval processes and reduces the time cost of manual screening and inspection, but also effectively improves the overall efficiency of rapid ephemeris data retrieval, intelligent analysis, and practical applications. Furthermore, it provides a well-organized data foundation for backend services such as centralized batch data processing and high-precision calculation and modeling, avoiding data retrieval errors and cross-source data matching failures caused by chaotic storage. From the storage source, it ensures the stable and reliable operation of navigation and positioning, precise data calculation, and other related services, comprehensively improving business operation efficiency and the standardization, availability, and reliability of ephemeris data storage throughout its entire lifecycle. Attached Figure Description
[0019] Figure 1 This application provides a schematic diagram of the architecture of an ephemeris data storage system. Figure 2 A flowchart illustrating a method for storing ephemeris data provided in this application; Figure 3 This is a schematic diagram of the structure of an ephemeris data storage device provided in this application; Figure 4 This is a schematic diagram of another ephemeris data storage device provided in this application. Detailed Implementation
[0020] In the description of this application, unless otherwise stated, "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0021] Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.
[0022] In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner to facilitate understanding.
[0023] It is understood that the term "embodiment" used throughout the specification means that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, various embodiments throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It is understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0024] It is understood that in this application, "when," "if," and "if" all refer to the corresponding processing that will be carried out under certain objective circumstances, and are not limited to a specific time, nor do they require that there must be a judgment action when implemented, nor do they imply any other limitations.
[0025] It is understood that some optional features in the embodiments of this application can be implemented independently in certain scenarios without relying on other features, such as the current solution on which they are based, to solve the corresponding technical problems and achieve the corresponding effects. Alternatively, they can be combined with other features as needed in certain scenarios. Correspondingly, the apparatus given in the embodiments of this application can also implement these features or functions, which will not be elaborated here.
[0026] In this application, unless otherwise specified, the same or similar parts between the various embodiments can be referred to each other. In the various embodiments and implementation methods of the various embodiments in this application, unless otherwise specified or logically conflicting, the terminology and / or descriptions between different embodiments and between the implementation methods of the various embodiments are consistent and can be mutually referenced. The technical features in different embodiments and between the implementation methods of the various embodiments can be combined according to their inherent logical relationships to form new embodiments, implementation methods, implementation methods, or implementation approaches. The following embodiments of this application do not constitute a limitation on the scope of protection of this application.
[0027] Currently, in the daily storage and management of ephemeris data, there is a lack of unified and standardized storage standards and classification architecture. Different ephemeris data are stored together without proper classification and organization, resulting in chaotic and disorderly data storage.
[0028] The long-term disorganized storage of ephemeris data leads to a series of problems, such as overlapping data versions, redundant file accumulation, and mixing of old and new data. Some valid ephemeris data is also easily covered or missed by redundant information. At the same time, the scattered and disordered storage method cannot clearly distinguish different types of data such as precise ephemeris and broadcast ephemeris, and it is also difficult to identify ephemeris data with different sampling intervals and different levels of precision.
[0029] A disorganized storage structure directly reduces the efficiency of subsequent ephemeris data retrieval, parsing, and application, requiring workers to spend a significant amount of time screening and troubleshooting each item. Moreover, disordered data storage hinders subsequent business operations such as batch data processing, calculation, and modeling, and is prone to retrieval errors and data matching failures, severely impacting the overall operational efficiency and data reliability of navigation and positioning, data calculation, and other related businesses.
[0030] To address the aforementioned issues, this application provides a method for storing ephemeris data. The method includes: acquiring ephemeris data to be stored; searching within a storage area for a target sub-storage area corresponding to the data attribute information based on the data attribute information of the ephemeris data to be stored; the data attribute information includes the system type of the satellite system to which it belongs and the satellite identifier of the satellite to which it belongs; the target sub-storage area is used to store the ephemeris data corresponding to the data attribute information; when a target sub-storage area corresponding to the data attribute information exists within the storage area, determining a data processing strategy for the data in the target sub-storage area based on the data restriction information of the ephemeris data to be stored; the data restriction information includes a preset ephemeris data expiration time and a preset total number of ephemeris data, and the data processing strategy is used to indicate whether to delete the historical ephemeris data to be deleted in the target sub-storage area; and storing the ephemeris data after the latest ephemeris data in the target sub-storage area according to the data processing strategy; the latest ephemeris data is the ephemeris data with the latest reception time in the target sub-storage area.
[0031] Based on this scheme, the ephemeris data to be stored is first acquired. Relying on key data attribute information such as the satellite system type and satellite identifier, the corresponding target sub-storage area is accurately matched and located within the overall storage area. This enables the ephemeris data to be exclusively partitioned and categorized by satellite system and individual satellite dimensions. Simultaneously, combined with data limitations such as preset ephemeris data expiration time and preset total number of ephemeris data, a dedicated data processing strategy for historical ephemeris data in the target sub-storage area is intelligently formulated. Historical ephemeris data that meets the elimination criteria is identified and deleted as needed. Then, the ephemeris data to be stored is sequentially stored after the latest received ephemeris data in the target sub-storage area, forming a standardized storage architecture that is partitioned by attribute and sorted by time.
[0032] This solution addresses the industry pain points of traditional ephemeris data storage management, such as the lack of unified standards, classification architecture, and the chaotic stacking of various data types. It fundamentally eliminates issues like overlapping data versions, the continuous accumulation of redundant files, and the disorderly mixing of old and new heterogeneous data, preventing the accidental overwriting or loss of valid ephemeris data by redundant information. Through standardized partitioned storage, it not only significantly simplifies subsequent data retrieval processes and reduces the time cost of manual screening and inspection, but also effectively improves the overall efficiency of rapid ephemeris data retrieval, intelligent analysis, and practical applications. Furthermore, it provides a well-organized data foundation for backend services such as centralized batch data processing and high-precision calculation and modeling, avoiding data retrieval errors and cross-source data matching failures caused by chaotic storage. From the storage source, it ensures the stable and reliable operation of navigation and positioning, precise data calculation, and other related services, comprehensively improving business operation efficiency and the standardization, availability, and reliability of ephemeris data storage throughout its entire lifecycle.
[0033] Figure 1 This is a schematic diagram of the architecture of an ephemeris data storage system provided in this application. The technical solutions of the embodiments of this application can be applied to... Figure 1 The ephemeris data storage system shown is, for example Figure 1 As shown, the ephemeris data storage system 10 includes an ephemeris data storage device 11 and an electronic device 12.
[0034] The ephemeris data storage device 11 is directly or indirectly connected to the electronic device 12. This connection can be wired or wireless, and this application embodiment does not limit this.
[0035] Data can be exchanged between the ephemeris data storage device 11 and the electronic device 12.
[0036] It should be noted that the ephemeris data storage device 11 and the electronic device 12 can be independent devices or integrated into the same device; this application does not make any specific limitation in this regard.
[0037] The ephemeris data storage system 10 can be deployed in the receiver. In this case, the ephemeris data storage device 11 can be the processor in the receiver, and the electronic device 12 can be the satellite signal receiving device in the receiver.
[0038] When the ephemeris data storage device 11 and the electronic device 12 are integrated into the same device, the communication method between the ephemeris data storage device 11 and the electronic device 12 is the same as the communication method between the modules within the device. In this case, the communication process between the two is the same as that when the ephemeris data storage device 11 and the electronic device 12 are independent of each other.
[0039] In the following embodiments provided in this application, the ephemeris data storage device 11 and the electronic device 12 are described as being configured independently of each other.
[0040] In practical applications, the ephemeris data storage method provided in this application embodiment can be applied to the ephemeris data storage device 11, or to the devices included in the ephemeris data storage device 11.
[0041] The ephemeris data storage method provided in this application embodiment will be described below with reference to the accompanying drawings, taking the application of the ephemeris data storage method to the ephemeris data storage device 11 as an example.
[0042] Figure 2 This is a flowchart illustrating a method for storing ephemeris data provided in this application, as shown below. Figure 2 As shown, the method includes the following steps: S201, The ephemeris data storage device acquires the ephemeris data to be stored.
[0043] It should be noted that ephemeris data is a set of observational parameters representing the spatial position, speed, and orbital state of navigation satellites at any given time. It includes core information such as satellite orbital elements, clock error parameters, perturbation correction coefficients, time reference, accuracy indicators, and sampling intervals.
[0044] As one possible implementation method, combined with Figure 1 The electronic device generates first information including the ephemeris data to be stored and sends the first information to the ephemeris data storage device. Correspondingly, the ephemeris data storage device receives the first information from the electronic device and retrieves the ephemeris data to be stored from the first information.
[0045] As another possible implementation method, combined with Figure 1 The electronic device generates second information including GNSS data and sends the second information to the ephemeris data storage device. Correspondingly, the ephemeris data storage device receives the second information from the electronic device, retrieves the GNSS data from the second information, parses the ephemeris data from the GNSS data, and uses this ephemeris data as the ephemeris data to be stored.
[0046] S202. The ephemeris data storage device searches the storage area for a target sub-storage area corresponding to the data attribute information based on the data attribute information of the ephemeris data to be stored.
[0047] The data attribute information includes the system type of the satellite system to which it belongs and the satellite identifier of the satellite; the target sub-storage area is used to store the ephemeris data corresponding to the data attribute information.
[0048] It should be noted that the system type can be the BeiDou satellite positioning system, the GPS satellite positioning system, or the Galileo satellite positioning system; this application does not impose specific restrictions on this.
[0049] The storage area includes multiple sub-storage areas, and this application does not impose specific restrictions on the way the sub-storage areas are divided.
[0050] The satellite identifier can be the satellite PRN number.
[0051] As one possible implementation, the ephemeris data storage device uses the system type of the satellite system to which the ephemeris data to be stored belongs and the satellite identifier of the satellite to which it belongs as the primary key to search whether there is a corresponding sub-storage area in the storage area; If a sub-storage area corresponding to the primary key exists, use that sub-storage area as the target sub-storage area and confirm that the target sub-storage area has been found.
[0052] If no sub-storage area corresponding to the primary key exists, it is determined that no target sub-storage area was found, meaning that the target sub-storage area corresponding to the data attribute information does not exist in the storage area.
[0053] S203. When the ephemeris data storage device has a target sub-storage area corresponding to the data attribute information in the storage area, it determines the data processing strategy of the data in the target sub-storage area according to the data restriction information of the ephemeris data to be stored.
[0054] The data restriction information includes the preset ephemeris data expiration time and the preset total number of ephemeris data. The data processing strategy is used to indicate whether to delete the historical ephemeris data to be deleted in the target sub-storage area.
[0055] It should be noted that the preset expiration time of ephemeris data can be 12 hours, 24 hours or 6 hours, and this application does not impose specific restrictions on this.
[0056] The total number of preset ephemeris data can be 100, 150 or 50, and this application does not impose a specific limit on this.
[0057] As one possible implementation, the ephemeris data storage device determines whether the amount of ephemeris data in the target sub-storage area is less than the preset total amount of ephemeris data; determines whether the difference between the reception time of the earliest ephemeris data and the current time is less than the preset ephemeris data expiration time; the earliest ephemeris data is the ephemeris data with the earliest reception time in the target sub-storage area; if both are true, it determines that the data processing strategy indicates not to delete the historical ephemeris data in the target sub-storage area; otherwise, it determines that the data processing strategy indicates to delete the historical ephemeris data to be deleted in the target sub-storage area; the historical ephemeris data to be deleted is the earliest ephemeris data, or, the historical ephemeris data to be deleted is historical ephemeris data whose difference between the reception time and the current time is greater than the preset ephemeris data expiration time.
[0058] As an example, the ephemeris data storage device pre-configures a fixed total number of ephemeris data entries (e.g., setting a maximum of 100 ephemeris data entries per area) and a preset ephemeris data expiration time (e.g., setting the expiration time to 12 hours) for the target sub-storage area. After matching the target sub-storage area corresponding to the ephemeris data to be stored, the ephemeris data storage device first counts the total number of ephemeris data entries already stored in the target sub-storage area and determines whether the current total number of data entries is less than 1000. Simultaneously, it extracts the earliest received ephemeris data entry from the target sub-storage area as the earliest ephemeris data entry, calculates the time difference between the received time of the earliest ephemeris data entry and the current system time, and determines whether the time difference is less than the preset 12-hour expiration time.
[0059] If the detection result is: the number of existing data in the target sub-storage area is less than 100, and the earliest ephemeris data is no more than 12 hours away from the current time, the device determines that there is no need to clean up the historical data. The data processing strategy is to not delete any historical ephemeris data in the target sub-storage area, but to directly append the ephemeris data to be stored to the latest ephemeris data in the area in chronological order.
[0060] If either of the following two conditions is not met: first, the number of ephemeris data in the target sub-storage area has reached or exceeded the storage limit of 100 records; second, the time difference between the earliest ephemeris data and the current time exceeds the 12-hour expiration period, the device generates a deletion-type data processing strategy. Specifically, when only the quantity limit condition is triggered, the earliest received ephemeris data in the target sub-storage area is identified as historical ephemeris data to be deleted and removed. When the difference between the received time and the current time of some historical ephemeris data exceeds the preset expiration period, all expired historical ephemeris data are uniformly classified as historical ephemeris data to be deleted and the deletion operation is performed. After completing the cleanup of redundant historical data, the ephemeris data to be stored is then stored in the target sub-storage area.
[0061] Based on this possible implementation, a dual judgment is made simultaneously from two dimensions: the total amount of data stored and the validity period of the data. On the one hand, it is determined whether the number of existing ephemeris data in the target sub-storage area does not exceed the preset total limit. On the other hand, it is verified whether the earliest received ephemeris data in the area is still within the preset expiration period. Only when the number does not exceed the limit and the earliest ephemeris data has not expired, a processing strategy of not deleting historical ephemeris data is directly adopted, and new data can be directly stored without additional cleaning operations. If either condition is not met, the historical ephemeris data to be deleted is precisely defined. Either the earliest ephemeris data under the storage limit situation can be used as the cleaning object, or the expired ephemeris data with a time difference exceeding the preset expiration period can be listed as the cleaning object.
[0062] This approach implements a dual mechanism of ephemeris data capacity control and timeliness elimination. It can strictly control the data storage scale of each sub-storage area, avoiding unlimited data accumulation and the continuous increase of redundant files, while automatically removing expired and invalid ephemeris data to prevent the mixing of new and old data and invalid data from occupying storage resources. At the same time, it can intelligently distinguish the historical data that needs to be cleaned based on the actual storage capacity and timeliness rules, without the need for manual intervention in screening. This ensures that each target sub-storage area always maintains a state of ephemeris data storage that is compliant in quantity, valid in timeliness, and orderly in time sequence. It reduces the interference of invalid data on subsequent data retrieval, parsing, and calculation, and improves the regularity of ephemeris data storage, storage space utilization, and the accuracy and efficiency of subsequent business data applications.
[0063] S204. The ephemeris data storage device stores the ephemeris data after the latest ephemeris data in the target sub-storage area according to the data processing strategy.
[0064] Among them, the latest ephemeris data is the ephemeris data received at the latest time in the target sub-storage area.
[0065] As one possible implementation, the ephemeris data storage device determines the corresponding data processing strategy based on the quantity threshold and expiration duration, and completes the process of retaining historical ephemeris data or deleting expired redundant data in the target sub-storage area. Then, it retrieves and locates the latest ephemeris data in the target sub-storage area as the end reference of the time sequence. Subsequently, the ephemeris data to be stored is written into the subsequent storage location of the latest ephemeris data in chronological order.
[0066] Based on S201-S204, the ephemeris data to be stored is first acquired. Relying on key data attribute information such as the satellite system type and satellite identifier, the corresponding target sub-storage area is accurately matched and located within the overall storage area. This enables the ephemeris data to be exclusively partitioned and categorized by satellite system and individual satellite dimensions. Simultaneously, combined with data limitation information such as the preset ephemeris data expiration time and the preset total number of ephemeris data, an exclusive data processing strategy for historical ephemeris data in the target sub-storage area is intelligently formulated. Historical ephemeris data that meets the elimination criteria is identified and deleted as needed. Then, the ephemeris data to be stored is sequentially stored after the latest received ephemeris data in the target sub-storage area, forming a standardized storage architecture that is partitioned by attribute and sorted by time.
[0067] This solution addresses the industry pain points of traditional ephemeris data storage management, such as the lack of unified standards, classification architecture, and the chaotic stacking of various data types. It fundamentally eliminates issues like overlapping data versions, the continuous accumulation of redundant files, and the disorderly mixing of old and new heterogeneous data, preventing the accidental overwriting or loss of valid ephemeris data by redundant information. Through standardized partitioned storage, it not only significantly simplifies subsequent data retrieval processes and reduces the time cost of manual screening and inspection, but also effectively improves the overall efficiency of rapid ephemeris data retrieval, intelligent analysis, and practical applications. Furthermore, it provides a well-organized data foundation for backend services such as centralized batch data processing and high-precision calculation and modeling, avoiding data retrieval errors and cross-source data matching failures caused by chaotic storage. From the storage source, it ensures the stable and reliable operation of navigation and positioning, precise data calculation, and other related services, comprehensively improving business operation efficiency and the standardization, availability, and reliability of ephemeris data storage throughout its entire lifecycle.
[0068] The above is a general description of the ephemeris data storage method provided in this application. The following will provide a further description of the ephemeris data storage method provided in this application.
[0069] In one design, after S202, if there is no target sub-storage area corresponding to the data attribute information in the storage area, the method further includes: The ephemeris data storage device determines and stores the system type of the satellite system to which the ephemeris data to be stored belongs in an empty sub-storage area of the storage area, and uses the empty sub-storage area as the target sub-storage area; stores the satellite identifier of the satellite to which the ephemeris data to be stored belongs after the system type; stores the total number of ephemeris data after the satellite identifier; the total number of ephemeris data is the sum of the current number of ephemeris data corresponding to the satellite identifier in the storage area and 1; and stores the ephemeris data to be stored after the total number of ephemeris data.
[0070] As one possible implementation, when there is no matching target sub-storage area for the ephemeris data to be stored, the ephemeris data storage device first selects an unoccupied, unused sub-storage area within the overall storage area that does not contain any ephemeris-related data. It then writes and saves the system type of the satellite system to which the ephemeris data belongs to this unused sub-storage area, and designates this unused sub-storage area as the target sub-storage area. Next, within this target sub-storage area, in the subsequent storage location of the system type data, the satellite identifier corresponding to the ephemeris data to be stored is sequentially written and saved. Then, the total number of ephemeris data is calculated, which is the number of existing ephemeris data entries corresponding to the satellite identifier in the current storage area plus one. This calculated total number of ephemeris data is then continuously stored in the storage location following the satellite identifier. Finally, the ephemeris data to be stored is completely stored in the subsequent storage location of the total number of ephemeris data entries.
[0071] For a concrete example: If the ephemeris data to be stored is for a satellite of the BeiDou system, the storage device first selects a free sub-storage area within the storage region, writes the BeiDou satellite system type, and sets this free area as the target sub-storage area. Then, it sequentially writes the satellite PRN number as the satellite identifier after the system type. At this point, there is no ephemeris data under this satellite identifier, so the current quantity is 0. The total quantity of ephemeris data is calculated to be 1, and this value of 1 is stored after the satellite identifier. Finally, the BeiDou satellite ephemeris data to be stored is stored in a position following the total quantity of ephemeris data (1). When new ephemeris data for this satellite is subsequently stored, the current data quantity is recalculated and a new total quantity of ephemeris data is generated. This data is then stored sequentially according to a fixed hierarchical order: system type, satellite identifier, total quantity of ephemeris data, and ephemeris data. This forms a structured storage layout with clear hierarchy, well-organized fields, and a fixed order, achieving standardized new partitioning and orderly data entry by system and satellite identifier.
[0072] Understandably, in S204, when storing ephemeris data to be stored, the ephemeris data storage device also uses the sum of the current number of ephemeris data and 1 as the total number of updated ephemeris data.
[0073] Based on this scheme, this approach prioritizes writing satellite system types into idle sub-storage areas of the storage region and designates them as target sub-storage areas. Then, it sequentially stores satellite identifiers after the system type, followed by the total ephemeris data quantity (the current quantity of corresponding ephemeris data plus 1) after the satellite identifier. Finally, it appends the ephemeris data to be stored after the total ephemeris data quantity, thus constructing a system type—satellite identifier—total ephemeris data quantity— The system employs a fixed-level storage structure for ephemeris entity data. It automatically allocates independent, free sub-storage areas for newly added ephemeris data from different satellite systems and with different satellite identifiers, achieving isolated partitioning storage by satellite system and individual satellite dimensions. The structure is clear and the arrangement rules are consistent. By real-time counting of the number of ephemeris data corresponding to each satellite identifier and accumulating this count to generate the total number of ephemeris data entries, it automatically generates continuously increasing sequence numbers, intuitively representing the number of stored ephemeris data entries and their entry order. This allows for quick location of data entries without the need for additional index tables. Furthermore, the system uses a fixed-field sequential serial storage method, avoiding the problems of arbitrary storage and chaotic classification of ephemeris data. This achieves standardized and structured archiving of ephemeris data at the storage structure level, facilitating rapid retrieval of ephemeris data by satellite system and satellite identifier. It simplifies data traversal, parsing, and batch processing, reduces the probability of data corruption and mismatch, and improves the regularity, searchability, and efficiency of ephemeris data storage and subsequent business applications.
[0074] In one design, after storing the ephemeris data into the latest ephemeris data in the target sub-storage area according to a data processing strategy, the method provided in this application may further include: The ephemeris data storage device uses different target sub-storage areas corresponding to different data attribute information in the storage area as different data storage units; and establishes a circular queue among multiple data storage units.
[0075] It should be noted that a circular queue is a linear queue structure built on a fixed-size contiguous storage space. The first and last positions of the queue are logically connected to form a closed loop. The head pointer and the tail pointer mark the dequeue position and the enqueue position respectively. The pointers move cyclically within the fixed space using modulo operations. It follows the first-in-first-out rule and can reuse the free storage units released by the dequeue.
[0076] As one possible implementation, the ephemeris data storage device first divides the corresponding target sub-storage areas within the storage region into isolated and independent data storage units according to different data attribute information, namely different satellite system types and different satellite identifiers. Each data storage unit corresponds to a dedicated storage space for the ephemeris data of a single satellite or a type of satellite system. Based on this, the storage device uses all the divided data storage units as queue elements of a circular queue, constructing a logically closed-loop circular queue structure among all data storage units, and setting head and tail pointers to perform cyclic scheduling and management of each data storage unit.
[0077] To illustrate with a specific example: The storage area contains four target sub-storage areas corresponding to the BeiDou G01, BeiDou G02, GPS01, and GPS02 satellites, respectively. The device first defines each of these four target sub-storage areas as an independent data storage unit. Then, these four data storage units are sequentially incorporated into a queue logic structure, logically connected end-to-end to form a circular queue. During subsequent ephemeris data storage, expiration cleanup, capacity rotation, and data retrieval, the storage device can sequentially poll and schedule each data storage unit according to the first-in-first-out and circular traversal rules of the circular queue. This allows for the sequential storage, over-limit eviction, and ordered retrieval of ephemeris data for each satellite, achieving unified queued scheduling and management of multiple satellites and multiple sub-storage areas. The device processes the storage and maintenance of ephemeris data for each unit according to the order of the circular queue.
[0078] Based on this scheme, each target sub-storage area within the storage region, corresponding to data attribute information such as different satellite system types and satellite identifiers, is mapped into independent data storage units. A circular queue logical architecture is then constructed among multiple data storage units. On the one hand, data attributes serve as boundaries to achieve unit-based isolation of each target sub-storage area, ensuring that each storage unit exclusively carries ephemeris data of its corresponding attribute, with clear boundaries and no interference between them. On the other hand, by establishing a circular queue, all data storage units can be subject to orderly polling, cyclic scheduling, and unified management. The ephemeris data of each unit can be entered into the database according to the first-in-first-out logic of the queue, avoiding the problems of disordered management of individual sub-storage areas and chaotic scheduling of multiple areas. At the same time, the circular queue allows for repeated polling and traversal of each storage unit, enabling data traversal and maintenance without the need for additional complex index structures, thereby improving the regularity and scheduling efficiency of the overall storage management of multi-satellite and multi-type ephemeris data.
[0079] The foregoing mainly describes the solution provided by the embodiments of this application from the perspective of an ephemeris data storage device executing an ephemeris data storage method. To achieve the above functions, the ephemeris data storage device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0080] This application embodiment can divide the ephemeris data storage device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation. Furthermore, "module" here can refer to an application-specific integrated circuit (ASIC), a circuit, a processor and memory executing one or more software or firmware programs, integrated logic circuits, and / or other devices that can provide the above functions.
[0081] When using functional module division Figure 3 A schematic diagram of an ephemeris data storage device is shown. Figure 3As shown, the ephemeris data storage device 30 includes an acquisition module 301 and a processing module 302.
[0082] In some embodiments, the ephemeris data storage device 30 may further include a storage module ( Figure 3 (not shown in the image) is used to store program instructions and data.
[0083] The system comprises: an acquisition module 301 for acquiring ephemeris data to be stored; a processing module 302 for searching within the storage area whether a target sub-storage area corresponding to the data attribute information exists, based on the data attribute information of the ephemeris data to be stored; the data attribute information includes the system type of the satellite system to which it belongs and the satellite identifier of the satellite; the target sub-storage area is used to store the ephemeris data corresponding to the data attribute information; the storage area includes multiple sub-storage areas; the processing module 302 is further configured to, when a target sub-storage area corresponding to the data attribute information exists within the storage area, determine the data processing strategy for the data in the target sub-storage area based on the data restriction information of the ephemeris data to be stored; the data restriction information includes a preset ephemeris data expiration time and a preset total number of ephemeris data, and the data processing strategy is used to indicate whether to delete the historical ephemeris data to be deleted in the target sub-storage area; the processing module 302 is further configured to store the ephemeris data after the latest ephemeris data in the target sub-storage area according to the data processing strategy; the latest ephemeris data is the ephemeris data received latest in the target sub-storage area.
[0084] Optionally, if there is no target sub-storage area corresponding to the data attribute information in the storage area, the processing module 302 is further configured to: determine and store the system type of the satellite system to which the ephemeris data to be stored belongs in an empty sub-storage area in the storage area, and use the empty sub-storage area as the target sub-storage area; store the satellite identifier of the satellite to which the ephemeris data to be stored belongs after the system type; store the total number of ephemeris data after the satellite identifier; the total number of ephemeris data is the sum of the current number of ephemeris data corresponding to the satellite identifier in the storage area and 1; and store the ephemeris data to be stored after the total number of ephemeris data. Optionally, the processing module 302 is further configured to determine a data processing strategy for the data in the target sub-storage area based on the data restriction information of the ephemeris data to be stored, including: determining whether the number of ephemeris data in the target sub-storage area is less than the preset total number of ephemeris data; determining whether the difference between the reception time of the earliest ephemeris data and the current time is less than the preset ephemeris data expiration time; the earliest ephemeris data is the ephemeris data in the target sub-storage area with the earliest reception time; if both are true, determining that the data processing strategy indicates not to delete the historical ephemeris data in the target sub-storage area; otherwise, determining that the data processing strategy indicates to delete the historical ephemeris data to be deleted in the target sub-storage area; the historical ephemeris data to be deleted is the earliest ephemeris data, or the historical ephemeris data to be deleted is historical ephemeris data whose difference between the reception time and the current time is greater than the preset ephemeris data expiration time.
[0085] Optionally, after storing the ephemeris data into the latest ephemeris data in the target sub-storage area according to the data processing strategy, the processing module 302 is further configured to: treat different target sub-storage areas corresponding to different data attribute information in the storage area as different data storage units; and establish a circular queue among multiple data storage units.
[0086] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0087] When the functions of the above modules are implemented in hardware... Figure 4 A schematic diagram of yet another ephemeris data storage device is shown. For example... Figure 4 As shown, the ephemeris data storage device 40 includes a processor 401, a memory 402, and a bus 403. The processor 401 and the memory 402 can be connected via the bus 403.
[0088] Processor 401 is the control center of ephemeris data storage device 40. It can be a single processor or a collective term for multiple processing elements. For example, processor 401 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.
[0089] As one embodiment, processor 401 may include one or more CPUs, for example Figure 4 CPU 0 and CPU 1 are shown in the diagram.
[0090] The memory 402 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.
[0091] As one possible implementation, the memory 402 can exist independently of the processor 401. The memory 402 can be connected to the processor 401 via a bus 403 and is used to store instructions or program code. When the processor 401 calls and executes the instructions or program code stored in the memory 402, it can implement the ephemeris data storage method provided in the embodiments of this application.
[0092] In another possible implementation, the memory 402 can also be integrated with the processor 401.
[0093] Bus 403 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0094] It should be pointed out that, Figure 4 The structure shown does not constitute a limitation on the ephemeris data storage device 40. Except... Figure 4 In addition to the components shown, the ephemeris data storage device 40 may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0095] As an example, combined Figure 3 The functions implemented by the acquisition module 301 and the processing module 302 in the ephemeris data storage device 30 are the same as those of the acquisition module 301 and the processing module 302. Figure 4 The processor 401 in it has the same function.
[0096] Optional, such as Figure 4 As shown, the ephemeris data storage device 40 provided in this application embodiment may further include a communication interface 404.
[0097] Communication interface 404 is used to connect with other devices via a communication network. This communication network can be Ethernet, a wireless access network, a wireless local area network (WLAN), etc. Communication interface 404 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
[0098] In one possible implementation, the communication interface 404 in the ephemeris data storage device 40 provided in this application embodiment can also be integrated into the processor 401, and this application embodiment does not specifically limit this.
[0099] As one possible product form, the ephemeris data storage device of this application embodiment can also be implemented using the following: one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.
[0100] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0101] This application also provides a computer-readable storage medium storing a computer program or instructions thereon, which, when executed, causes a computer to perform the various steps in the method flow shown in the above method embodiments.
[0102] Embodiments of this application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the various steps in the method flow shown in the above-described method embodiments.
[0103] This application provides a chip system, including: a processor and an interface circuit; the interface circuit is used to receive computer programs or instructions and transmit them to the processor; the processor is used to execute the computer programs or instructions so that the chip system performs each step in the method flow shown in the above method embodiments.
[0104] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), registers, hard disks, optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing, or any other form of computer-readable storage medium in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may reside in a purpose-specific ASIC. In the embodiments of this application, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0105] Since the ephemeris data storage device, computer-readable storage medium, and computer program product provided in this embodiment can be applied to the ephemeris data storage method provided in this embodiment, the technical effects that can be obtained can also be referred to the above method embodiments. The embodiments of this application will not be repeated here.
[0106] Although this application has been described herein in conjunction with various embodiments, those skilled in the art will understand and implement other variations of the disclosed embodiments by reviewing the accompanying drawings and the disclosure in carrying out the claimed application.
[0107] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely illustrative examples of this application and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of equivalent technology of this application, this application also intends to include such modifications and modifications.
Claims
1. A method for storing ephemeris data, characterized in that, The methods include: Retrieve ephemeris data to be stored; Based on the data attribute information of the ephemeris data to be stored, check whether there is a target sub-storage area in the storage area that corresponds to the data attribute information; The data attribute information includes the system type of the satellite system to which it belongs and the satellite identifier of the satellite; the target sub-storage area is used to store the ephemeris data corresponding to the data attribute information; the storage area includes multiple sub-storage areas; When a target sub-storage area corresponding to data attribute information exists in the storage area, the data processing strategy for the data in the target sub-storage area is determined based on the data restriction information of the ephemeris data to be stored. Data restriction information includes the preset ephemeris data expiration time and the preset total number of ephemeris data. The data processing policy is used to indicate whether to delete the historical ephemeris data to be deleted in the target sub-storage area. According to the data processing strategy, the ephemeris data is stored after the latest ephemeris data in the target sub-storage area; the latest ephemeris data is the ephemeris data received at the latest time in the target sub-storage area.
2. The method according to claim 1, characterized in that, If the target sub-storage area corresponding to the data attribute information does not exist in the storage area, the method also includes: Determine and store the system type of the satellite system to which the ephemeris data to be stored belongs in an empty sub-storage area of the storage area, and use the empty sub-storage area as the target sub-storage area; Store the satellite identifier of the satellite to which the ephemeris data to be stored belongs after the system type; Store the total number of ephemeris data after the satellite identifier; the total number of ephemeris data is the sum of the current number of ephemeris data corresponding to the satellite identifier in the storage area and 1; Store the ephemeris data to be stored after the total number of ephemeris data.
3. The method according to claim 1, characterized in that, Based on the data constraints of the ephemeris data to be stored, determine the data processing strategy for the data in the target sub-storage area, including: Determine whether the number of ephemeris data in the target sub-storage area is less than the preset total number of ephemeris data; Determine whether the difference between the earliest ephemeris data reception time and the current time is less than the preset ephemeris data expiration time; the earliest ephemeris data is the ephemeris data with the earliest reception time in the target sub-storage area; If both are true, the data processing strategy indicates that historical ephemeris data in the target sub-storage area should not be deleted; Otherwise, the data processing strategy is determined to delete the historical ephemeris data to be deleted in the target sub-storage area; the historical ephemeris data to be deleted is the earliest ephemeris data, or the historical ephemeris data to be deleted is historical ephemeris data whose difference between the received time and the current time is greater than the preset ephemeris data expiration time.
4. The method according to any one of claims 1-3, characterized in that, After storing the ephemeris data into the latest ephemeris data in the target sub-storage area according to the data processing strategy, the method further includes: Different target sub-storage areas corresponding to different data attribute information in the storage area are used as different data storage units; Establish a circular queue among multiple data storage units.
5. A star ephemeris data storage device, characterized in that, The device includes: Acquisition module and processing module; The acquisition module is used to acquire the ephemeris data to be stored. The processing module is used to search the storage area for a target sub-storage area corresponding to the data attribute information based on the data attribute information of the ephemeris data to be stored. The data attribute information includes the system type of the satellite system to which it belongs and the satellite identifier of the satellite; the target sub-storage area is used to store the ephemeris data corresponding to the data attribute information; the storage area includes multiple sub-storage areas; The processing module is also used to determine the data processing strategy for the data in the target sub-storage area based on the data restriction information of the ephemeris data to be stored when there is a target sub-storage area corresponding to the data attribute information in the storage area. Data restriction information includes the preset ephemeris data expiration time and the preset total number of ephemeris data. The data processing policy is used to indicate whether to delete the historical ephemeris data to be deleted in the target sub-storage area. The processing module is also used to store the ephemeris data after the latest ephemeris data in the target sub-storage area according to the data processing strategy; the latest ephemeris data is the ephemeris data received at the latest time in the target sub-storage area.
6. The apparatus according to claim 5, characterized in that, If the target sub-storage area corresponding to the data attribute information does not exist in the storage area, the processing module is also used for: Determine and store the system type of the satellite system to which the ephemeris data to be stored belongs in an empty sub-storage area of the storage area, and use the empty sub-storage area as the target sub-storage area; Store the satellite identifier of the satellite to which the ephemeris data to be stored belongs after the system type; Store the total number of ephemeris data after the satellite identifier; the total number of ephemeris data is the sum of the current number of ephemeris data corresponding to the satellite identifier in the storage area and 1; Store the ephemeris data to be stored after the total number of ephemeris data.
7. The apparatus according to claim 5, characterized in that, The processing module is also used to determine the data processing strategy for the data in the target sub-storage area based on the data constraint information of the ephemeris data to be stored, including: Determine whether the number of ephemeris data in the target sub-storage area is less than the preset total number of ephemeris data; Determine whether the difference between the earliest ephemeris data reception time and the current time is less than the preset ephemeris data expiration time; the earliest ephemeris data is the ephemeris data with the earliest reception time in the target sub-storage area; If both are true, the data processing strategy indicates that historical ephemeris data in the target sub-storage area should not be deleted; Otherwise, the data processing strategy is determined to delete the historical ephemeris data to be deleted in the target sub-storage area; the historical ephemeris data to be deleted is the earliest ephemeris data, or the historical ephemeris data to be deleted is historical ephemeris data whose difference between the received time and the current time is greater than the preset ephemeris data expiration time.
8. The apparatus according to any one of claims 5-7, characterized in that, After storing the ephemeris data into the latest ephemeris data in the target sub-storage area according to the data processing strategy, the processing module is also used for: Different target sub-storage areas corresponding to different data attribute information in the storage area are used as different data storage units; Establish a circular queue among multiple data storage units.
9. A star ephemeris data storage device, characterized in that, The ephemeris data storage device includes: a processor coupled to a memory for storing programs or instructions that, when executed by the processor, cause the device to perform the method as claimed in any one of claims 1 to 4.
10. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When a computer program or instruction is executed, it causes the computer to perform the method as claimed in any one of claims 1 to 4.
