Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data synchronization method and device

A data synchronization and data technology, applied in the computer field, can solve problems such as lack of timeliness of data update, failure to guarantee data security, etc.

Pending Publication Date: 2020-10-30
北京百川盈孚科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Local storage can neither guarantee the security of data nor the timeliness of data update

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 device
  • Data synchronization method and device
  • Data synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] An embodiment of the present invention provides a data synchronization device, such as image 3 As shown, it includes: a memory 30, a processor 32, and a computer program stored on the memory 30 and operable on the processor 32. When the computer program is executed by the processor 32, the following method steps are implemented:

[0047] Step 101, serialize the obtained xml configuration file data required by the client and store it locally on the client for local reading; in step 101, the serialized xml configuration file data can be encrypted stored locally on the client.

[0048] Step 102, determine that the network data is updated, read the updated xml configuration file data, and simultaneously synchronize the data and serialize it locally on the client for next local reading. In step 102, judging that the network data is updated specifically includes:

[0049] 1. When the network data is updated, the xml configuration file data is marked as updatable through an...

Embodiment 2

[0053] An embodiment of the present invention provides a computer-readable storage medium, where a program for realizing information transmission is stored on the computer-readable storage medium, and when the program is executed by the processor 32, the following method steps are implemented:

[0054] Step 101, serialize the obtained xml configuration file data required by the client and store it locally on the client for local reading; in step 101, the serialized xml configuration file data can be encrypted stored locally on the client.

[0055] Step 102, determine that the network data is updated, read the updated xml configuration file data, and simultaneously synchronize the data and serialize it locally on the client for next local reading. In step 102, judging that the network data is updated specifically includes:

[0056] 1. When the network data is updated, the xml configuration file data is marked as updatable through an intermediate trigger event;

[0057] 2. Whe...

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 discloses a data synchronization method and device, and the method comprises the steps: carrying out the serialization of xml configuration file data needed by a client, and storing thexml configuration file data to the local of the client for local reading; judging that the network data is updated, reading the updated xml configuration file data, synchronizing the data and serializing the data to the local of the client for next local reading. According to the method and the system, the access of the client to the server can be reduced, the access speed of the local client is increased, priority operation is performed on access data, and the localization of updated data is completed; in addition, the security of the data is also ensured.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data synchronization method and device. Background technique [0002] At present, there are two ways for the client software to store configuration / commonly used data files, one is network server storage, and the other is local data storage. [0003] In desktop applications developed in C# language, configuration / commonly used data files are generally not encrypted and converted and stored in files in the local installation path, and another is stored in remote services. If the configuration file is saved in the local installation path, some important parameters can be easily viewed by users, which poses certain security risks. At the same time, when the configuration file needs to be modified, it cannot be synchronized to the client in time. If the configuration file is saved to the network service. During use, the client needs to repeatedly read the remote service to obt...

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
IPC IPC(8): G06F16/178G06F21/62
CPCG06F16/178G06F21/6218G06F2221/2107
Inventor 熊文国匡保春
Owner 北京百川盈孚科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products