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

Method for reading and writing log linked list data in memories

A memory and log technology, applied in memory systems, electrical digital data processing, instruments, etc., can solve the problems of poor real-time performance and slow display speed of log data, and achieve the effect of fast display speed and strong real-time performance

Active Publication Date: 2017-07-04
BEIJING AEONMED
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to overcome the inconsistency between the existing log data storage sequence and the log data display sequence, resulting in the defects of slow log data display speed and poor real-time performance, thereby providing a log linked list data reading and writing that can effectively improve the log display speed method

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 for reading and writing log linked list data in memories
  • Method for reading and writing log linked list data in memories

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described now in conjunction with accompanying drawing.

[0023] figure 1 It is a schematic diagram of the log displayed on the GUI. As shown in the figure, the log is displayed in the form of pages on the GUI, and each page has multiple records. During the operation of the machine, there will be multiple such pages, which have the functions of turning pages up and down, and when there are new logs, the content displayed on the page needs to be updated in real time.

[0024] Combine below figure 2 The method of reading and writing log linked list data in memory is described. The method includes:

[0025] Step 101), initializing the write address WarnSave and the read address PageAddr. in,

[0026] The write address WarnSave includes two elements: addr and num, where addr represents the storage address of the latest record, and num represents the total number of records stored. When initializing the write address WarnSave, the...

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 relates to a method for writing log linked list data in memories. The method comprises the following steps of: initializing a write address WarnSave and a read address PageAddr, wherein the write address WarnSave comprises two elements: addr and num, addr represents a newly recorded storage address, num represents the number of all the stored records, when the write address WarnSave is initialized, the numerical value of num is 0 and the size of addr is a record length multiplied by the number of to-be-stored records, when log data is stored, the number of the to-be-stored records is a known value, and the read address PageAddr only comprises an address element; and when a new log record exists, writing the log records into a memory from high address to low address, subtracting the length of one record from the write address WarnSave, and endowing the read address PageAddr with the newest write address WarnSave.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a method for reading and writing log linked list data in a memory. Background technique [0002] When data is stored in the memory, it usually follows the first-in-first-out method, that is, the newer the data stored, the later the storage position. Log data is no exception when it comes to storage. However, when using the UI interface to display log data, the latest data needs to be displayed, that is, the latest log data is displayed first, and if there is new log data when it is displayed, it needs to be refreshed in real time. [0003] The inconsistency between the data storage sequence and the log data display sequence results in slow display of log data and poor real-time performance. Contents of the invention [0004] The purpose of the present invention is to overcome the inconsistency between the existing log data storage sequence and the log data display sequence, result...

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
IPC IPC(8): G06F12/06
CPCG06F12/0646
Inventor 宋恒利
Owner BEIJING AEONMED