Business log query method and system of distributed system, medium and equipment

A distributed system and distributed server technology, applied in the field of information security, can solve the problems of performance redundancy, huge data, and high cost, and achieve the effects of improving operation and maintenance work efficiency, efficient query, and shortening fault handling time.

Pending Publication Date: 2020-04-28
北京思特奇信息技术股份有限公司
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the method of importing a full amount of logs into the database results in a large waste of database space and huge data, high cost and redundant performance

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
  • Business log query method and system of distributed system, medium and equipment
  • Business log query method and system of distributed system, medium and equipment
  • Business log query method and system of distributed system, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0017] figure 1 It is a schematic flowchart of a method for querying business logs in a distributed system provided by an embodiment of the present invention. like figure 1 As shown, the method includes:

[0018] Generate a query request including a log attribute number, the log attribute number including log attribution host IP, log attribution date information and transaction flow; sending the query request to the distributed server corresponding to the log attribution host IP;

[0019] The probe program deployed on the distributed server receives and parses the query request, obtains log attribution date information and transaction flow; queries the log start position and transaction flow corresponding to the t...

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 service log query method and a system of a distributed system, a medium and equipment. The method comprises the following steps: generating a query request comprising a logattribute number, and sending the query request to a distributed server; receiving and analyzing the query request by the distributed server, and obtaining log attribution date information and transaction flow; querying a log starting position and a log ending position corresponding to the transaction flow from the memory and / or index record file; and opening a corresponding date log file according to the log affiliation date information, obtaining a log data message between the log starting position and the log ending position from the date log file, and feeding back the log data message to the requester. According to the log query method provided by the embodiment of the invention, the server where the log is located, the log file on the server and the position of the log segment in thelog file can be quickly positioned, the service log of the distributed system can be efficiently queried, the operation and maintenance work efficiency is improved, and the fault processing time is shortened.

Description

technical field [0001] The present invention relates to the technical field of information security, in particular to a service log query method, system, medium and equipment of a distributed system. Background technique [0002] After the large-scale business system has gone through: single server to multi-server, and then to large-scale distributed application processing, while improving the stability and availability of the system, as well as concurrent performance and expenditure costs, the operation and maintenance of distributed systems have also experienced many changes. problems and shortcomings. For example: software upgrade and update, fault location, log analysis, etc. [0003] In the prior art, a method of importing a full amount of logs into the database is adopted, which results in a large waste of database space and huge data, high cost and redundant performance. Contents of the invention [0004] The technical problem to be solved by the present invention...

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): G06F16/18G06F16/182G06F11/34
CPCG06F16/1815G06F16/182G06F11/3476
Inventor 肖丽娟
Owner 北京思特奇信息技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products