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

Troubleshooting method, troubleshooting device and server

A technology for managing servers and faults, applied in the computer field, can solve problems such as increasing the workload of troubleshooting, reducing the efficiency of troubleshooting, and achieving the effect of improving the efficiency of troubleshooting and narrowing the scope of troubleshooting

Active Publication Date: 2018-10-16
SIMPLECREDIT MICRO LENDING CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, as the web application is put into use and the generated logs increase, the commonly used troubleshooting methods will increase the workload of troubleshooting and reduce the efficiency of troubleshooting

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
  • Troubleshooting method, troubleshooting device and server
  • Troubleshooting method, troubleshooting device and server
  • Troubleshooting method, troubleshooting device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] After research, it is found that the current troubleshooting methods for web applications lead to low troubleshooting efficiency when there are many logs or multiple web applications cooperate to process a certain operation request. In view of this problem, the embodiment of the present invention proposes a troubleshooting method, device and server: when the web framework builds the web application, the middleware that can add the identification bit is added to the web application. When an application requests an operation, the server calls the middleware to add flags to the operation request. Next, the server calls the target thread to process the operation request, and adds a flag bit to the log generated during the process. When it is detected that the target thread has a fault alarm in the process of processing the operation request, that is, when the target thread fails in the process of processing the operation request, the server searches the log library for the ...

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 embodiment of the invention provides a troubleshooting method, a troubleshooting device and a server, wherein the method comprises the following steps: when an operation request aiming at a firstwebpage web application is received, adding a flag bit for the operation request, and calling a target thread to process the operation request, meanwhile, adding the flag bit for a log generated in aprocessing procedure; when that the target thread generates fault warning is detected, finding out a target log comprising the flag bit from a log base and outputting the target log, thereby facilitating troubleshooting. With the method, the device and the server provided by the embodiment of the invention, a troubleshooting range can be narrowed, and fault processing efficiency can be improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a troubleshooting method, device and server. Background technique [0002] In a web application, if multiple threads or processes process different operations at the same time, failures are prone to occur. Currently, a commonly used troubleshooting method is to output all logs in the web application, and then artificially search for the cause of the failure in all the logs, and then perform troubleshooting. Obviously, as the web application is put into use and the logs generated increase, the commonly used troubleshooting methods will increase the workload of troubleshooting and reduce the efficiency of troubleshooting. Contents of the invention [0003] The embodiment of the present invention provides a troubleshooting method, device and server, which can reduce the scope of troubleshooting and improve the efficiency of troubleshooting. [0004] The first aspect of the embodiment of...

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): H04L12/24H04L29/08
Inventor 陈岗
Owner SIMPLECREDIT MICRO LENDING 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