Search International and National Patent Collections
|1. (WO2018121404) METHOD AND DEVICE FOR TIMEOUT MONITORING|
|Applicants:||CHINA UNIONPAY CO., LTD.
|Title:||METHOD AND DEVICE FOR TIMEOUT MONITORING|
The present invention relates to the technical field of data processing, and disclosed are a method and device for timeout monitoring, comprising: a server determining key information of a request message, the key information including a sending time of the request message; the server storing the key information to a first level cache; the server scanning the first level cache according to a set frequency, if the first level cache includes a first request message, storing the key information of the first request message into a second level cache, the first request message being a request message for which a reply message is not received; the server scanning the second level cache, and determining by means of a message log whether a reply message is received for a second request message in the second level cache, if not, the second request message times out, wherein the second request message is a request message in which the difference value between a sending time and a current time is greater than a time-out threshold value. The present invention solves the problem in the prior art wherein performing timeout monitoring on a request requires the consumption of a relatively large amount of database resources.