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

Method and apparatus for monitoring transaction timeout

A transaction and transaction processing technology, applied in the field of data processing, can solve problems such as inability to process correctly and generate large processing delays, and achieve the effects of ensuring timeliness, reducing processing delays, and reducing database pressure

Active Publication Date: 2019-01-01
CHINA UNIONPAY
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This way of working cannot correctly handle transactions at the critical point of timeout
Assuming that the polling period is 30s, when a transaction is polled by the polling process, it is still 1s before the processing end time. Since this transaction cannot be marked as a timeout transaction, it can only be processed after the next poll after 30s. will cause a large processing delay

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
  • Method and apparatus for monitoring transaction timeout
  • Method and apparatus for monitoring transaction timeout
  • Method and apparatus for monitoring transaction timeout

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] 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. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . 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.

[0063] An embodiment of the present invention provides a transaction timeout monitoring method. Such as figure 1 As shown, the transaction timeout monitoring method provided by the embodiment of the present invention includes the following steps:

[0064] Step 101, determine the transaction processing duration of the transaction.

[0065]Step 102: Divide the transactions into monitoring groups according to the transaction processing time...

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 relates to the technical field of data processing, in particular to a transaction timeout monitoring method and a device thereof, which are used for reducing the processing delay of the timeout transaction. The embodiment of the invention comprises the following steps: determining the transaction processing time length of the transaction; dividing the transaction into monitoring packets according to a transaction processing time of the transaction; the timeout judgment of the transaction in the corresponding monitoring group is carried out at different time points. Transaction timeout processing is performed on transactions determined to be timeout.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a transaction overtime monitoring method and device. Background technique [0002] Existing technology monitors transaction timeout, mainly by polling the records of the database flow table for batch processing. For example, when a transaction information is stored in the database, the processing start time and processing end time will be set, and the transaction status flag will be set when the transaction ends. In the transaction framework, there is a separate process for database polling, which polls every X seconds to detect whether there is a transaction in the database pipeline that has not ended with a timeout mark but has exceeded the processing time. For these timeout transactions, the polling process will update the timeout mark and then perform transaction timeout processing. The overtime transaction is processed immediately, and the transaction that has not ...

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): G06F11/07
CPCG06F11/0757
Inventor 乔子木缪海波刘蓉
Owner CHINA UNIONPAY
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