Data synchronization method and device based on situation digital earth, electronic equipment and storage medium
By aligning data timestamps based on business task identifiers in the situational digital earth, the problem of large synchronization errors was solved, enabling accurate synchronization of multi-layer data and rapid fault location, thus improving the efficiency of data synchronization and fault diagnosis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- AEROSPACE INFORMATION RES INST CAS
- Filing Date
- 2026-03-03
- Publication Date
- 2026-06-26
AI Technical Summary
Existing data synchronization methods in situational digital earth employ simple timestamp matching or polling mechanisms, resulting in large synchronization errors and affecting the effectiveness of data synchronization.
By acquiring the data to be synchronized, the associated data of the same business task is determined based on the business task identifier, and timestamp alignment is performed. The clock drift compensation algorithm is used to correct the difference data items to ensure the synchronization of the three layers of data.
It reduces data synchronization errors, improves the synchronous display effect of multi-layer data in the situational digital earth, and can quickly locate fault types and locations, thereby improving fault troubleshooting efficiency.
Smart Images

Figure CN122293672A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data synchronization technology, and in particular to a data synchronization method, apparatus, electronic device and storage medium based on situational digital earth. Background Technology
[0002] In complex business systems, data synchronization is a core technology for ensuring real-time consistency of multi-source heterogeneous data, directly impacting the efficiency of monitoring, decision-making, and anomaly handling. Especially in the field of situational digital earth, current situational digital earth technology is widely used in communication, navigation, telemetry, and sensing services. Its core function is to visualize the operational layer effects such as communication coverage, navigation trajectories, remote sensing imagery, surveying results, and the location of sensed targets, helping users intuitively grasp the macro-level results of business execution. In systems like digital earth that integrate geospatial information, communication network status, and task processes, if data at the operational, network, and information layers cannot be accurately synchronized, it will lead to problems such as cognitive biases, difficulties in fault location, and resource waste.
[0003] Existing data synchronization methods typically employ simple timestamp matching or polling mechanisms, which result in large synchronization errors and poor data synchronization performance. Summary of the Invention
[0004] This invention provides a data synchronization method, apparatus, electronic device, and storage medium based on situational digital earth, to solve the technical problem that the existing technology uses simple timestamp matching or polling mechanisms, which result in large synchronization errors and poor data synchronization effects.
[0005] This invention provides a data synchronization method based on situational digital earth, comprising: Acquire the data to be synchronized; the data to be synchronized includes business layer output data, network layer connectivity data, and information layer flow data. Based on the business task identifier, related data belonging to the same business task are identified in the data to be synchronized; wherein, the business task identifier is generated when the business is created; The associated data is timestamped to obtain synchronized data.
[0006] According to a data synchronization method based on situational digital earth provided by the present invention, the step of determining related data belonging to the same business task in the data to be synchronized based on business task identifiers includes: Extract business task identifiers from the business layer output data; The node identifiers of the network layer interconnection data and the information layer flow data are determined respectively, and the service task identifiers corresponding to the network layer interconnection data and the information layer flow data are determined according to the node identifiers respectively; All data to be synchronized is repartitioned based on the business identifier, and the data to be synchronized in the same partition is identified as related data belonging to the same business task.
[0007] According to a data synchronization method based on a situational digital earth provided by the present invention, the step of performing timestamp alignment processing on the associated data to obtain synchronized data includes: Compare the timestamp differences of the business layer output data, network layer connectivity data, and information layer flow data in the associated data; Based on the comparison result between the timestamp difference and the preset deviation, the difference data items are determined; The timestamps of the differing data items are corrected using a clock drift compensation algorithm to obtain the updated associated data; If there are no differing data items in the updated associated data, the updated associated data will be identified as synchronized data.
[0008] According to a data synchronization method based on situational digital earth provided by the present invention, after performing timestamp alignment processing on the associated data to obtain synchronized data, the method further includes: All the synchronized data is displayed synchronously on a visualization interface, which includes a digital earth display area and a dynamic flowchart display area. The digital earth display area is equipped with a digital earth model.
[0009] According to a data synchronization method based on a situational digital earth provided by the present invention, the step of synchronously displaying all the synchronized data on a visualization interface includes: The visualization metadata of the business layer results data in the synchronized data is extracted, the visualization metadata is converted into semantic objects of the graphics engine, and the semantic objects are drawn on the corresponding positions of the digital earth model; wherein, the visualization metadata includes spatial metadata, temporal metadata and style metadata; Based on the network layer connectivity data in the synchronization data, the business area corresponding to the digital earth model is determined, and the network layer connectivity data is overlaid and displayed in the business area. Based on the information layer flow data in the synchronized data, dynamic attributes of process nodes are extracted, and the dynamic attributes are filled into the corresponding nodes of the preset process template to generate a dynamic flowchart, which is then displayed in the dynamic flowchart display area; wherein, the dynamic attributes include node name, task status, and status icon.
[0010] According to a data synchronization method based on a situational digital earth provided by the present invention, the method further includes: extracting dynamic attributes of process nodes based on information layer flow data in the synchronized data, filling the dynamic attributes into corresponding nodes of a preset process template, and generating a dynamic flowchart; The updated information layer flow data in the synchronization data is obtained according to a preset period, and the dynamic flowchart is updated based on the updated information layer flow data.
[0011] The present invention also provides a data synchronization device based on situational digital earth, comprising: The data to be synchronized module is used to acquire data to be synchronized; the data to be synchronized includes business layer result data, network layer connectivity data, and information layer flow data. The associated data determination module is used to determine associated data belonging to the same business task in the data to be synchronized based on the business task identifier; wherein, the business task identifier is generated when the business is created; The timestamp alignment module is used to perform timestamp alignment processing on the associated data to obtain synchronized data.
[0012] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the data synchronization method based on situational digital earth as described above.
[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the data synchronization method based on situational digital earth as described above.
[0014] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the data synchronization method based on situational digital earth as described above.
[0015] This invention performs timestamp alignment on associated data for the same business task, ensuring that the three-layer data identified by the same business task are not affected by data from other tasks. This helps reduce data synchronization errors and improves the synchronization display effect of multi-layer data in the situational digital earth.
[0016] Furthermore, by extracting the visual metadata of each layer of data and uniformly converting it into semantic objects that can be recognized by a graphics engine, this invention can ensure the accurate overlay and display of the three layers of data under the same spatiotemporal benchmark of the digital earth. This allows users to see business effects, network status, and information flow simultaneously on a single interface, forming a full-link understanding of business, network, and information. When business anomalies occur, the specific fault type and fault location can be quickly located, thereby effectively improving the efficiency of fault diagnosis. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating the data synchronization method based on situational digital earth provided by the present invention; Figure 2 This is a schematic diagram of the data synchronization device based on situational digital earth provided by the present invention; Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0020] Figure 1 This is a flowchart illustrating the data synchronization method based on situational digital earth provided by the present invention, as shown below. Figure 1 As shown, the method includes the following: S1. Obtain the data to be synchronized; the data to be synchronized includes business layer output data, network layer connectivity data, and information layer flow data. This invention applies to Situational Digital Earth, where the final synchronized data can be displayed at the relevant location. Situational Digital Earth is a 3D visualization platform integrating geospatial information and dynamic operational data. It can display the operational status of communication, navigation, remote sensing, surveying, and perception (communication, navigation, telemetry, and sensing) services in real time through digital earth models (such as virtual earth constructed from satellite imagery and elevation data), helping users to comprehensively grasp the operational situation and provide decision support.
[0021] In this embodiment of the invention, the business layer output data includes remote sensing images, navigation trajectories, and mapping layers, etc.; network layer data can be collected in real time through interfaces with network devices such as communication base stations, navigation satellite ground stations, remote sensing data receiving terminals, mapping equipment, and sensing nodes (supporting protocols such as TCP / IP and UDP), with a collection frequency of 10Hz. The collected network layer connectivity data includes: node identifier, visibility relationship between nodes (whether connected), link bandwidth, transmission latency, link stability (packet loss rate), etc.; information layer flow data can be collected through the task management system interface of each business node, with a collection frequency of 5Hz. The information layer flow data includes task identifier, initiating node, receiving node, task type, task status (pending execution, in execution, completed, abnormal), and data transmission content summary, etc.
[0022] In this embodiment of the invention, network layer connectivity data includes quantitative data such as bandwidth, latency, and packet loss rate. Based on the network connectivity data, the network support capability can be accurately determined, thereby enabling early prediction of business risks caused by network problems.
[0023] S2. Based on the business task identifier, determine the associated data belonging to the same business task in the data to be synchronized; wherein, the business task identifier is generated when the business is created; In this embodiment of the invention, the business task identifier is used to identify associated data belonging to the same business task, which can ensure that the data at each layer are matched with each other, and is conducive to improving the synchronous display effect of business performance and network status.
[0024] S3. Perform timestamp alignment processing on the associated data to obtain synchronized data.
[0025] This invention, by performing timestamp alignment on associated data for the same business task, ensures that the three layers of data identified by the same business task are not affected by data from other tasks, thereby reducing data synchronization errors and improving the effectiveness of multi-layer data synchronization.
[0026] In one embodiment, step S2, determining related data belonging to the same business task in the data to be synchronized based on the business task identifier, includes: S21. Extract the business task identifier from the business layer result data; In this embodiment of the invention, the business task identifier is generated when the business is created. Each business result data carries the corresponding business task identifier. By extracting the business result data, the business task identifier corresponding to each business data can be obtained.
[0027] S22. Determine the node identifiers of the network layer interconnection data and the information layer flow data respectively, and determine the service task identifiers corresponding to the network layer interconnection data and the information layer flow data respectively based on the node identifiers; In this embodiment of the invention, the network layer connectivity data and the information layer flow data include node identifiers, which are associated with corresponding service task identifiers. By extracting these node identifiers, the service task identifiers corresponding to each network layer connectivity data and the information layer flow data can be further accurately determined.
[0028] S23. Based on the business identifier, all data to be synchronized is repartitioned, and the data to be synchronized in the same partition is identified as related data belonging to the same business task.
[0029] In this embodiment of the invention, by repartitioning data with the same business task identifier into the same partition, it is possible to accurately classify related data belonging to the same business task. For example, if business task A consists of network layer connectivity data a, information layer flow data b, and business layer result data c, then network layer connectivity data a, information layer flow data b, and business layer result data c are related data belonging to the same business task.
[0030] This invention employs a repartitioning strategy based on business task identifiers to ensure that subsequent timestamp alignment and data synchronization processing only need to be performed within the partition. This reduces redundant calculations and cross-partition communication overhead, effectively lowers the synchronization latency of three-layer data, and thus effectively improves the data synchronization effect of the situational digital earth.
[0031] In one embodiment, step S3, performing timestamp alignment processing on the associated data to obtain synchronized data, includes: S31. Compare the timestamp differences of the business layer result data, network layer connectivity data, and information layer flow data in the associated data; In this embodiment of the invention, when processing business layer output data, network layer connectivity data, and information layer flow data, each piece of data is timestamped. The timestamp can be determined based on the system clock or GPS clock to ensure that each piece of data has a displacement time identifier and that the time base is completely consistent, thus avoiding timing errors caused by clock differences between layers.
[0032] S32. Determine the difference data item based on the comparison result between the timestamp difference and the preset deviation; In this embodiment of the invention, the specific value of the preset deviation can be set and adjusted according to actual needs. For example, the preset deviation can be set to 8ms, 10ms, 12ms, etc. When the timestamp difference is greater than or equal to the preset deviation, the data currently used for comparison is determined as the difference data item.
[0033] S33. Correct the timestamp of the difference data item using a clock drift compensation algorithm to obtain the updated associated data; In the embodiments of the invention, the timestamps of all data in this layer can be calibrated by a clock drift algorithm, thereby compensating and correcting the discrepancies in the data items to obtain the updated associated data.
[0034] S34. If there are no different data items in the updated associated data, the updated associated data is determined to be synchronized data.
[0035] In this embodiment of the invention, when the timestamp difference between the updated associated data is less than the preset deviation, it is determined that the timestamp of the current data has been synchronized, and the updated associated data is identified as synchronized data.
[0036] The embodiments of the present invention, through GPS (Global Positioning System) / system clock unified marking and clock drift compensation algorithm, can effectively reduce the timestamp error of data in the service layer, network layer and information layer, and ensure that the display of remote sensing image updates and link latency surges and task anomaly alarms is completely synchronized, which can effectively improve the synchronous display effect of situational digital earth.
[0037] In one embodiment, after performing timestamp alignment processing on the associated data in step S3 to obtain synchronized data, the method further includes: S4. Display all the synchronized data in a visualization interface, which includes a digital earth display area and a dynamic flowchart display area. The digital earth display area is equipped with a digital earth model.
[0038] In this embodiment of the invention, the three-layer synchronous data can be synchronously rendered based on the digital earth model and preset display rules to ensure that the business effects, network status and information flow dynamics in the final display interface remain consistent, thereby effectively improving the synchronous display effect.
[0039] In one embodiment, step S4, displaying all the synchronized data synchronously in a visualization interface, includes: S41. Extract the visualization metadata of the business layer results data from the synchronized data, convert the visualization metadata into a semantic object of the graphics engine, and draw the semantic object on the corresponding position of the digital earth model; wherein, the visualization metadata includes spatial metadata, temporal metadata and style metadata. In this embodiment of the invention, spatial information, temporal information, and style information can be extracted from the business layer result data. Spatial information includes coordinate information and range information; spatial information also includes data acquisition time, data validity period, and time series (such as timestamps of trajectory points); style information includes color, transparency, and line width. This embodiment of the invention can convert the aforementioned spatial, temporal, and style information into corresponding visual metadata, and further convert the visual metadata into semantic objects that the digital earth engine can understand. These semantic objects can include objects such as points, lines, surfaces, and 3D models. By drawing these semantic objects at corresponding locations on the digital earth model, the visual display of the business result data is achieved.
[0040] S42. Based on the network layer connectivity data in the synchronization data, determine the business area corresponding to the digital earth model, and overlay and display the network layer connectivity data in the business area. In this embodiment of the invention, node identifiers (such as communication base station IDs, satellite numbers, sensing device codes, etc.) and geographic coordinate information contained in the network layer connectivity data can be matched with a pre-defined service area layer in the digital earth model. A spatial indexing algorithm is then used to quickly locate the service area to which a node belongs, ensuring that dynamically updated network status can be accurately overlaid onto the corresponding geographic area. The pre-defined service area layer includes surveying area boundaries, communication coverage areas, and remote sensing image ranges.
[0041] In this embodiment of the invention, overlaying the network layer connectivity data in the service area may include: marking the location of service nodes with node icons and marking links with lines of different colors, for example, green lines indicate normal connectivity, yellow lines indicate insufficient bandwidth, and red lines indicate link interruption.
[0042] In addition, when displaying network layer connectivity data, when the corresponding control of a link or node receives a mouse hover event, a pop-up window is generated to display quantitative data such as bandwidth, latency, and packet loss rate. It can also accept user input selection commands to filter out historical data of specific links and nodes for display.
[0043] In this embodiment of the invention, a heatmap overlay can be used to display the link bandwidth distribution. For example, the higher the bandwidth, the darker the heatmap color. The visibility relationship of nodes can be distinguished by the brightness of the node icons. For example, connected nodes are highlighted and disconnected nodes are darkened. The core is to maintain the synchronous display of network layer quantitative data and business layer data without changing the core logic of data collection and fusion.
[0044] S43. Extract dynamic attributes of process nodes based on the information layer flow data in the synchronized data, fill the dynamic attributes into the corresponding nodes of the preset process template, generate a dynamic flowchart, and display the dynamic flowchart in the dynamic flowchart display area; wherein, the dynamic attributes include node name, task status, and status icon.
[0045] In this embodiment of the invention, a preset process template can be defined in advance based on the standard task flow logic of communication, navigation, telemetry, and sensing services. The preset process template includes node relationships and task execution order. The extracted dynamic attributes are filled into the corresponding nodes of the preset template to generate a dynamic flowchart. Among them, the task status in the dynamic attributes includes pending execution status, executing status, and completed status. Nodes in the pending execution status can be gray, nodes in the executing status can be flashing blue, and nodes in the completed status can be set to green, so that nodes in different statuses can be quickly distinguished and identified through different colors. The generated dynamic flowcharts can be either Camunda-format dynamic flowcharts or BPMN (Business Process Model and Notation) standard flowcharts. Camunda is an open-source business process management (BPM) and workflow automation platform. Camunda-format dynamic flowcharts are a process visualization standard based on the Camunda process engine, using nodes, connections, and status indicators as core elements. They can dynamically update node and connection statuses based on real-time data, supporting an intuitive presentation of the process flow. BPMN standard flowcharts are an internationally recognized business process modeling standard used to graphically describe the steps, decision points, and participant interactions of a business process. Their core features include: standardized symbols: using unified graphical elements (such as rectangles for tasks, diamonds for gateways, and arrows for flow direction) to intuitively display process logic; multi-level modeling: supporting different granularities from high-level overviews (such as cross-departmental collaboration) to detailed execution processes (such as individual task nodes); and machine readability: the generated flowcharts can be directly parsed and executed by BPM systems, achieving process automation.
[0046] According to the embodiments of the present invention, the node visibility relationship can be determined based on the relationship between nodes in the dynamic flowchart. The node visibility relationship can be used to determine whether there is a no-or logical channel condition for data transmission between two service nodes, such as communication base stations and terminals, or navigation satellites and ground receiving stations, i.e. whether a valid connection can be established.
[0047] It should be noted that, in embodiments of the present invention, abnormal status nodes can also be displayed in red, and the cause of the abnormality can be marked.
[0048] In this embodiment of the invention, the dynamic flowchart can be set in the sidebar of the digital earth model or generated in a pop-up window.
[0049] Furthermore, the flowchart and business area of the digital earth model in this embodiment of the invention can be linked for location based on location information. When a flowchart node is clicked, the corresponding business node can be highlighted in the digital earth.
[0050] This invention extracts visual metadata from each layer of data and converts it into semantic objects that can be recognized by a graphics engine. This ensures that the three layers of data are accurately overlaid and displayed under the same spatiotemporal benchmark in the digital earth. This allows users to see business results, network status, and information flow simultaneously on a single interface, forming a full-link understanding of business, network, and information. When business anomalies occur, the specific fault type and location can be quickly located, thereby effectively improving the efficiency of fault diagnosis.
[0051] In one embodiment, the step of extracting dynamic attributes of process nodes based on information layer flow data in the synchronized data, filling the dynamic attributes into corresponding nodes of a preset process template, and generating a dynamic flowchart further includes: The updated information layer flow data in the synchronization data is obtained according to a preset period, and the dynamic flowchart is updated based on the updated information layer flow data.
[0052] In this embodiment of the invention, updated information flow data can be obtained at a preset period to update the dynamic flowchart. For example, updated information layer flow data can be obtained from the task management system at a fixed frequency, and the updated information layer flow data can be mapped to the corresponding nodes of the process template to dynamically adjust the node identifiers.
[0053] This invention uses dynamic flowcharts to intuitively present the dynamic process of task flow and clear node status indicators. Furthermore, by linking with the digital earth base for positioning, it can effectively improve the monitoring efficiency of information interaction status.
[0054] In one embodiment, the visual interface can also receive user input commands to switch display modes, and switch between different display modes according to the commands. The different display modes include displaying only business layer information, displaying business layer and network layer information, and displaying business layer, network layer and information layer information simultaneously. Furthermore, the visual interface can also filter data by business type, time range and time stamp, as well as query historical data and set abnormal alarms, such as triggering sound or pop-up alarms when bandwidth is lower than a preset threshold or when a task is abnormal.
[0055] In one embodiment, the data synchronization method based on situational digital earth provided by this invention can be applied to various scenarios, including emergency command scenarios. Through the data synchronization method based on situational digital earth provided by this invention, faults such as abnormal joystick data transmission caused by excessive communication link latency can be quickly located, thus achieving rapid fault location.
[0056] Implementing the embodiments of the present invention has the following beneficial effects: This invention, by performing timestamp alignment on associated data for the same business task, ensures that the three layers of data identified by the same business task are not affected by data from other tasks, thereby reducing data synchronization errors and improving the effectiveness of multi-layer data synchronization.
[0057] Furthermore, by extracting the visual metadata of each layer of data and uniformly converting it into semantic objects that can be recognized by the graphics engine, this embodiment of the invention can ensure the accurate overlay and display of the three layers of data under the same spatiotemporal benchmark of the digital earth. This allows users to see the business effects, network status, and information flow simultaneously on a single interface, forming a full-link understanding of business, network, and information. When business anomalies occur, the specific fault type and fault location can be quickly located, thereby effectively improving the efficiency of fault diagnosis.
[0058] The data synchronization device based on situational digital earth provided by the present invention is described below. The data synchronization device based on situational digital earth described below and the data synchronization method based on situational digital earth described above can be referred to in correspondence with each other.
[0059] Please see Figure 2 This invention provides a data synchronization device based on situational digital earth, comprising: The data to be synchronized module 210 is used to acquire data to be synchronized; wherein, the data to be synchronized includes business layer result data, network layer connectivity data and information layer flow data; The associated data determination module 220 is used to determine associated data belonging to the same business task in the data to be synchronized based on the business task identifier; wherein, the business task identifier is generated when the business is created; The timestamp alignment module 230 is used to perform timestamp alignment processing on the associated data to obtain synchronized data.
[0060] In one embodiment, determining related data belonging to the same business task in the data to be synchronized based on the business task identifier includes: Extract business task identifiers from the business layer output data; The node identifiers of the network layer interconnection data and the information layer flow data are determined respectively, and the service task identifiers corresponding to the network layer interconnection data and the information layer flow data are determined according to the node identifiers respectively; All data to be synchronized is repartitioned based on the business identifier, and the data to be synchronized in the same partition is identified as related data belonging to the same business task.
[0061] In one embodiment, performing timestamp alignment on the associated data to obtain synchronized data includes: Compare the timestamp differences of the business layer output data, network layer connectivity data, and information layer flow data in the associated data; Based on the comparison result between the timestamp difference and the preset deviation, the difference data items are determined; The timestamps of the differing data items are corrected using a clock drift compensation algorithm to obtain the updated associated data; If there are no differing data items in the updated associated data, the updated associated data will be identified as synchronized data.
[0062] In one embodiment, after performing timestamp alignment processing on the associated data to obtain synchronized data, the method further includes: All the synchronized data is displayed synchronously on a visualization interface, which includes a digital earth display area and a dynamic flowchart display area. The digital earth display area is equipped with a digital earth model.
[0063] In one embodiment, displaying all the synchronized data synchronously in a visual interface includes: The visualization metadata of the business layer results data in the synchronized data is extracted, the visualization metadata is converted into semantic objects of the graphics engine, and the semantic objects are drawn on the corresponding positions of the digital earth model; wherein, the visualization metadata includes spatial metadata, temporal metadata and style metadata; Based on the network layer connectivity data in the synchronization data, the business area corresponding to the digital earth model is determined, and the network layer connectivity data is overlaid and displayed in the business area. Based on the information layer flow data in the synchronized data, dynamic attributes of process nodes are extracted, and the dynamic attributes are filled into the corresponding nodes of the preset process template to generate a dynamic flowchart, which is then displayed in the dynamic flowchart display area; wherein, the dynamic attributes include node name, task status, and status icon.
[0064] In one embodiment, the step of extracting dynamic attributes of process nodes based on information layer flow data in the synchronized data, filling the dynamic attributes into corresponding nodes of a preset process template, and generating a dynamic flowchart further includes: The updated information layer flow data in the synchronization data is obtained according to a preset period, and the dynamic flowchart is updated based on the updated information layer flow data.
[0065] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communications interface 320, and the memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a data synchronization method based on situational digital earth, including: Acquire the data to be synchronized; the data to be synchronized includes business layer output data, network layer connectivity data, and information layer flow data. Based on the business task identifier, related data belonging to the same business task are identified in the data to be synchronized; wherein, the business task identifier is generated when the business is created; The associated data is timestamped to obtain synchronized data.
[0066] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0067] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program that can be stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, the computer is able to execute a data synchronization method based on a situational digital earth provided by the above methods, including: Acquire the data to be synchronized; the data to be synchronized includes business layer output data, network layer connectivity data, and information layer flow data. Based on the business task identifier, related data belonging to the same business task are identified in the data to be synchronized; wherein, the business task identifier is generated when the business is created; The associated data is timestamped to obtain synchronized data.
[0068] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform a data synchronization method based on situational digital earth provided by the methods described above, comprising: Acquire the data to be synchronized; the data to be synchronized includes business layer output data, network layer connectivity data, and information layer flow data. Based on the business task identifier, related data belonging to the same business task are identified in the data to be synchronized; wherein, the business task identifier is generated when the business is created; The associated data is timestamped to obtain synchronized data.
[0069] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0070] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data synchronization method based on situational digital earth, characterized in that, include: Acquire the data to be synchronized; the data to be synchronized includes business layer output data, network layer connectivity data, and information layer flow data. Based on the business task identifier, related data belonging to the same business task are identified in the data to be synchronized; wherein, the business task identifier is generated when the business is created; The associated data is timestamped to obtain synchronized data.
2. The data synchronization method based on situational digital earth as described in claim 1, characterized in that, The step of determining associated data belonging to the same business task in the data to be synchronized based on the business task identifier includes: Extract business task identifiers from the business layer output data; The node identifiers of the network layer interconnection data and the information layer flow data are determined respectively, and the service task identifiers corresponding to the network layer interconnection data and the information layer flow data are determined according to the node identifiers respectively; All data to be synchronized is repartitioned based on the business identifier, and the data to be synchronized in the same partition is identified as related data belonging to the same business task.
3. The data synchronization method based on situational digital earth as described in claim 1, characterized in that, The process of aligning the associated data with timestamps to obtain synchronized data includes: Compare the timestamp differences of the business layer output data, network layer connectivity data, and information layer flow data in the associated data; Based on the comparison result between the timestamp difference and the preset deviation, the difference data items are determined; The timestamps of the differing data items are corrected using a clock drift compensation algorithm to obtain the updated associated data; If there are no differing data items in the updated associated data, the updated associated data will be identified as synchronized data.
4. The data synchronization method based on situational digital earth as described in claim 1, characterized in that, After performing timestamp alignment on the associated data to obtain synchronized data, the process further includes: All the synchronized data is displayed synchronously on a visualization interface, which includes a digital earth display area and a dynamic flowchart display area. The digital earth display area is equipped with a digital earth model.
5. The data synchronization method based on situational digital earth as described in claim 4, characterized in that, The step of synchronously displaying all the synchronized data in the visualization interface includes: The visualization metadata of the business layer results data in the synchronized data is extracted, the visualization metadata is converted into semantic objects of the graphics engine, and the semantic objects are drawn on the corresponding positions of the digital earth model; wherein, the visualization metadata includes spatial metadata, temporal metadata and style metadata; Based on the network layer connectivity data in the synchronization data, the business area corresponding to the digital earth model is determined, and the network layer connectivity data is overlaid and displayed in the business area. Based on the information layer flow data in the synchronized data, dynamic attributes of process nodes are extracted, and the dynamic attributes are filled into the corresponding nodes of the preset process template to generate a dynamic flowchart, which is then displayed in the dynamic flowchart display area; wherein, the dynamic attributes include node name, task status, and status icon.
6. The data synchronization method based on situational digital earth as described in claim 5, characterized in that, The step of extracting dynamic attributes of process nodes based on information layer flow data in the synchronized data, filling the dynamic attributes into the corresponding nodes of a preset process template, and generating a dynamic flowchart further includes: The updated information layer flow data in the synchronization data is obtained according to a preset period, and the dynamic flowchart is updated based on the updated information layer flow data.
7. A data synchronization device based on situational digital earth, characterized in that, include: The data to be synchronized module is used to acquire data to be synchronized; the data to be synchronized includes business layer result data, network layer connectivity data, and information layer flow data. The associated data determination module is used to determine associated data belonging to the same business task in the data to be synchronized based on the business task identifier; wherein, the business task identifier is generated when the business is created; The timestamp alignment module is used to perform timestamp alignment processing on the associated data to obtain synchronized data.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the data synchronization method based on situational digital earth as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the data synchronization method based on situational digital earth as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the data synchronization method based on situational digital earth as described in any one of claims 1 to 6.