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

Cache method, device, computer equipment and storage medium for distributed information

A distributed and distributed cluster technology, applied in the field of distributed systems, to achieve the effects of saving port resources, optimizing performance, and avoiding labor costs

Active Publication Date: 2021-08-13
SHANGHAI XIAOI ROBOT TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Existing cache products have certain limitations, for example: they must be installed and deployed separately, and a server port must be opened for calls; when there is a problem with the cache program of the cache product, special professional personnel are required to maintain it

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 method, device, computer equipment and storage medium for distributed information
  • Cache method, device, computer equipment and storage medium for distributed information
  • Cache method, device, computer equipment and storage medium for distributed information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Figure 1a is a schematic structural diagram of a distributed cluster system applicable to Embodiment 1 of the present invention, as shown in Figure 1a As shown, a distributed cluster system may include multiple devices 101 , and these devices 101 implement information exchange through a router 102 . Each device 101 in the distributed cluster system can cooperate to complete a task, or can complete a task independently, and each device 101 can become a control node to issue tasks to other devices 101 in the distributed cluster system, and at the same time , when any device 101 task fails, other devices 101 can take over the failed task and re-execute the task, so that the distributed cluster system can have load balancing and failure recovery functions, thereby solving the problem of network congestion.

[0029] Wherein, each device 101 is a node in the distributed cluster system, and the devices 101 communicate with each other through their respective cluster communica...

Embodiment 2

[0062] figure 2 It is a flow chart of a distributed information caching method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above embodiments. In this embodiment, according to the state of the server, it is divided into normal server and Faulty server. Then, according to the first user identification information, selecting a server matching the user cache information as the target server in the distributed cluster system includes: according to the first user identification information, in the distributed cluster system A server matching the user cache information is selected as a target server among the normal servers of the cluster system. Specific as figure 2 As shown, the specific methods include:

[0063] S210. Obtain user cache information, where the user cache information includes first user identification information, and each node in the distributed cluster system communicates through a cluster communication po...

Embodiment 3

[0071] Figure 3a It is a flow chart of a method for caching distributed information provided by Embodiment 3 of the present invention. This embodiment is optimized based on the foregoing embodiments. Specific as Figure 3a As shown, the specific methods include:

[0072] S310. Obtain user cache information, where the user cache information includes first user identification information, and each node in the distributed cluster system communicates through a cluster communication port, and at least two nodes in the distributed cluster system are configured with servers, wherein , according to the state of the server, it is divided into a normal server and a faulty server.

[0073] S320. According to the first user identification information, select a server matching the user cache information as a target server among the normal servers of the distributed cluster system.

[0074] S330. Perform an operation of caching the user cache information in the target server through the...

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 embodiment of the invention discloses a distributed information caching method, device, computer equipment and storage medium. The method includes: obtaining user cache information, the user cache information includes first user identification information, each node in the distributed cluster system communicates through a cluster communication port, and at least two nodes in the distributed cluster system are configured with server; according to the first user identification information, select a server that matches the user cache information in the distributed cluster system as a target server; perform caching the user cache information in the cluster communication port through the cluster communication port Describe the operation of the target server. The embodiments of the present invention can optimize the existing distributed caching technology to meet people's ever-increasing demand for personalized and convenient distributed caching.

Description

technical field [0001] Embodiments of the present invention relate to the field of distributed systems, and in particular, to a cache method, device, computer equipment, and storage medium for distributed information. Background technique [0002] With the development of the Internet, the number of users using network services is increasing, and one server cannot support a huge user group. Therefore, in order to provide better services to people, it is generally chosen to set up multiple servers and deploy them in distributed clusters. environment, but there will be a problem of cache sharing in distributed servers, so the development of distributed applications for caching information has attracted more and more attention. [0003] At present, there are many distributed cache products on the market, such as common software such as Memcached and Radis, which can store, retrieve or backup data of specific objects (such as List, Map and other data types) in a distributed clust...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/10H04L67/1029H04L67/1034H04L67/1001H04L67/5683H04L67/63H04L67/568
Inventor 严峻朱频频
Owner SHANGHAI XIAOI ROBOT 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