Simple log system based on MCU and log management method

The invention discloses a simple log system based on an MCU and a log management method, and relates to the technical field of single-chip microcomputers. The simple log system includes a storage module; the storage module comprises an index area and a data area, a log index table is arranged in the...

Full description

Saved in:
Bibliographic Details
Main Authors YANG ZHIWEI, ZHU HONGBIAO, SHI XINGANG, CHENG SHIYOU
Format Patent
LanguageChinese
English
Published 21.02.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a simple log system based on an MCU and a log management method, and relates to the technical field of single-chip microcomputers. The simple log system includes a storage module; the storage module comprises an index area and a data area, a log index table is arranged in the index area, and the log index table is used for managing and maintaining the use condition of a storage space in the data area; the data area is composed of a plurality of sector sectors, and each sector is internally divided into a plurality of storage area slots. According to the automatic onlinemethod for the lighting control equipment, logs can be stored and traced, and post-event investigation is facilitated. 本发明公开了一种基于MCU的简易日志系统及日志管理方法,涉及单片机技术领域,包括储存模块;所述储存模块包括索引区以及数据区,所述索引区内设置有日志索引表,所述日志索引表用于管理和维护数据区内储存空间的使用情况;所述数据区由若干个扇区sector组成,每个所述的扇区sector内划分有若干个储存区slot。本发明提出一种照明控制设备自动上线的方法,实现了日志的可保存、可追溯,便于事后调查问题。
Bibliography:Application Number: CN201911060278