CN105243002A - Message middleware monitoring method and system - Google Patents

Message middleware monitoring method and system Download PDF

Info

Publication number
CN105243002A
CN105243002A CN201510540111.6A CN201510540111A CN105243002A CN 105243002 A CN105243002 A CN 105243002A CN 201510540111 A CN201510540111 A CN 201510540111A CN 105243002 A CN105243002 A CN 105243002A
Authority
CN
China
Prior art keywords
message
service unit
queue
sink
sends
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.)
Pending
Application number
CN201510540111.6A
Other languages
Chinese (zh)
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.)
Inspur Software Co Ltd
Original Assignee
Inspur Software 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 Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN201510540111.6A priority Critical patent/CN105243002A/en
Publication of CN105243002A publication Critical patent/CN105243002A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a message middleware monitoring method and system. The system comprises message middleware, a message monitoring apparatus and a message monitoring queue, wherein the message middleware comprises a message sending service apparatus, a message sending queue, a message receiving service apparatus and a message receiving queue; the message sending service apparatus receives messages sent by a message sender, stores the messages in the message sending queue in sequence, extracts current messages in the message sending queue one by one and sends a currently extracted first message; the message receiving service apparatus receives the first message currently sent by a message sending service unit, stores the first message in the message receiving queue and transmits the message in the message receiving queue to a message receiver; and the message monitoring apparatus monitors an interactive process of the message sending service apparatus and the message receiving service apparatus, and stores monitored interactive process information into the message monitoring queue. According to the scheme, the message middleware can be monitored more conveniently.

Description

A kind of method for supervising of message-oriented middleware and system
Technical field
The present invention relates to the network communications technology, particularly a kind of method for supervising of message-oriented middleware and system.
Background technology
Message-oriented middleware is extremely important in distributed system, the large applied environment such as digital data transmission, cloud computing, therefore needs to monitor its running status.
Message-oriented middleware self generally provides order line or gui interface is monitored its running status, but these monitor messages are not easily integrated in application or relevant management system, inconvenient unified management, for the unified monitoring of complication system and maintenance bring inconvenience.
Summary of the invention
The invention provides a kind of method for supervising and system of message-oriented middleware, can monitor message-oriented middleware more conveniently.
The supervisory system of a kind of message-oriented middleware that the embodiment of the present invention provides, comprising:
Message-oriented middleware, message monitoring device, message monitoring queue;
Described message-oriented middleware comprises: message sends service unit, described message send queue, described message sink service unit and described message sink queue; Wherein,
Described message sends service unit, for each message that receipt message transmit leg is sent, by this each message sequence stored in message send queue; And, take out message current in message send queue one by one, send the first message of current taking-up;
Described message sink service unit, sending the first message of the current transmission of service unit, being saved in message sink queue for receiving described message; And by the transmission of messages in message sink queue to message receiver;
Described message monitoring device, sends the reciprocal process of service unit and message sink service unit, the reciprocal process information monitored is saved in message monitoring queue for monitoring message.
Preferably, described message monitoring device is arranged on described message sink service unit inside; Described message monitoring queue is arranged on described message sink service unit side.
Wherein, described message monitoring device is specifically monitored: message sends that service unit sends the transmission information that service disconnects information, message sends service unit of service unit to the service-connection information of message sink service unit, message, message sends any one or more in the heartbeat message of message sink service unit, the log-on message of message sink service unit and the closing information of message sink service unit of service unit.
Preferably, described message sends service unit, further after take out the first message from message send queue, and before sending the first message to message sink service unit, in described first message, carry message header, this message header comprises in message send queue No. ID of the first message; This No. ID is the sequence number of the first message in message send queue;
Described message sink service unit, for after the first message receiving the current transmission of described message transmission service unit, and before being saved in message sink queue, message header is parsed further from the current message received, according to No. ID that message header in the message header parsed No. ID and the upper message received carries, judge that whether current message is the adjacent next message of the upper message received, if not, then determine that current message is not the first message that described expection receives, refusal preservation first message is to described message sink queue, if so, then determine that current message expects to continue the first message received to be saved in message sink queue described in execution.
Alternatively, comprise further: management devices, wherein,
Described management devices is connected with described monitoring message queue, obtains monitor message, and carry out integrated management from described monitoring message queue;
Or,
Described management devices is connected with described message sink service unit, and the interface provided from described message sink service unit obtains the real-time statistics of described message sink queue.
The embodiment of the present invention also proposed a kind of method for supervising of message-oriented middleware, arranges message-oriented middleware and comprises: message sends service unit, described message send queue, described message sink service unit and described message sink queue; And message monitoring device, message monitoring queue are set; Also comprise:
Described message sends each message that service unit receipt message transmit leg is sent, by this each message sequence stored in message send queue;
Described message sends service unit and takes out message current in message send queue one by one, sends the first message of current taking-up;
Described message sink service unit receives the first message that described message sends the current transmission of service unit, is saved in message sink queue;
Described message sink service unit by the transmission of messages in message sink queue to message receiver;
The real-time monitoring message of described message monitoring device sends the reciprocal process of service unit and message sink service unit, the reciprocal process information monitored is saved in message monitoring queue.
Preferably, described message monitoring device is set, message monitoring queue comprises:
Described message monitoring device is arranged on described message sink service unit inner; Described message monitoring queue is arranged on described message sink service unit side.
Wherein, the reciprocal process of the real-time monitoring message transmission service unit of described message monitoring device and message sink service unit comprises:
Described message monitoring assembly monitor message sends that service unit sends the transmission information that service disconnects information, message sends service unit of service unit to the service-connection information of message sink service unit, message, message sends any one or more in the heartbeat message of message sink service unit, the log-on message of message sink service unit and the closing information of message sink service unit of service unit.
Preferably, after described message sends the first message current in service unit taking-up message send queue, and before the first message of the current taking-up of described transmission, comprise further:
Described message sends service unit and carry message header in described first message, and this message header comprises in message send queue No. ID of the first message; This No. ID is the sequence number of the first message in message send queue;
Receive after described message sends the first message of service unit current transmission at described message sink service unit, and described be saved in message sink queue before, comprise further:
Described message sink service unit parses message header from current message, according to No. ID that message header in the message header parsed No. ID and the upper message received carries, judge that whether current message is the adjacent next message of the upper message received, if not, then determine that current message is not the first message that described expection receives, refusal preservation first message is to described message sink queue; If so, then determine that current message expects to continue the first message received to be saved in message sink queue described in execution.
Alternatively, comprise further: from described monitoring message queue, obtain monitor message by management devices,
And carry out integrated management.
Alternatively, comprise further: the real-time statistics being obtained described message sink queue by management devices from the interface that described message sink service unit provides.
The method for supervising of the message-oriented middleware that the embodiment of the present invention provides and system, message-oriented middleware can be set to comprise message and send service unit, described message send queue, described message sink service unit, and described message sink queue, the mutual of service unit and message sink service unit is sent by message, can complete the transmission of messages of transmit leg in message send queue in message sink queue, so that subsequent transmission is to message receiver, therefore, by arranging message monitoring device, only need the reciprocal process of monitoring transmission service unit and message sink service unit, and the reciprocal process information monitored is saved in message monitoring queue, monitoring can be completed more conveniently, and by the object of monitoring message preservation.
Accompanying drawing explanation
Fig. 1 is the structural representation of the supervisory system of message-oriented middleware in one embodiment of the invention.
Fig. 2 is the structural representation of the supervisory system of message-oriented middleware in another embodiment of the present invention.
Fig. 3 is the process flow diagram to the method that message-oriented middleware is monitored in one embodiment of the invention.
Fig. 4 is the method flow diagram utilizing the message-oriented middleware supervisory system shown in Fig. 2 to realize message-oriented middleware monitoring in one embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
One embodiment of the invention proposes a kind of supervisory system of message-oriented middleware, see Fig. 1, comprising:
Message-oriented middleware 101, message monitoring device 102, message monitoring queue 103;
Described message-oriented middleware 101 comprises: message sends service unit 1011, described message send queue 1012, described message sink service unit 1013 and described message sink queue 1014; Wherein,
Described message sends service unit 1011, for each message that receipt message transmit leg is sent, by this each message sequence stored in message send queue 1012; And, take out message current in message send queue one by one, send the first message of current taking-up;
Described message sink service unit 1013, sending the first message of the current transmission of service unit 1011, being saved in message sink queue 1014 for receiving described message; And by the transmission of messages in message sink queue 1014 to message receiver;
Described message monitoring device 102, sends service unit 1011 and the reciprocal process of message sink service unit 1013 for monitoring message, the reciprocal process information monitored is saved in message monitoring queue 103.
Because a take over party may receive the information that multiple transmit leg sends, in order to can message transmitting procedure more intactly between recording messages take over party and each message sender, to monitor, in an embodiment of the invention, described message monitoring device 102 is arranged on described message sink service unit 1013 inside; Described message monitoring queue 103 is arranged on described message sink service unit 1013 side.Like this, then can gather from the message sink side of message-oriented middleware and preserve monitor message.
In order to can the course of work of monitoring message middleware more all sidedly, in an embodiment of the invention, the information of the concrete monitoring of message monitoring device 102 comprises: message sends that service unit sends the transmission information that service disconnects information, message sends service unit of service unit to the service-connection information of message sink service unit, message, message sends any one or more in the heartbeat message of message sink service unit, the log-on message of message sink service unit and the closing information of message sink service unit of service unit.
The message transmitted to utilize message-oriented middleware is further in order strict and ensure that message recipient can not leak receipts, heavily receive message, in an embodiment of the invention, described message sends service unit 1011, further after take out the first message from message send queue 1012, and before sending the first message to message sink service unit 1013, in described first message, carry message header, this message header comprises in message send queue No. ID of the first message; This No. ID is the sequence number of the first message in message send queue 1012;
Described message sink service unit 1013, for after the first message receiving the current transmission of described message transmission service unit 1011, and before being saved in message sink queue 1014, message header is parsed further from the current message received, according to No. ID that message header in the message header parsed No. ID and the upper message received carries, judge that whether current message is the adjacent next message of the upper message received, if not, then determine that current message is not the first message that described expection receives, refusal preservation first message is to described message sink queue 1014, if so, then determine that current message expects to continue the first message received to be saved in message sink queue 1014 described in execution.Visible, by increasing message header in the message of part transmission between in the message, and in message header, carrying the mode of the sequence of message in message send queue 1012 number, can ensure that the strict of message sends in order.
In order to the information that can monitor message supervising device 102 carries out treatment and analysis, in an embodiment of the invention, may further include in the supervisory system of message-oriented middleware: management devices.
In one implementation, management devices is connected with described monitoring message queue, obtains monitor message, and carry out integrated management from described monitoring message queue.
In another kind of implementation, described management devices is connected with described message sink service unit, and the interface provided from described message sink service unit obtains the real-time statistics of described message sink queue.
Such as, in an embodiment of the invention, the structure of the supervisory system of message-oriented middleware can be shown in Figure 2.That is, the system architecture shown in Fig. 2 comprises: message-oriented middleware 201, message monitoring device 202, message monitoring queue 203, management devices 204; Described message-oriented middleware 201 comprises: message sends service unit 2011, described message send queue 2012, described message sink service unit 2013 and described message sink queue 2014; Further,
Message sends service unit 2011 and is connected with described message send queue 2012 and described message sink service unit 2013 respectively, and described message sink service unit 2013 is also connected with described message sink queue 2014;
It is inner that message monitoring device 202 is arranged on message sink service unit 2013, and message monitoring queue 203 is arranged on message sink service unit 2013 side; Message monitoring device 202 is connected with message monitoring queue 203; Management devices 204 is connected with message monitoring queue 203.
In the business realizing of reality, management devices 204 not only can be connected with message monitoring queue 203, can also be connected with message sink service unit 2013, can complete multiple monitoring management mode simultaneously.
One embodiment of the invention also proposed a kind of method for supervising of message-oriented middleware, see Fig. 3, comprising:
301: pre-set message-oriented middleware, this message-oriented middleware comprises: message sends service unit, described message send queue, described message sink service unit and described message sink queue; And message monitoring device, message monitoring queue are set.
302: message sends each message that service unit receipt message transmit leg is sent, by this each message sequence stored in message send queue.
303: message sends service unit and takes out message current in message send queue one by one, sends the first message of current taking-up.
304: message sink service unit receives the first message that described message sends the current transmission of service unit, is saved in message sink queue.
305: message sink service unit by the transmission of messages in message sink queue to message receiver.
306: the real-time monitoring message of message monitoring device sends the reciprocal process of service unit and message sink service unit, the reciprocal process information monitored is saved in message monitoring queue.
Visible, in the embodiment of the present invention shown in Fig. 3, message-oriented middleware can be set to comprise message and send service unit, described message send queue, described message sink service unit, and described message sink queue, the mutual of service unit and message sink service unit is sent by message, can complete the transmission of messages of transmit leg in message send queue in message sink queue, so that subsequent transmission is to message receiver, therefore, by arranging message monitoring device, monitoring message is only needed to send the reciprocal process of service unit and message sink service unit, and the reciprocal process information monitored is saved in message monitoring queue, monitoring can be completed more conveniently, and by the object of monitoring message preservation.
It should be noted that, the just step split for convenience of description of the step shown in above-mentioned Fig. 3, there is no the sequencing in strict execution.Such as, the process of step 306 and step 304 are parallel to the process of step 305.
Because a take over party may receive the information that multiple transmit leg sends, in order to can message transmitting procedure more intactly between recording messages take over party and each message sender, to monitor, in one embodiment of the invention, in step 301, described message monitoring device is set, message monitoring queue comprises:
Described message monitoring device is arranged on described message sink service unit inner; Described message monitoring queue is arranged on described message sink service unit side.Like this, then can complete by message sink service unit the monitoring that message sends reciprocal process between service unit and message sink service unit.
In an embodiment of the invention, in step 306, the reciprocal process that the real-time monitoring message of described message monitoring device sends service unit and message sink service unit comprises:
Described message monitoring assembly monitor message sends that service unit sends the transmission information that service disconnects information, message sends service unit of service unit to the service-connection information of message sink service unit, message, message sends any one or more in the heartbeat message of message sink service unit, the log-on message of message sink service unit and the closing information of message sink service unit of service unit.
The message transmitted to utilize message-oriented middleware is further in order strict and ensure that message recipient can not leak receipts, heavily receive message, in an embodiment of the invention, in step 303, after described message sends the first message current in service unit taking-up message send queue, and before the first message of the current taking-up of described transmission, comprise further:
Described message sends service unit and carry message header in described first message, and this message header comprises in message send queue No. ID of the first message; This No. ID is the sequence number of the first message in message send queue;
Correspondingly, in step 304, receive after described message sends the first message of service unit current transmission at described message sink service unit, and described be saved in message sink queue before, comprise further:
Described message sink service unit parses message header from current message, according to No. ID that message header in the message header parsed No. ID and the upper message received carries, judge that whether current message is the adjacent next message of the upper message received, if not, then determine that current message is not the first message that described expection receives, refusal preservation first message is to described message sink queue; If so, then determine that current message expects to continue the first message received to be saved in message sink queue described in execution.
In order to clearly embody a kind of monitor procedure of message-oriented middleware, message-oriented middleware supervisory system in the one embodiment of the invention shown in composition graphs 2, in one embodiment of the invention, the process monitored message-oriented middleware, see Fig. 4, comprising:
401: pre-set message-oriented middleware, this message-oriented middleware comprises: message sends service unit, described message send queue, described message sink service unit, described message sink queue.
402: in advance message monitoring device is set in message sink service unit, and message monitoring queue is set in message sink service unit side.
403: message sender message call sends the putMqAPI interface that service unit provides, send to message to send service unit by needing the message of transmission.
404: message sends each message that message sender is sent by service unit, and put into message send queue successively in order, such as, first message puts into the afterbody of message send queue.
When message send queue is full, following step 405 can be performed.
405: message sends service unit and message sink service unit connects, and takes out current message, be designated as message A from the current tail of message send queue.
406: for the message A of current taking-up, message sends service unit and carry message header in message A, and this message header comprises the ID value of message A in message send queue, i.e. sequence number.
Such as, message A is the message that in message send queue, first is taken out, then message header comprises the sequence number that ID value is 1.For another example, message A is the message that in message send queue, second is taken out, then message header comprises the sequence number that ID value is 2.
In same message send queue to the every bar message added can from 1 serial number, the maximal value of message number is 0xFFFFFFFF, after reaching maximal value from 1 circulation restart numbering.
407: message sends service unit and sends message A to message sink service unit.
408: message sink service unit receives a piece of news, from this message, parse message header.
409: message sink service unit, according to the ID value in the message header parsed, judges whether this ID value is that the ID value that in the upper message received, message header carries adds 1, if not, then performs 410, if so, perform 411.
410: message sink service unit sends service unit to message and returns the feedback code representing and receive mistake, returns 408.
411: message sink service unit determination current message is expect to send the message A received service unit to message and return the feedback code representing that reception is correct, be saved in by message A in message sink queue.
Each current message received for message sink service unit all performs the process of above-mentioned steps 408 to 411.
412: message sink service unit provides getMqAPI interface to message receiver, message receiver calls this putMqAPI interface.
413: the message in message sink queue is taken out and sent to message receiver by message sink service unit one by one.
414: in the process of above-mentioned steps 405 to step 413, message sink service unit (i.e. the inner extra message monitoring device arranged of message sink service unit) monitoring sends the interactive information of service unit with message.
Here, the interaction message monitored comprises: message sends service unit and sends the transmission information that service disconnects information, message sends service unit of service unit, message transmission service unit to the heartbeat message of message sink service unit, the log-on message of message sink service unit and the closing information of message sink service unit to the service-connection information of message sink service unit, message.
415: the monitor message monitored is saved in message monitoring queue by message sink service unit (i.e. the inner extra message monitoring device arranged of message sink service unit).
416: management devices obtains monitor message from message monitoring queue, and carry out integrated management.
It should be noted that, the process of each step described in above-mentioned Fig. 4 does not have the sequencing on performing, and is the describing mode taked for convenience of description.Such as, some process that message sends service unit process with some of message sink service unit and perform respectively simultaneously.For another example, carried out the process monitored by the message monitoring device in message sink service unit, the process sending service unit and message sink service unit message transfer with message can be carried out simultaneously.
The content such as information interaction, implementation between each unit in the said equipment, due to the inventive method embodiment based on same design, particular content can see in the inventive method embodiment describe, repeat no more herein.
Each embodiment of the present invention at least has following beneficial effect:
1, in the embodiment of the present invention, message-oriented middleware can be set to comprise message and send service unit, described message send queue, described message sink service unit, and described message sink queue, the mutual of service unit and message sink service unit is sent by message, can complete the transmission of messages of transmit leg in message send queue in message sink queue, so that subsequent transmission is to message receiver, therefore, by arranging message monitoring device, only need the reciprocal process of monitoring transmission service unit and message sink service unit, and the reciprocal process information monitored is saved in message monitoring queue, monitoring can be completed more conveniently, and by the object of monitoring message preservation.
2, in the embodiment of the present invention, be provided with three queues, comprise: message send queue, message sink queue and message monitoring queue, and correspond to the treating apparatus of each queue, and the message corresponding to message send queue sends service unit, corresponding to the message sink service unit of message sink queue, and correspond to the message monitoring device of message monitoring queue.The monitoring to message-oriented middleware can be completed by the cooperation of three queues and respective handling device thereof.Implementation procedure is simple, is conducive to process to the monitoring of message-oriented middleware and monitor message (such as Centralized Monitoring message the process of collective analysis).
3, in the embodiment of the present invention, message monitoring device can be arranged on message sink service unit inner, that is, can be by message sink service unit to complete the monitoring that message sends reciprocal process between service unit and message sink service unit, can ensure to monitor monitor message more comprehensively further.
4, in embodiments of the invention, message header is increased in the message of part transmission in the message, and in message header, carry the sequence number of message in message send queue, this kind of mode can utilize sequence number to ensure the strict transmission in order of message, ensures that message recipient can not leak receipts, heavily receive message.
The message transmitted to utilize message-oriented middleware is further in order strict and ensure that message recipient can not leak receipts, heavily receive message, in an embodiment of the invention,
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised a 〃 〃 〃 〃 〃 〃 " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other same factor.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a supervisory system for message-oriented middleware, is characterized in that, comprising:
Message-oriented middleware, message monitoring device, message monitoring queue;
Described message-oriented middleware comprises: message sends service unit, described message send queue, described message sink service unit and described message sink queue; Wherein,
Described message sends service unit, for each message that receipt message transmit leg is sent, by this each message sequence stored in message send queue; And, take out message current in message send queue one by one, send the first message of current taking-up;
Described message sink service unit, sending the first message of the current transmission of service unit, being saved in message sink queue for receiving described message; And by the transmission of messages in message sink queue to message receiver;
Described message monitoring device, sends the reciprocal process of service unit and message sink service unit, the reciprocal process information monitored is saved in message monitoring queue for monitoring message.
2. system according to claim 1, is characterized in that, it is inner that described message monitoring device is arranged on described message sink service unit; Described message monitoring queue is arranged on described message sink service unit side.
3. system according to claim 2, it is characterized in that, described message monitoring device is specifically monitored: message sends that service unit sends the transmission information that service disconnects information, message sends service unit of service unit to the service-connection information of message sink service unit, message, message sends any one or more in the heartbeat message of message sink service unit, the log-on message of message sink service unit and the closing information of message sink service unit of service unit.
4. system according to claim 1, it is characterized in that, described message sends service unit, further after take out the first message from message send queue, and before sending the first message to message sink service unit, in described first message, carry message header, this message header comprises in message send queue No. ID of the first message; This No. ID is the sequence number of the first message in message send queue;
Described message sink service unit, for after the first message receiving the current transmission of described message transmission service unit, and before being saved in message sink queue, message header is parsed further from the current message received, according to No. ID that message header in the message header parsed No. ID and the upper message received carries, judge that whether current message is the adjacent next message of the upper message received, if not, then determine that current message is not the first message that described expection receives, refusal preservation first message is to described message sink queue, if so, then determine that current message expects to continue the first message received to be saved in message sink queue described in execution.
5., according to described system arbitrary in Claims 1-4, it is characterized in that, comprise further: management devices, wherein,
Described management devices is connected with described monitoring message queue, obtains monitor message, and carry out integrated management from described monitoring message queue;
Or,
Described management devices is connected with described message sink service unit, and the interface provided from described message sink service unit obtains the real-time statistics of described message sink queue.
6. a method for supervising for message-oriented middleware, is characterized in that, arranges message-oriented middleware and comprises: message sends service unit, described message send queue, described message sink service unit and described message sink queue; And message monitoring device, message monitoring queue are set; Also comprise:
Described message sends each message that service unit receipt message transmit leg is sent, by this each message sequence stored in message send queue;
Described message sends service unit and takes out message current in message send queue one by one, sends the first message of current taking-up;
Described message sink service unit receives the first message that described message sends the current transmission of service unit, is saved in message sink queue;
Described message sink service unit by the transmission of messages in message sink queue to message receiver;
The real-time monitoring message of described message monitoring device sends the reciprocal process of service unit and message sink service unit, the reciprocal process information monitored is saved in message monitoring queue.
7. method according to claim 6, is characterized in that, describedly arranges message monitoring device, message monitoring queue comprises:
Described message monitoring device is arranged on described message sink service unit inner; Described message monitoring queue is arranged on described message sink service unit side.
8. method according to claim 7, is characterized in that, the reciprocal process that the real-time monitoring message of described message monitoring device sends service unit and message sink service unit comprises:
Described message monitoring assembly monitor message sends that service unit sends the transmission information that service disconnects information, message sends service unit of service unit to the service-connection information of message sink service unit, message, message sends any one or more in the heartbeat message of message sink service unit, the log-on message of message sink service unit and the closing information of message sink service unit of service unit.
9. method according to claim 6, is characterized in that, after described message sends the first message current in service unit taking-up message send queue, and before the first message of the current taking-up of described transmission, comprises further:
Described message sends service unit and carry message header in described first message, and this message header comprises in message send queue No. ID of the first message; This No. ID is the sequence number of the first message in message send queue;
Described message sink service unit judges whether the current message received is, when expecting the first message received, specifically comprise:
Described message sink service unit parses message header from current message, according to No. ID that message header in the message header parsed No. ID and the upper message received carries, judge that whether current message is the adjacent next message of the upper message received, if not, then determine that current message is not the first message that described expection receives, refusal preservation first message is to described message sink queue; If so, then determine that current message expects to continue the first message received to be saved in message sink queue described in execution.
10., according to described method arbitrary in claim 6 to 9, it is characterized in that, comprise further:
From described monitoring message queue, obtain monitor message by management devices, and carry out integrated management;
Or,
Obtained the real-time statistics of described message sink queue from the interface that described message sink service unit provides by management devices.
CN201510540111.6A 2015-08-28 2015-08-28 Message middleware monitoring method and system Pending CN105243002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510540111.6A CN105243002A (en) 2015-08-28 2015-08-28 Message middleware monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510540111.6A CN105243002A (en) 2015-08-28 2015-08-28 Message middleware monitoring method and system

Publications (1)

Publication Number Publication Date
CN105243002A true CN105243002A (en) 2016-01-13

Family

ID=55040655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510540111.6A Pending CN105243002A (en) 2015-08-28 2015-08-28 Message middleware monitoring method and system

Country Status (1)

Country Link
CN (1) CN105243002A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992394A (en) * 2017-11-28 2018-05-04 顺丰科技有限公司 Monitoring method, device, system, equipment and the storage medium of real time data processing
CN108415808A (en) * 2018-03-06 2018-08-17 顺丰科技有限公司 Access real-time visual monitoring method, system, equipment and the medium of Dispatching Unit
CN108427615A (en) * 2017-02-13 2018-08-21 腾讯科技(深圳)有限公司 A kind of message monitoring method and device
CN108616459A (en) * 2016-11-30 2018-10-02 天津易遨在线科技有限公司 A kind of Message Queuing system that can promote message transmission speed

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1817014A (en) * 2003-05-27 2006-08-09 国际商业机器公司 System for defining an alternate channel routing mechanism in a messaging middleware environment
CN102006309A (en) * 2010-12-16 2011-04-06 新余钢铁集团有限公司 Method for performing real-time communication between manufacturing execution system (MES) and process control system (PCS) and middleware
CN102521044A (en) * 2011-12-30 2012-06-27 北京拓明科技有限公司 Distributed task scheduling method and system based on messaging middleware
US8645970B1 (en) * 2007-09-12 2014-02-04 Sprint Communications Company, L.P. Method to route notifications to designated responder
CN104392377A (en) * 2014-12-09 2015-03-04 四川诚品电子商务有限公司 Cloud transaction system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1817014A (en) * 2003-05-27 2006-08-09 国际商业机器公司 System for defining an alternate channel routing mechanism in a messaging middleware environment
US8645970B1 (en) * 2007-09-12 2014-02-04 Sprint Communications Company, L.P. Method to route notifications to designated responder
CN102006309A (en) * 2010-12-16 2011-04-06 新余钢铁集团有限公司 Method for performing real-time communication between manufacturing execution system (MES) and process control system (PCS) and middleware
CN102521044A (en) * 2011-12-30 2012-06-27 北京拓明科技有限公司 Distributed task scheduling method and system based on messaging middleware
CN104392377A (en) * 2014-12-09 2015-03-04 四川诚品电子商务有限公司 Cloud transaction system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616459A (en) * 2016-11-30 2018-10-02 天津易遨在线科技有限公司 A kind of Message Queuing system that can promote message transmission speed
CN108427615A (en) * 2017-02-13 2018-08-21 腾讯科技(深圳)有限公司 A kind of message monitoring method and device
CN108427615B (en) * 2017-02-13 2020-11-27 腾讯科技(深圳)有限公司 Message monitoring method and device
CN107992394A (en) * 2017-11-28 2018-05-04 顺丰科技有限公司 Monitoring method, device, system, equipment and the storage medium of real time data processing
CN108415808A (en) * 2018-03-06 2018-08-17 顺丰科技有限公司 Access real-time visual monitoring method, system, equipment and the medium of Dispatching Unit
CN108415808B (en) * 2018-03-06 2022-03-15 顺丰科技有限公司 Real-time visual monitoring method, system, equipment and medium for access distribution unit

Similar Documents

Publication Publication Date Title
CN104023020B (en) TypeB messages for mobile device subscribe to supplying system and correlation method
CN105243002A (en) Message middleware monitoring method and system
CN101714930A (en) Method and system for realizing network monitoring
GB0703276D0 (en) Instant messaging activity notification
CN104243608B (en) A kind of communication means, cloud management server and virtual switch
CN104883264A (en) Method and system of virtualizing network cards on network processing platform
CN107147690A (en) A kind of electrical power system wide-area method for message transmission
CN107592215A (en) A kind of method for managing message-oriented middleware
CN103701630A (en) Data processing method and device for data monitoring
CN110048872A (en) A kind of network alarm method, apparatus, system and terminal
CN114071698A (en) Ad hoc network data receiving and transmitting method and device with parameter dynamic configuration and state perception
CN102148699A (en) System and method to provide aggregated alarm indication signals
CN104468708B (en) Data collaborative method and data collaborative device
CN107508828B (en) A kind of very-long-range data interaction system and method
CN104580346A (en) Data transmission method and device
CN103220188A (en) Hyper text transport protocol (HTTP) data acquisition equipment
CN102238571B (en) Apparatus of Internet of Things machine to machine/man (M2M) business processing, system and method thereof
CN108628720A (en) Equipment monitoring system and method under a kind of cascade scene
CN103618665A (en) Method for pushing messages to client
CN102970701B (en) Base station, base control and method
CN105592485A (en) Method for collecting and processing messages in real time based on SNMP
CN104270374A (en) Method and system of JMS cross forward isolating device
CN103346961A (en) Method and system for data packaging exchanging
CN107547305A (en) A kind of network communicating system and method
CN109995589B (en) Log collection method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160113