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

Data caching method based on java platform

A data cache and data technology, applied in the direction of electrical digital data processing, memory systems, instruments, etc., can solve the problems of poor timeliness, achieve good timeliness, ease access pressure, and improve user experience

Inactive Publication Date: 2016-01-27
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a data caching method and system based on the java platform, which solves the problem of poor timeliness in the existing technical solutions under the condition of alleviating the pressure on the source site due to the huge amount of requests, and completely satisfies the Real-time demand for commodity price display, and can be expanded according to the demand for traffic growth

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
  • Data caching method based on java platform
  • Data caching method based on java platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention provides a data caching method and system based on the java platform, which caches multiple data with the highest frequency of access in the java memory, and at the same time, stores the hot data in a first-in-first-out manner through the queue sequence, thereby alleviating the access pressure and at the same time , has better timeliness and improves user experience.

[0018] According to an embodiment of the present invention, the data caching method based on the java platform includes:

[0019] S1, in each data access, obtain the access frequency of each data in the massive data;

[0020] S2, filter out multiple data with the highest access frequency, and cache these data in the java memory.

[0021] According to an embodiment of the present invention, in step S2, a queue sequence is created in the java memory, and the top N data with the highest frequency of access are used as hot data, and put into the queue sequence in a first-in-first-out or...

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 data caching method based on a java platform and a system. Multiple data having highest access frequency are cached in a java memory, moreover, the hot data is stored according to the queue sequence in an FIFO mode, so access pressure is alleviated, relatively good timeliness is realized, and user experience is improved.

Description

technical field [0001] The invention relates to the field of data storage in e-commerce, in particular to a data caching method based on a java platform. Background technique [0002] In recent years, with the rise of e-commerce, the "shopping cart" in online shopping has become the most core transaction basic component of major e-commerce companies. The shopping cart is also the only way and hub for users to shop, and there is no room for any mistakes. The data access volume is huge, and there are irregular peaks. The stability of the "shopping cart" has also become one of the main goals pursued by the e-commerce enterprise system. Due to the many factors affecting the stability of the shopping cart, it integrates basic services and its own storage, and directly faces the shopping hub of the public network. The main basic services that support the shopping cart: products, promotions, users, and the storage of the shopping cart itself are all dynamic and real-time call serv...

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/0802
Inventor 杨超
Owner BEIJING JINGDONG SHANGKE INFORMATION 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