Log recording method and device applied to small-capacity storage area and medium

A recording method and small-capacity technology, applied in the field of data processing, can solve the problems of small number of events, large space occupied by events, etc., to achieve the effect of increasing the number of logs, reducing space occupied, and improving user experience

Active Publication Date: 2021-01-08
HANGZHOU MEARI TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are some problems in the above method: on the one hand, if the file is written into Flash, the file itself will inevitably occupy a part of the running memory as a temporary file operation space, and the event itself records a lot of information, resulting in a relatively large space occupied by each event. Large, only a few specific events can be recorded, and a large number of event logs cannot be stored for a long time
On the other hand, the flash storage area usually has a limit on the number of times of erasing and writing. After a certain number of times, the data can no longer be stored correctly. The event occupies a large space and the number of events that can be stored is very small. The flash storage area must be frequently erased to update If there are too many erasing and writing times, the life cycle of each storage bit cannot be fully utilized, which will affect the service life of Flash and further affect the user experience.

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
  • Log recording method and device applied to small-capacity storage area and medium
  • Log recording method and device applied to small-capacity storage area and medium
  • Log recording method and device applied to small-capacity storage area and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of this application.

[0047] The core of this application is to provide a log recording method, device and medium applied to a small-capacity storage area, which can save more event logs at the same time, can make full use of the life cycle of each storage bit, and improve user experience.

[0048] In order to enable those skilled in the art to better understand the solution of the present application, the present application will be further described in detail below in conjunction wit...

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 log recording method applied to a small-capacity storage area, and the method comprises the steps: firstly setting coding data uniquely corresponding to a possible event, setting operation parameters, corresponding to each event, of the coding data, and setting a second corresponding relation indicative of the relation between the storage address of coding data and the storage address of the operation parameters; and under the condition that a target event occurs, storing the target operation parameters in the target log and the target coding data determined accordingto the first corresponding relationship into a storage region according to the second corresponding relationship. By applying the technical scheme, the running memory of the file in the prior art isomitted, the user can search the operation parameters of the corresponding event according to the second corresponding relation, the complete content of the whole target event does not need to be stored in the storage area, the occupied space of the target log is reduced, more event logs can be stored at the same time, the life cycle of each storage bit can be fully utilized, and the user experience is improved.

Description

technical field [0001] The present application relates to the field of data processing, in particular to a log recording method, device and medium applied to a small-capacity storage area. Background technique [0002] The log is an important file of the terminal device, which is usually used to record various events that occur during the operation cycle of the terminal device, such as user login, configuration parameters and hardware status, etc., so as to trace the operation status of the terminal device later or when an abnormality occurs in the terminal device If necessary, refer to the event log to find the specific problem and solution. [0003] Due to cost considerations, the current terminal devices (such as home cameras and set-top boxes) generally have a small storage area for flash storage devices (Flash). In addition to storing the necessary program codes and configuration parameters of the terminal device itself, the remaining byte space may only be a few bytes....

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
CPCG06F3/0608G06F3/0638G06F3/0679
Inventor 聂树华金伟应红力
Owner HANGZHOU MEARI 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