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

Asynchronous processing method for computer log data and medium and system thereof

An asynchronous processing, computer technology, applied in electrical digital data processing, computing, transaction processing, etc., can solve the problems of increasing the difficulty of distinguishing thread logs, affecting system performance, and increasing system load, so as to facilitate troubleshooting of error causes and improve system performance. performance, the effect of achieving high efficiency

Inactive Publication Date: 2018-07-24
广州江南科友科技股份有限公司
View PDF10 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Even part of the log view still needs to use tools to filter out the transaction logs to see the complete transaction logs of each transaction, which will further increase the difficulty of distinguishing the logs of each thread
Therefore, thread locks are required for multi-threaded operations, resulting in increased system load and seriously affecting system 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
  • Asynchronous processing method for computer log data and medium and system thereof
  • Asynchronous processing method for computer log data and medium and system thereof
  • Asynchronous processing method for computer log data and medium and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] A computer log data asynchronous processing method and its medium and system of the present invention are described in conjunction with the accompanying drawings.

[0055] Such as figure 2 As shown, the asynchronous processing method of the computer log data shown includes a worker thread and a log writing thread, and the processing steps include:

[0056] Step 1: Start the worker thread to perform transaction operations, such as transaction transactions, respond to fund transaction work, and perform transaction work;

[0057] Step 2: Record the behavior information generated by executing the transaction in the computer cache; the computer cache is a buffer for data exchange, including but not limited to caches at all levels of the computer central processing unit, computer memory or temporary storage space divided by computer disks.

[0058] Step 3: Determine whether the transaction is over;

[0059] Specifically, it is a behavior instruction to judge whether the tr...

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 an asynchronous processing method for computer log data and a medium and a system thereof. The system comprises a working thread and a log writing thread, and the method comprises the steps of starting the working thread to perform transaction operations; recording behavior information generated through transaction execution in a computer cache; determining whether or not transactions end; sending the ended transaction behavior information to a temporary storage queue which is temporary storage space in a computer memory; starting the log writing thread, reading the behavior information of the temporary storage queue, and writing the behavior information into a log file. The method aims at a log writing operation problem in the prior art, in particular to the log write problem in the case of multi-thread concurrency, so that log data writing does not affect normal execution operations and the multi-threaded log data is written into and normalized, and the methodautomatically distinguishes error logs, effectively ensures the integrity and classification of the log data, and improves system performance.

Description

technical field [0001] The invention relates to the field of computer data processing, in particular to an asynchronous processing method of computer log data and its medium and system. Background technique [0002] With the increasing development of computer technology, when developing high-performance and high-concurrency computer servers, it is essential to record logs in the background system, especially in the practical application of password service platforms, integrated key management systems, and card production systems. Recording logs is convenient for troubleshooting in the background. When the performance of the log library of the background service system is not good, it will seriously affect the performance of the platform system. [0003] In the prior art log library, every time a line of log is recorded, an operation is written into the log file. For example, each transaction in the background service program will record multiple logs, and each log needs to ...

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/34G06F9/46G06F9/48
CPCG06F9/466G06F9/4881G06F11/3476G06F2209/481
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