Method and device for data storage

A technology for data storage and storage location, applied in the field of data storage methods and devices, can solve the problems of short service life and shorten the service life of flash memory, and achieve the effects of increasing service life and reducing the number of writes

Active Publication Date: 2016-10-19
PRANUS BEIJING TECH CO LTD
View PDF5 Cites 9 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
  • Method and device for data storage
  • Method and device for data storage
  • Method and device for data storage

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 of the embodiments of the present invention, not all of them. 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 WindowsPhone operating system (Windows Phone is a mobile phone operating system issued by Microsoft Corporation) mobile te...

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

Embodiments of the invention disclose a method and a device for data storage. The method and the device are applied in a mobile terminal device. The method comprises: obtaining log data which is generated by a mobile terminal device currently and is used to update log files; according to a preset rule, determining the grade of the obtained log data; according to the determined grade of the log data, determining the storage position of the obtained log data; and storing the obtained log data in the determined storage position. Since the log data is stored according to the grade of the log data, and the log data is stored in the determined storage position, generated log data is not stored in an external storage of the mobile terminal device every time. Therefore, number of writing-in times of the external storage of the mobile terminal device is reduced, and service life of the external storage is improved.

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 Applications(China)
IPC IPC(8): G06F3/06
Inventor 兰书俊马勺布
Owner PRANUS BEIJING TECH 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