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

Data writing method and device and data reading method and device

A data writing and data reading technology, applied in the field of data processing, can solve the problem of time-consuming result data storage, and achieve the effect of fast data reading, saving storage space, and improving data storage speed

Active Publication Date: 2014-01-08
亿企赢网络科技有限公司
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a writing method and device, and a data reading method and device to solve the problem in the prior art that writing data records one by one will cause the storage of the result data to take a long time. The scheme is as follows:

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 writing method and device and data reading method and device
  • Data writing method and device and data reading method and device
  • Data writing method and device and data reading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0052] see figure 1 , which is a schematic flowchart of a data writing method provided by an embodiment of the present invention, the method may include:

[0053] Step S101: Divide the data to be written including multiple first data records into blocks.

[0054] Wherein, the data to be written is the data obtained by sorting the multiple first data records according to the serial numbers of the first data records.

[0055] Wherein, the number of blocks is le...

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 writing method and device and a data reading method and device. The data writing method includes the steps of segmenting data which contain a plurality of first data records and are to be written in, conducting data compression on target data blocks in data blocks, taking the maximum serial number of the first data records in the target data blocks, the minimum serial number of the first data records in the target data blocks and the compressed data as second data records, and writing the second data records in a data table of a database server till the first data records of the data to be written in are all written in the data table of the database server, wherein the plurality of first data records are sequenced according to the serial numbers of the first data records to obtain the data to be written in, and the number of the blocks is smaller than the number of the first data records in the data to be written in. According to the data writing method and device and the data reading method and device, the storage speed of the data is improved, and the storage space of the database server is saved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data writing method and device, and a data reading method and device. Background technique [0002] The data analysis application system refers to a software platform for processing, computing, summarizing, screening and other operations on various business data such as production transactions. The data analysis application system loads the original data in the database and obtains the result data through a series of data operations, and then stores the result data in the data table in the result database, that is, all the result data will be obtained from the database where the data analysis application system is located. The application server transfers to the database server where the result database resides. [0003] In the prior art, the result data is written item by item into the data table in the database server. The inventor found in the process of realizing ...

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): G06F17/30
CPCG06F16/2282
Inventor 陈宏仁张毅钱运辉王培勇
Owner 亿企赢网络科技有限公司
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