Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Big data service program log processing method and system

A processing method and service program technology, which is applied in the log processing method and system field of big data service programs, can solve the problems of cumbersome log retrieval, facilitate program running status and locate abnormalities, improve the cumbersome log retrieval, and improve performance Effect

Inactive Publication Date: 2021-03-12
深圳前瞻资讯股份有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to improve the cumbersome problem of log retrieval, this application provides a log processing method and system for big data service programs

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
  • Big data service program log processing method and system
  • Big data service program log processing method and system
  • Big data service program log processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0058] As an implementation of the log writing / publishing method, the specific methods of the writing / publishing method include:

[0059] Set the log name;

[0060] Set the last log to write to the index;

[0061] Set the log storage capacity for initializing the buffer (buffer);

[0062] Set up memory buffers for linear storage of logs; and,

[0063] Write a log into the buffer (buffer), and judge whether the last log write index plus one is greater than or equal to the memory buffer capacity, if greater than or equal to, then reset the last log write index to zero, clear the buffer, and then Write the log at the position where the index position of the buffer is zero. If it is less than the capacity of the memory buffer, then write the current log at the position where the index of the last log in the buffer is written plus one, and then write the last log into the index setting Add one to the last log write index.

[0064] As an implementation of the log reading / pulling...

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 big data service program log processing method and system, and belongs to the technical field of big data processing. The processing method comprises the steps: introducinga memory log assembly into a big data background service program, wherein the memory log assembly is used for storing corresponding service logs written according to service requirements; introducinga log subscription server component into the big data background business program; deploying a big data background business program to a specified server, and configuring a log subscription service address and a port for a log subscription server component to use; and opening the log subscription client, and connecting the log subscription client to the log subscription service address. Compared with the prior art, the log processing method and system have the effect of improving the problem that log calling is tedious.

Description

technical field [0001] The present application relates to the field of big data processing technologies, in particular to a method and system for processing logs of big data service programs. Background technique [0002] Big data, a term in the IT industry, refers to a collection of data that cannot be captured, managed, and processed by conventional software tools within a certain period of time. It requires a new processing model to have stronger decision-making power, insights and process optimization capabilities. Massive, high growth rate and diverse information assets. [0003] Network devices, systems, and service programs, etc., will generate an event record called log during operation. Each line of log records the description of related operations such as date, event, user, and action. Windows networks are designed with various log files, such as application logs, security logs, system logs, scheduler service logs, FTP logs, WWW logs, DNS server logs, and so on. ...

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): G06F11/30
CPCG06F11/302G06F11/3055G06F11/3065G06F11/3093G06F2201/865
Inventor 陈恩
Owner 深圳前瞻资讯股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products