A data synchronization method and device
A data synchronization and cache data technology, applied in transmission systems, electrical components, etc., can solve problems such as large system resource consumption, achieve the effects of improving overall performance, improving cache efficiency, and solving large system resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 It is a schematic flowchart of a data synchronization method provided by the embodiment of the present application. The method can be as follows. The execution subject of the embodiment of the present application is the controller described in the embodiment of the present application.
[0050] Step 101: Receive a clearing instruction sent by the cache component.
[0051] The clearing instruction includes attribute values of cached data to be cleared.
[0052] The cache data stored in the cache component is synchronized with the cache data stored in the local cache of the service system.
[0053] In the embodiment of the present application, when the business system needs to perform a clearing operation on the cached data in the local cache, it sends a clearing notification message to the cache component. At this time, the cache component sends a clearing instruction to the controller by calling the RPC interface. The controller here may be a remote cont...
Embodiment 2
[0070] figure 2 It is a schematic flowchart of a data synchronization method provided by the embodiment of the present application. The method can be as follows. The data synchronization method described in the embodiment of the present application is applied to the cache component.
[0071] In the embodiment of the present application, the cache data stored in the cache component is synchronized with the cache data stored in the local cache of the service system.
[0072] Specifically, in order to alleviate the pressure on the entire business system caused by the data synchronization between the business system and the remote cache server when the amount of cached data is large, the cache components described in the embodiments of this application have storage capabilities and can be real-time or periodically Synchronize the cached data stored in the local cache of the business system from the business system, so that when the business system clears the cached data in the ...
Embodiment 3
[0089] image 3 It is a schematic flowchart of a data synchronization method provided by the embodiment of the present application. The method can be as follows. The data synchronization method is applied to a remote cache server.
[0090] Step 301: Receive a data synchronization instruction sent by a control device.
[0091] The data synchronization instruction is sent by the control device when receiving the clear instruction, the data synchronization instruction is used to instruct the remote cache server to synchronize the cache data corresponding to the attribute value from the cache component, and the clear instruction is sent by the cache sent by the component.
[0092] Step 302: Send a data synchronization request to the cache component, where the data synchronization request includes the attribute value.
[0093] Step 303: Receive cache data corresponding to the attribute value sent by the cache component, and store the cache data synchronously.
[0094] Through ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


