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

Cache control method and system

A cache control and cache data technology, applied in the computer field, can solve the problem that cache data cannot be updated and synchronized in time.

Active Publication Date: 2014-11-12
TAOBAO CHINA SOFTWARE
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method cannot realize the timely update of cached data and ensure the synchronization of transactions (cluster mode)

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 control method and system
  • Cache control method and system
  • Cache control method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] In order to make the purpose, technical solution and advantages of the application clearer, the embodiments of the application will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0067] In addition, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0068] In this application, the central control device manages the cached data in a unified manner. When an application needs to access the cached data, it sends an access request to the central control device, and the central control device returns the cached data to the application. structure, realize the synchronization of local caches in the cluster in P2P mode, and ensure the timely update and s...

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

A cache control method comprises steps as follows: a cluster comprising a plurality of servers forms a layered network structure; each layer in the structure is formed by connecting a plurality of nodes in the form of a set first structure; each first structure forms a node of the previous network structure; the bottommost layer comprises one or more first structures, each server in the cluster is taken as a node in the first structure of the bottommost layer; the first structure is formed by n nodes according to the preset rules: each node of the n nodes is connected with k nodes in the n nodes, k is larger than 0 and smaller than n, and n is larger than 1; and when cache data are judged to be updated, an update notification is sent to the first structure on the top layer and transmitted to the first structure on the bottommost layer in a layer-by-layer manner until all the nodes of the first structure on the bottommost layer acquire the updating notification, so that the servers in the cluster can update the cache data. The invention further provides a cache control system. According to the cache control method and system, the local cache of each server in the cluster can be timely updated and synchronized.

Description

technical field [0001] The present application relates to the field of computers, in particular to a cache control method and system. Background technique [0002] In the prior art, there are generally two caching methods: [0003] One is local cache: the data is stored in the memory of the local server, and only the system bus is used for access, which is fast. Such as open source EhCache, googel MemCached, OSCache. The local cache is deployed together with the application, which will occupy a lot of memory space on the application server. [0004] The other is distributed cache: the application stores the data to be cached on the distributed cache server through the network. A cache server cluster can also be established, and the cache space is theoretically large enough; and it does not occupy the memory space of the application server. Distributed cache needs to interact through the network, which occupies network bandwidth. In addition, the computing performance of ...

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): G06F12/08G06F12/0893
Inventor 杨琦
Owner TAOBAO CHINA SOFTWARE
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