Transaction log playback method and device, computer equipment and medium

A transaction log and log technology, which is applied in computing, multi-programming device, program control design, etc., can solve the problems of difficult common use of log playback system, high cost, log difference, etc., and achieve the effect of configurable

Pending Publication Date: 2022-05-06
AGRICULTURAL BANK OF CHINA
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The cost of developing a log playback system is relatively high, but it is difficult to share the log playback systems of different systems
[0003] In the process of implementing the present invention, the inventor found that the existing technology has the following defects: the current system implementing the log playback method cannot be uniformly applied to the log playback of different systems due to problems such as differences in logs of different systems

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 playback method and device, computer equipment and medium
  • Transaction log playback method and device, computer equipment and medium
  • Transaction log playback method and device, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a flow chart of a transaction log playback method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of playing back log files of different systems. The method in this embodiment can be executed by a transaction log playback device, which can be implemented by means of software and / or hardware, and which can be configured on a server. Correspondingly, the method specifically includes the following steps:

[0026] S110. Acquiring log splitting subtasks, log distribution subtasks and log playback subtasks.

[0027] Wherein, the log splitting subtask may refer to a splitting program for multiple log splitting subfiles obtained by splitting one log file. The log distribution subtask may refer to a distribution program that distributes multiple split log subfiles to corresponding execution nodes. The log playback subtask may refer to a playback program that splits subfiles according to multiple logs, and plays...

Embodiment 2

[0049] figure 2 It is a flow chart of another transaction log playback method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment preferably triggers the execution of the serial task, and the centralized transactions in the transaction log The log sequence execution log splitting and playback processing operations are further refined. This method specifically includes the following steps:

[0050] S210. Acquiring log splitting subtasks, log distribution subtasks and log playback subtasks.

[0051] S220. Using the Jenkins tool, the log splitting subtasks, log distribution subtasks, and log playback subtasks are sequentially configured in matching execution nodes, and combined to obtain serial tasks.

[0052] S230. Using the Jenkins tool, configure execution parameters respectively corresponding to the log splitting subtask, the log distribution subtask, and the log playback subtask.

[0053] S240. Associating th...

Embodiment 3

[0082] image 3 It is a schematic structural diagram of a transaction log playback device provided by Embodiment 3 of the present invention, and the device can implement a transaction log playback method in the embodiment of the present invention. Such as image 3 As shown, the device may specifically include: a subtask acquisition module 310 , a serial task combination module 320 , an execution parameter configuration module 330 and a log splitting and playback processing module 340 .

[0083] Wherein, the subtask acquisition module 310 is used to acquire log splitting subtasks, log distribution subtasks and log playback subtasks;

[0084] The serial task combination module 320 is used to split the log into subtasks, log distribution subtasks and log playback subtasks in the matching execution nodes in sequence through the Jenkins tool, and combine to obtain serial tasks;

[0085] The execution parameter configuration module 330 is used to configure the execution parameters...

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 discloses a transaction log playback method and device, computer equipment and a medium. The method comprises the steps of obtaining a log splitting sub-task, a log distribution sub-task and a log playback sub-task; sequentially configuring the log splitting sub-task, the log distribution sub-task and the log playback sub-task in matched execution nodes through a Jenkins tool, and combining to obtain a serial task; through a Jenkins tool, configuring execution parameters respectively corresponding to the log splitting sub-task, the log distribution sub-task and the log playback sub-task; and associating the serial task with the transaction log set, triggering the execution of the serial task, and sequentially performing log splitting and playback processing on each transaction log in the transaction log set. According to the technical scheme, the efficient log playback method is provided, the effect that the execution parameters are configurable is achieved, and the log playback method is suitable for log playback of different systems.

Description

technical field [0001] Embodiments of the present invention relate to log data processing technology, and in particular, relate to a transaction log playback method, device, computer equipment and media. Background technique [0002] In order to analyze the security of the transaction, it can be detected based on the replay of the transaction log data. Log playback includes a series of tasks, such as log file organization, file splitting, and log playback. The cost of developing a log playback system is relatively high, but it is difficult to share log playback systems of different systems. [0003] In the process of implementing the present invention, the inventor found that the existing technology has the following defects: the current system implementing the log playback method cannot be uniformly applied to the log playback of different systems due to problems such as differences in logs of different systems. Contents of the invention [0004] Embodiments of the pres...

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): G06F16/18G06F9/48
CPCG06F16/1815G06F9/4843
Inventor 鲁淳兮李辉
Owner AGRICULTURAL BANK OF CHINA
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