Check patentability & draft patents in minutes with Patsnap Eureka AI!

A log data storage method and device

A log and data technology, applied in the direction of data exchange network, electrical digital data processing, special data processing applications, etc., can solve the problem of reducing the writing speed or browsing speed of log files, slowing down the opening speed of log files, and writing log files Speed ​​reduction and other issues to achieve the effect of improving reading speed and reading efficiency, avoiding slow opening speed, and improving writing speed

Inactive Publication Date: 2011-06-29
SHENGNUO NETWORK TECHSHANGHAI
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in practical applications, the above-mentioned method of writing log information to files has relatively large defects.
[0007]First of all, if frequently appending content to the log file will cause this kind of operation of updating file system information to occur frequently, and because the operation of appending file content and updating file system information is An inseparable process, which in turn reduces the writing speed of log files and increases the pressure on system IO (input and output), especially for message systems that require a large number of file operations
[0008]Secondly, the log file management method commonly used in the current system is to write the logs of the same day into a log file. This method will first bring the above-mentioned log file write The input speed decreases, which increases the IO pressure of the system; secondly, when there is a lot of log data to be recorded, the log file is too large to seriously slow down the opening speed of the file, which may further reduce the writing speed or browsing speed of the log file

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
  • A log data storage method and device
  • A log data storage method and device
  • A log data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046]Fig. 7 is a structural block diagram of an embodiment of a device for reading log data according to the present invention.

[0047] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0048] The invention is applicable to numerous general purpose and special purpose computing system environments or configurations. For example: personal computer, server computer, handheld or portable device, tablet type device, multiprocessor system, network PC, distributed computing environment including any of the above systems or devices, etc.

[0049] The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that...

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 provides a storage method of journal data, and includes the steps that the journal data needed to be stored is obtained; whether the length of the journal data exceeds the length of a basic block of a presetting journal file is judged; the journal file includes the basic block and an expanding block which both have vested bytes; if exceeding, the journal data is recorded in the expanding block of the presetting journal file; if not exceeding, the journal data is recorded in the empty basic block of the journal file; each basic block is corresponding to a journal record. The invention creates the journal file in advance, and marks off the basic block and the expanding block in the journal file, general journal data can be directly stored in one basic block, and special long journal data can be stored in the expanding block, thereby avoiding from changing the length of the journal file when recording the journal data every time, improving the writing speed and reducing theIO pressure to the system.

Description

technical field [0001] The invention relates to the technical field of computer message processing, in particular to a method and a device for storing log data of a message processing system on a disk. Background technique [0002] A message processing system generally refers to a computer software system that helps users transfer messages between networks. The specific applications include e-mail systems, mobile phone short message gateways, and mobile phone MMS gateways. [0003] In the message processing system, the log module is mainly used to record the operation status of the entire system and user operation behaviors, etc. Each preset log record point in the system will generate a log message. With the operation of the system, the system will Continuously generate log information. The log information can be displayed on the terminal monitor that logs into the system. This method is mainly used for user debugging and checking the system status; the log information can...

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 Patents(China)
IPC IPC(8): G06F17/30H04L12/58
Inventor 蔡永航邵小唐
Owner SHENGNUO NETWORK TECHSHANGHAI
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More