Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2022-01-21
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the problem facing the Guanji platform today is that the network is blocked, but there is a gatekeeper, the data must be packaged first, and then transmitted. After entering the private network, the data is obtained and restored
This will bring the following problems: After the Internet data and the private network data are inconsistent, it is impossible to identify which data is from the external network and which data is from the internal network, making it impossible to trace the source
[0003] In the related technology, after the Internet data and the private network data are inconsistent, it is impossible to identify which is external network data and which is internal network data, resulting in the problem that the source cannot be traced. At present, no effective solution has been proposed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data synchronization method and system, readable storage medium and computer equipment
  • Data synchronization method and system, readable storage medium and computer equipment
  • Data synchronization method and system, readable storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a data synchronization method and system, a readable storage medium and computer equipment. The method comprises the steps that an internet database checks whether a synchronization task configured by a user exists or not at a preset time interval; if yes, the internet database exports data of the synchronization task to form a first file with a unique ID and uploads the first file to the bidirectional isolation gatekeeper; when the private network database polls that a first file with a unique ID exists in the bidirectional isolation gatekeeper, a first file with a unique ID is obtained and the first file is stored at a specified position; the private network database analyzes the mode of the unique ID in the first file with the unique ID, and judges whether the mode of the unique ID is matched with configuration in a private network synchronization configuration table preset in the private network database; and when the mode of the unique ID is not matched with the configuration in the private network synchronization configuration table preset in the private network database, the private network database reads and loads the first file with the unique ID, so that the data of the Internet database is synchronized with that of the private network database.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data synchronization method, system, readable storage medium and computer equipment. Background technique [0002] Traditional data synchronization usually requires real-time interaction under the condition of network interoperability, that is, under the premise that the network is interoperable. However, the problem facing the Guanji platform today is that the network is blocked, but there is a gatekeeper. The data must be packaged first, and then transmitted. After entering the private network, the data must be obtained and restored. This will cause the following problems: After the Internet data and the private network data are inconsistent, it is impossible to identify which data is from the external network and which data is from the internal network, making it impossible to trace the source. [0003] In related technologies, after Internet data and privat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/40H04L67/1095
CPCH04L67/1095H04L63/0209H04L63/0428
Inventor 范颜婷范渊刘博
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD