Data reading and writing method and device and data storage structure

A data reading and data writing technology, applied in the field of data processing, can solve problems such as inability to effectively use device computing resources and storage resources, easy to block application processes, and inability of application processes to effectively use device computing resources and storage resources

Active Publication Date: 2015-05-06
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the embodiments of the present invention is to provide a data reading method to solve the technical problem that the existing data reading method is easy to block the application process, resulting in the application process being unable to effectively use the computing resources and storage resources of the device
[0010] The purpose of the embodiments of the present invention is also to provide a data writing method to solve the technical problem that the existing data writing method is easy to block the application process, resulting in the application process being unable to effectively use the computing resources and storage resources of the device
[0011] The purpose of the embodiments of the present invention is also to provide a data storage structure to solve the technical problem that the existing data reading and writing methods are easy to block the application process, resulting in the application process being unable to effectively use the computing resources and storage resources of the device

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] Referring to the drawings, wherein like reference numerals represent like components, the principles of the present invention are exemplified when implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the invention, which should not be construed as limiting other specific embodiments of the invention not described in detail herein.

[0059] In the following description, specific embodiments of the present invention are described with reference to steps and symbols for operations performed by one or more computers, unless otherwise stated. Accordingly, it will be understood that the steps and operations, which at times are referred to as being performed by a computer, include manipulation by a computer processing unit of electronic signals representing data in a structured form. This manipulation transforms the data or maintains it at a location in the computer's memory system that can reconfigure or ot...

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 reading and writing method and device and a data storage structure. The method comprises the steps that the additional numbers of data blocks are obtained; index content in data indexes is obtained according to the additional numbers and the data indexes; the hard disk number of the data blocks and partial page numbers of the data blocks are obtained according to global page numbers of the data blocks and the number of hard disks; an asynchronous reading request of the data blocks is submitted according to the page numbers, the hard disk numbers and the partial page numbers of the data blocks; according to the asynchronous reading request, after an operating system reads the data blocks, the data blocks are called back to corresponding processing flows; paging processing is carried out by the hard disks according to physical pages of the hard disks, so that hard disk storage pages comprising the physical pages of at least one hard disk is formed; each storage page corresponds to one data block. According to the data reading and writing method and device and the data storage structure, the positions of the corresponding data blocks can be obtained through the data indexes, and each storage page only corresponds to one data block, so that reading and writing operation of the data blocks is quickened.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method and device for reading and writing data and a data storage structure. Background technique [0002] SSD (Solid State Disk) is a storage device based on flash memory. It is a hard disk made of solid-state electronic memory chip arrays. It consists of a control unit and a storage unit (FLASH chip or DRAM (Dynamic Random Access Memory, Dynamic Random Take the memory) chip) composition. The SSD is inserted into the standard hard disk slot on the I / O bus, and handles requests from the CPU (Central Processing Unit, central processing unit) for reading and writing logical disk blocks. An SSD includes one or more flash memory chips and a flash translation layer. The flash chip replaces the mechanical drive in a traditional disk, and the flash translation layer is a hardware / firmware device that acts the same as the disk controller and translates requests for logical blocks Trans...

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/06G06F12/02
Inventor 陈明
Owner TENCENT TECH (SHENZHEN) CO LTD
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