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

Cache synchronization device and method, cache synchronization system and electronic equipment

A synchronization device and caching technology, applied in the field of data processing, can solve the problems of high development and configuration costs

Active Publication Date: 2019-11-05
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF11 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that the local cache synchronization method in the prior art has at least the defect of high development and configuration costs

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
  • Cache synchronization device and method, cache synchronization system and electronic equipment
  • Cache synchronization device and method, cache synchronization system and electronic equipment
  • Cache synchronization device and method, cache synchronization system and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] A cache synchronization device disclosed in the embodiment of the present application, such as figure 1 As shown, the device includes: a cache operation interface module 110 , a cache registration management module 120 , a cache operation management module 130 and a cache update module 140 .

[0030] Usually, the target application includes multiple servers, and the cache synchronization device in the embodiment of the present application can be set on each server of the target application in the form of a component. The server processes the request of the target application, and locally caches some or all data of the target application. The cache synchronization device provides an encapsulated local cache operation interface for the target application to call. The cache synchronization device further executes operations such as registration, query, update, and deletion of the local cache according to the encapsulated local cache operation interface invoked by the targ...

Embodiment 2

[0068] A cache synchronization method disclosed in this embodiment, such as Image 6 As shown, the method includes: Step 610 to Step 650. The cache synchronization method of the present application is applied to such as Figure 4 with image 3 The shown cache synchronization device and cache synchronization system. In this embodiment, the cache synchronization device is installed on the server with the target application in the form of a local cache component.

[0069] Step 610: Register the IP address and port of the node where the local cache is located in the preset node registration center in response to the cache registration operation that the target application registers the local cache.

[0070] In some embodiments of the present application, before the step of responding to the interface call of updating the local cache by the target application, it further includes: responding to a cache registration operation of registering the local cache by the target applicati...

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 cache synchronization device, belongs to the technical field of data processing. The cache synchronization device is characterized in that a synchronous cache device is arranged in a server where an application is located, and the cache synchronization device encapsulates various open source caches and calls the open source caches based on generic forms; after the synchronous cache device operates the local cache to cause the change of the local cache, the local cache change information is synchronized to other nodes pre-registered by the application through a built-in cache update management module so as to perform data synchronization; and the synchronous cache device receives the information that the cache data of other nodes is changed through the cache updating management module, and updates the local cache. According to the cache synchronization device disclosed by the embodiment of the invention, the synchronization of local caches among different cachenodes can be realized only by installing the local cache synchronization device at the cache nodes without carrying out additional development and tedious configuration on a server side, so that thedevelopment cost is saved, and the development efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a cache synchronization device and method, a cache synchronization system, electronic equipment, and a computer-readable storage medium. Background technique [0002] In the server-side application development process, the server-side local cache is usually used. Local cache has the advantages of fast reading speed, security and stability. Compared with external distributed caches such as redis / memcache (an open source cache), the local cache directly reads the local memory, avoiding the process of serialization and network input and output interfaces, which is of great help to improve system performance. Since there are usually a large number of application clients, in order to improve application processing efficiency, client access is usually mapped to different servers. Therefore, the synchronization of application data cached between servers is a key t...

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): G06F9/52G06F9/54G06F8/65H04L29/08
CPCG06F9/544G06F9/546G06F9/52G06F8/65H04L67/1095H04L67/5682
Inventor 薛重阳
Owner BEIJING SANKUAI ONLINE TECH CO LTD
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