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

Redis-based picture caching method, device, storage medium and equipment

A cache storage and storage medium technology, applied in the field of image cache based on Redis, can solve the problem of high storage cost of highly similar images

Inactive Publication Date: 2019-11-01
SOUTH CENTRAL UNIVERSITY FOR NATIONALITIES
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a Redis-based picture caching method, equipment, storage medium and device, aiming to solve the technical problem of high storage cost of a large number of highly similar pictures in the prior art

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
  • Redis-based picture caching method, device, storage medium and equipment
  • Redis-based picture caching method, device, storage medium and equipment
  • Redis-based picture caching method, device, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0053] Reference figure 1 , figure 1 It is a schematic diagram of the structure of a Redis-based picture caching device in a hardware operating environment related to a solution of an embodiment of the present invention.

[0054] Such as figure 1 As shown, the Redis-based image caching device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB interface in the prese...

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 Redis-based picture caching method, a Redis-based picture caching device, a storage medium and equipment. The method comprises the steps: obtaining a plurality of to-be-stored pictures, and calculating the picture similarity among the to-be-stored pictures according to a difference value hash algorithm; grouping the pictures to be stored according to the picture similarity to obtain a plurality of picture groups; splicing the pictures to be stored in the picture group to obtain spliced pictures corresponding to the picture group; performing lossless compression on each spliced picture to obtain a compressed picture file; and performing Redis cache storage on the compressed picture file. According to the method, grouping processing is carried out on the pictures according to the picture similarity. The lossless compression is carried out on the pictures. Therefore, the repeated expression of pixel blocks is reduced, and the storage cost is reduced.

Description

Technical field [0001] The present invention relates to the technical field of data storage, in particular to a Redis-based image caching method, equipment, storage medium and device. Background technique [0002] In the context of the rapid increase of unstructured data, research on the storage and utilization of unstructured data has gradually deepened. Unstructured data consists of three major blocks in form, namely text, pictures, and video streams. Nowadays, a large number of highly similar pictures are generated in many scenes. If each picture is stored separately, the cost is too high. [0003] The foregoing content is only used to assist in understanding the technical solution of the present invention, and does not mean that the foregoing content is recognized as prior art. Summary of the invention [0004] The main purpose of the present invention is to provide a Redis-based picture caching method, equipment, storage medium and device, which aims to solve the technical pro...

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): G06F16/51G06F16/583G06K9/62G06T1/60G06T3/40G06T5/10G06T9/00H03M7/30
CPCG06F16/51G06F16/583G06T3/4038G06T5/10G06T9/00G06T1/60H03M7/3059G06T2200/32G06T2207/20064G06F18/22
Inventor 雷建云雷才哲郑禄宋中山艾勇马尧周玮瑜
Owner SOUTH CENTRAL UNIVERSITY FOR NATIONALITIES
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