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

Distributed cache method and device based on node, and storage medium

A distributed cache and storage medium technology, applied in the direction of electrical components, transmission systems, etc., can solve the problem of time-consuming network transmission

Pending Publication Date: 2018-02-16
DATANG NETWORK CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a node-based distributed caching method, device and storage medium, aiming at solving the problem of providing services in a cluster mode in the prior art and requiring each terminal to remotely access cached data , resulting in time-consuming defects in network transmission time

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
  • Distributed cache method and device based on node, and storage medium
  • Distributed cache method and device based on node, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention provides a node-based distributed caching method, device and storage medium. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] Please refer to figure 1 , which is a flow chart of the node-based distributed caching method of the present invention. like figure 1 As shown, the node-based distributed cache method includes the following steps:

[0040] Step S100, pulling data from the data cache cluster and storing it locally on the server;

[0041] Step S200, connect to the cached message queue, and detect in real time whether to receive notification information of new data sent by the cached message queue;

[0042] Step S300 , when it is detected that the notification i...

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 distributed cache method and device based on node, and a storage medium. The method comprises the following steps: pulling data from a data cache cluster, and storing the same at a server local, connecting a cache message queue, and detecting whether to receive notification information of newly added data sent by the cache message queue in real time; and when detecting the receiving of the notification information of newly added data sent by the cache message queue, pulling the newly added data from the data cache cluster, and storing the same at the server local. Byusing the distributed cache method disclosed by the invention, the network transmission time of the cache data is shortened, the data synchronization is more convenient, the data is easy to operate and high in concurrence.

Description

technical field [0001] The present invention relates to the technical field of data caching, in particular to a node-based distributed caching method, device and storage medium. Background technique [0002] At present, the current status of data caching in Internet companies is as follows: [0003] 1) The response speed of the service is extremely high; [0004] 2) generally cluster mode; [0005] 3) It is required that services can be expanded horizontally; [0006] 4) The technology is required to be stable, simple and low in cost. [0007] In order to solve problem 1), data needs to be cached on the server side; [0008] In order to solve problems 2) and 3), a distributed cache is required; [0009] In order to solve the above problems, many products have been produced, and the best one here is Redis. Redis is an open source software with simple deployment and low operating environment requirements. It can provide services in cluster mode with fast response and hig...

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): H04L29/08
CPCH04L67/1097H04L67/568
Inventor 龙平波宣善明
Owner DATANG NETWORK 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