Message log generating method and device, query method and information processing system
A query method and log technology, applied in the field of information processing, can solve problems such as inability to correlate with each other, difficult maintenance work, and finding related logs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0063] After a lot of research by the inventor, it is found that different information processing nodes 100 process the same event differently, and the recorded logs are also different, so the logs of different information processing nodes 100 may not be correlated.
[0064] Information processing nodes 100 transmit event information through messages, and messages will not be changed when they are transmitted between two information processing nodes 100, that is, the content of the message sent by the previous information processing node 100 is different from that of the next message processing node 100. The message content received by the information processing node 100 is always the same. Therefore, in this embodiment, the inventor designed to use the hash value of the message transmitted between the information processing nodes 100 as the log identifier of the log generated during the process of processing the message. In this way, the log of the message sent by the previou...
no. 2 example
[0106] Based on the message log generation method provided in the first embodiment, this embodiment provides another message query method for querying the logs generated by the message log generation method. The message log query method will be described in detail below.
[0107] First, determine a log as the baseline log.
[0108] Next, in the information processing node 100 that generates the reference log, a log associated with the reference log and whose log generation time is not earlier than the reference log is queried according to the log identifier of the reference log.
[0109] Then, the second identifier of the second log associated with the reference log in the information processing node 100 of the reference log is obtained. Using the second identifier as the query value, query in other information processing nodes 100 the one with the earliest log generation time among the logs whose first identifier is the same as the query value and whose log generation time i...
no. 3 example
[0136] Based on the message log generation method provided in the first embodiment, this embodiment provides another message query method for querying the logs generated by the message log generation method. The message log query method will be described in detail below.
[0137] First, determine a log as the baseline log.
[0138] Next, in the information processing node 100 that generates the reference log, a log associated with the reference log and whose log generation time is not later than the reference log is queried according to the log identifier of the reference log.
[0139] Then, the first identifier of the first log associated with the reference log in the information processing node 100 of the reference log is obtained. Using the first identifier as the query value, query the logs whose second identifier is the same as the query value in other information processing nodes 100 and whose log generation time is not later than the second log, the log generation time...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


