Unlock instant, AI-driven research and patent intelligence for your innovation.

A data storage method and device

A technology for data storage and storage location, which is applied in the field of data storage methods and devices, can solve the problems of shortening the service life and short service life of flash memory, and achieve the effect of improving service life and reducing the number of writes

Active Publication Date: 2019-11-01
PRANUS BEIJING TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Usually, mobile terminal devices (such as mobile phones, tablet computers, etc.) use flash memory as external memory, wherein the flash memory is flash memory (Flash Memory) or memory based on flash memory (for example, solid-state hard disk); the mobile terminal device will The log data of its own equipment is written into the log file in the flash memory in real time. Every time a mobile terminal device generates a new log, it needs to write to the flash memory once, but the service life of the flash memory is limited by the number of reads and writes. The more read and write times, the shorter its service life
[0004] Therefore, storing the log data on the flash memory in the above-mentioned manner will shorten the service life of the flash memory

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
  • A data storage method and device
  • A data storage method and device
  • A data storage 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 creative efforts fall within the protection scope of the present invention.

[0052] It should be noted that the embodiments of the present invention are preferably applicable to mobile terminal equipment, for example, iOS operating system (iOS is a handheld device operating system developed by Apple Inc.) or Android operating system (Android system is a Linux-based free and open source operating system), or mobile terminal equipment of Windows Phone operating system (Windows Phone is a mobile operating system released by Microsoft Corporatio...

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 embodiment of the present invention discloses a data storage method and device, which are applied to mobile terminal equipment. The method includes: obtaining the log data currently generated by the mobile terminal equipment for updating log files; The level of the log data; according to the determined level of the log data, determine the storage location of the obtained log data; store the obtained log data in the determined storage location. Because the log data is stored according to the level of the log data and stored in a certain storage location, the generated log data is not stored in the external memory of the mobile terminal device every time, therefore, the external memory of the mobile terminal device is reduced. The number of writes increases the service life of the external memory.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data storage method and device. Background technique [0002] Logs are information that records hardware, software, and system problems in the system of a device (such as a computer, mobile phone, tablet, etc.), and can also monitor events that occur in the system. Users can use it to check why an error occurred, or to look for traces left by an attacker when an attack was received. Logs include system logs, application logs, and security logs. Every time the user operates the device or monitors an event in the system, new log data will be generated, and the log data needs to be written into the log file to update the original log file. [0003] Typically, mobile terminal devices (such as mobile phones, tablet computers, etc.) use flash memory as external memory, wherein the flash memory is flash memory (Flash Memory) or memory based on flash memory (for example, solid-s...

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): G06F3/06
Inventor 兰书俊马勺布
Owner PRANUS BEIJING TECH CO LTD