Data cache method and system

A data caching and data technology, applied in memory systems, electrical digital data processing, special data processing applications, etc., can solve problems such as memory consumption and access speed conflicts of report caching methods

Active Publication Date: 2008-05-14
NEUSOFT CORP
View PDF0 Cites 60 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is to provide a data cache method and system to solve the conflict between memory consumption and access speed in the existing report cache method

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 cache method and system
  • Data cache method and system
  • Data cache method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0048] Aiming at the problem that the report caching method in the prior art cannot meet the requirements of memory consumption and access speed at the same time, the embodiment of the present invention provides a report data caching method, which divides the report data to be written into a file, and records each The position of the block in the file, so that when reading the report data, you can directly locate the block where it is located, and quickly find the required data in the block. This method is mainly aimed at data with a row-column structure such as reports (refer to the example shown in Figure 1), and is designed based on the data characteristics that can be represented by a matrix composed of rows and columns. There...

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 buffering method and a system to solve the problems of the mutual collision of the memory consumption and the visiting speed of the existing report forms buffering method. The method comprises that: the invention divides the storing space into an index district and a data district; the data is partitioned; each block of data is sequentially written into the data district of the storing space and the initial position of each block is sequentially written into the index district according to the partitioning result; and the data is read according to the partitioning result and the initial position of each block. The buffering technique reduces the occupation of the memory, because of reading the data from the fixed disk every time, can greatly save the use of the memory space and elevate concurrent processing ability of the system under the status of multiple concurrent and big data quantity; besides, the invention greatly improves the efficiency of the document reading by the index method to read the report forms from fixed disk. Therefore, the method of the invention gets a balance between the memory space and the visiting speed.

Description

technical field [0001] The invention relates to data caching technology, in particular to a data caching method and system. Background technique [0002] A report is a data representation with a row-column structure, which represents the presentation of business data at a point in time. Referring to Figure 1, it is a report example diagram, which shows a user information table, including 3 rows and 4 columns, with a total of 12 cells. In many application systems, the results of system operation are displayed through reports. [0003] In practical applications, after the system generates a report, the user still has some processing for the report, such as turning pages, printing, exporting PDF, Excel format files, etc. In this process, if the system regenerates the report every time, it will increase the load of the report server and the database server, and increase the waiting time of the user; at the same time, the data in the database may change during the report genera...

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): G06F12/08G06F17/30G06F12/1009
Inventor 邢铁军
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products