Log analysis-based business processing method and apparatus, and computer device

A business processing and log technology, applied in computing, electrical digital data processing, instruments, etc., can solve the problems of no business producing positive feedback, no log business combination, etc., to achieve the effect of increasing speed and efficiency

Active Publication Date: 2018-09-07
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF8 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional log records are often only used to locate problems, without combining logs with specific businesses, and without positive feedback to the business

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
  • Log analysis-based business processing method and apparatus, and computer device
  • Log analysis-based business processing method and apparatus, and computer device
  • Log analysis-based business processing method and apparatus, and computer device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] Such as figure 1 As shown, in one embodiment, a business processing method based on log analysis is proposed, the method includes:

[0040] Step 102, acquiring log records within a preset time period.

[0041] Wherein, the preset time period can be customized as required, for example, it can be set to 1 day, 1 week, or 1 month. Specifically, the server regularly collects log records within a preset time period, and the log records record the response time of each service interface being called and the corresponding time of each call.

[0042] In step 104, the average response time and ave...

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 a log analysis-based business processing method. The method comprises the steps of obtaining a log record in a preset time period; according to the log record, performing statistics on an average response duration and an average calling frequency of each business interface; obtaining a business identifier corresponding to each business interface; according to the average response duration and the average calling frequency of each business interface, adjusting a caching duration corresponding to the business identifier, thereby obtaining a target caching duration; and according to the target caching duration, caching business data corresponding to the business identifier. The log analysis-based business processing method is favorable for increasing the user request response speed of a server, so that the user access efficiency is improved. In addition, the invention provides a log analysis-based business processing apparatus, a computer device and a storage medium.

Description

technical field [0001] The invention relates to the field of computer processing, in particular to a log analysis-based business processing method, device, computer equipment and storage medium. Background technique [0002] Logging plays an important role in both the program development phase, the running phase, and the testing phase. One of the most important functions is that when an exception occurs, the recorded log can be used to locate the problem. Traditional log records are often only used to locate problems, without combining logs with specific services, and without generating positive feedback to services. Contents of the invention [0003] Based on this, it is necessary to address the above problems and propose a business processing method, device, computer equipment and storage medium based on log analysis that can improve the response speed of business data. [0004] A business processing method based on log analysis, the method comprising: [0005] Obtain ...

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): G06F11/34
CPCG06F11/3423G06F11/3452G06F11/3476
Inventor 陈百门
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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