CN111444154B - Method for efficiently storing log files in single chip microcomputer system - Google Patents

Method for efficiently storing log files in single chip microcomputer system Download PDF

Info

Publication number
CN111444154B
CN111444154B CN202010221348.9A CN202010221348A CN111444154B CN 111444154 B CN111444154 B CN 111444154B CN 202010221348 A CN202010221348 A CN 202010221348A CN 111444154 B CN111444154 B CN 111444154B
Authority
CN
China
Prior art keywords
data
log
file
size
sector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010221348.9A
Other languages
Chinese (zh)
Other versions
CN111444154A (en
Inventor
岳欣欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanwo Zhihang Technology Yuxi Co ltd
Original Assignee
Hanwo Zhihang Technology Yuxi Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hanwo Zhihang Technology Yuxi Co ltd filed Critical Hanwo Zhihang Technology Yuxi Co ltd
Priority to CN202010221348.9A priority Critical patent/CN111444154B/en
Publication of CN111444154A publication Critical patent/CN111444154A/en
Application granted granted Critical
Publication of CN111444154B publication Critical patent/CN111444154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method for efficiently storing log files in a single chip microcomputer system, which belongs to the technical field of log storage and comprises the following steps: s1: pre-treating; s2: pre-allocating continuous file storage areas; s3: initializing a circular FIFO buffer; s4: scaling the data and storing the data in a circular FIFO buffer; s5: aligning the log data to an integer multiple N of the sector size; if N is not less than the preset value, the step S6 is executed, otherwise, the step S4 is executed; s6: and storing the multi-sector log file in an iterative mode. The method provided by the invention can minimize the influence of a large amount of frequent log records and file operations on other tasks in the system (such as task execution frequency and task execution speed), and is favorable for the system to accurately and precisely complete the set task.

Description

Method for efficiently storing log files in single chip microcomputer system
Technical Field
The invention relates to the technical field of single chip microcomputer systems, in particular to a method for efficiently storing log files in a single chip microcomputer system.
Background
In some single chip microcomputer system applications, in order to observe the system state afterwards, analyze the system performance or troubleshoot system faults, it is necessary to record some system data (such as parameter values, state quantities, instruction quantities and the like) in real time, and the data is generally called logs. Generally, logging in a file mode is the optimal choice in combination with a removable storage medium and a file system, and is most beneficial to data analysis by high-level analysis software in an upper computer afterwards. However, for most of the single chip microcomputer systems, especially for the single chip microcomputer systems that need to perform high-frequency and high-real-time tasks, heavy processing load and I/O load are brought to the systems by a large amount of frequent logging and file operation, so that the systems run slowly and even crash, and the result is difficult to measure.
For example, chinese invention patent CN109002547A discloses a log file storage method, a mobile terminal and a computer readable storage medium, the method comprising: sequentially downloading corresponding compiled partition images to a storage space according to the initial configuration partition table file to form partitions and generate partition mounting scripts, wherein each formed partition comprises a log storage partition; when a system is started, analyzing the partition mounting script, acquiring partition information of a log storage partition, and mounting the log storage partition according to the partition information; and after the system is started, reading the log file at each preset node in real time, and storing the read log file into the log storage partition. The invention can effectively save the log files in the test process, reduce the problem analysis difficulty and improve the test efficiency. Further, as disclosed in chinese patent CN109002547A, the method for storing log files includes: sequentially downloading corresponding compiled partition images to a storage space according to the initial configuration partition table file to form partitions and generate partition mounting scripts, wherein each formed partition comprises a log storage partition; when a system is started, analyzing the partition mounting script, acquiring partition information of a log storage partition, and mounting the log storage partition according to the partition information; and after the system is started, reading the log file at each preset node in real time, and storing the read log file into the log storage partition.
In the prior art, a single chip microcomputer system with relatively low performance stores log files by using a file operation method similar to that of a high-level computer and a high-performance embedded system, namely, reads, writes, modifies and distributes a file system and a storage area in a storage medium in real time, and then excessive file operation is avoided by greatly reducing the data volume and the recording frequency. The prior art flow diagram is shown in fig. 1. The prior art has at least the following problems:
1. the prior art relates to the real-time dynamic allocation of the storage area of the file, can generate a large amount of storage area read-write operations in the real-time operation of a system, and has low efficiency. Taking a common FAT32 file system as an example, a flow chart of real-time dynamic allocation of a file storage area is shown in fig. 2, and it can be seen that an indefinite number of sector read-write operations exist in the flow, which greatly increases the processing load and I/O load of the system and affects the execution of other tasks.
2. The prior art avoids excessive file operations by greatly reducing the data volume and the recording frequency, and inevitably loses a large amount of data. This is not conducive to complete analysis of the system afterwards, and even if some critical data is discarded, the system analysis will not be possible or a false conclusion will be drawn.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a method for efficiently storing log files in a single chip microcomputer system. The method does not lose any data, can meet the storage requirement of log files with huge data volume, and is favorable for carrying out complete, comprehensive and detailed analysis on the system in the upper computer advanced analysis software afterwards.
The invention provides a method for efficiently storing log files in a single chip microcomputer system, which comprises the following steps:
s1: pretreatment: pre-calculating the size of a required file and the size of a required cyclic FIFO;
s2: pre-allocating continuous file storage areas;
searching a continuous storage area with the size equal to the size of the required file in the memory according to the size of the required file obtained by preprocessing in the step S1, allocating the storage area to the log file, and obtaining a starting sector S and an ending sector E of the file;
s3: initializing a circular FIFO buffer;
initializing a memory with enough size as a circular FIFO buffer according to the size of the required circular FIFO obtained by preprocessing in the step S1;
s4: reasonably scaling the data and storing the data into a circular FIFO buffer;
if the log data are floating point data, reasonably scaling the data, converting the floating point data into fixed point data, and storing the fixed point data into a circular FIFO buffer; if the log data is fixed point number, directly storing the log data into a circular FIFO buffer;
s5: aligning the log data to an integer multiple N of the sector size;
if N is not less than the preset value, the step S6 is executed, otherwise, the step S4 is executed;
s6: and storing the multi-sector log file in an iterative mode.
Preferably, the required file size in step S1 is calculated according to the application scenario and the logging requirement; the calculation formula is as follows:
the required file size is continuous working time length, main circulation frequency and data amount recorded in each circulation
In the step S1, the size of the needed cycle FIFO is calculated according to the log data volume, the performance of the single chip microcomputer and the performance of the memory; the calculation formula is as follows:
the required cycle FIFO size is the maximum write time x main cycle frequency x amount of data recorded per cycle.
Preferably, the data scaling in step S5 is based on unit, precision and data range.
Preferably, in step S6, if the data in the circular FIFO buffer is not enough to be aligned to the preset sector number N, the log storage operation is not executed, and the data is continuously pre-stored in the circular FIFO buffer; and executing the multi-sector log storage operation until the data in the circular FIFO buffer zone is aligned to the preset sector number N.
Preferably, in step S4, in step S4, if the resources of the single chip microcomputer system are insufficient or the memory is busy, the log data is pre-stored in the circular FIFO buffer; if the resources of the single chip microcomputer system are sufficient and the storage is idle, the log data in the circular FIFO buffer is read out at one time for storage.
Preferably, in step S5, the log data is aligned to an integer multiple of the sector size according to the following formula:
Figure BDA0002426165860000031
where [ ] is the rounding function.
Preferably, the specific way of storing the multi-sector log file in the step S6 in an iterative manner is as follows:
starting to store from a file initial sector S, setting the data storage amount each time as N sectors, and calculating according to the following formula:
S=S+N
that is, each time the storage starts from the last N sectors subsequent to the starting sector;
if S > E, the file size obtained by preprocessing is not enough to store the log file generated by one task, reasonable preprocessing needs to be carried out again, and the step S1 is returned; if S ≦ E, then steps S4 through S6 are repeated.
Preferably, initializing the external memory, mounting the external memory file system, and opening/creating a log file are further included between step S1 and step S2.
Compared with the prior art, the invention has the following beneficial effects:
(1) the invention changes the real-time dynamic allocation in the prior art into the static allocation mode according to the preprocessing result by changing the design idea of the file storage area allocation mode, and adopts the mode of directly writing the sectors allocated to the files to store the log files, thereby greatly reducing the real-time sector read-write operation in the work of the singlechip system and further greatly reducing the occupation of the calculation resources and the I/O resources of the singlechip in the log file storage process. Therefore, other important real-time tasks can be distributed to sufficient singlechip computing resources and I/O resources, and the real-time tasks in the system can be accurately executed under the condition of not reducing the execution frequency and the execution speed.
(2) The invention adopts the cyclic FIFO buffer technology, the log data are firstly stored in the buffer when the resources of the singlechip system are insufficient or the memory is busy, and the log data are stored in the memory when the resources of the singlechip system are sufficient and the memory is free. The method does not lose any data, can meet the storage requirement of log files with huge data volume, and is favorable for carrying out complete, comprehensive and detailed analysis on the system in the upper computer advanced analysis software afterwards.
(3) The invention fully utilizes the characteristics of the memory, aligns the log data to the integral multiple of the memory sector, can greatly improve the storage efficiency of the memory, further improves the log file storage efficiency of the singlechip system, and can further improve the beneficial effects in the step (1).
(4) The invention can be applied to a single chip microcomputer system which executes different tasks and realizes different functions.
Drawings
FIG. 1 is a prior art flow diagram relating to the dynamic allocation of storage areas for files in real time;
FIG. 2 is a flow diagram of another prior art process involving dynamic allocation of storage areas for files in real time;
FIG. 3 is a flow chart of the efficient storage of log files provided by the present invention;
Detailed Description
The following detailed description of the embodiments of the present invention is provided in conjunction with the accompanying drawings of fig. 1-3.
The invention provides a method for efficiently storing log files in a single chip microcomputer system, which comprises the following steps:
s1: pretreatment: pre-calculating the size of a required file and the size of a required cyclic FIFO;
s2: pre-allocating continuous file storage areas;
searching a continuous storage area with the size equal to the size of the required file in the memory according to the size of the required file obtained by preprocessing in the step S1, allocating the storage area to the log file, and obtaining a starting sector S and an ending sector E of the file;
s3: initializing a circular FIFO buffer;
initializing a memory with enough size as a circular FIFO buffer according to the size of the required circular FIFO obtained by preprocessing in the step S1;
s4: reasonably scaling the data and storing the data into a circular FIFO buffer;
if the log data are floating point data, reasonably scaling the data, converting the floating point data into fixed point data, and storing the fixed point data into a circular FIFO buffer; if the log data is fixed point number, directly storing the log data into a circular FIFO buffer;
s5: aligning the log data to an integer multiple N of the sector size;
if N is not less than the preset value, the step S6 is executed, otherwise, the step S4 is executed;
s6: and storing the multi-sector log file in an iterative mode.
As a preferred embodiment, the required file size in step S1 provided by the present invention is calculated according to the application scenario and the logging requirement; the calculation formula is as follows:
the required file size is continuous working time length, main circulation frequency and data amount recorded in each circulation
In the step S1, the size of the needed cycle FIFO is calculated according to the log data volume, the performance of the single chip microcomputer and the performance of the memory; the calculation formula is as follows:
the required cycle FIFO size is the maximum write time x main cycle frequency x amount of data recorded per cycle.
As a preferred embodiment, the present invention provides the basis of data scaling in step S5 as unit, precision and data range.
As a preferred embodiment, in step S6, if the data in the circular FIFO buffer is not enough to be aligned to the preset number of sectors N, the log storage operation is not executed, and the data is continuously pre-stored in the circular FIFO buffer; and executing the multi-sector log storage operation until the data in the circular FIFO buffer zone is aligned to the preset sector number N.
As a preferred embodiment, in step S4, in step S4, if the resources of the single chip microcomputer system are insufficient or the memory is busy, the log data is pre-stored in the circular FIFO buffer; if the resources of the single chip microcomputer system are sufficient and the storage is idle, the log data in the circular FIFO buffer is read out at one time for storage.
As a preferred embodiment, the present invention provides that in step S5, the log data is aligned to an integer multiple of the sector size according to the following formula:
Figure BDA0002426165860000051
where [ ] is the rounding function.
As a preferred embodiment, the specific way of performing multi-sector log file storage in step S6 in an iterative manner provided by the present invention is:
starting to store from a file initial sector S, setting the data storage amount each time as N sectors, and calculating according to the following formula:
S=S+N
that is, each time the storage starts from the last N sectors subsequent to the starting sector;
if S > E, the file size obtained by preprocessing is not enough to store the log file generated by one task, reasonable preprocessing needs to be carried out again, and the step S1 is returned; if S ≦ E, then steps S4 through S6 are repeated.
As a preferred embodiment, the present invention further includes initializing the external memory, mounting the external memory file system, and opening/creating a log file between the steps S1 and S2.
Example 1
The embodiment provides a method for efficiently storing log files in a single chip microcomputer system, which comprises the following steps:
s1: pretreatment: pre-calculating the size of a required file and the size of a required cyclic FIFO;
wherein, the size of the file required in step S1 provided by the present invention is calculated according to the application scenario and the requirement of the log record; the calculation formula is as follows:
the required file size is continuous working time length, main circulation frequency and data amount recorded in each circulation
In the step S1, the size of the needed cycle FIFO is calculated according to the log data volume, the performance of the single chip microcomputer and the performance of the memory; the calculation formula is as follows:
the required cycle FIFO size is the maximum write time x main cycle frequency x amount of data recorded per cycle.
S2: pre-allocating continuous file storage areas;
searching a continuous storage area with the size equal to the size of the required file in the memory according to the size of the required file obtained by preprocessing in the step S1, allocating the storage area to the log file, and obtaining a starting sector S and an ending sector E of the file;
the pre-allocated file storage area is in a static allocation mode, and can avoid the problems of performance loss, other task execution disturbance and the like caused by real-time dynamic allocation of the file storage area in the main cycle by a single chip microcomputer system; the continuous storage area is beneficial to adopting a storage mode of directly operating the sector, so that the file is prevented from being operated in the main cycle, and the storage efficiency is improved.
S3: initializing a circular FIFO buffer;
initializing a memory with enough size as a circular FIFO buffer according to the size of the required circular FIFO obtained by preprocessing in the step S1; preventing buffer overflow from causing data loss. The circular FIFO buffer allows the single chip microcomputer system to pre-store the log data in the memory when the memory is busy (if the memory is performing read-write operation); when the memory is idle, the log data in the circular FIFO buffer can be read out for storage at one time, and the operation avoids discarding the log data.
S4: reasonably scaling the data and storing the data into a circular FIFO buffer;
if the log data are floating point data, reasonably scaling the data, converting the floating point data into fixed point data, and storing the fixed point data into a circular FIFO buffer; if the log data is fixed point number, directly storing the log data into a circular FIFO buffer; the floating point number and the fixed point number in the invention are two basic data types in the single chip microcomputer language, and are determined when variables (namely data needing to be recorded, such as speed mentioned in the text) are defined.
If the log data has floating point numbers, the floating point data occupies a large number of bytes (usually, the single-precision floating point number is 4 bytes, and the double-precision floating point number is 8 bytes), so that the data needs to be reasonably scaled, the floating point data is converted into fixed point data to be stored, the log data volume can be slightly reduced, and the efficiency is improved.
The floating point data is converted into fixed point data, which is the characteristic of the language data type of the single chip microcomputer, and particularly, the floating point number can be directly truncated (a decimal part is discarded) to become a fixed point number.
The main basis for reasonably scaling the data in step S4 in the present invention is unit, precision and data range. For example, a single-chip microcomputer system has a group of three-dimensional movement speeds of moving objects, namely log data
Vx=-0.5215456m/s Vy=1.6456872m/s Vz=0.2356863m/s
The three-dimensional movement speeds are stored in a single-precision floating point (float) in a 32-bit single-chip microcomputer, and each data occupies 4 bytes. If the data is directly journaled in floating point type, the amount of data generated by one journaling is 12 bytes. Now if the accuracy requirement for the speed in the data analysis is 0.01m/s (i.e. 1cm/s) and the maximum three-dimensional speed of the system design is 10m/s (i.e. 1000cm/s), the scaling factor 100 can be selected to scale the three-dimensional speed and take the integer result, i.e. the integer result
Vx1=-0.5215456*100≈-52cm/s
Vy1=1.6456872*100≈164cm/s
Vz1=0.2356863*100≈23cm/s
Thus, the log storage can be performed with a short integer number (short). The scaled three-dimensional speed log record only generates 6 bytes of data, which is reduced by half compared with the data before scaling, and does not bring any disadvantages to the analysis after the fact.
S5: aligning the log data to an integer multiple N of the sector size;
for most storage media, the data read-write efficiency of sector alignment is the highest, and the multi-sector data read-write efficiency is higher than that of single-sector data read-write. And when the data in the circular FIFO buffer area is not enough to be aligned to the preset sector number N, the log storage operation is not executed, and the data is continuously pre-stored in the circular FIFO. And executing the multi-sector log storage operation until the data in the circular FIFO buffer zone is aligned to the preset sector number N.
Figure BDA0002426165860000071
Where [ ] is the rounding function.
If N is not less than the preset value, the step S6 is executed, otherwise, the step S4 is executed;
s6: and directly writing the sectors to which the files are allocated (storing the multi-sector log files).
Step S6 is actually to perform the file storage operation, but only to write a plurality of sectors directly, which is different from the process of writing the file through the file system management described in fig. 2.
The operation of the file is very complicated, the file directory is updated, and the efficiency is very low. After the pre-allocation of continuous storage space for the log file is finished, the starting sector number (S) and the ending sector number (E) of the file can be obtained, so that the sector to which the file belongs can be directly read and written. Starting to store from the initial sector of the file, and setting the data volume stored each time as N sectors, then
S=S+N
I.e. each storage starts from the next N sectors of the last storage sector.
If S > E, the file size obtained by preprocessing is not enough to store the log file generated by one task, and reasonable preprocessing needs to be carried out again.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (7)

1. A method for efficiently storing log files in a single chip microcomputer system is characterized by comprising the following steps:
s1: pretreatment: pre-calculating the size of a required file and the size of a required cyclic FIFO;
s2: pre-allocating continuous file storage areas;
searching a continuous storage area with the size equal to the size of the required file in the memory according to the size of the required file obtained by preprocessing in the step S1, allocating the storage area to the log file, and obtaining a starting sector S and an ending sector E of the file;
s3: initializing a circular FIFO buffer;
initializing a memory as a circular FIFO buffer according to the size of the circular FIFO obtained by preprocessing in the step S1;
s4: reasonably scaling the data and storing the data into a circular FIFO buffer;
if the log data are floating point data, zooming the data, converting the floating point data into fixed point data, and storing the fixed point data into a circular FIFO buffer; if the log data is fixed point number, directly storing the log data into a circular FIFO buffer;
s5: aligning the log data to an integer multiple N of the sector size;
if N is not less than the preset value, the step S6 is executed, otherwise, the step S4 is executed;
s6: storing the multi-sector log file in an iterative mode;
in the step S1, the size of the required file is calculated according to the application scene and the log recording requirement; the calculation formula is as follows:
the required file size is continuous working time length, main circulation frequency and data amount recorded in each circulation
In the step S1, the size of the needed cycle FIFO is calculated according to the log data volume, the performance of the single chip microcomputer and the performance of the memory; the calculation formula is as follows:
the required cycle FIFO size is the maximum write time x main cycle frequency x amount of data recorded per cycle.
2. The method for efficiently storing log files in a single chip microcomputer system as claimed in claim 1, wherein the data scaling in step S4 is based on unit, precision and data range.
3. The method according to claim 1, wherein in step S5, if the data in the circular FIFO buffer is not sufficient to align to the preset number of sectors N, the log file storage operation is not performed, and the data is continuously pre-stored in the circular FIFO buffer; and executing the multi-sector log file storage operation until the data in the circular FIFO buffer zone is aligned to the preset sector number N.
4. The method according to claim 1, wherein in step S4, if the resources of the single chip microcomputer system are insufficient or the memory is busy, the log data is pre-stored in the circular FIFO buffer; if the resources of the single chip microcomputer system are sufficient and the storage is idle, the log data in the circular FIFO buffer is read out at one time for storage.
5. The method of claim 1, wherein the step S5 aligns the log data to an integer multiple of the sector size according to the following formula:
Figure FDA0002696161710000021
where [ ] is the rounding function.
6. The method for efficiently storing log files in a single chip microcomputer system as claimed in claim 1, wherein the specific way of performing multi-sector log file storage in an iterative manner in step S6 is as follows:
starting to store from a file initial sector S, setting the data storage amount each time as N sectors, and calculating according to the following formula:
S=S+N
that is, each time the storage starts from the last N sectors subsequent to the starting sector;
if S > E, the file size obtained by preprocessing is not enough to store the log file generated by one task, preprocessing needs to be carried out again, and the step S1 is returned; if S ≦ E, then steps S4 through S6 are repeated.
7. The method of claim 1, wherein the steps between the step S1 and the step S2 further comprise initializing an external memory, mounting an external memory file system, and opening/creating a log file.
CN202010221348.9A 2020-03-26 2020-03-26 Method for efficiently storing log files in single chip microcomputer system Active CN111444154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010221348.9A CN111444154B (en) 2020-03-26 2020-03-26 Method for efficiently storing log files in single chip microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010221348.9A CN111444154B (en) 2020-03-26 2020-03-26 Method for efficiently storing log files in single chip microcomputer system

Publications (2)

Publication Number Publication Date
CN111444154A CN111444154A (en) 2020-07-24
CN111444154B true CN111444154B (en) 2020-11-27

Family

ID=71648723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010221348.9A Active CN111444154B (en) 2020-03-26 2020-03-26 Method for efficiently storing log files in single chip microcomputer system

Country Status (1)

Country Link
CN (1) CN111444154B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241244A (en) * 2020-10-23 2021-01-19 杭州奔浪信息技术有限公司 Mass storage method of streaming media logs
CN113590046B (en) * 2021-08-03 2023-10-31 艾体威尔电子技术(北京)有限公司 Method for reading and writing file of singlechip

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601612A (en) * 2003-09-26 2005-03-30 日立环球储存科技荷兰有限公司 Log-structured file system for disk drives with shingled writing
CN101968791A (en) * 2010-08-10 2011-02-09 深圳市飘移网络技术有限公司 Data storage method and device
CN102567184A (en) * 2011-12-27 2012-07-11 青岛海信宽带多媒体技术有限公司 Journal storage method based on Flash
US9047226B2 (en) * 2013-03-21 2015-06-02 Sharp Laboratories Of America, Inc. Computing device having optimized file system and methods for use therein
US9317521B1 (en) * 2012-12-28 2016-04-19 Emc Corporation Cloud object store for checkpoints of high performance computing applications using decoupling middleware
CN108334277A (en) * 2017-05-10 2018-07-27 中兴通讯股份有限公司 A kind of daily record write-in and synchronous method, device, system, computer storage media
CN109710578A (en) * 2018-11-13 2019-05-03 北京奇艺世纪科技有限公司 A kind of log recording method and system
CN110222020A (en) * 2019-05-07 2019-09-10 平安科技(深圳)有限公司 Log file management method, device, computer equipment and storage medium
CN110568490A (en) * 2019-08-21 2019-12-13 中国石油化工股份有限公司 Identification method for high-speed stratum top thin reservoir
CN110785952A (en) * 2017-06-14 2020-02-11 Idac控股公司 Two-stage scrambling for polarization encoded PDCCH transmission

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004090722A1 (en) * 2003-04-11 2004-10-21 Star Softcomm Pte Ltd Data isolation system and method
CN101226339B (en) * 2007-12-28 2010-08-25 上海微电子装备有限公司 FIFO data storage system containing multiple capture channels and method thereof
CN102122284B (en) * 2010-01-08 2014-07-02 腾讯科技(深圳)有限公司 Compound document storage and read-write method and compound document storage and read-write device
CN106170773A (en) * 2014-01-09 2016-11-30 桑迪士克科技有限责任公司 On naked core, the selectivity of buffer-type nonvolatile memory returns and copies
CN105589662B (en) * 2015-12-21 2018-10-02 上海华测导航技术股份有限公司 A kind of GNSS receiver data storage and management method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601612A (en) * 2003-09-26 2005-03-30 日立环球储存科技荷兰有限公司 Log-structured file system for disk drives with shingled writing
CN101968791A (en) * 2010-08-10 2011-02-09 深圳市飘移网络技术有限公司 Data storage method and device
CN102567184A (en) * 2011-12-27 2012-07-11 青岛海信宽带多媒体技术有限公司 Journal storage method based on Flash
US9317521B1 (en) * 2012-12-28 2016-04-19 Emc Corporation Cloud object store for checkpoints of high performance computing applications using decoupling middleware
US9047226B2 (en) * 2013-03-21 2015-06-02 Sharp Laboratories Of America, Inc. Computing device having optimized file system and methods for use therein
CN108334277A (en) * 2017-05-10 2018-07-27 中兴通讯股份有限公司 A kind of daily record write-in and synchronous method, device, system, computer storage media
CN110785952A (en) * 2017-06-14 2020-02-11 Idac控股公司 Two-stage scrambling for polarization encoded PDCCH transmission
CN109710578A (en) * 2018-11-13 2019-05-03 北京奇艺世纪科技有限公司 A kind of log recording method and system
CN110222020A (en) * 2019-05-07 2019-09-10 平安科技(深圳)有限公司 Log file management method, device, computer equipment and storage medium
CN110568490A (en) * 2019-08-21 2019-12-13 中国石油化工股份有限公司 Identification method for high-speed stratum top thin reservoir

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Windows的持续数据保护系统的研究与实现;张妤芝;《中国优秀硕士学位论文全文数据库信息科技辑》;20101015(第10期);I138-36 *

Also Published As

Publication number Publication date
CN111444154A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN102662690B (en) Method and apparatus for starting application program
US9658826B2 (en) Sorting multiple records of data using ranges of key values
US8959490B2 (en) Optimizing heap memory usage
CN111444154B (en) Method for efficiently storing log files in single chip microcomputer system
CN114138776A (en) Method, system, apparatus and medium for graph structure and graph attribute separation design
CN115237599B (en) Rendering task processing method and device
US20020056077A1 (en) Method and apparatus for determining a maximum number of live registers
CN113886281A (en) Data storage management method of embedded NOR FLASH chip
US20230394307A1 (en) Data caching method and apparatus for multiple concurrent deep learning training tasks
CN115470235A (en) Data processing method, device and equipment
CN115933994B (en) Data processing method and device, electronic equipment and storage medium
US11080299B2 (en) Methods and apparatus to partition a database
CN115544074A (en) Data query method and device
CN116150209A (en) Report computing system, method, electronic equipment and storage medium
CN113641681B (en) Space self-adaptive mass data query method
CN110377601B (en) B-tree data structure-based MapReduce calculation process optimization method
CN115576924A (en) Data migration method
CN112035380B (en) Data processing method, device and equipment and readable storage medium
CN111459848B (en) File fragment sorting method and device, storage medium and electronic equipment
Ripley et al. Performance of storage management in an implementation of SNOBOL4
CN117632264B (en) SAR data rapid parallel processing method
CN117393046B (en) Space transcriptome sequencing method, system, medium and equipment
CN117349326A (en) Static data query method and system
CN113987042A (en) Method, computing unit and computer system for computing optimal performance of database batch insertion
CN111831446A (en) Data read-write method, device and medium based on Disproptor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant