Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2018-05-04
CHINAUMS
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When an event involves the interactive processing of multiple information processing nodes, each information processing node will generate a corresponding log, but because the log identifiers generated by different information processing nodes are different, they cannot be correlated with each other. When searching for logs in the processing process, it may not be possible to search for related logs across different information processing nodes, resulting in difficulties in maintenance work; or it is necessary to perform unified transformation on each information processing node, specifying the format or method of log generation, resulting in high transformation costs

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
  • Message log generating method and device, query method and information processing system
  • Message log generating method and device, query method and information processing system
  • Message log generating method and device, query method and information processing system

Examples

Experimental program
Comparison scheme
Effect test

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...

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 message log generating method and device, a query method and an information processing system. The information processing system comprises a plurality of information processing nodes. The method comprises the steps that a first to-be-processed target message is received to generate a first log; a first hash value is obtained according to the content of the first target message, and the first hash value serves as a first identifier of the first log; a second to-be-sent target message obtained by processing the first target message is obtained, and a second hash value isobtained according to the content of the second target message; the second target message is sent to generate a second log, and the second hash value serves as a second identifier of the second log;the first hash value is associated with the second hash value. Therefore, the log correlation between different information processing nodes is achieved under the condition that existing information processing nodes are not greatly changed.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a message log generation method, device, query method and information processing system. Background technique [0002] In the process of information processing, information processing nodes often generate logs according to the event processing process. Different information processing nodes may record logs in different ways, and the generated logs have different log identifiers for searching logs. When an event involves the interactive processing of multiple information processing nodes, each information processing node will generate a corresponding log, but because the log identifiers generated by different information processing nodes are different, they cannot be correlated with each other. When searching for logs in the processing process, it may not be possible to search for related logs across different information processing nodes, resulting in diffi...

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): G06F17/30
CPCG06F16/137G06F16/1815
Inventor 谢群松吴宇晖陈泽赢杨继业于卫国孙毅邓福平林贵祥陈铁蔡朝辉饶奋兴郭宇吕奔王俊李科云
Owner CHINAUMS