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

Method for realizing commodity information cache loading based on Redis cache technology

A commodity information, cache loading technology, applied in business, instrument, network data retrieval and other directions, can solve problems such as deviation of system operation results and unreasonable data cache mechanism settings, to improve stability, improve convenience, and ensure data accuracy sexual effect

Active Publication Date: 2019-09-27
INSPUR SOFTWARE CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] 1. The timeliness of product information update is crucial to the operation of the system, and the unreasonable setting of the data cache mechanism will lead to deviations in the system operation results;
[0014] 2. The naming of the key value of the product information data cache needs reasonable specifications, otherwise it will bring more inconvenience during the system development process

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
  • Method for realizing commodity information cache loading based on Redis cache technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer, the present invention will be described in detail below in conjunction with the embodiments. It should be noted that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0035] The method for realizing cache loading of commodity information based on Redis cache technology includes the following steps:

[0036] (1) First, generate product information based on the basic data of the product;

[0037] (2) Generate mall or store timestamps;

[0038] (3) Generate customer information based on the basic data of the registered customer;

[0039] (4) Generate customer mall or store timestamps;

[0040] (5) Generate the corresponding relationship between the products in the customer mall;

[0041] (6) Formulate mall data refresh rules and customer query rules.

[0042] In th...

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 particularly relates to a method for realizing commodity information cache loading based on a Redis cache technology. The method for realizing commodity information cache loading based on the Redis cache technology comprises the following steps: firstly, generating commodity information according to basic data of a commodity; generating a mall or shop timestamp; generating client information according to the basic data of the login client; generating a client mall or shop timestamp; generating a customer mall commodity corresponding relation; and making a mall data refreshing rule and a client query rule. Based on the method for realizing commodity information caching and loading based on the Redis caching technology, through a standardized data updating mechanism and a key value naming rule, the convenience of system development and the reliability of operation are improved; the method has the advantages that the method is simple, the support degree is wide, the pressure of frequent page refreshing of a client on a database can be greatly reduced for an e-commerce platform with high concurrency, especially in a panic buying mode, and the stability of system operation is improved while the data accuracy is guaranteed.

Description

technical field [0001] The invention relates to the technical field of data cache, in particular to a method for realizing cache loading of commodity information based on the Redis cache technology. Background technique [0002] When a network system solves high concurrent requests, it usually uses a cache mechanism to load the data in the database into the memory or store it in a storage medium with a faster access speed for a long time, so as to reduce the number of times the database is accessed, thereby reducing the number of times the database is accessed. The performance loss caused by the long-term occupation of the I / O during the read operation. [0003] Redis (Remote Dictionary Server, remote data service) is a key-value stored memory cache database. Similar to Memcached, Redis is essentially a key-value in-memory database. The entire database is loaded in the memory for operation, and the database data is flushed to the hard disk through asynchronous operations on...

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): G06F16/957G06Q30/06
CPCG06F16/9574G06Q30/0601Y02D10/00
Inventor 程金龙陈锋孙涛彭铸
Owner INSPUR SOFTWARE 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