CN106301948B - Message flow visualization and monitoring method and system - Google Patents

Message flow visualization and monitoring method and system Download PDF

Info

Publication number
CN106301948B
CN106301948B CN201610799820.0A CN201610799820A CN106301948B CN 106301948 B CN106301948 B CN 106301948B CN 201610799820 A CN201610799820 A CN 201610799820A CN 106301948 B CN106301948 B CN 106301948B
Authority
CN
China
Prior art keywords
message
flow
circulation
state
visualization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610799820.0A
Other languages
Chinese (zh)
Other versions
CN106301948A (en
Inventor
陆瀛海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201610799820.0A priority Critical patent/CN106301948B/en
Publication of CN106301948A publication Critical patent/CN106301948A/en
Application granted granted Critical
Publication of CN106301948B publication Critical patent/CN106301948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications

Abstract

The invention provides a message flow visualization and monitoring method and system, and relates to the technical field of message tracking. The method comprises the following steps: in the process of message circulation, each key node of the message circulation in the message circulation subsystem is monitored in real time, and when each key node arrives, an automatic reference notification pingback is sent to the message tracking server to notify the latest state of the message, the latest state of the message is stored in a database of the message tracking server, and a corresponding visualization device is notified to display the state of the message circulation. The method realizes automatic monitoring and visual display of the message circulation state, and improves the operation and maintenance efficiency.

Description

Message flow visualization and monitoring method and system
Technical Field
The invention relates to the technical field of message tracking, in particular to a message flow visualization and monitoring method and system.
Background
With the increasing of large-scale system service modules, a large application system is often composed of a plurality of subsystems, and corresponding services completed among different subsystems are performed by means of data units of information transmission, such as messages. For example, when the ticket purchasing system purchases tickets on line, the user needs to select the number of cars to be taken in the railway 12306 system first, and then sends a payment request to the payment system, and when the payment is completed, the system informs the user of the ticket purchasing information in a short message manner. In the ticket buying system, a large number of message flows exist among different systems, one message flow passes through a plurality of service systems, and in addition, the number of ticket buying people is large, the payment modes are diversified, and the system can generate huge message flows.
After the large-scale system has a fault in practical application, the prior troubleshooting method mainly comprises the steps of inquiring the log of message flow, analyzing the log of message flow of each service system and positioning a fault point of the system.
In the process of applying the obstacle elimination method, the inventor finds that: when a large-scale system has a plurality of service systems, each service system generally has its own log module, and the message processing logs are dispersed, so that the monitoring is inconvenient, and when a certain message fails, the log modules dispersed in each service system need to be inquired, the checking efficiency is low, and the accuracy is not high.
Disclosure of Invention
In view of the foregoing defects of the prior art, the technical problem to be solved by the present invention is to provide a message flow visualization and monitoring method and system, which are used to monitor the flow state of a message in real time and display the flow state of the message on a message visualization device.
In order to solve the above problems, the invention discloses a message flow visualization and monitoring method, which comprises the following steps:
monitoring each key node of the message flow in the message flow subsystem in real time;
when the message flow reaches a key node, sending an automatic reference notification to a message tracking server, wherein the automatic reference notification comprises: message identification and message status;
storing, by the message tracking server, a message identification and a message status in a database according to the automatic referral notification;
notifying, by the message tracing server, the message identification and message status to a corresponding message visualization device;
and the message visualization device displays the message state according to the message identifier and the message state and the circulation key node track corresponding to the message identifier.
Preferably, after the step of notifying, by the message tracing server, the message identifier and the message status to the corresponding message visualization device, the method further includes:
the message tracking server informs a message flow abnormity warning device of the message identification and the message state;
and the message flow abnormity warning device generates warning information according to the flow key node track of the corresponding message identifier and a preset warning rule.
Preferably, the step of generating the warning information by the message flow abnormal warning device according to the flow key node trajectory of the corresponding message identifier and a preset warning rule includes:
analyzing whether the circulation track of the message is consistent with a preset message execution path and/or analyzing whether the time interval of the message circulation exceeds a preset time threshold.
Preferably, after the step of generating the warning information according to the circulation key node trajectory of the corresponding message identifier and the preset warning rule, the message circulation abnormality warning device further includes:
and displaying the alarm information through a corresponding message visualization device.
Preferably, after the step of notifying, by the message tracing server, the message identifier and the message status to the corresponding message visualization device, the method further includes:
receiving a query request of a user for one or more messages in a message flow query device, wherein the query request comprises a message identifier;
and inquiring all records of the message identification from the database by the message flow inquiring device.
Preferably, the step of querying all records of the message identifier from the database by the message flow querying device includes:
and continuously collecting all records of the same message identification in the database according to the sequence of the time for sending the automatic reference notification to the message tracking server.
Preferably, after the step of querying all records of the message identifier from the database by the message flow querying device, the method further includes:
and pushing all records of the message identifier to a message visualization device, displaying the records according to a message flow node by the visualization device, and/or pushing all records of the message identifier to a printing device, and printing the records according to the message flow node by the printing device.
The invention also discloses a message flow visualization and monitoring system, which comprises:
the system comprises a message circulation subsystem, a message tracking server and a message visualization device; the message circulation subsystem comprises at least one message processing server;
the message processing server includes:
the node monitoring module is used for monitoring each key node of the message flow in the message flow subsystem in real time;
an automatic referral notification sending module, configured to send an automatic referral notification to a message tracking server when the message flow reaches a key node, where the automatic referral notification includes: message identification and message status;
the message tracing server includes:
the storage module is used for storing the message identification and the message state into a database by the message tracking server according to the automatic reference notification;
a first message notification module, configured to notify, by the message tracing server, the message identifier and the message status to a corresponding message visualization device;
the message visualization apparatus includes:
and the display module is used for displaying the message state by the message visualization device according to the message identifier and the message state and the circulation key node track corresponding to the message identifier.
Preferably, the message tracing server further includes:
the second message notification module is used for notifying the message tracking server of the message identifier and the message state to a message flow abnormity warning device;
further, the system further comprises: the abnormal alarm device of message circulation, the abnormal alarm device of message circulation includes:
and the alarm submodule is used for generating alarm information by the message flow abnormity alarm device according to the flow key node track of the corresponding message identifier and a preset alarm rule.
Preferably, the message flow abnormality warning device includes:
the analysis circulation track submodule is used for analyzing whether the circulation track of the message is consistent with a preset message execution path or not;
and the analysis flow time interval submodule is used for analyzing whether the time interval of message flow exceeds a preset time threshold value.
Compared with the prior art, the embodiment of the invention has at least one of the following advantages:
1. the message circulation subsystem monitors the circulation state of the message in real time, and when each key node arrives, the server of the message circulation subsystem sends an automatic reference notice to the message tracking server to inform the latest state of the message, so that the automatic tracking of the message circulation state is realized, and the continuity of the message circulation state is ensured. The message circulation state is stored in the database of the message tracking server, so that the persistence of the historical data of the message circulation state is ensured.
2. When the latest state of the message is stored in the database of the message tracking server, the message visualization device is informed to update the view, the whole state of the message flow is displayed orderly and continuously, the whole state of the message flow is monitored in real time by operation and maintenance personnel conveniently, the visualization of operation and maintenance monitoring is realized, and the operation and maintenance efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a system block diagram of a message flow visualization and monitoring method of the present invention;
FIG. 2 is a flowchart illustrating a first step of a message flow visualization and monitoring method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a second message flow visualization and monitoring method according to an embodiment of the present invention;
FIG. 4 is a block diagram of an embodiment of a message flow visualization and monitoring apparatus according to the present invention;
fig. 5 is a block diagram of a second embodiment of the message flow visualization and monitoring apparatus of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, a system block diagram of the message flow visualization and monitoring method of the present invention is shown, and the system may include: the system comprises a message circulation subsystem, a message tracking server and a message visualization device.
The message tracking server includes a database.
Preferably, there may be a message flow abnormality warning device and a message flow inquiry device.
The message is a data unit of information transmission and can be abstracted into information such as characters, pictures and texts, commands, function calls and the like of information record. For example: messages in the instant messaging system, RPC (Remote procedure call protocol) calls in large-scale system calls, REST (Representational State Transfer) interface calls, and the like.
Message flow refers to the process of transmitting a message when a function is completed.
The message circulation subsystem is a system for processing the messages in the circulation process of the messages, such as acquisition, analysis, calculation, output and the like, and mainly comprises a centralized architecture and a distributed architecture. Each message flow subsystem has its own server for receiving messages, processing messages, and sending messages. In the embodiment of the invention, the server of the message circulation subsystem is configured, so that each key node of the message can be automatically monitored, and the server of the message circulation subsystem can automatically send an automatic reference notice to the message tracking server at each key node of the message circulation to inform the latest state of the message.
For message circulation, the message circulation can be circulated to each key node, such as an OA system, the key nodes for document approval include key nodes for adding collaboration, sending collaboration, collaboratively approving, approving completion and the like, and certainly for circulation of other types of messages, the key nodes for function call and the like can include key nodes for creating, entering a certain node by a message, detecting abnormal messages, exiting a certain node by a message, eliminating messages and the like. Of course, in the embodiment of the present invention, the setting of the key node is related to the type and the requirement of the message itself, and the embodiment of the present invention does not limit the setting.
Each key node includes but is not limited to message creation, message entry into a node, message detection exception, message exit from a node, message destruction, etc.
The automatic reference notification is pingback, which means that the computer system sends reference information to the outside, and the pingback supports automatic awareness.
The message tracking server provides a message tracking service in the whole message flow visualization and monitoring system, receives the automatic reference notification sent by the message flow subsystem, and analyzes the content of the automatic reference notification. And storing the analyzed content in a database of the message tracking server, and pushing the analyzed content to a corresponding message visualization device.
Preferably, the message tracing server pushes the parsed content to the message flow abnormality warning device.
Preferably, the message flow query device can query the message flow state in the database of the message tracking server.
The message visualization device is a device that can convert data into graphics or images and display the graphics or images using computer graphics and image processing techniques. In the embodiment of the invention, the message visualization device receives the analysis content pushed by the message tracking server and displays the analysis content according to the preset rule.
Preferably, the system further comprises a message flow abnormity warning device, wherein the message flow abnormity warning device receives the analysis content pushed by the message tracking server, analyzes the received analysis content, and gives a warning according to an abnormity warning rule. The warning means may be a whistle, a flashing light, or a display on the message visualization device where the message flow is abnormal.
Preferably, the system further comprises a message flow query device, the message flow query device receives the query request and sends the query request to the message tracking server, and the message tracking server pushes all records to be queried in the database to the message flow query device according to the query request. The message flow inquiry device can display the inquired content on the message visualization device, and can also be printed by the printing equipment.
The message visualization device, the message flow abnormality warning device and the message flow query device may be the same device or may be dispersed in different devices.
Specific implementations are described in detail below.
Example one
Referring to fig. 2, a flowchart illustrating a step of a first message flow visualization and monitoring method according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, monitoring each key node of message flow in the message flow subsystem in real time.
In the process of message circulation, a server of the message circulation subsystem monitors each key node of the message circulation in real time, and the key nodes can be the life cycle of the message, such as creation, replication, transmission and loss.
Step 102, when the message flow reaches a key node, sending an automatic reference notification to a message tracking server, wherein the automatic reference notification comprises: message identification and message status.
When the message flow reaches each key node, the server of the message flow subsystem automatically sends an automatic reference notification ping to the message tracking server. The message tracing server analyzes the received automatic reference notification pingback, and the analyzed automatic reference notification pingback comprises a message identifier and a message state.
The message identifier is an identity identifier for identifying the real-time monitoring message. In the embodiment of the present invention, the message identifier is globally unique.
Message state includes, but is not limited to, information such as the system module in which the message is streamed, the state in which the message is processed, etc.
Methods for implementing sending an automatic quote notification include, but are not limited to: adding a program code of logic operation to the server of the message circulation subsystem at the key node which needs to send the automatic reference notification, or using an AOP (Aspect oriented programming) mode to perform practical configuration on the server of the message circulation subsystem.
And 103, storing the message identification and the message state into a database by the message tracking server according to the automatic reference notification.
A database refers to a warehouse that organizes, stores, and manages data according to a data structure, and may be simply regarded as an electronic file cabinet.
The database in the embodiment of the present invention may be inside the message tracking server, or may not be inside the message tracking server, and the embodiment of the present invention is not limited.
The message tracing server stores the parsed contents of the parsed automatic reference notification pingback in a database of the message tracing server.
Step 104, notifying, by the message tracing server, the message identification and the message status to the corresponding message visualization device.
Message visualization means include, but are not limited to, a mobile handset, a PC (personal computer) monitoring device, or other dedicated visualization device.
In one case, an integral visualization device can be provided to show all message flow states in the system;
in another case, a plurality of visualization devices may be provided, and each visualization device displays a circulation state of a required message according to a business requirement.
The message tracing server establishes a corresponding relation table in advance, and the function of the corresponding relation table is mainly to establish one-to-one or one-to-many corresponding relation of push contents between the message tracing server and the message visualization device.
And pushing the message circulation state to a corresponding message visualization device in the corresponding relation table according to the analyzed content of the automatic reference notification pingback.
And 105, displaying the message state by the message visualization device according to the message identifier and the message state and the circulation key node track corresponding to the message identifier.
And according to a preset corresponding relation table, the message visualization device receives the analysis content pushed by the message tracking server and displays the analysis content according to a preset rule.
And when the message flow has a preset key node track, displaying the message state on the visualization device according to the corresponding key node track.
And when the message flow has no preset key node track, representing each module of the message flow system reached by the message flow by using a directed graph, and displaying the directed graph on a message visualization device.
The latest state of a plurality of messages can be displayed on a visualization device, and a message can be continuously and orderly displayed from creation to current state.
Personalized display can also be performed in a custom-defined manner, and the embodiment of the invention is not limited.
The embodiment of the invention has at least one of the following advantages:
1. the message circulation subsystem monitors the circulation state of the message in real time, and when each key node arrives, the server of the message circulation subsystem sends an automatic reference notice to the message tracking server to inform the latest state of the message, so that the automatic tracking of the message circulation state is realized, and the continuity of the message circulation state is ensured. The message circulation state is stored in the database of the message tracking server, so that the persistence of the historical data of the message circulation state is ensured.
2. When the latest state of the message is stored in the database of the message tracking server, the message visualization device is informed to update the view, the whole state of the message flow is displayed orderly and continuously, the whole state of the message flow is monitored in real time by operation and maintenance personnel conveniently, the visualization of operation and maintenance monitoring is realized, and the operation and maintenance efficiency is improved.
Example two
Referring to fig. 3, a flowchart of a second embodiment of the message flow visualization and monitoring method of the present invention is shown, which specifically includes the following steps:
step 201, monitoring each key node of the message flow in the message flow subsystem in real time.
For example, an OA (Office Automation) system of a small company, the message flow visualization and monitoring system architecture thereof may be: the system comprises a message circulation subsystem, a message tracking server, a message visualization device, a message circulation abnormity warning device and preferably a message flow inquiry device.
When office supplies need to be purchased, the embodiment of the invention needs to apply and approve on an OA system of a company, and each step of operation for realizing the process is completed by message circulation. The process of message circulation of purchasing office supplies is called as a purchasing application A, each key node in the purchasing application A refers to each process of newly adding collaboration, sending collaboration, collaborative approval, approval completion and the like, the processes are just a few big links describing the process of the purchasing application A, each big link further comprises a plurality of sub-links, for example, the collaborative approval link comprises but is not limited to each sub-link of department approval, office approval, storage approval and the like, and the sub-links are also each key node of message circulation.
Specifically, the message circulation subsystem in the embodiment of the invention needs to monitor each key node of the purchase application A for purchasing office supplies in real time from the new addition cooperation to the approval completion of the whole process.
Step 202, when the message flow reaches a key node, sending an automatic reference notification to a message tracking server, where the automatic reference notification includes: message identification and message status.
When the purchase application A reaches one key node, the server of the message circulation subsystem automatically sends an automatic reference notification pingback to the message tracking server of the OA system to inform the latest state of the purchase application A.
The message identifier refers to the purchase application a, and the message identifier, i.e., the purchase application a, is globally unique in the embodiment of the present invention.
The message status refers to contents such as an approval department where the purchase application a arrives, a specific arrival time, and a current processing status, and this embodiment is not limited.
Step 203, storing the message identification and the message state into a database by the message tracking server according to the automatic reference notification.
And storing the message identification and the message state into a database of a message tracking server, namely storing contents such as the purchase application A and an approval department, specific arrival time, current processing state and the like of the arrival of the purchase application A into the database of the message tracking server of the OA system.
Step 204, notifying, by the message tracing server, the message identifier and the message status to a corresponding message visualization device.
And the message tracking server pushes the latest states of the purchase application A and the purchase application A to an OA system message visualization device.
Step 205, the message tracing server notifies the message identification and the message status to a message flow exception warning device.
And the message tracking server pushes the latest states of the purchase application A and the purchase application A to an OA system message flow abnormity warning device.
And step 206, the message flow abnormity warning device generates warning information according to the flow key node track of the corresponding message identifier and a preset warning rule.
In the OA system, each service has a fixed flow, and the sequence of each flow for completing the service is a flow-through key node trajectory, such as purchase application a, and the key node trajectory includes, but is not limited to, completion of newly-added collaboration, sending collaboration, collaboration approval, and approval.
And generating alarm information according to the flow of the purchase application and a preset alarm rule.
Preferably, step 206 includes:
step 2061, whether the circulation track of the message is consistent with the preset message execution path or not is analyzed.
And analyzing whether the message circulation abnormal warning device is consistent with a preset message execution path or not according to the message identification and the message state.
For example, the purchase application a should enter the collaborative approval according to the flow, and then enter the approval to complete, and if the purchase application a does not enter the collaborative approval but directly enters the approval to complete, the message transfer abnormality warning device generates warning information by analyzing that the message transfer process of the purchase application a is different from the preset transfer track. The warning message may indicate a place where the purchase application a makes an error, or may indicate a reason why the purchase application a makes an error, and this embodiment is not limited.
And/or, step 2062, analyzing whether the time interval of the message flow exceeds a preset time threshold.
And analyzing whether the time interval of the message flow exceeds a preset time threshold value by the message flow abnormal alarm device according to the message identification and the message state.
For example, the time threshold from the collaborative approval output interface to the approval completion input interface is 1 minute according to the preset time of the purchase application a, and if the time from the collaborative approval output interface to the approval completion input interface is 2 minutes, the message preset alarm device generates alarm information by analyzing that the circulation time of the purchase application exceeds the time threshold preset by the system. The warning message may indicate a place where the purchase application a makes an error, or may indicate a reason why the purchase application a makes an error, and this embodiment is not limited.
The analyzing and determining of the message flow state may be performed separately in step 2061 or step 2062, or may be performed in step 2061 and step 2062 at the same time.
And step 207, displaying the alarm information through a corresponding message visualization device.
And the message flow abnormity warning device pushes the generated warning information to an OA system message visualization device, and the OA system message visualization device displays the warning information.
Preferably, after step 204, the method further comprises:
step 2041, a query request of a user for one or more messages is received in a message flow query device, where the query request includes a message identifier.
The user can inquire the circulation state of one or more messages through the message flow inquiry device, and the inquiry condition is the identification of the inquired message. For example, the user needs to query the forwarding state of the purchase application a, and queries on the message flow query device according to the message identifier of the purchase application a.
Step 2042, the message flow query device queries all records of the message identifier from the database.
After receiving the query request, the message flow query device reads out all records of the same message identifier to be queried from the database of the message tracking server. For example, all records of purchase request a are read from the database of the message tracking server of the OA system.
Preferably, step 2042 includes:
step 2042A, continuously collecting all records of the same message identifier in the database according to the sequence of the time for sending the automatic reference notification to the message tracking server.
According to the message identification of the query request, the message flow query device continuously acquires all records with the same message identification in the database of the message tracking server based on the time sequence of sending the automatic reference notification pingback.
For example, inquiring the purchase application A, and continuously acquiring all records of the purchase application A in a database of a message tracking server of the OA system according to the time sequence of sending the automatic reference notification pingback in the streaming process of the purchase application A.
Preferably, after the step 2042, the method further includes:
step 2042B1, pushing all records of the message identifier to a message visualization device, and displaying by the visualization device according to the message flow node.
And the message flow inquiry device pushes all records of the inquiry request to a corresponding message visualization device according to the sequence of the time for sending the automatic reference notification ping.
The sequence of the time for sending the automatic reference notification pingback indicates a node of the message flow in this embodiment, and then the message visualization device displays all the records according to the sequence of the time for sending the automatic reference notification pingback.
And/or step 2042B2, pushing all records identified by the message to a printing device, and printing by the printing device according to the message flow node.
And the message flow inquiry device pushes all records of the inquiry request to corresponding printing equipment according to the sequence of the time for sending the automatic reference notification ping, and the printing equipment prints all pushed records.
The processes of step 2042B1 and step 2042B2 may be performed simultaneously or separately.
Compared with the prior art, the embodiment of the invention has at least one of the following advantages:
1. the message circulation subsystem monitors the circulation state of the message in real time, and when each key node arrives, the server of the message circulation subsystem sends an automatic reference notice to the message tracking server to inform the latest state of the message, so that the automatic tracking of the message circulation state is realized, and the continuity of the message circulation state is ensured. The message circulation state is stored in the database of the message tracking server, so that the persistence of the historical data of the message circulation state is ensured.
2. When the latest state of the message is stored in the database of the message tracking server, the message visualization device is informed to update the view, the whole state of the message flow is displayed orderly and continuously, the whole state of the message flow is monitored in real time by operation and maintenance personnel conveniently, the visualization of operation and maintenance monitoring is realized, and the operation and maintenance efficiency is improved.
3. The message tracking server pushes the latest state of the message to a message flow abnormity warning device for analysis, and gives an alarm according to a preset warning rule, so that the system has the function of automatically troubleshooting, and the stability of the system is improved. If the automatic fault-removing and repairing device is combined, the functions of automatic fault repairing and automatic fault node offline can be realized, and the efficiency of operation and maintenance and the stability of system functions are greatly improved.
4. When a fault occurs, a query request is sent to the message tracking server through the message flow query device, all records of the same message identification are continuously collected based on the time sequence of sending the automatic reference notification, the complete state of message circulation can be quickly obtained, and operation and maintenance personnel can quickly and accurately locate the fault node of the system and restore the normal operation of the system by analyzing the state of the message circulation.
The embodiment of the invention only describes the process of message flow visualization and monitoring in the OA system, and for other types of message flows, such as abstract function call, remote method call, REST interface call and the like, aiming at the types and requirements of the messages, the key nodes of the message flows are set according to the specific requirements, and the execution principle of the message flow visualization and monitoring method is the same.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a structural block diagram of a first embodiment of the message flow visualization and monitoring apparatus according to the present invention is shown, which may specifically include the following modules:
a message circulation subsystem 310, a message tracking server 320, a message visualization device 330; the message circulation subsystem comprises at least one message processing server 311;
the message processing server 311 includes:
a node monitoring module 3111, configured to monitor each key node of the message flow in the message flow subsystem in real time;
an automatic reference notification sending module 3112, configured to send an automatic reference notification to a message tracking server when the message flow reaches a key node, where the automatic reference notification includes: message identification and message status;
the message tracing server 320 includes:
a storage module 321, configured to store, by the message tracking server, the message identifier and the message status in a database according to the automatic reference notification;
a first message notification module 322, configured to notify the message tracking server of the message identifier and the message status to a corresponding message visualization device;
the message visualization means 330 comprises:
the display module 331 is configured to display, by the message visualization device, the message state according to the message identifier and the message state and the flow key node trajectory corresponding to the message identifier.
Compared with the prior art, the embodiment of the invention has at least one of the following advantages:
1. the message circulation subsystem monitors the circulation state of the message in real time, and when each key node arrives, the server of the message circulation subsystem sends an automatic reference notice to the message tracking server to inform the latest state of the message, so that the automatic tracking of the message circulation state is realized, and the continuity of the message circulation state is ensured. The message circulation state is stored in the database of the message tracking server, so that the persistence of the historical data of the message circulation state is ensured.
2. When the latest state of the message is stored in the database of the message tracking server, the message visualization device is informed to update the view, the whole state of the message flow is displayed orderly and continuously, the whole state of the message flow is monitored in real time by operation and maintenance personnel conveniently, the visualization of operation and maintenance monitoring is realized, and the operation and maintenance efficiency is improved.
Referring to fig. 5, a structural block diagram of a second embodiment of the message flow visualization and monitoring device according to the present invention is shown, which may specifically include the following modules:
a message circulation subsystem 410, a message tracking server 420, a message visualization device 430, a message circulation exception warning device 440, and a message flow query device 450, wherein the message circulation subsystem comprises at least one message processing server 411;
the message processing server 411 includes:
a node monitoring module 4111, configured to monitor each key node of a message flow in the message flow subsystem in real time;
an automatic reference notification sending module 4112, configured to send an automatic reference notification to a message tracking server when the message flow reaches a key node, where the automatic reference notification includes: message identification and message status;
the message tracing server 420 includes:
a storage module 421, configured to store, by the message tracking server, the message identifier and the message status into a database according to the automatic reference notification;
a first message notification module 422, configured to notify the message tracking server of the message identifier and the message status to a corresponding message visualization device;
the message visualization means 430 comprises:
and a display module 431, configured to display, by the message visualization device, the message state according to the message identifier and the message state and the flow key node trajectory corresponding to the message identifier.
The message tracing server 420 further includes:
a second message notification module 423, configured to notify the message tracking server of the message identifier and the message status to a message flow exception alert device;
the message flow abnormality warning device 440 includes:
and the alarm submodule 441 is configured to, by the message flow abnormality alarm device, generate alarm information according to the flow key node trajectory of the corresponding message identifier and a preset alarm rule.
Preferably, the alarm sub-module 441 includes:
the analysis circulation track submodule is used for analyzing whether the circulation track of the message is consistent with a preset message execution path or not;
and the analysis flow time interval submodule is used for analyzing whether the time interval of message flow exceeds a preset time threshold value.
The message flow abnormality warning device 440 further includes:
the warning information display sub-module 442 is configured to display the warning information through a corresponding message visualization device.
Preferably, the system further comprises:
the message flow query device 450, wherein the message flow query device 450 includes:
a query request receiving sub-module 451, configured to receive, in a message flow query device, a query request of a user for one or more messages, where the query request includes a message identifier;
a query database sub-module 452 for querying all records of the message identifier from the database by the message flow querying device.
Preferably, the query database sub-module 452 includes:
and the circulation state acquisition submodule is used for continuously acquiring all records of the same message identifier in the database according to the sequence of the time for sending the automatic reference notification to the message tracking server.
Preferably, the message flow query device 450 further includes:
the first message pushing submodule 453 is configured to push all records of the message identifier to a message visualization device, and the visualization device displays the records according to a message flow node.
And the second message pushing submodule 454 is configured to push all records of the message identifier to a printing device, and the printing device prints the records according to the message flow node.
Compared with the prior art, the embodiment of the invention has at least one of the following advantages:
1. the message circulation subsystem monitors the circulation state of the message in real time, and when each key node arrives, the server of the message circulation subsystem sends an automatic reference notice to the message tracking server to inform the latest state of the message, so that the automatic tracking of the message circulation state is realized, and the continuity of the message circulation state is ensured. The message circulation state is stored in the database of the message tracking server, so that the persistence of the historical data of the message circulation state is ensured.
2. When the latest state of the message is stored in the database of the message tracking server, the message visualization device is informed to update the view, the whole state of the message flow is displayed orderly and continuously, the whole state of the message flow is monitored in real time by operation and maintenance personnel conveniently, the visualization of operation and maintenance monitoring is realized, and the operation and maintenance efficiency is improved.
3. The message tracking server pushes the latest state of the message to a message flow abnormity warning device for analysis, and gives an alarm according to a preset warning rule, so that the system has the function of automatically troubleshooting, and the stability of the system is improved. If the automatic fault-removing and repairing device is combined, the functions of automatic fault repairing and automatic fault node offline can be realized, and the efficiency of operation and maintenance and the stability of system functions are greatly improved.
4. When a fault occurs, a query request is sent to the message tracking server through the message flow query device, all records of the same message identification are continuously collected based on the time sequence of sending the automatic reference notification, the complete state of message circulation can be quickly obtained, and operation and maintenance personnel can quickly and accurately locate the fault node of the system and restore the normal operation of the system by analyzing the state of the message circulation.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the message flow visualization and monitoring method and system apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A message flow visualization and monitoring method is characterized by comprising the following steps:
monitoring each key node of message flow in a message flow subsystem in real time, wherein the key node is the life cycle of the message;
when the message flow reaches a key node, sending an automatic reference notification to a message tracking server, wherein the automatic reference notification comprises: message identification and message status; the message identification is an identity identification used for identifying the message; the message state is information of a system module where the message is located and/or a state that the message is processed;
storing, by the message tracking server, a message identification and a message status in a database according to the automatic referral notification;
notifying, by the message tracing server, the message identification and message status to a corresponding message visualization device;
and the message visualization device displays the message state according to the message identifier and the message state and the circulation key node track corresponding to the message identifier.
2. The method of claim 1, wherein after the step of notifying, by the message tracing server, the message identification and message status to the respective message visualization device, further comprising:
the message tracking server informs a message flow abnormity warning device of the message identification and the message state;
and the message flow abnormity warning device generates warning information according to the flow key node track of the corresponding message identifier and a preset warning rule.
3. The method as claimed in claim 2, wherein the step of generating the warning information by the message flow abnormal warning device according to the flow key node track of the corresponding message identifier and the preset warning rule comprises:
analyzing whether the circulation track of the message is consistent with a preset message execution path and/or analyzing whether the time interval of the message circulation exceeds a preset time threshold.
4. The method as claimed in claim 2, wherein after the step of generating the alarm information according to the flow key node trajectory identified by the corresponding message and the preset alarm rule, the message flow abnormality alarm device further comprises:
and displaying the alarm information through a corresponding message visualization device.
5. The method of claim 1, wherein after the step of notifying, by the message tracing server, the message identification and message status to the respective message visualization device, further comprising:
receiving a query request of a user for one or more messages in a message flow query device, wherein the query request comprises a message identifier;
and inquiring all records of the message identification from the database by the message flow inquiring device.
6. The method of claim 5, wherein said step of querying, by said message flow querying device, all records identified by said message from said database comprises:
and continuously collecting all records of the same message identification in the database according to the sequence of the time for sending the automatic reference notification to the message tracking server.
7. The method of claim 5, wherein after the step of querying, by the message flow querying device, all records identified by the message from the database, further comprising:
and pushing all records of the message identifier to a message visualization device, displaying the records according to a message flow node by the visualization device, and/or pushing all records of the message identifier to a printing device, and printing the records according to the message flow node by the printing device.
8. A message flow visualization and monitoring system, the system comprising:
the system comprises a message circulation subsystem, a message tracking server and a message visualization device; the message circulation subsystem comprises at least one message processing server;
the message processing server includes:
the node monitoring module is used for monitoring each key node of the message flow in the message flow subsystem in real time, wherein the key node is the life cycle of the message;
an automatic referral notification sending module, configured to send an automatic referral notification to a message tracking server when the message flow reaches a key node, where the automatic referral notification includes: message identification and message status; the message identification is an identity identification used for identifying the message; the message state is information of a system module where the message is located and/or a state that the message is processed;
the message tracing server includes:
the storage module is used for storing the message identification and the message state into a database by the message tracking server according to the automatic reference notification;
a first message notification module, configured to notify, by the message tracing server, the message identifier and the message status to a corresponding message visualization device;
the message visualization apparatus includes:
and the display module is used for displaying the message state by the message visualization device according to the message identifier and the message state and the circulation key node track corresponding to the message identifier.
9. The system of claim 8,
the message tracing server further comprises:
the second message notification module is used for notifying the message tracking server of the message identifier and the message state to a message flow abnormity warning device;
further, the system further comprises: the abnormal alarm device of message circulation, the abnormal alarm device of message circulation includes:
and the alarm submodule is used for generating alarm information by the message flow abnormity alarm device according to the flow key node track of the corresponding message identifier and a preset alarm rule.
10. The system of claim 9, wherein the message flow anomaly alerting means comprises:
the analysis circulation track submodule is used for analyzing whether the circulation track of the message is consistent with a preset message execution path or not;
and the analysis flow time interval submodule is used for analyzing whether the time interval of message flow exceeds a preset time threshold value.
CN201610799820.0A 2016-08-31 2016-08-31 Message flow visualization and monitoring method and system Active CN106301948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610799820.0A CN106301948B (en) 2016-08-31 2016-08-31 Message flow visualization and monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610799820.0A CN106301948B (en) 2016-08-31 2016-08-31 Message flow visualization and monitoring method and system

Publications (2)

Publication Number Publication Date
CN106301948A CN106301948A (en) 2017-01-04
CN106301948B true CN106301948B (en) 2020-01-03

Family

ID=57710939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610799820.0A Active CN106301948B (en) 2016-08-31 2016-08-31 Message flow visualization and monitoring method and system

Country Status (1)

Country Link
CN (1) CN106301948B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362721B (en) * 2018-04-08 2023-06-09 阿里巴巴集团控股有限公司 Message track information processing method, system and device and electronic equipment
CN109102162A (en) * 2018-07-19 2018-12-28 国网安徽省电力有限公司 A kind of monitoring method and device of tariff recovery data
CN110874232B (en) * 2018-09-04 2023-12-29 中兴通讯股份有限公司 Virtual machine component upgrading method, equipment and computer readable storage medium
CN109412834A (en) * 2018-09-11 2019-03-01 叮联信息技术有限公司 Event is uninterruptedly transmitted at random and shared information methods of exhibiting
CN110347664A (en) * 2019-06-26 2019-10-18 北京明略软件系统有限公司 A kind of data visualization processing method and processing device
CN112119615A (en) * 2019-07-01 2020-12-22 深圳市大疆创新科技有限公司 Message flow display method and device, unmanned system and movable platform
CN110582065B (en) * 2019-08-29 2021-07-23 武汉赛可锐信息技术有限公司 Message tracking method and device based on big data, terminal equipment and storage medium
CN113222309A (en) * 2020-02-04 2021-08-06 北京彼速信息技术有限公司 Business process monitoring method and device, storage medium and electronic equipment
CN112084115A (en) * 2020-09-16 2020-12-15 京东数字科技控股股份有限公司 Software defect flow operation method and device
CN112381347A (en) * 2020-10-13 2021-02-19 广州赛意信息科技股份有限公司 Production equipment state data real-time monitoring method and system based on API gateway
CN112214495B (en) * 2020-10-22 2023-08-22 上海亿保健康管理有限公司 Data execution tracking method, device and equipment
CN112737856B (en) * 2020-12-31 2023-02-03 青岛海尔科技有限公司 Link tracking method and device, storage medium and electronic device
CN114995983B (en) * 2022-07-11 2022-12-13 支付宝(杭州)信息技术有限公司 Method and device for acquiring data flow link

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256647A (en) * 2008-03-31 2008-09-03 上海星露信息科技有限公司 Item management system being suitable for garden engineering
CN101364289A (en) * 2008-09-24 2009-02-11 中国移动通信集团福建有限公司 Generalized flowsheet platform for corporation
CN102333077A (en) * 2011-07-21 2012-01-25 上海互联网软件有限公司 Safety verification system for electronic document office system and method thereof
CN102663582A (en) * 2011-07-21 2012-09-12 上海互联网软件有限公司 Electronic government document handling system
CN103632106A (en) * 2013-12-18 2014-03-12 北京明朝万达科技有限公司 OA (office automation) data protection method and system based on OA flow

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178798A (en) * 2007-12-12 2008-05-14 江苏省电力公司 Method for monitoring process flow across business system
US8620869B2 (en) * 2008-09-25 2013-12-31 Microsoft Corporation Techniques to manage retention policy tags
CN101404696B (en) * 2008-11-03 2012-10-10 中兴通讯股份有限公司 Visible service flow tracing method and system, service flow processing system
CN101808167B (en) * 2009-02-13 2014-07-09 华为技术有限公司 Method for procedure tracking, device and system
CN102081841B (en) * 2011-01-18 2013-06-19 北京世纪高通科技有限公司 Method and system for processing huge traffic data
CN102521686A (en) * 2011-11-30 2012-06-27 陕西东显永益机电技术有限公司 Examining and approving management system for administrative information
CN104618144A (en) * 2014-12-31 2015-05-13 深圳市兰丁科技有限公司 Method and system for tracking data package according to message identifier

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256647A (en) * 2008-03-31 2008-09-03 上海星露信息科技有限公司 Item management system being suitable for garden engineering
CN101364289A (en) * 2008-09-24 2009-02-11 中国移动通信集团福建有限公司 Generalized flowsheet platform for corporation
CN102333077A (en) * 2011-07-21 2012-01-25 上海互联网软件有限公司 Safety verification system for electronic document office system and method thereof
CN102663582A (en) * 2011-07-21 2012-09-12 上海互联网软件有限公司 Electronic government document handling system
CN103632106A (en) * 2013-12-18 2014-03-12 北京明朝万达科技有限公司 OA (office automation) data protection method and system based on OA flow

Also Published As

Publication number Publication date
CN106301948A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106301948B (en) Message flow visualization and monitoring method and system
CN109093228A (en) A kind of welding parameter intelligent monitor system
CN106559270B (en) Data analysis method and device for urban rail signal equipment
CN111158983A (en) Integrated operation and maintenance management system
US11443259B2 (en) Automatic floor-level retail operation decisions using video analytics
CN105373460B (en) The alarm method and system of monitoring message
CN107229658B (en) Question feedback information processing method and device
CN105049223A (en) Electric power communication network defect and fault processing decision-aided analysis method
CN108259241A (en) A kind of abnormal localization method and device of cloud platform monitoring system
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
CN112907889B (en) Method and device for displaying information in video, electronic equipment and storage medium
KR20130026549A (en) Equipment maintenance system and method thereof
CN113052650A (en) Material production overall process information perception visualization system based on supply chain control tower
JP2017516202A (en) Promotion status data monitoring method, apparatus, device, and non-executable computer storage medium
US20200211351A1 (en) Remote diagnostics for flame detectors using fire replay technique
CN107704357B (en) Log generation method and device
CN111082998A (en) Architecture system of operation and maintenance monitoring campus convergence layer
CN114844771B (en) Method, device, storage medium and program product for monitoring micro service system
CN110928305A (en) Patrol method and system for railway passenger station patrol robot
CN114500316B (en) Method and system for inspecting equipment of Internet of things
CN113762910B (en) Document monitoring method and device
CN111754443B (en) Equipment information sorting method and device
CN107566216A (en) A kind of monitoring method, device and operation system
CN105607983A (en) Data exception monitoring method and apparatus
CN112162906A (en) Server behavior monitoring method of probe management platform architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant