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

Data writing method and device, solid state disk and computer readable storage medium

A solid-state hard disk, data writing technology, applied in the field of data processing, can solve the problems of slow data writing speed, inconsistent data, different amount of valid data, etc.

Active Publication Date: 2019-10-29
杭州海康存储科技有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Each channel has randomness when writing data, resulting in different amounts of valid data for each channel. When it is necessary to write the data to be written into each channel In the case of data blocks, some channels may need to perform garbage collection operations, and some channels may not need to perform garbage collection operations, so the data written by each channel will be inconsistent, affecting the overall data writing speed, and the data writing speed is slower. slow

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, solid state disk and computer readable storage medium
  • Data writing method and device, solid state disk and computer readable storage medium
  • Data writing method and device, solid state disk and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0061] figure 1 A structural schematic diagram of a physical storage unit in a solid-state hard disk provided for related technologies, such as figure 1 As shown, the physical storage unit in the solid-state hard disk includes four channels, which are respectively the first channel Channel1, the second channel Channel2, the third channel Channel3 and the fourth channel Channel4, and each channe...

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 writing method, a data writing device, a solid state disk and a computer readable storage medium. The data writing method is applied to the solid-state disk. The solid state disk comprises a plurality of physical storage areas, wherein each physical storage area comprises a plurality of data blocks, the plurality of data blocks comprise storage data blocks and reserved data blocks, and the method comprises the following steps: when at least one reserved data block in the physical storage area is fully written with data, determining the quantity of valid data in each storage data block in the physical storage area; judging whether a storage data block with the number of valid data being zero exists in the physical storage area or not; and if yes, erasing all data in the storage data block with the number of valid data being zero in the physical storage area. The method is high in data writing speed and particularly suitable for the field of video monitoring.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data writing method, a data writing device, a solid-state hard disk and a computer-readable storage medium. Background technique [0002] SSD (Solid State Drive, SSD for short) is a hard disk made of an array of solid-state electronic storage chips. [0003] Solid state disk SSD usually includes multiple logical storage units and physical storage units. The physical storage unit can use non-volatile storage media. The physical storage unit is usually divided into multiple data blocks for storing data. The client can include multiple Logical storage unit, the logical address of the logical storage unit has a mapping relationship with the physical address of each data block. The write command from the upper-layer client carries the logical address and the data to be written. According to the logical address, the corresponding The physical address is to write the data to ...

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
IPC IPC(8): G06F3/06G06F12/02
CPCG06F3/061G06F3/064G06F3/0679G06F12/0246G06F12/0253
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