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

Data buffering method and device under condition of limited resources

A data buffering and data technology, applied in the field of computer software optimization, can solve problems such as accelerating program performance, and achieve the effect of improving program performance

Inactive Publication Date: 2013-01-30
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, there is currently no way to use buffer technology to speed up program performance under the condition of limited memory resources

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 buffering method and device under condition of limited resources
  • Data buffering method and device under condition of limited resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Embodiment 1, the implementation method of single buffer system

[0058] This embodiment includes the following steps:

[0059] Step S110, create a buffer, the size of the buffer in this embodiment is 1024 bytes;

[0060] Step S120, using the data reading function read of the original program to read data, the data is up to 1024 bytes; the read data is implicitly stored in the memory space opened by the read function;

[0061] Among them, implicit means that the programmer cannot control the space;

[0062] Step S130, copying the data read by the read function to the buffer;

[0063] Step S140, the downstream process acquires data from the buffer;

[0064] Step S150, repeat step S120, and execute simultaneously with step S140;

[0065] In step S160, when the data in the buffer is no longer used and the execution of step S150 is completed, repeat steps S130 and S140.

[0066] Steps S150 and S160 are repeatedly executed until the program is executed.

[0067] It sho...

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 provides a data buffering method under the condition of limited resources, comprising the steps of building only one buffer zone; obtaining data by using an original program interface; copying the obtained data to the buffer zone; and accessing the data from the buffer zone. The invention also provides a data buffering device under the condition of the limited resources, comprising a buffer zone building module for building only one buffer zone, a data reading module for obtaining the data by using the original program interface, a buffer zone storing module for copying the data read by the data reading module to the buffer zone and a buffer zone reading module for accessing data from the buffer zone. According to the technical scheme of the invention, only one buffer zone is adopted, so that the problem that multi-buffer zone space is insufficient under the condition of the limited resources is avoided and the program performance is improved.

Description

technical field [0001] The invention relates to computer software optimization technology, in particular to a data buffering method and device under limited resources. Background technique [0002] The buffer is a performance optimization technology. The method is: open up multiple memory areas, and copy the data to the buffer in turn. Since there are copies of the data in the buffer, the program does not have to wait for the data to be read when it is no longer used. A piece of data, so it can improve the operating efficiency of the program. [0003] However, there is currently no way to use buffer technology to speed up program performance under the condition of limited memory resources. Contents of the invention [0004] The technical problem to be solved by the present invention is to provide a data buffering method and device under limited resources, so as to improve operating efficiency under limited memory. [0005] In order to solve the above problems, the presen...

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): G06F9/44
Inventor 沈铂张清吴庆
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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