Multi-database-based heaven and earth data synchronization platform and method
By adopting a multi-database-based world data synchronization platform between space aircraft and ground information support systems, the network congestion caused by data synchronization in the prior art is solved, and stable and reliable data transmission and efficient synchronization are achieved.
Patent Information
- Application Number
- CN202411780485.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-03-07
AI Technical Summary
In the process of data synchronization between space aircraft and ground information support systems, the prior art can easily lead to network congestion, especially when the world is connected to the network, multiple service systems synchronize data simultaneously, increasing network load.
A multi-database-based world data synchronization platform is adopted. By setting up a synchronization system and a business system on the ground and on-track ends, and using multiple databases for data interaction and synchronization, centralized and unified data transmission and delay synchronization are achieved to reduce network congestion.
Through centralized management and multi-database interaction, stable and reliable data transmission is achieved, network congestion is reduced, and data synchronization efficiency and reliability are improved.
Smart Images

Figure CN119582919A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data synchronization, and in particular to a multi-database-based heaven-earth data synchronization platform and method. Background Art
[0002] In the information management system used on space vehicles such as space stations, reliable data synchronization with the ground information support system is generally required so that ground support personnel can effectively support the work of the staff on the vehicle and keep abreast of the application of the information management system on the vehicle.
[0003] The information management system used on the spacecraft has network connection capabilities with the ground support system, but it is still different from the commonly used ground Internet and other networks. Due to various reasons, such as limited resources, the space-ground Internet cannot guarantee connection at any time. Therefore, when the ground-ground Internet is successfully connected, the business systems of each space station will synchronize data with the ground information support system through the space-ground network at the same time. Figure 1 As shown, business system 1, business system 2, business system 3, business system 4, and business system 5 all synchronize data with the ground intermediate database through the space-ground network, which can easily lead to network congestion. For another example, a new patent application with publication number CN104615759A and titled "A data synchronization method between different business system platforms" discloses a data synchronization method based on an intermediate database, which includes: establishing a synchronization intermediate database to define and save the data format and data content that need to be synchronized between different business systems, synchronizing abnormal data records, and synchronizing working timestamps; when synchronizing data, the synchronization service program reads data from the business system and writes it into the synchronization intermediate database, or reads data from the synchronization intermediate synchronization database and writes it into each business system, and during the synchronization process, the synchronization service program also provides timed operation and data synchronization error correction processing according to the synchronization working timestamp. This method only uses one intermediate database, and all business systems interact with one intermediate database for data. If it is applied to the space-ground network environment, when the space-ground network is successfully connected, all business system data communicates with the intermediate database independently through the space-ground network at the same time, which will cause network congestion. Summary of the invention
[0004] The purpose of the present invention is to overcome the problems of the prior art and to provide a multi-database based sky-ground data synchronization platform and method.
[0005] The objective of the present invention is achieved through the following technical scheme: a multi-database-based ground-to-space data synchronization platform, the platform includes a ground end and an on-orbit end, the ground end includes a ground synchronization system and a plurality of ground business systems, the ground synchronization system is connected to the plurality of ground business systems; the on-orbit end includes an on-orbit synchronization system and a plurality of on-orbit business systems, the on-orbit synchronization system is connected to the plurality of on-orbit business systems, the ground synchronization system is used for centrally controlling the data transmission of each ground business system, the on-orbit synchronization system is used for centrally controlling the data transmission of each on-orbit business system, and the on-orbit synchronization system is connected to the ground synchronization system via a ground-to-space network.
[0006] In one example, the ground synchronization system is connected to a ground synchronization database, each ground service system is connected to a ground service database, and each ground service system is connected to the ground synchronization system via the corresponding ground service database;
[0007] The on-orbit synchronization system is connected to an on-orbit synchronization database, each on-orbit business system is connected to an on-orbit business database, and each on-orbit business system is connected to the on-orbit synchronization system via the corresponding on-orbit business database.
[0008] In one example, the ground end further includes a plurality of on-orbit mirror service systems, each of which is connected to a ground synchronization system.
[0009] In one example, each of the on-orbit mirror service systems is connected to an on-orbit mirror service database, and each of the on-orbit mirror service systems is connected to a ground synchronization system via the corresponding on-orbit mirror service database.
[0010] In one example, the ground synchronization system includes a ground business data timing processing module, a ground synchronization data timing processing module, a ground data sending module and a ground data receiving module, the on-orbit synchronization system includes an on-orbit business data timing processing module, an on-orbit synchronization data timing processing module, an on-orbit data sending module and an on-orbit data receiving module, the ground data sending module is connected to the on-orbit data receiving module via a ground-ground network, and the ground data receiving module is connected to the on-orbit data sending module via a ground-ground network;
[0011] The ground business data timing processing module is connected to the ground business database and the ground synchronization database, and is used to regularly obtain the ground data to be sent in the ground business database and transmit it to the ground synchronization database;
[0012] The ground synchronization data timing processing module is connected to the ground synchronization database, the ground data sending module, the ground business database, and the on-orbit business mirror database, and is used to obtain data in the ground synchronization database at a regular interval. If it is detected that the data in the ground synchronization database is ground data to be sent or ground processed data, the ground data sending module is called to send the ground data to be sent or the ground processed data to the on-orbit data receiving module; if it is detected that the data in the ground synchronization database is on-orbit received data or on-orbit processed data or ground received data, the on-orbit received data or on-orbit processed data or ground received data is updated to the corresponding ground business database and the data status is updated, and the on-orbit processed data is updated to the on-orbit business mirror database, and the data status of the on-orbit processed data in the ground synchronization database is updated; if it is detected that the data in the ground synchronization database is ground ended data, the ground ended data is deleted;
[0013] The ground data receiving module is connected to the ground synchronization database and the ground data sending module, and is used to receive the data sent by the on-orbit data sending module and perform data synchronization status detection. If it is data that has been received on-orbit, the data status of the corresponding data in the ground synchronization database is updated; if it is data that has been processed on-orbit or data to be sent on-orbit, the processed data on-orbit or data to be sent on-orbit is sent to the ground synchronization database, and the ground data sending module is called to send the updated data status of the processed data on-orbit or data to be sent on-orbit to the on-orbit data receiving module; if it is data that has been processed on the ground, the data status of the corresponding data in the ground synchronization database is updated;
[0014] The on-orbit service data timing processing module is connected to the on-orbit service database and the on-orbit synchronization database, and is used to regularly obtain the on-orbit data to be sent from the on-orbit service database and transmit it to the on-orbit synchronization database;
[0015] The on-orbit synchronization data timing processing module is connected to the on-orbit synchronization database, the on-orbit data sending module and the on-orbit business database, and is used to obtain the data in the on-orbit synchronization database at a regular interval. If it is detected that the data in the on-orbit synchronization database is on-orbit data to be sent or on-orbit processed data, the on-orbit data sending module is called to send the on-orbit data to be sent or on-orbit processed data to the ground data receiving module; if it is detected that the data in the on-orbit synchronization database is ground received data or on-orbit processed data or on-orbit received data, the ground received data or ground processed data or on-orbit received data is updated to the corresponding on-orbit business database and the data status is updated, and the on-orbit processed data is updated to the on-orbit business mirror database, and the data status of the on-orbit processed data in the on-orbit synchronization database is updated; if it is detected that the data in the on-orbit synchronization database is on-orbit ended data, the on-orbit ended data is deleted;
[0016] The on-orbit data receiving module is connected to the on-orbit synchronization database and the on-orbit data sending module, and is used to receive data sent by the ground data sending module and perform data synchronization status detection. If it is data received on the ground, the data status of the corresponding data in the on-orbit synchronization database is updated; if it is ground processed data or ground data to be sent, the ground processed data or ground data to be sent is sent to the on-orbit synchronization database, and the on-orbit data sending module is called to send the updated data status of the ground processed data or ground data to be sent to the ground data receiving module; if it is on-orbit processed data, the data status of the corresponding data in the on-orbit synchronization database is updated.
[0017] It should be further explained that the technical features corresponding to the above system examples can be combined or replaced with each other to form a new technical solution.
[0018] The present invention also includes a method for synchronizing ground-to-space data based on multiple databases. When the on-orbit synchronization system is used as the execution subject, the method includes the following steps:
[0019] Obtain the business data to be synchronized from each on-orbit business system;
[0020] Determine the data synchronization order for the business data to be synchronized for each on-orbit business system;
[0021] After detecting and confirming that the on-orbit synchronization system is connected to the ground synchronization system via the space-ground network, the business data to be synchronized by each on-orbit business system is sent to the ground synchronization system in the order of data synchronization.
[0022] In one example, when the ground synchronization system is used as the execution subject, the method includes the following steps:
[0023] Obtain the business data to be synchronized from various ground business systems;
[0024] Determine the data synchronization order for the business data to be synchronized in various ground business systems;
[0025] After detecting and confirming that the ground synchronization system and the on-orbit synchronization system are connected via the space-ground network, the business data to be synchronized by each ground business system will be sent to the on-orbit synchronization system in the order of data synchronization.
[0026] In one example, when the on-orbit synchronization system and the ground synchronization system synchronize data via the space-ground network, the business system flag, data change type, data synchronization status flag and synchronization timestamp are written on the changed data, and the data change type is addition, modification or deletion; the data synchronization status flags include ground pending transmission, on-orbit successful reception receipt, on-orbit received, ground transmission completed, on-orbit received, on-orbit processing completed, ground successful reception receipt, on-orbit ended, and ground ended.
[0027] In one example, when the on-orbit synchronization system and the ground synchronization system perform data synchronization via the space-ground network, when the on-orbit synchronization system or the ground synchronization system as the sending end sends data, it includes:
[0028] Split the data to be sent into several data packets, number each data packet in sequence, put the data packets into the sending buffer pool, and send them one by one;
[0029] receiving a confirmation response for checking the data packet according to the number;
[0030] Check whether the sent data packet has received a confirmation response with the corresponding number. If a confirmation response is received, remove it from the sending buffer. If no confirmation response is received, resend the data.
[0031] In one example, when an on-orbit synchronization system or a ground synchronization system as a receiving end receives data, it includes:
[0032] Receive data packets and confirm responses according to the numbers;
[0033] All received data packets are sent to the receive buffer to determine whether the numbers are continuous. If they are continuous, the files are reassembled according to the data numbers; if they are not continuous, the missing numbers in the middle are received before reassembly.
[0034] It should be further explained that the technical features corresponding to the various examples of the above method can be combined or replaced with each other to form a new technical solution.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] 1. In one example, the on-orbit synchronization system centrally manages and controls the data to be synchronized of each on-orbit business system, that is, the on-orbit synchronization system assigns a data synchronization sequence to the data to be synchronized of each on-orbit business system. When the on-orbit synchronization system confirms that the on-orbit synchronization system is connected to the ground synchronization system via the space-ground network, the on-orbit synchronization system controls each on-orbit business system to synchronize data according to the data synchronization sequence, thereby realizing centralized and unified data transmission, and being able to support delayed synchronization of data, thereby ensuring stable and reliable data transmission and preventing network congestion. At the same time, the ground synchronization system can also centrally manage and control the data to be synchronized of each ground business system, thereby enabling each ground business system to synchronize data in sequence, thereby further reducing the data transmission pressure of the space-ground network and preventing network congestion.
[0037] 2. In one example, by setting up several on-orbit mirror business systems on the ground side, that is, performing a one-to-one backup of the on-orbit business system data, when an on-orbit business system fails, timely maintenance can be carried out by checking the corresponding on-orbit mirror business system, without the need to check the on-orbit business system. It has strong operability, is not restricted by physical conditions, and is highly convenient to maintain.
[0038] 3. In one example, through the ground business data timing processing module, the ground synchronization data timing processing module, the ground data sending module, the ground data receiving module in the ground synchronization system, and the on-orbit business data timing processing module, the on-orbit synchronization data timing processing module, the on-orbit data sending module and the on-orbit data receiving module in the on-orbit synchronization system, in cooperation with various ground business systems, on-orbit business databases, on-orbit mirror business databases, on-orbit mirror business systems, on-orbit business systems, and on-orbit business databases, data change processing (addition, modification or change) is performed on data in different data synchronization states, so as to realize centralized and orderly data synchronization processing, which can ensure the stability and reliability of data synchronization.
[0039] 4. In one example, verification and data retransmission based on the data packet number can ensure the reliable transmission of data, thereby adapting to the characteristics of long transmission distance, many chain links and high latency of the ground-to-earth network. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The specific implementation methods of the present invention are further described in detail below in conjunction with the accompanying drawings. The accompanying drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The same reference numerals are used in these drawings to represent the same or similar parts. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.
[0041] Figure 1 This is a diagram of the existing data synchronization framework;
[0042] Figure 2 A system block diagram provided for an example of the present invention;
[0043] Figure 3 A system block diagram provided for another example of the present invention;
[0044] Figure 4 A system block diagram provided for a preferred example of the present invention;
[0045] Figure 5 A flow chart of a synchronization method provided for an example of the present invention. DETAILED DESCRIPTION
[0046] The technical solution of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] In the description of the present invention, it should be noted that the directions or positional relationships indicated by "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. are directions or positional relationships based on the drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the use of ordinal numbers (e.g., "first and second", "first to fourth", etc.) is to distinguish objects, and is not limited to this order, and cannot be understood as indicating or implying relative importance.
[0048] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0050] In one example, if Figure 2 As shown, a multi-database-based space-ground data synchronization platform includes a ground terminal and an on-orbit terminal. The ground terminal includes a ground synchronization system and several ground business systems. The ground business system may include a database for data storage. The ground synchronization system is connected to several ground business systems. Each ground business system transmits the data to be synchronized to the ground synchronization system in real time. The ground synchronization system is used to centrally control the data transmission of each ground business system. That is, after the ground synchronization system receives the data to be synchronized from each ground business system, it allocates a data synchronization order for the data to be synchronized from each ground business system. Optionally, the data synchronization order can be determined according to the priority of the data to be synchronized. The priority can be divided according to the importance of the data, the size of the data, the sensitivity of the data, etc. Among them, the ground business system is designed according to the business characteristics. The ground synchronization system adopts a universal design, which can be completely separated from the ground business system and fully reused among different ground business systems. One ground synchronization system can support multiple ground business systems at the same time. Optionally, in each ground business system, four fields, namely, the ground business system flag, the data change type (addition, modification or deletion), the data synchronization status flag, and the synchronization timestamp (current time), are added to each data table that needs to be synchronized, which are used for querying when the ground synchronization system is called.
[0051] Furthermore, the on-orbit end includes an on-orbit synchronization system and several on-orbit business systems. The on-orbit business system may include a database for data storage. The on-orbit synchronization system is connected to several on-orbit business systems via the internal network of the space station. The internal network of the space station is a network available 24 hours a day. Each on-orbit business system transmits the data to be synchronized to the ground synchronization system in real time. The on-orbit synchronization system is used to centrally control the data transmission of each on-orbit business system, that is, after the on-orbit synchronization system receives the data to be synchronized of each on-orbit business system, it allocates a data synchronization order for the data to be synchronized of each on-orbit business system. Optionally, the data synchronization order can be determined according to the priority of the data to be synchronized. The priority can be divided according to the importance of the data, the size of the data, the sensitivity of the data, etc. Among them, the on-orbit business system is designed according to the business characteristics. The on-orbit synchronization system adopts a universal design, which can be completely separated from the on-orbit business system and fully reused among different on-orbit business systems. One on-orbit synchronization system can support multiple on-orbit business systems at the same time. Optionally, in each on-orbit business system, four fields are added to each data table that needs to be synchronized, namely, the on-orbit business system flag, the data change type (addition, modification or deletion), the data synchronization status flag, and the synchronization timestamp (current time), for query when the on-orbit synchronization system is called.
[0052] Furthermore, the on-orbit synchronization system and the ground synchronization system are connected via the space-ground network. Due to the shortage of space-ground network resources and other reasons, the on-orbit synchronization system and the ground synchronization system cannot be used around the clock. Therefore, when the ground synchronization system or the on-orbit synchronization system detects that the space-ground network has been connected, the ground synchronization system and the on-orbit synchronization system respectively control the ground business system and the on-orbit business system to transmit data according to the allocated data synchronization sequence and transmission rate, so as to make full use of the transmission window and realize the centralized and unified transmission of data, and can support delayed synchronization of data, so as to ensure stable and reliable data transmission and prevent network congestion.
[0053] In one example, if Figure 3 As shown in the figure, each ground business system is connected to a ground business database, and each ground business system is connected to the ground synchronization system through the corresponding ground business database. The ground business database stores ground business data, and adds four fields, namely, business system flag, data change type, data synchronization status flag, and synchronization timestamp, in each data table that needs to be synchronized, for query when the ground synchronization system is called. Each ground business system implements the processing of ground business. If the business data to be synchronized changes, the business system flag (this business system flag), data change type (addition, modification or deletion), data synchronization status flag (to be sent on the ground), and synchronization timestamp (current time) are written to the changed data and saved in the ground business database; when executing the corresponding business operation, the corresponding business status is displayed according to the data in the business database where the "data synchronization status flag" is "processed on orbit".
[0054] The ground synchronization system is connected to a ground synchronization database, which stores data that needs to be synchronized from the ground business database to the on-orbit business database and from the on-orbit business database to the ground business database. The ground synchronization database creates a data table with the same structure as the data table in the ground business database. At the same time, the ground synchronization database maintains a list of data tables and marks the business database corresponding to each table.
[0055] Furthermore, each on-orbit business system is connected to an on-orbit business database, and each on-orbit business system is connected to the on-orbit synchronization system via the corresponding on-orbit business database. The on-orbit business database is used to store on-orbit business data, and four fields, namely, business system flag, data change type, data synchronization status flag, and synchronization timestamp, are added to each data table that needs to be synchronized, for query when the on-orbit synchronization system is called. The on-orbit business system implements the processing of on-orbit business. If the business data that needs to be synchronized changes, the business system flag (this business system), data change type (addition, modification or deletion), data synchronization status flag (on-orbit to be sent), and synchronization timestamp (current time) are written on the changed data and saved in the on-orbit business database; when executing the corresponding business operation, the corresponding business status is displayed according to the data in the database where the "data synchronization status flag" is "ground processing completed".
[0056] The on-orbit synchronization system is connected to an on-orbit synchronization database, which stores data that needs to be synchronized from the on-orbit business database to the ground business database and data that needs to be synchronized from the ground business database to the on-orbit business database. The data table structure that needs to be synchronized is exactly the same as the data table structure in the business database. At the same time, a list of data tables is maintained in the on-orbit synchronization database, marking the business database corresponding to each table.
[0057] In one example, due to physical limitations, the staff cannot provide technical support at the on-track site. To solve this problem, Figure 3 As shown, the ground end of this example also includes several on-orbit mirror business systems, and each on-orbit mirror business system is connected to the ground synchronization system. The on-orbit mirror business system realizes a one-to-one simulation of the on-orbit business system on the ground end, and the on-orbit mirror business system is exactly the same as the on-orbit business system. By setting up several on-orbit mirror business systems on the ground end, that is, a one-to-one backup of the on-orbit business system data is performed, when the on-orbit business system fails, maintenance can be carried out in time by checking the corresponding on-orbit mirror business system on the ground end, without checking the on-orbit business system, strong operability, no need to be restricted by physical conditions, and high maintenance convenience.
[0058] In one example, if Figure 3As shown, each on-orbit mirror service system is connected to an on-orbit mirror service database, and each on-orbit mirror service system is connected to the ground synchronization system via the corresponding on-orbit mirror service database. The on-orbit mirror service database stores the ground mirror of the on-orbit service database, and its data table receives and stores data content that is exactly the same as the on-orbit service database, which is used to reproduce the same on-orbit service database on the ground, so that ground support personnel can support and ensure on-orbit data.
[0059] In one example, if Figure 4 As shown, the ground synchronization system includes a ground business data timing processing module, a ground synchronization data timing processing module, a ground data sending module and a ground data receiving module, and the on-orbit synchronization system includes an on-orbit business data timing processing module, an on-orbit synchronization data timing processing module, an on-orbit data sending module and an on-orbit data receiving module. The ground data sending module is connected to the on-orbit data receiving module via a ground-to-space network, and the ground data receiving module is connected to the on-orbit data sending module via a ground-to-space network.
[0060] The ground business data timing processing module is connected to the ground business database and the ground synchronization database. It is used to regularly obtain the ground data to be sent in the ground business database and transmit it to the ground synchronization database. That is, it is used to regularly access the data in the ground business database. If it is detected in the business data table that there is data with the "data synchronization status flag" as "ground to be sent", the data is obtained and saved in the ground synchronization database.
[0061] The ground synchronization data timing processing module is connected to the ground synchronization database, the ground data sending module, the ground business database, and the on-orbit business mirror database. The ground synchronization data timing processing module regularly accesses the data in the ground synchronization database. If the "data synchronization status flag" is detected as "ground to be sent", the ground-to-space network connection status is checked. If the ground-to-space network is already connected, the ground data sending module is called to send data to the on-orbit data receiving module; if the "data synchronization status flag" is detected as "on-orbit received", it is updated to the corresponding ground business database according to the "business system flag", the data status in the business database is changed to "ground sent completed", and the synchronization timestamp is updated; if the "data synchronization status flag" is detected as "on-orbit processed completed", the data is updated to the ground business database, the data status in the ground business database is changed to "on-orbit processed completed", and the synchronization timestamp is updated. At the same time, the data of "on-orbit processing completed" is updated to the on-orbit business mirror database, the "data synchronization status flag" is changed to "on-orbit processing completed", and the synchronization timestamp is updated. Then, the "data synchronization status flag" of the data of "on-orbit processing completed" in the ground synchronization database is changed to "ground completed"; if the data of "data synchronization status flag" is detected as "ground received", it is updated to the corresponding ground business database according to the "business system flag", and the "data synchronization status flag" of the data in the ground synchronization database and the ground business database is changed to "ground processed completed", and the synchronization timestamp is updated; if the data of "data synchronization status flag" is detected as "ground processed completed", the ground data sending module is called to send data to the on-orbit; if the data of "data synchronization status flag" is detected as "ground completed", the data is deleted to release the synchronization database space.
[0062] The ground data sending module realizes sending data from the ground end to the on-orbit end, and the sending is encapsulated and sent based on the UDP protocol.
[0063] The ground data receiving module is connected to the ground synchronization database and the ground data sending module, and is used to receive the data sent by the on-orbit data sending module. After receiving the data, the "data synchronization status flag" is checked. If it is "received on-orbit", the corresponding data in the ground synchronization database is changed to "received on-orbit", and the synchronization timestamp is updated; if it is "processed on-orbit", the data is first saved in the ground synchronization database, and the ground data sending module is called to send the changed data (i.e., "ground successful reception receipt") to the on-orbit data receiving module; if it is "to be sent on-orbit", the data is first saved in the ground synchronization database, the "data synchronization status flag" is changed to "received on the ground", and the ground data sending module is called to send the changed data (i.e., "ground successful reception receipt") to the on-orbit data receiving module; if it is "processed on the ground", the corresponding data in the ground synchronization database is changed to "ground ended", and the synchronization timestamp is updated.
[0064] The on-orbit business data timing processing module is connected to the on-orbit business database and the on-orbit synchronization database. It is used to regularly obtain the on-orbit data to be sent in the on-orbit business database and transmit it to the on-orbit synchronization database. That is, it is used to regularly access the data in the on-orbit business database. If it is detected that there is data with the "data synchronization status flag" as "on-orbit to be sent" in the business data table, the data will be obtained and saved in the on-orbit synchronization database.
[0065] The on-orbit synchronization data timing processing module is connected with the on-orbit synchronization database, the on-orbit data sending module and the on-orbit business database, and is used to access the on-orbit synchronization database at a regular interval. If the data with the "data synchronization status flag" of "on-orbit waiting to be sent" is detected, the connection status of the ground-to-earth network is checked. If the ground-to-earth network is already connected, the on-orbit data sending module is called to send data to the ground; if the data with the "data synchronization status flag" of "received on the ground" is detected, it is updated to the corresponding on-orbit business database according to the "business system flag", and the data status in the on-orbit business database is changed to "on-orbit sent completed", and the synchronization timestamp is updated; if the data with the "data synchronization status flag" of "processed on the ground completed" is detected, the data is updated to the on-orbit business database, and the data in the on-orbit business database is updated. The data status is changed to "ground processing completed" and the synchronization timestamp is updated. At the same time, the "data synchronization status flag" of the data in the on-orbit synchronization database is changed to "on-orbit ended"; if the data with the "data synchronization status flag" of "on-orbit received" is detected, it is updated to the corresponding on-orbit business database according to the "business system flag", and the "data synchronization status flag" of the data in the on-orbit synchronization database and the on-orbit business database is changed to "on-orbit processing completed", and the synchronization timestamp is updated; if the data with the "data synchronization status flag" of "on-orbit processing completed" is detected, the on-orbit data sending module is called to send data to the ground; if the data table data with the "data synchronization status flag" of "on-orbit ended" is detected, it is deleted to release the synchronization database space.
[0066] The on-orbit data sending module realizes sending data from the on-orbit end to the ground end, and the sending adopts the UDP protocol to realize data encapsulation and sending.
[0067] The on-orbit data receiving module is connected to the on-orbit synchronization database and the on-orbit data sending module, and is used to receive data sent by the ground data sending module. After receiving the data, the "data synchronization status flag" is checked. If it is "received on the ground", the corresponding data in the on-orbit synchronization database is changed to "received on the ground", and the synchronization timestamp is updated; if it is "processed on the ground", the data is first saved in the on-orbit synchronization database, and the on-orbit data sending module is called to send the changed data (i.e., "on-orbit successful reception receipt") to the ground data receiving module; if it is "to be sent on the ground", the data is first saved in the synchronization database, the "data synchronization status flag" is changed to "received on-orbit", and the on-orbit data sending module is called to send the changed data (i.e., "on-orbit successful reception receipt") to the ground data receiving module; if it is "processed on-orbit", the corresponding data in the synchronization database is changed to "on-orbit ended", and the synchronization timestamp is updated.
[0068] The present invention also includes a method for synchronizing ground and earth data based on multiple databases, which has the same inventive concept as the ground and earth data synchronization platform based on multiple databases formed by combining one or more of the above examples. When the ground synchronization system is used as the execution subject, the synchronization method includes the following steps:
[0069] S1': Obtain the business data to be synchronized from various ground business systems.
[0070] Among them, when the business data to be synchronized in each ground business system changes, the business system flag (this business system), data change type (addition, modification or deletion), data synchronization status flag (ground to be sent), and synchronization timestamp (current time) are written on the changed data and saved; preferably, the ground business system is connected to a ground business database, and four fields, business system flag, data change type, data synchronization status flag, and synchronization timestamp, are added to each data table that needs to be synchronized, which are used for query when the ground synchronization system is called. Preferably, the ground synchronization system is connected to a ground synchronization database, which is used to save data that needs to be synchronized from the ground business database to the on-orbit business database and data that needs to be synchronized from the on-orbit business database to the ground business database; the ground synchronization system periodically accesses the data in the ground business database to obtain the business data to be synchronized in each ground business system ("ground to be sent" data).
[0071] S2': Determine the data synchronization order for the business data to be synchronized in each ground business system.
[0072] Optionally, the data synchronization order is determined according to data priority, and the priority can be divided according to data importance, data volume, data sensitivity, etc.
[0073] S3': After detecting and confirming that the ground synchronization system and the on-orbit synchronization system are connected via the space-ground network, the business data to be synchronized by each ground business system are sent to the on-orbit synchronization system in accordance with the data synchronization sequence.
[0074] Specifically, after the ground synchronization system determines the data transmission order of each ground business system, it detects the data synchronization status flag and forwards the data according to the data synchronization status flag. If the data with the "data synchronization status flag" of "to be sent on the ground" is detected, the connection status of the ground-to-orbit network is checked. If the ground-to-orbit network is already connected, the data is sent to the on-orbit end; if the data with the "data synchronization status flag" of "received on-orbit" is detected, it is updated to the corresponding ground business database according to the "business system flag", the data status in the business database is changed to "sent on the ground", and the synchronization timestamp is updated; if the data with the "data synchronization status flag" of "processed on-orbit" is detected, the data is updated to the ground business database, the data status in the ground business database is changed to "processed on-orbit", and the synchronization timestamp is updated. The "data synchronization status flag" is changed to "processed on-orbit". And update the synchronization timestamp, then change the "data synchronization status flag" of the "on-orbit processed" data in the ground synchronization database to "ended on the ground"; if the "data synchronization status flag" is detected as "received on the ground", update it to the corresponding ground business database according to the "business system flag", and change the "data synchronization status flag" of the data in the ground synchronization database and the ground business database to "processed on the ground", and update the synchronization timestamp; if the "data synchronization status flag" is detected as "processed on the ground", send the data to the on-orbit end; if the "data synchronization status flag" is detected as "ended on the ground", delete the data to release the synchronization database space.
[0075] When the on-orbit synchronization system is used as the execution subject, the method includes the following steps:
[0076] S1: Obtain the business data to be synchronized from each on-orbit business system.
[0077] Among them, when the business data to be synchronized in each on-orbit business system changes, the business system flag (this business system), data change type (addition, modification or deletion), data synchronization status flag (on-orbit to be sent), and synchronization timestamp (current time) are written on the changed data and saved; preferably, the on-orbit business system is connected to an on-orbit business database, and four fields, business system flag, data change type, data synchronization status flag, and synchronization timestamp, are added to each data table that needs to be synchronized, for query when the on-orbit synchronization system is called. Preferably, the on-orbit synchronization system is connected to an on-orbit synchronization database, which is used to save data that needs to be synchronized from the on-orbit business database to the ground business database and data that needs to be synchronized from the ground business database to the on-orbit business database; the on-orbit synchronization system periodically accesses the data in the on-orbit business database to obtain the business data to be synchronized ("on-orbit to be sent" data) of each on-orbit business system.
[0078] S2: Determine the data synchronization order for the business data to be synchronized for each on-orbit business system.
[0079] Optionally, the data synchronization order is determined according to data priority, and the priority can be divided according to data importance, data volume, data sensitivity, etc.
[0080] S3: After detecting and confirming that the on-orbit synchronization system is connected to the ground synchronization system via the space-ground network, the business data to be synchronized of each on-orbit business system is sent to the ground synchronization system in the order of data synchronization.
[0081] Specifically, after the on-orbit synchronization system determines the data sending order of each on-orbit business system, it detects the data synchronization status flag and forwards the data according to the data synchronization status flag. If the data with the "data synchronization status flag" of "on-orbit waiting to be sent" is detected, the connection status of the ground-to-orbit network is checked. If the ground-to-earth network is already connected, the data is sent to the ground; if the data with the "data synchronization status flag" of "received on the ground" is detected, the on-orbit business database of the corresponding on-orbit business system is updated according to the "business system flag", the data status in the on-orbit business database is changed to "on-orbit sent", and the synchronization timestamp is updated; if the data with the "data synchronization status flag" of "processed on the ground" is detected, the data is updated to the on-orbit business database, the data status in the on-orbit business database is changed to "processed on the ground", and the synchronization timestamp is updated. At the same time, the "data synchronization status flag" of the data in the on-orbit synchronization database is changed to "on-orbit completed"; if the data with the "data synchronization status flag" of "received on-orbit" is detected, it is updated to the corresponding on-orbit business database according to the "business system flag", and the "data synchronization status flag" of the data "received on-orbit" in the on-orbit synchronization database and the on-orbit business database is changed to "on-orbit processed", and the synchronization timestamp is updated; if the data with the "data synchronization status flag" of "on-orbit processed" is detected, the data is sent to the ground; if the data table data with the "data synchronization status flag" of "ended on-orbit" is detected, it is deleted to release the synchronization database space.
[0082] In one example, the above two synchronization method examples are combined. At this time, when the ground end synchronizes data with the on-track end, the synchronization method includes the following steps:
[0083] S10': The ground synchronization system obtains the service data to be synchronized from each ground service system;
[0084] S20': The ground synchronization system determines the data synchronization order for the service data to be synchronized in each ground service system;
[0085] S30': After the ground synchronization system detects and confirms that the ground synchronization system is connected to the on-orbit synchronization system via the space-ground network, the ground synchronization system sends the business data to be synchronized from each ground business system to the on-orbit synchronization system in the order of data synchronization.
[0086] S40': The on-orbit synchronization system receives the service data to be synchronized from various ground service systems sent by the ground synchronization system.
[0087] In step S40', the on-orbit synchronization system receives the data sent by each ground synchronization system, detects the data synchronization status flag, and forwards the data according to the data synchronization status flag. Specifically, after receiving the data, the on-orbit synchronization system checks the "data synchronization status flag". If it is "received on the ground", the corresponding data in the on-orbit synchronization database is changed to "received on the ground", and the synchronization timestamp is updated; if it is "processed on the ground", the data is first saved in the on-orbit synchronization database, and the changed data (i.e., "on-orbit successful reception receipt") is sent to the ground end; if it is "to be sent on the ground", the data is first saved in the synchronization database, and the "data synchronization status flag" is changed to "received on the track", and the changed data (i.e., "on-orbit successful reception receipt") is sent to the ground end; if it is "processed on the track", the corresponding data in the synchronization database is changed to "on-orbit ended", and the synchronization timestamp is updated.
[0088] More specifically, the ground end sends synchronization data to the on-orbit end such as Figure 5 As shown, the method now includes the following steps:
[0089] 1) When data changes occur in the ground business system, the business system flag, data change type (addition, modification or deletion), data synchronization status flag (to be sent from the ground), and synchronization timestamp (current time) are added to the changed data and saved in the ground business database; thereafter, the ground synchronization system takes over the entire ground-ground data synchronization process, and the ground business system no longer participates, and only needs to display the "data synchronization status" on the page.
[0090] 2) The ground synchronization system periodically accesses the ground business database corresponding to each ground business system, obtains all data with the "data synchronization status flag" as "ground to be sent", and saves it in the ground synchronization database.
[0091] 3) The ground synchronization system detects the connection status of the ground-ground network. If the ground-ground network is already connected, all data with the status of "ground to be sent" will be encapsulated using a custom protocol and sent to the orbit. (If the "on-orbit successful reception receipt" is not received for this transmission, it will be resent in the next synchronization cycle)
[0092] 4) After the on-orbit synchronization system receives the data sent from the ground, it checks the "data synchronization status flag". If it is "to be sent on the ground", the data is first saved in the synchronization database, and the "data synchronization status flag" is changed to "received on-orbit", and the changed data (i.e. "receipt of successful reception on-orbit") is sent to the ground.
[0093] 5) After the ground synchronization system receives the data sent on orbit, it checks the "data synchronization status flag". If it is "received on orbit", the corresponding data in the synchronization database is changed to "received on orbit" and the synchronization timestamp is updated.
[0094] 6) The ground synchronization system periodically accesses the ground synchronization database, updates the data in the database with the "data synchronization status flag" as "received in orbit" to the corresponding ground business database according to the "business system flag", changes the data status in the business database to "ground sent completed", and updates the synchronization timestamp.
[0095] 7) The on-orbit synchronization system periodically accesses the on-orbit synchronization database, updates the data in the database whose "data synchronization status flag" is "received on-orbit" to the corresponding on-orbit business database according to the "business system flag", and changes the "data synchronization status flag" of the data in the on-orbit synchronization database and the on-orbit business database to "processed on-orbit", and updates the synchronization timestamp.
[0096] 8) The on-orbit synchronization system periodically accesses the synchronization database and sends the data in the database with the "data synchronization status flag" as "on-orbit processed" to the ground. Optionally, if the "ground successful reception receipt" is not received for this transmission, it will be resent in the next synchronization cycle.
[0097] 9) After the ground synchronization system receives the data sent by the on-orbit end, it checks the "data synchronization status flag". If it is "on-orbit processing completed", the data will be first saved in the ground synchronization database, and the changed data (i.e. "ground successful reception receipt") will be sent to the on-orbit end.
[0098] 10) After receiving the data sent from the ground, the on-orbit synchronization system checks the "data synchronization status flag". If it is "on-orbit processing completed", the corresponding data in the synchronization database is changed to "on-orbit completed" and the synchronization timestamp is updated.
[0099] 11) The ground synchronization system periodically accesses the ground synchronization database, updates the data table in the database with the "data synchronization status flag" of "on-orbit processing completed" to the ground business database, changes the data status in the business database to "on-orbit processing completed", and updates the synchronization timestamp; at the same time, updates the data to the on-orbit mirror business database, changes the "data synchronization status flag" to "on-orbit processing completed", and updates the synchronization timestamp; then, changes the "data synchronization status flag" of the data in the ground synchronization database to "ground completed".
[0100] 12) The ground synchronization system periodically accesses the ground synchronization database and deletes the data table data in the database whose "data synchronization status flag" is "ground ended" to release the synchronization database space.
[0101] 13) The on-track synchronization system periodically accesses the on-track synchronization database and deletes the data table data in the database whose "data synchronization status flag" is "on-track completed" to release the synchronization database space.
[0102] 14) When the on-track business system executes the corresponding business operation, the corresponding business status is displayed according to the data in the database whose "data synchronization status flag" is "on-track processing completed".
[0103] When the on-orbit end synchronizes data with the ground end, the synchronization method includes the following steps:
[0104] S10: The on-orbit synchronization system obtains the service data to be synchronized from each on-orbit service system;
[0105] S20: The on-orbit synchronization system determines a data synchronization order for the service data to be synchronized of each on-orbit service system;
[0106] S30: After the on-orbit synchronization system detects and confirms that the on-orbit synchronization system is connected to the ground synchronization system via the space-ground network, the on-orbit synchronization system sends the service data to be synchronized of each on-orbit service system to the ground synchronization system in the order of data synchronization;
[0107] S40: The ground synchronization system receives the service data to be synchronized of each on-orbit service system sent by the on-orbit synchronization system.
[0108] In step S40, the ground synchronization system receives the data sent by the on-orbit synchronization system, detects the data synchronization status flag, and forwards the data according to the data synchronization status flag. Specifically, after receiving the data, check the "data synchronization status flag". If it is "received on-orbit", change the corresponding data in the ground synchronization database to "received on-orbit" and update the synchronization timestamp; if it is "processed on-orbit", save the data first in the ground synchronization database, and send the changed data (i.e. "successful receipt on the ground") to the on-orbit end; if it is "to be sent on-orbit", save the data first in the ground synchronization database, change the "data synchronization status flag" to "received on the ground", and send the changed data (i.e. "successful receipt on the ground") to the on-orbit end; if it is "processed on the ground", change the corresponding data in the ground synchronization database to "ended on the ground" and update the synchronization timestamp.
[0109] When data changes occur directly on the orbit side, the process of synchronizing data from the orbit side to the ground side is executed, which is the same as the above-mentioned process of synchronizing data from the ground side to the orbit side, but in the opposite direction, and will not be repeated here.
[0110] In one example, when the on-orbit synchronization system and the ground synchronization system perform data synchronization via the space-ground network, the on-orbit synchronization system or the ground synchronization system as the sender sends data based on the UDP protocol. To ensure the reliability of data transmission, independently designed verification and retransmission mechanisms are added on the basis of the UDP protocol, including:
[0111] Split the data to be sent into several data packets, number each data packet in sequence, put the data packets into the sending buffer pool, and send them one by one;
[0112] receiving a confirmation response for checking the data packet according to the number;
[0113] Regularly check whether the sent data packet has received a confirmation response with the corresponding number. If a confirmation response is received, remove it from the sending buffer. If no confirmation response is received, resend the data.
[0114] In one example, when an on-orbit synchronous system or a ground synchronous system as a receiving end receives data, data transmission is performed based on the UDP protocol. To ensure the reliability of data transmission, independently designed verification and retransmission mechanisms are added on the basis of the UDP protocol, including:
[0115] Receive data packets, check them and confirm the responses according to the numbers;
[0116] All received data packets are sent to the receive buffer to determine whether the numbers are continuous. If they are continuous, the files are reassembled according to the data numbers; if they are not continuous, the missing numbers in the middle are received before reassembly.
[0117] Through the independently designed verification and retransmission mechanisms (packet loss retransmission mechanism) added on the basis of the UDP protocol, it can be ensured that each data packet that needs to be sent can be received, thereby ensuring the integrity of data transmission.
[0118] The business processing and data synchronization of the present invention are completely processed independently, and delayed synchronization is supported; data transmission only occurs between synchronization systems (ground synchronization system + on-orbit synchronization system), and the synchronization system centrally controls and manages the synchronized business data, so that centralized and unified data transmission can be realized to prevent network congestion; the data synchronization protocol is uniformly designed, and data transmission packet loss and retransmission are performed to ensure reliable data transmission; through the on-orbit mirror business system and the on-orbit mirror business database, a one-to-one backup of the on-orbit database can be completely copied on the ground in semi-real time, thereby improving the security of on-orbit data; by designing the synchronization database (ground synchronization database + on-orbit synchronization database), data synchronization is completely implemented between the synchronization databases, and there is no need to frequently access the business database (ground business database + on-orbit business database), thereby reducing the resource occupation of the business database; the synchronization system only interacts with the business database, is completely decoupled from the business system, and can be easily migrated to other application systems for use, that is, in addition to being applicable to the synchronization of ground and earth data, the system and method of the present invention can also be applied to other information synchronization fields, such as data synchronization between two places on the ground.
[0119] The above specific implementation methods are detailed descriptions of the present invention. It cannot be determined that the specific implementation methods of the present invention are limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions and substitutions can be made without departing from the concept of the present invention, which should be regarded as belonging to the protection scope of the present invention.
Claims
1. A multi-database-based earth-ground data synchronization platform, characterized in that: It includes a ground end and an on-orbit end. The ground end includes a ground synchronization system and several ground business systems, and the ground synchronization system is connected to several ground business systems; the on-orbit end includes an on-orbit synchronization system and several on-orbit business systems, and the on-orbit synchronization system is connected to several on-orbit business systems. The ground synchronization system is used to centrally control the data transmission of various ground business systems, and the on-orbit synchronization system is used to centrally control the data transmission of various on-orbit business systems. The on-orbit synchronization system is connected to the ground synchronization system via a space-ground network.
2. The multi-database-based sky-ground data synchronization platform according to claim 1, characterized in that: The ground synchronization system is connected to a ground synchronization database, each ground service system is connected to a ground service database, and each ground service system is connected to the ground synchronization system via the corresponding ground service database; The on-orbit synchronization system is connected to an on-orbit synchronization database, each on-orbit business system is connected to an on-orbit business database, and each on-orbit business system is connected to the on-orbit synchronization system via the corresponding on-orbit business database.
3. The multi-database-based sky-ground data synchronization platform according to claim 2, characterized in that: The ground end also includes a plurality of on-orbit mirror service systems, each of which is connected to a ground synchronization system.
4. The multi-database-based sky-ground data synchronization platform according to claim 3, characterized in that: Each of the on-orbit mirror service systems is connected to an on-orbit mirror service database, and each of the on-orbit mirror service systems is connected to a ground synchronization system via the corresponding on-orbit mirror service database.
5. The multi-database-based sky-ground data synchronization platform according to claim 4, characterized in that: The ground synchronization system includes a ground business data timing processing module, a ground synchronization data timing processing module, a ground data sending module and a ground data receiving module, and the on-orbit synchronization system includes an on-orbit business data timing processing module, an on-orbit synchronization data timing processing module, an on-orbit data sending module and an on-orbit data receiving module, the ground data sending module is connected to the on-orbit data receiving module via a ground-ground network, and the ground data receiving module is connected to the on-orbit data sending module via a ground-ground network; The ground business data timing processing module is connected to the ground business database and the ground synchronization database, and is used to regularly obtain the ground data to be sent in the ground business database and transmit it to the ground synchronization database; The ground synchronization data timing processing module is connected to the ground synchronization database, the ground data sending module, the ground business database, and the on-orbit business mirror database, and is used to obtain data in the ground synchronization database at a regular interval. If it is detected that the data in the ground synchronization database is ground data to be sent or ground processed data, the ground data sending module is called to send the ground data to be sent or the ground processed data to the on-orbit data receiving module; if it is detected that the data in the ground synchronization database is on-orbit received data or on-orbit processed data or ground received data, the on-orbit received data or on-orbit processed data or ground received data is updated to the corresponding ground business database and the data status is updated, and the on-orbit processed data is updated to the on-orbit business mirror database, and the data status of the on-orbit processed data in the ground synchronization database is updated; if it is detected that the data in the ground synchronization database is ground ended data, the ground ended data is deleted; The ground data receiving module is connected to the ground synchronization database and the ground data sending module, and is used to receive the data sent by the on-orbit data sending module and perform data synchronization status detection. If it is data that has been received on-orbit, the data status of the corresponding data in the ground synchronization database is updated; if it is data that has been processed on-orbit or data to be sent on-orbit, the processed data on-orbit or data to be sent on-orbit is sent to the ground synchronization database, and the ground data sending module is called to send the updated data status of the processed data on-orbit or data to be sent on-orbit to the on-orbit data receiving module; if it is data that has been processed on the ground, the data status of the corresponding data in the ground synchronization database is updated; The on-orbit service data timing processing module is connected to the on-orbit service database and the on-orbit synchronization database, and is used to regularly obtain the on-orbit data to be sent from the on-orbit service database and transmit it to the on-orbit synchronization database; The on-orbit synchronization data timing processing module is connected to the on-orbit synchronization database, the on-orbit data sending module and the on-orbit business database, and is used to obtain the data in the on-orbit synchronization database at a regular interval. If it is detected that the data in the on-orbit synchronization database is on-orbit data to be sent or on-orbit processed data, the on-orbit data sending module is called to send the on-orbit data to be sent or on-orbit processed data to the ground data receiving module; if it is detected that the data in the on-orbit synchronization database is ground received data or on-orbit processed data or on-orbit received data, the ground received data or ground processed data or on-orbit received data is updated to the corresponding on-orbit business database and the data status is updated, and the on-orbit processed data is updated to the on-orbit business mirror database, and the data status of the on-orbit processed data in the on-orbit synchronization database is updated; if it is detected that the data in the on-orbit synchronization database is on-orbit ended data, the on-orbit ended data is deleted; The on-orbit data receiving module is connected to the on-orbit synchronization database and the on-orbit data sending module, and is used to receive data sent by the ground data sending module and perform data synchronization status detection. If it is data received on the ground, the data status of the corresponding data in the on-orbit synchronization database is updated; if it is ground processed data or ground data to be sent, the ground processed data or ground data to be sent is sent to the on-orbit synchronization database, and the on-orbit data sending module is called to send the updated data status of the ground processed data or ground data to be sent to the ground data receiving module; if it is on-orbit processed data, the data status of the corresponding data in the on-orbit synchronization database is updated.
6. A method for synchronizing earth and sky data based on multiple databases, characterized in that: When the on-orbit synchronization system is used as the execution subject, the method includes the following steps: Obtain the business data to be synchronized from each on-orbit business system; Determine the data synchronization order for the business data to be synchronized for each on-orbit business system; After detecting and confirming that the on-orbit synchronization system is connected to the ground synchronization system via the space-ground network, the business data to be synchronized by each on-orbit business system is sent to the ground synchronization system in the order of data synchronization.
7. The method for synchronizing heaven and earth data based on multiple databases according to claim 6, characterized in that: When the ground synchronization system is used as the execution subject, the method includes the following steps: Obtain the business data to be synchronized from various ground business systems; Determine the data synchronization order for the business data to be synchronized in various ground business systems; After detecting and confirming that the ground synchronization system and the on-orbit synchronization system are connected via the space-ground network, the business data to be synchronized by each ground business system will be sent to the on-orbit synchronization system in the order of data synchronization.
8. The method for synchronizing heaven and earth data based on multiple databases according to claim 6, characterized in that: When the on-orbit synchronization system and the ground synchronization system synchronize data through the space-ground network, the business system flag, data change type, data synchronization status flag and synchronization timestamp are written on the changed data. The data change type is addition, modification or deletion; the data synchronization status flags include ground pending transmission, on-orbit successful reception receipt, on-orbit received, ground transmission completed, on-orbit received, on-orbit processing completed, ground successful reception receipt, on-orbit ended, and ground ended.
9. The method for synchronizing heaven and earth data based on multiple databases according to claim 6, characterized in that: When the on-orbit synchronization system and the ground synchronization system perform data synchronization via the space-ground network, the on-orbit synchronization system or the ground synchronization system as the sending end sends data, including: Split the data to be sent into several data packets, number each data packet in sequence, put the data packets into the sending buffer pool, and send them one by one; receiving a confirmation response for checking the data packet according to the number; Check whether the sent data packet has received a confirmation response with the corresponding number. If a confirmation response is received, remove it from the sending buffer. If no confirmation response is received, resend the data.
10. The method for synchronizing heaven and earth data based on multiple databases according to claim 9, characterized in that: When the on-orbit synchronous system or ground synchronous system as the receiving end receives data, it includes: Receive data packets and confirm responses according to the numbers; All received data packets are sent to the receive buffer to determine whether the numbers are continuous. If they are continuous, the files are reassembled according to the data numbers; if they are not continuous, the missing numbers in the middle are received before reassembly.
Citation Information
Patent Citations
Data synchronization method for different business system platforms
CN104615759A