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

Data storage method and device

A data storage and database technology, applied in the field of communication, can solve the problems of system resource waste and performance degradation, and achieve the effect of saving useless consumption and processing resources

Inactive Publication Date: 2014-10-29
JUHAOKAN TECH CO LTD
View PDF4 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a data storage method to solve the defects of serious waste of system resources and performance degradation in the prior art due to loading the full amount of data in the database into the cache and updating the data in the cache in 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
  • Data storage method and device
  • Data storage method and device
  • Data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the embodiments described here are only used to illustrate and explain the present invention, not to limit the present invention.

[0019] Such as figure 1 As shown, a kind of data storage method that the present invention provides, this method comprises:

[0020] Receive the client's data access request and judge the type of data accessed by the request;

[0021] The server-side program receives the data access request sent by the client program through the interactive interface, and each interactive interface between the server and the client has a unique string identifier, which is used to identify the type of data accessed by the client and the The name of the data accessed and so on.

[0022] In this step, when the server-side program receives the data access request sent by the client program, it extr...

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 relates to a data storage method. The data storage method comprises the steps that a data access request of a client side is received, and the data type accessed by the data access request is judged; if it is determined that the data type is a hot spot data type, whether hot spot data are stored in a cache is inquired; if the hot spot data are found after the inquiry, the hot spot data are obtained and sent back to the client side; if the hot spot data are not found after the inquiry, basic data corresponding to the hot spot data type in the cache are inquired, logical operation is carried out on the basic data found after the inquiry, and hot spot data obtained through the logical operation are sent back to the client side and stored in the cache. According to the data storage method, the occupied quantity of the cache is controlled effectively, pressure of a server is mitigated, processing resources of the cache are saved at the same time, and the speed of data processing of a system is improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a data storage method and device. Background technique [0002] No matter in the PC Internet environment or in the mobile Internet environment, the client and the server have to perform a large amount of data interaction. When the client and server perform data interaction, the client sends a data access request to the server. After receiving the data access request, the server executes the action of querying the server database, reads the corresponding data from the database, and returns it to the client. [0003] In order to improve the efficiency of the system in processing data, the prior art adopts a cache mechanism, that is, loads the data in the database into the memory or a storage medium with a faster processing and access speed, and saves such data for a long time, so as to reduce the The number of times it is accessed, thereby reducing the performance loss caus...

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/08G06F13/16G06F17/30
Inventor 彭力
Owner JUHAOKAN 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