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

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, the request message of application server 3 also has It may be collected before request 1 and request 2, and the follow-up playback system will have timing confusion when playing back the received messages, resulting in transaction failure

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

Embodiment Construction

[0063] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

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

[0065] In view of the fact that the current existing technology fails to process the collect...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products