Transaction log collection method, device and system

A transaction log and collection device technology, applied in the direction of file systems, file system types, instruments, etc., can solve problems such as transaction failures and timing confusion, improve playback efficiency and playback effects, and avoid transaction failures

Pending Publication Date: 2022-03-01
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the scanning of application server 1 has just ended at this time, it needs to wait for 1 second to start scanning. At this time, the message information of application server 2 may be recorded in the message queue in advance. Similarly,

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
  • Transaction log collection method, device and system
  • Transaction log collection method, device and system
  • Transaction log collection method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0063] Next, the technical solutions in the embodiments of the present invention will be described in connection with the drawings of the embodiments of the present invention, and it is understood that the described embodiments are merely the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art are in the range of the present invention without making creative labor premise.

[0064] Those skilled in the art will appreciate that embodiments of the present invention can be implemented as a system, apparatus, device, method, or computer program product. Therefore, the present disclosure can be embodied in the form of a full hardware, a complete software (including firmware, resident software, microcode, etc.), or in combination of hardware and software.

[0065] In view of the present invention, the present invention provides a transaction log collectio...

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 transaction log collection method, device and system. The transaction log collection method comprises the following steps: putting log files of application servers into a cache queue; determining a time difference according to the tail transaction time and the head message transaction time; determining log output time according to the time difference and the header message transaction time; and sorting the log files in the cache queue according to the transaction time in the log files, and putting the sorted log files into an output message queue according to the log output time. The method can effectively deal with a large amount of logs generated in a short time, ensures that the collected logs are complete and orderly, avoids transaction failure, and further improves the playback efficiency and playback effect of a subsequent account following playback device.

Description

technical field [0001] The present invention relates to the technical field of big data data analysis, in particular to a transaction log collection method, device and system. Background technique [0002] figure 1 is a schematic diagram of transaction log generation. Such as figure 1 As shown, the user initiates a request to the backend through various channels provided by the bank, such as opening an account, lending money, etc., and the server will record each request information (Req, that is, a request message) and response information (Rep, that is, a response message) text) to the log. The transaction playback system reproduces transactions based on logs. The log message collection system is used to collect this message information and send it to the Kafka message queue for consumption by the account playback system. [0003] The banking system is a distributed system, and the logs are distributed on each application server (AP) and updated in real time. The coll...

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/172G06F16/18G06Q40/04
CPCG06F16/1815G06F16/172G06Q40/04
Inventor 余佳齐
Owner CHINA CONSTRUCTION BANK
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