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

Data writing method, apparatus, apparatus, and storage medium

A technology of data writing and media, applied in the field of data processing, can solve problems such as impact, and achieve the effect of avoiding refreshing cache, improving I/O performance, and improving security

Active Publication Date: 2019-03-15
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF13 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the metadata stores important information related to the topology of the file system and the description of the file, if it is damaged, it may cause very serious impact

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, apparatus, apparatus, and storage medium
  • Data writing method, apparatus, apparatus, and storage medium
  • Data writing method, apparatus, apparatus, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

[0048] figure 1 It is a block diagram of a data writing method according to an exemplary embodiment. The execution body of the data writing method provided in this embodiment may be a terminal, and specifically, may be a processor of the terminal. The terminal is, for example, a mobile phone, a tablet computer, or the like. like figure 1 As shown, the method of this embodiment may include the f...

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 present disclosure relates to a data writing method, apparatus, apparatus, and storage medium. The method includes generating a first write command for instructing a memory chip to write metadatainto a non-volatile storage medium of the memory chip, the metadata being metadata of user data of the user, according to a user-triggered write operation; Sending the first write command to the memory chip. The present disclosure improves the security of metadata and avoids frequent cache refreshes, thereby improving the I / O performance of the file system.

Description

technical field [0001] The present disclosure relates to the field of data processing, and in particular, to a data writing method, apparatus, device, and storage medium. Background technique [0002] Generally, data in a file system is divided into user data and metadata. Among them, the user data refers to the actual data in the file, and the metadata refers to the data used to describe the user data. [0003] In the related art, a processor usually sends a write command to a memory chip for writing included data into a cache of the memory chip, and the write command may include user data and metadata of the user data. Since the metadata stores important information about the topology of the file system and the description of the file, if it is damaged, it may have a very serious impact. Therefore, in order to improve the security of metadata, after the memory chip receives a write command including metadata, it first writes the data in the write command into the cache o...

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/0866
CPCG06F3/061G06F3/0656G06F3/0679G06F12/0866
Inventor 高山黄其武董盛
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD
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