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

Interface log configuration and structured storage method and system

A structured storage and structured technology, applied in the computer field, can solve problems such as difficulties in finding logs, downloading and opening, and finding problems, so as to reduce the workload of code development, facilitate quick location of problems, and ensure uniqueness.

Inactive Publication Date: 2021-05-04
道和云科技(天津)有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. There are more and more types of logs recorded, and it is difficult to find a certain type of log;
[0005] 2. The log file is not easy to search and locate the log, and it is difficult to find the problem
[0006] 3. The content of log files accumulates more and more, the files are getting bigger and bigger, and the storage space requirements are getting higher and higher. When the file exceeds a certain size, it is difficult to download and open

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
  • Interface log configuration and structured storage method and system
  • Interface log configuration and structured storage method and system
  • Interface log configuration and structured storage method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] see figure 1 , figure 1 A schematic diagram of the steps of an interface log configuration and structured storage method provided by the embodiment of the present invention is as follows:

[0037] Step S100, receiving and analyzing the interface log storage request;

[0038] Specifically, the first preset rule may be a log filter condition, the second preset rule may be a structural rule, and the third preset rule may be a storage field rule.

[0039] In some implementations, the request information is received and stored in the interface log and analyzed. When the data size is relatively small, for example: tens of MB or hundreds of MB, etc., when the stand-alone processing is still tolerable, you can use awk, grep, sort , join, etc. for log parsing. If there is a slightly complicated logic, use a scripting language, such as perl, to solve it with regular expressions.

[0040] Step S110, according to the first preset rule of the interface log, it is judged whether t...

Embodiment 2

[0055] see figure 2 , figure 2 A schematic diagram of the detailed steps of an interface log configuration and structured storage method provided by the embodiment of the present invention is as follows:

[0056] Step S200, initiate an interface log storage request instruction.

[0057] Step S210, receiving and parsing the interface log storage request, receiving the log filter condition, structured rule and storage field rule of the interface log.

[0058] Step S220, according to the log filtering condition of the interface log, it is judged whether the interface log storage request satisfies the condition corresponding to the log filtering condition.

[0059] Step S230, acquiring structured information stored in the interface log according to the structure of the interface log.

[0060] Step S240, store the log information in the target database according to the interface log storage field rule.

[0061] Step S250, after saving the interface log information, judge whet...

Embodiment 3

[0064] see image 3 , image 3 A schematic diagram of an interface log configuration and structured storage system module provided by the embodiment of the present invention is as follows:

[0065] The interface processing module 10 is configured to initiate an interface log storage request instruction.

[0066] The interface log storage request receiving module 20 receives and parses the interface log storage request;

[0067] The interface log stores the first processing module 30, judges whether the interface log storage request satisfies the filter condition according to the first preset rule of the interface log, if it ends otherwise, if it is then proceed to the next step;

[0068] The interface log storage second processing module 40 converts the filtered interface log into structured information stored in the interface log according to the second preset rule of the interface log;

[0069] The interface log storage third processing module 50 stores the log informatio...

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 an interface log configuration and structured storage method and system, and relates to the technical field of computers. The interface log configuration and structured storage method comprises the following steps: receiving and analyzing an interface log storage request; and judging whether the interface log storage request meets a filtering condition or not according to a first preset rule of the interface log, if not, ending, and if yes, carrying out the next step. Through the method, the uniqueness of the interface log can be effectively ensured, operation and maintenance personnel can conveniently inquire the log, unique log information is positioned through key information, and the problem can be conveniently and rapidly positioned. In addition, the invention further provides the interface log configuration and structured storage system which comprises an interface log storage request receiving module, a first interface log storage processing module, a second interface log storage processing module and a third interface log storage processing module.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and system for configurable and structured storage of interface logs. Background technique [0002] Logs are network devices, systems and service programs, etc., which will generate an event record called log during operation. The log records information about all events in the system, including descriptions of date, time, user and actions, and other related operations. By viewing the log, you can understand the operating status of the system at a certain moment. Now system logs are becoming more and more important in system operation and maintenance. During development, information such as system operation logs, database logs, user operation logs, and interface logs will be recorded in log files. Through log analysis, you can find and locate problems and system services. Provide basis for optimization, database performance optimization, network problem preven...

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): G06F16/25G06F16/22G06F11/30
CPCG06F16/258G06F16/22G06F11/3068G06F11/3072G06F2201/80
Inventor 由艳柏龙金泉张成东
Owner 道和云科技(天津)有限公司