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

Data storage processing method and device

A technology of data storage and processing method, applied in the field of network communication, which can solve the problems that the reading speed is not as good as the cache, and the cache access pressure is high.

Active Publication Date: 2015-12-23
BEIJING QIHOO TECH CO LTD
View PDF6 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the case of receiving a large number of data query requests in a short period of time, even looking for data in the cache with a faster reading speed sometimes causes excessive cache access pressure, and once the cache with a faster reading speed crashes, a large number of The data query request will directly read the hard disk of the database. Since the reading speed of the hard disk is not as good as that of the cache, it is foreseeable that the hard disk will also crash

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 processing method and device
  • Data storage processing method and device
  • Data storage processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0029] figure 1 A flow chart showing a data storage processing method according to an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0030] Step S110, storing the data in the database, the first level cache and the second level cache respectively.

[0031] In step S120, when a data query request is received, the query is first performed in the first-level cache.

[0032] Step S130, if 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 invention discloses a data storage processing method and device. The method comprises the steps of storing data into a database, a first-level buffer memory and a second-level buffer memory respectively; when receiving a data query request, conducting query in the first-level buffer memory; if the requested data exist in the first-level buffer memory, returning the obtained data to a requesting party, and if the query result fails to be obtained from the first-level buffer memory, conducting query in the second-level buffer memory; if the requested data exist in the second-level buffer memory, returning the obtained data to the requesting party, and if the query result fails to be obtained from the second-level buffer memory, conducting query in the database; if the requested data exist in the database, returning the obtained data to the requesting party, and if the requested data do not exist in the database, returning the query failure result to the requesting party. By means of the technical scheme of the data storage processing method and device, access pressure of the database is alleviated, and the method and device have the advantages that the equipment losses are reduced and the personnel maintenance cost is lowered.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a data storage and processing method and device. Background technique [0002] With the development of network communication technology and the accelerated pace of life, there are more and more ways for people to obtain information, and the speed of obtaining information is also faster and faster. For example, many events are widely spread on the Internet even just after they happen, and The service providers that provide these hot news often need to deal with a large number of users querying extremely large amounts of data in a short period of time. The server usually uses the database to store the obtained data, and writes the stored data into the hard disk. However, if the user wants to query the data, if the data is directly read from the hard disk, it will cause excessive pressure on hard disk access. The usual approach is to write the data in the database int...

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): G06F3/06G06F17/30
CPCG06F3/06
Inventor 郭军
Owner BEIJING QIHOO 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