Data synchronization method and system, readable storage medium and computer equipment
A data synchronization and computer program technology, applied in the computer field, can solve problems such as gatekeepers, network failure, and inability to identify external network data, and achieve the effects of avoiding conflicts, simplifying the process, and improving operation and maintenance efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] see figure 2 , showing the data synchronization method in the first embodiment of the present invention, a two-way isolation gatekeeper is set up between the private network database and the Internet database, and the data synchronization method specifically includes steps S101 to S105:
[0051] S101, the Internet database checks whether there is a synchronization task configured by the user at a preset time interval;
[0052] It should be noted that the table name of the synchronization configuration table in the private network database and the Internet database is consistent.
[0053] The data generated on the Internet side is unique no matter whether it is on the Internet side or in the table on the private network side platform. There are many ways to unique ID, see figure 1 , here we give an example, the globally unique ID algorithm used in this application is Snowflake ID, figure 1 The snowflake ID in is binary, converted to decimal, it is a long integer. Un...
Embodiment 2
[0074] see image 3 , showing the data synchronization method in the second embodiment of the present invention, a two-way isolation gatekeeper is set up between the private network database and the Internet database, and the data synchronization method specifically includes steps S201 to S207:
[0075] S201, the Internet database checks whether there is a synchronization task configured by the user at a preset time interval;
[0076] It should be noted that the table name of the synchronization configuration table in the private network database and the Internet database is consistent.
[0077] The data generated on the Internet side is unique no matter whether it is on the Internet side or in the table on the private network side platform. There are many ways to unique ID, see figure 1 , here we give an example, the globally unique ID algorithm used in this application is Snowflake ID, figure 1 The snowflake ID in is binary, converted to decimal, it is a long integer. Un...
Embodiment 3
[0101] Another aspect of the present invention also proposes a data synchronization system, please refer to Figure 4 , showing the data synchronization system in the third embodiment of the present invention, including Internet database 11 and private network database 12, set up two-way isolation gatekeeper 13 between described private network database and described Internet database:
[0102] Described Internet database 11 comprises:
[0103] A checking module 111, configured to check whether there is a synchronization task configured by the user at a preset time interval;
[0104] The export module 112 is configured to export the data of the synchronization task to form a first file with a unique ID when there is a synchronization task configured by the user, and upload the first file with the unique ID to the two-way Isolation gatekeeper 13;
[0105] Further, the export module 112 is specifically used for:
[0106] Formatting the data of the synchronization task, and pa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


