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

Server log viewing method, device and system

A server and server identification technology, applied in the computer field, can solve the problems of reducing log data storage and query stability, log server downtime, etc., and achieve the effect of reducing requirements, reducing processing load, and improving processing speed

Active Publication Date: 2018-11-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the processing volume of storage requests and log data query requests is large at the same time, it may even cause the log server to go down in serious cases, reducing the stability of log data storage and query

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
  • Server log viewing method, device and system
  • Server log viewing method, device and system
  • Server log viewing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Such as image 3 As shown, it is a schematic diagram of the implementation flow of the server log viewing method provided by the embodiment of the present invention, which may include the following steps:

[0040] S31. Receive the log data query request sent by the requesting party.

[0041] During specific implementation, when a user needs to query log data, he may initiate a log data query request to the log server through the user terminal.

[0042] Preferably, during specific implementation, the user can access the log server through a browser. In order to improve user experience, an embodiment of the present invention also provides a visual interactive interface for a user to access a log server, through which the user can submit a log data query request to the log server.

[0043] In the visual interactive interface, users can pre-configure each service deployed on the service server. When initially creating the service, the user needs to create a correspondenc...

Embodiment 2

[0058] During specific implementation, the service server, the log server, and the user terminal may establish a TCP (Transmission Control Protocol, Transmission Control Protocol) connection for communication. TCP connections include long connections and short connections. The short connection means that when the two parties communicate with each other, a connection is established, and after the data is sent, the connection is disconnected, that is, each connection only completes the sending of one service. In the application scenario of persistent connection, the connection between the client and the server is always maintained, and both parties can send or receive information to each other at any time. In the C / S (client / server) structure, the TCP connection is usually initiated by the client, and the server will not actively request to establish a connection with the client. However, according to the embodiment of the present invention, after the log server receives the log...

Embodiment 3

[0062] In order to meet the diversified needs of users, the third embodiment can provide a log query function according to different needs of users on the basis of the first embodiment. Based on this, in the server log viewing method provided by the embodiment of the present invention, the log data filter condition may also be carried in the date indication query request. Preferably, the log filter condition may include at least one of the following: log query time period, log query Keyword and log level information. Among them, the log level is to add an identifier to each log according to the importance of each log. Different identifiers represent different levels. Generally, there are six log levels: TRACE, DEBUG, INFO, WARN, ERROR, and FATAL.

[0063] Based on this, if the log data query request received carries the log data filter condition, the log data acquisition request sent to the service server in step S32 also carries the log data filter condition, and the service ...

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 discloses a server log viewing method, device and system used for reducing the processing load of a log server and improving the processing speed of server log storage and query. The server log viewing method comprises the following steps: receiving a log data query request sent by a requester, wherein the log data query request carries a service identifier; determining, according toa corresponding relationship between the pre-created service identifier and a service server identifier, at least one service server identifier corresponding to the service identifier carried in thelog data query request; sending, according to the determined at least one service server identifier, the log data acquisition request to a corresponding service server, wherein the service server stores log data of own running services; receiving log data returned by the service server for a log data acquisition request; and sending the received log data to the requester.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a server log viewing method, device and system. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] The server log records various raw information such as the server receives processing requests and runtime errors. Through statistics, analysis and synthesis of logs, we can effectively grasp the running status of the server, find and eliminate the cause of errors, understand the distribution of user access, etc., and better strengthen the maintenance and management of the system. [0004] Since a business may be deployed on multiple servers, in order to facilitate users to view server logs, centralized management is usually adopted, such as figure 1 As shown, it is a schematic...

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): H04L29/08H04L12/24
CPCH04L41/22H04L67/10H04L67/1001H04L67/63
Inventor 吴文斌吴浩
Owner TENCENT TECH (SHENZHEN) CO LTD
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