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

Data processing method and computer equipment

A technology for computer equipment and data processing, applied in the field of storage, can solve the problems of frequent writing of log data, the number of IO accesses of non-volatile storage media easily exceeding its upper limit, and the failure of non-volatile storage media, so as to avoid conflicts. Effect

Active Publication Date: 2021-09-07
HUAWEI TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The application provides a data processing method and computer equipment, which can solve the problem of frequent writing of log data in the traditional technology, and the number of IO accesses to the non-volatile storage medium easily exceeds its upper limit, resulting in failure of the non-volatile storage medium

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 processing method and computer equipment
  • Data processing method and computer equipment
  • Data processing method and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The data processing method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0049] figure 1 It is an architectural diagram of a computer device in traditional technology. Such as figure 1 As shown, the architecture of the computer equipment can be divided into hardware, operating system and business layer. Wherein, the hardware may include a processor, a memory, etc., and the memory may include a non-volatile storage medium, and the non-volatile storage medium may be a flash memory or an SSD. The operating system may include: a disk cache (disk cache), a file system, and a block device, where the block device is a drive module for writing data stored in the disk cache into a non-volatile storage medium. The business layer can include multiple business applications, for example, figure 1 Business application 1 and business application 2 etc. are shown. Each business application can...

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 application provides a data processing method. The log writing instruction received by a computer device from a target application includes the level of log data to be written into a second storage medium by the target application, and the level is used to instruct the computer device to refresh the data according to different levels. The frequency of writing log data to the second storage medium. After storing the log data in the first storage area, the computer device can write the log data from the first storage area to the second storage medium according to the level. For log data with a higher level, it may be written to the second storage medium at a higher refresh frequency to ensure real-time writing of the log data. For log data with a lower level, it can be written to the second storage medium at a lower refresh frequency to avoid increasing the number of times of erasing and writing to the second storage medium and preventing the second storage medium from exceeding the upper limit due to the number of times of erasing and writing. And failure.

Description

technical field [0001] The present application relates to the field of storage technology, in particular to a data processing method and computer equipment. Background technique [0002] In an embedded system (embedded system, ES), each business application can write various data generated during its operation into a log. When a business application fails, the log data recorded in the log can be used as an important basis for fault location. [0003] In traditional technologies, logs of business applications are generally stored in non-volatile storage media such as flash memory (FLASH) or solid state drives (solid state drives, SSD). Every time a business application writes log data into a log, it needs to perform an input / output (IO) access to the non-volatile storage medium. [0004] However, the number of IO accesses (also referred to as the number of erasing and writing) of the non-volatile storage medium used in the embedded system has a certain upper limit. When bus...

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 Patents(China)
IPC IPC(8): G06F11/30G06F3/06
CPCG06F3/0614G06F3/0638G06F3/0649G06F3/068G06F11/3065G06F11/3093
Inventor 陈焱于飞任洪彩
Owner HUAWEI TECH 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