CN110213120A - A kind of the pressure survey method, apparatus and terminal device of message-oriented middleware - Google Patents
A kind of the pressure survey method, apparatus and terminal device of message-oriented middleware Download PDFInfo
- Publication number
- CN110213120A CN110213120A CN201910334044.0A CN201910334044A CN110213120A CN 110213120 A CN110213120 A CN 110213120A CN 201910334044 A CN201910334044 A CN 201910334044A CN 110213120 A CN110213120 A CN 110213120A
- Authority
- CN
- China
- Prior art keywords
- message
- operating status
- oriented middleware
- node
- middleware
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Abstract
The present invention is suitable for field of communication technology, the pressure for providing a kind of middleware surveys method, apparatus and terminal device, method includes: in productive consumption information process, the communication connection with consumer end is disconnected, producer's terminal concurrence number is improved, accumulates the consumption message constantly, after preset time period, the operating status of supervisory messages middleware determines the abnormal performance of the message-oriented middleware if the operating status of the message-oriented middleware is abnormal state.The present invention passes through in productive consumption information process, disconnect the communication connection with consumer end, improve producer's terminal concurrence number, it accumulates the consumption message constantly, and the operating status of supervisory messages middleware, can determine operating status of the message-oriented middleware in the case where consuming message accumulation, judge whether message-oriented middleware breaks down, to guarantee during productive consumption, message-oriented middleware can continually and steadily be run, and avoid unnecessary loss.
Description
Technical field
Method, apparatus is surveyed the invention belongs to the pressure of field of communication technology more particularly to a kind of message-oriented middleware and terminal is set
It is standby.
Background technique
Recently, message-oriented middleware is increasingly becoming the core component of computer industry internal system.
The existing day normal pressure to message-oriented middleware surveys method, generally pays close attention to message-oriented middleware under normal circumstances
Load performance, however, practical business service is likely to occur some abnormal scenes in reality, abnormal scene may be led
Cause abnormalities, the existing pressure survey methods such as information drop-out occurs in message-oriented middleware, service hangs that can not detect above-mentioned exception,
Message-oriented middleware can not continually and steadily be run, and cause some unnecessary losses.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of pressures of message-oriented middleware to survey method, apparatus and terminal device, with
The exception that message-oriented middleware occurs can not be detected by solving pressure survey method in the prior art, and message-oriented middleware can not be transported continually and steadily
The problem of going, causing unnecessary loss.
The pressure that the first aspect of the embodiment of the present invention provides a kind of message-oriented middleware surveys method, comprising:
In productive consumption information process, the communication connection with consumer end is disconnected, producer's terminal concurrence number is improved, makes
The consumption message is constantly accumulated;
After preset time period, the operating status of supervisory messages middleware;
If the operating status of the message-oriented middleware is abnormal state, the abnormal performance of the message-oriented middleware is determined.
Optionally, the method, further includes:
It repeats in the productive consumption information process, disconnects the communication connection with consumer end, improve the producer
Terminal concurrence number, the step of accumulating the consumption message constantly, and open the communication connection with the consumer end;
After preset time period, the operating status of the message-oriented middleware and the operation shape of the consumer end are monitored
State;
If the operating status of the message-oriented middleware is normal condition and consumer end's operating status is abnormal shape
State then determines the abnormal performance of the consumer end.
Optionally, described after preset time period, after the operating status of supervisory messages middleware, further includes:
If the operating status of the message-oriented middleware is normal condition, the communication connection with host node is disconnected;
Obtain the operating status from node;
If from the operating status of node it is abnormality described, determines the abnormal performance from node.
Optionally, the acquisition is after the operating status of node, comprising:
The step of repeating the disconnection and the communication connection of host node, obtaining from the operating status of node;
Open with the communication connection of the host node, and obtain open after host node operating status and unlatching after from node
Operating status;
If after the operating status of host node and the unlatching from the operating status of node being normal condition after the unlatching,
Then determine the host node and described normal from node switching.
Optionally, described after preset time period, after the operating status of supervisory messages middleware, further includes:
If the operating status of the message-oriented middleware is normal condition, disconnect and the communication connection from node;
Obtain the operating status of host node;
If the operating status of the host node is abnormality, determine the host node for resistance to compression exception.
The pressure that the second aspect of the embodiment of the present invention provides a kind of message-oriented middleware surveys device, comprising:
First switching module improves life for disconnecting the communication connection with consumer end in productive consumption information process
Production person's terminal concurrence number accumulates the consumption message constantly;
First monitoring modular is used for the operating status of supervisory messages middleware after preset time period;
First judgment module determines the message if the operating status for the message-oriented middleware is abnormal state
The abnormal performance of middleware.
The third aspect of the embodiment of the present invention provides a kind of terminal device, comprising: memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes such as the step of the above method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, realizes when the computer program is executed by processor such as the step of the above method.
The embodiment of the present invention improves life by disconnecting the communication connection with consumer end in productive consumption information process
Production person's terminal concurrence number accumulates the consumption message constantly, and the operating status of supervisory messages middleware, can determine message
Operating status of the middleware in the case where consuming message accumulation, judges whether message-oriented middleware breaks down, to guarantee in life
It produces in process of consumption, message-oriented middleware can continually and steadily be run, and avoid unnecessary loss.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram of the pressure survey method for the message-oriented middleware that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the pressure survey method of message-oriented middleware provided by Embodiment 2 of the present invention;
Fig. 3 is the flow diagram of the pressure survey method for the message-oriented middleware that the embodiment of the present invention three provides;
Fig. 4 is that the pressure for the message-oriented middleware that the embodiment of the present invention four provides surveys the structural schematic diagram of device;
Fig. 5 is the schematic diagram for the terminal device that the embodiment of the present invention five provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is the present invention one
The embodiment divided, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, should fall within the scope of the present invention.
Description and claims of this specification and term " includes " and their any deformations in above-mentioned attached drawing, meaning
Figure, which is to cover, non-exclusive includes.Such as process, method or system comprising a series of steps or units, product or equipment do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ", " second " and
" third " etc. is for distinguishing different objects, not for description particular order.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
As shown in Figure 1, the present embodiment provides a kind of pressures of message-oriented middleware to survey method, this method be can be applied to such as hand
Machine, PC, tablet computer or other terminal devices comprising message-oriented middleware.The pressure of message-oriented middleware provided by the present embodiment is surveyed
Method, comprising:
In S101, productive consumption information process, the communication connection with consumer end is disconnected, improves producer's terminal concurrence
Number, accumulates the consumption message constantly.
In a particular application, this method can be applied to the terminal device comprising any message-oriented middleware, such as ActiveMQ,
The message-oriented middlewares such as RobbitMQ, kafka, redis.Part is between in the message to break in normal condition productive consumption information process
The communication connection with consumer end is opened, the number of concurrent of producer's terminal is improved, accumulates consumption message always.
S102, after preset time period, the operating status of supervisory messages middleware.
In a particular application, after preset time period, the operating status of supervisory messages middleware.Message-oriented middleware
Operating status includes: message-oriented middleware operating status, communication for service state and server resource using status.Preset time period can
It is specifically set according to the actual situation, for example, can be set as 5s.
If the operating status of S103, the message-oriented middleware is abnormal state, the performance of the message-oriented middleware is determined
It is abnormal.
In a particular application, if message-oriented middleware is operating abnormally, communication for service exception or server resource use exception,
The then abnormal performance of decision message middleware.
The present embodiment improves the producer by disconnecting the communication connection with consumer end in productive consumption information process
Terminal concurrence number accumulates the consumption message constantly, and the operating status of supervisory messages middleware, can determine among message
Operating status of the part in the case where consuming message accumulation, judges whether message-oriented middleware breaks down, to guarantee to disappear in production
During taking, message-oriented middleware can continually and steadily be run, and avoid unnecessary loss.
Embodiment two
As shown in Fig. 2, the present embodiment is the further explanation to the method and step in embodiment one.In the present embodiment,
The method, further includes:
S104, it repeats in the productive consumption information process, disconnects the communication connection with consumer end, improve life
Production person's terminal concurrence number, the step of accumulating the consumption message constantly, and open the communication connection with the consumer end.
In a particular application, the operation of step S101 in above-described embodiment one is repeated, and is opened logical with consumer end
Letter connection.
S105, after preset time period, monitor the operating status of the message-oriented middleware and the fortune of the consumer end
Row state;
In a particular application, after preset time period, the operating status of supervisory messages middleware and consumer end.Consumption
The operating status of person's terminal is whether detection consumer end duplicates consumption.
If the operating status of S106, the message-oriented middleware are normal condition and consumer end's operating status is different
Normal state then determines the abnormal performance of the consumer end.
In a particular application, if the operating status of message-oriented middleware is normal condition and consumer end's operating status is different
Normal state then determines that consumer end will appear abnormal performance in the case where consuming message accumulation.
In one embodiment, after the step S102, further includes:
If the operating status of S107, the message-oriented middleware is normal condition, the communication connection with host node is disconnected;
S108, it obtains from the operating status of node;
If S109, it is described from the operating status of node be abnormality, determine the abnormal performance from node.
In a particular application, in the message between in the case that part operates normally, cutting and the communication connection of host node are considerable
Examine from the operating status of node (whether can be operated normally from node as from, if occur reporting an error, communication for service it is whether normal,
Whether server resource service condition is normal), if being abnormality from the operating status of node, judgement disappears from node in consumption
It will appear abnormal performance in the case where breath accumulation and host node communication cutting.Conversely, then determining from node in consumption message accumulation
And the performance in the case where host node communication cutting is normal.
In one embodiment, after the step S108, further includes:
The step of repeating the disconnection and the communication connection of host node, obtaining from the operating status of node;
Open with the communication connection of the host node, and obtain open after host node operating status and unlatching after from node
Operating status;
If after the operating status of host node and the unlatching from the operating status of node being normal condition after the unlatching,
Then determine the host node and described normal from node switching.
In a particular application, repeat the above steps S107 to 108 the step of, reopen the communication connection with host node,
And obtain open host node after (i.e. main and subordinate node switching after) host node operating status and from the operating status of node (for example,
Observe host node whether normal operation, from node whether normal operation, if normally produce above-mentioned consumption message, whether normal
The above-mentioned consumption message of consumption, whether server resource use state normal etc.), if opening the operation shape of host node after host node
State and to open after host node from the operating status of node be normal condition then determines that host node and switching from node are normal.
The present embodiment by during productive consumption, in varied situations repeatedly switching or open with host node and/or
From the communication of node, to determine from node and host node anti-pressure ability in varied situations and operating status, to guarantee to lead
Node and continual and steady operation from node provide more guarantees for production system business.
Embodiment three
As shown in figure 3, the present embodiment is the further explanation to the method and step in embodiment one.In the present embodiment,
After the step S102, further includes:
If the operating status of S201, the message-oriented middleware is normal condition, disconnect and the communication connection from node.
In a particular application, in productive consumption information process, the communication connection with consumer end is disconnected, improves the producer
Terminal concurrence number accumulates the consumption message constantly, after preset time period, monitors that the operating status of message-oriented middleware is
Normal condition then disconnects and the communication connection from node.
S202, the operating status for obtaining host node.
If the operating status of S203, the host node is abnormality, determine the host node for resistance to compression exception.
In a particular application, if cutting abnormal (example occurs with the state for after the communication connection of node, getting host node
Such as, host node is operating abnormally, and exception occurs in communication for service or server resource use state is abnormal), then determine that host node cannot
Load pressure is kept out, i.e. host node is that resistance to compression is abnormal.Conversely, then determine that host node can keep out load pressure, it is normal to transport
Row, i.e. host node are that resistance to compression is normal.
The present embodiment is by the way that in the case where consuming message accumulation, cutting and the communication connection from node judge above-mentioned
In the case of the operating status of host node, to guarantee the performance of host node, make to disappear to determine the anti-load pressure of host node
Breath is normally produced, is consumed.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Example IV
As shown in figure 4, the present embodiment provides a kind of pressures of message-oriented middleware to survey device 100, for executing in embodiment one
Method and step.The pressure of message-oriented middleware provided in this embodiment surveys device 100, comprising:
First switching module 101, for disconnecting the communication connection with consumer end, mentioning in productive consumption information process
High producer's terminal concurrence number accumulates the consumption message constantly;
First monitoring modular 102 is used for the operating status of supervisory messages middleware after preset time period;
First judgment module 103 disappears described in judgement if the operating status for the message-oriented middleware is abnormal state
Cease the abnormal performance of middleware.
In one embodiment, described device 100, further includes:
Opening module disconnects the communication link with consumer end for repeating in the productive consumption information process
The step of connecing, improving producer's terminal concurrence number, accumulate the consumption message constantly, and open with the consumer end's
Communication connection;
Second monitoring modular monitors the operating status of the message-oriented middleware and described disappears for after preset time period
The operating status of the person's of expense terminal;
Second judgment module, if the operating status for the message-oriented middleware is normal condition and the consumer end
Operating status is abnormality, then determines the abnormal performance of the consumer end.
In one embodiment, described device 100, further includes:
Second switching module, if the operating status for the message-oriented middleware is normal condition, disconnection and host node
Communication connection;
First obtains module, for obtaining the operating status from node;
Third judgment module, if for it is described from the operating status of node be abnormality, determine described from node
Abnormal performance.
In one embodiment, described device 100, comprising:
4th judgment module obtains the operating status from node for repeating the communication connection of the disconnection and host node
The step of;
Second obtain module, for opens with the communication connection of the host node, and obtain unlatching after host node operation
From the operating status of node after state and unlatching;
5th judgment module, if for the operation after the operating status and the unlatching of host node after the unlatching from node
State is normal condition, then determines the host node and described normal from node switching.
In one embodiment, described device 100, further includes:
Third switching module, if the operating status for the message-oriented middleware is normal condition, disconnect with from node
Communication connection;
Third obtains module, for obtaining the operating status of host node;
6th judgment module determines that the host node is if the operating status for the host node is abnormality
Resistance to compression is abnormal
The present embodiment improves the producer by disconnecting the communication connection with consumer end in productive consumption information process
Terminal concurrence number accumulates the consumption message constantly, and the operating status of supervisory messages middleware, can determine among message
Operating status of the part in the case where consuming message accumulation, judges whether message-oriented middleware breaks down, to guarantee to disappear in production
During taking, message-oriented middleware can continually and steadily be run, and avoid unnecessary loss.
Embodiment five
Fig. 5 is the schematic diagram of terminal device provided in this embodiment.As shown in figure 5, the terminal device 5 of the embodiment wraps
It includes: processor 50, memory 51 and being stored in the computer that can be run in the memory 51 and on the processor 50
Program 52, such as the pressure ranging sequence of message-oriented middleware.The processor 50 is realized above-mentioned each when executing the computer program 52
The pressure of a message-oriented middleware surveys the step in embodiment of the method, such as step S101 to S103 shown in FIG. 1.Alternatively, the place
Reason device 50 realizes the function of each module/unit in above-mentioned each Installation practice, such as Fig. 4 institute when executing the computer program 52
Show the function of module 101 to 103.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the terminal device 5 is described.For example, the computer program 52 can be divided
It is cut into the first switching module, the first monitoring modular and first judgment module, each module concrete function is as follows:
First switching module improves life for disconnecting the communication connection with consumer end in productive consumption information process
Production person's terminal concurrence number accumulates the consumption message constantly;
First monitoring modular is used for the operating status of supervisory messages middleware after preset time period;
First judgment module determines the message if the operating status for the message-oriented middleware is abnormal state
The abnormal performance of middleware.
The terminal device 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5
The only example of terminal device 5 does not constitute the restriction to terminal device 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the terminal device 5, such as the hard disk or interior of terminal device 5
It deposits.The memory 51 is also possible to the External memory equipment of the terminal device 5, such as be equipped on the terminal device 5
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), safe digital card (Secure Digital, SD) dodge
Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the terminal device 5
Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of pressure of message-oriented middleware surveys method characterized by comprising
In productive consumption information process, the communication connection with consumer end is disconnected, improves producer's terminal concurrence number, is made described
Consumption message is constantly accumulated;
After preset time period, the operating status of supervisory messages middleware;
If the operating status of the message-oriented middleware is abnormal state, the abnormal performance of the message-oriented middleware is determined.
2. the pressure of message-oriented middleware as described in claim 1 surveys method, which is characterized in that the method, further includes:
It repeats in the productive consumption information process, disconnects the communication connection with consumer end, improve producer's terminal
Number of concurrent, the step of accumulating the consumption message constantly, and open the communication connection with the consumer end;
After preset time period, the operating status of the message-oriented middleware and the operating status of the consumer end are monitored;
If the operating status of the message-oriented middleware is normal condition and consumer end's operating status is abnormality,
Determine the abnormal performance of the consumer end.
3. the pressure of message-oriented middleware as described in claim 1 surveys method, which is characterized in that described after preset time period, prison
It surveys after the operating status of message-oriented middleware, further includes:
If the operating status of the message-oriented middleware is normal condition, the communication connection with host node is disconnected;
Obtain the operating status from node;
If from the operating status of node it is abnormality described, determines the abnormal performance from node.
4. the pressure of message-oriented middleware as claimed in claim 3 surveys method, which is characterized in that the operation shape obtained from node
After state, comprising:
The step of repeating the disconnection and the communication connection of host node, obtaining from the operating status of node;
Open with the communication connection of the host node, and obtain open after host node operating status and unlatching after from the fortune of node
Row state;
If after the operating status of host node and the unlatching from the operating status of node being normal condition after the unlatching, sentence
The fixed host node and described normal from node switching.
5. the pressure of message-oriented middleware as described in claim 1 surveys method, which is characterized in that described after preset time period, prison
It surveys after the operating status of message-oriented middleware, further includes:
If the operating status of the message-oriented middleware is normal condition, disconnect and the communication connection from node;
Obtain the operating status of host node;
If the operating status of the host node is abnormality, determine the host node for resistance to compression exception.
6. a kind of pressure of message-oriented middleware surveys device characterized by comprising
First switching module improves the producer for disconnecting the communication connection with consumer end in productive consumption information process
Terminal concurrence number accumulates the consumption message constantly;
First monitoring modular is used for the operating status of supervisory messages middleware after preset time period;
First judgment module determines among the message if the operating status for the message-oriented middleware is abnormal state
The abnormal performance of part.
7. the pressure of message-oriented middleware as claimed in claim 6 surveys device, which is characterized in that further include:
Opening module disconnects the communication connection with consumer end, mentions for repeating in the productive consumption information process
High producer's terminal concurrence number, the step of accumulating the consumption message constantly, and open the communication with the consumer end
Connection;
Second monitoring modular, for after preset time period, monitor the message-oriented middleware operating status and the consumer
The operating status of terminal;
Second judgment module, if the operating status for the message-oriented middleware is normal condition and the consumer end runs
State is abnormality, then determines the abnormal performance of the consumer end.
8. the pressure of message-oriented middleware as claimed in claim 7 surveys device, which is characterized in that further include:
Second switching module is disconnected logical with host node if the operating status for the message-oriented middleware is normal condition
Letter connection;
First obtains module, for obtaining the operating status from node;
Third judgment module, if for it is described from the operating status of node be abnormality, determine the performance from node
It is abnormal.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910334044.0A CN110213120B (en) | 2019-04-24 | 2019-04-24 | Message middleware pressure measurement method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910334044.0A CN110213120B (en) | 2019-04-24 | 2019-04-24 | Message middleware pressure measurement method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110213120A true CN110213120A (en) | 2019-09-06 |
CN110213120B CN110213120B (en) | 2020-12-04 |
Family
ID=67786226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910334044.0A Active CN110213120B (en) | 2019-04-24 | 2019-04-24 | Message middleware pressure measurement method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110213120B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115378831A (en) * | 2022-08-19 | 2022-11-22 | 中国建设银行股份有限公司 | Monitoring method and device for message middleware server |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576846A (en) * | 2008-05-09 | 2009-11-11 | 北京世纪拓远软件科技发展有限公司 | Method for testing software performance |
CN103312558A (en) * | 2013-05-15 | 2013-09-18 | 武汉长江通信产业集团股份有限公司 | Network connection availability monitoring method and system in computer client server system |
US20140108641A1 (en) * | 2012-10-15 | 2014-04-17 | International Business Machines Corporation | Transaction middleware based application level transaction instance tracking across a composite application |
CN103986608A (en) * | 2014-05-29 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | J2EE application virtualization management method based on Itanium Linux application containers |
CN106776300A (en) * | 2016-12-01 | 2017-05-31 | 北京驰波信息工程有限公司 | The pressure testing system and method for a kind of intermediate system |
CN107197017A (en) * | 2017-05-23 | 2017-09-22 | 努比亚技术有限公司 | A kind of consuming method, terminal and computer-readable recording medium based on consumption queue |
CN108196961A (en) * | 2017-12-28 | 2018-06-22 | 广东蜂助手网络技术股份有限公司 | A kind of asynchronous message processing method, terminal, system and storage medium |
CN108304438A (en) * | 2017-10-12 | 2018-07-20 | 深圳市天下房仓科技有限公司 | Mass data storage means and mass data storage system |
CN108347352A (en) * | 2018-02-05 | 2018-07-31 | 中国电力科学研究院有限公司 | The diagnostic method of information system and equipment performance in a kind of electric system |
CN108845808A (en) * | 2018-06-22 | 2018-11-20 | 平安科技(深圳)有限公司 | Middleware installation method, device, computer equipment and storage medium |
CN109120481A (en) * | 2018-09-27 | 2019-01-01 | 上海新炬网络信息技术股份有限公司 | Method based on Zabbix open source monitor component DCOS container and bosom part |
-
2019
- 2019-04-24 CN CN201910334044.0A patent/CN110213120B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576846A (en) * | 2008-05-09 | 2009-11-11 | 北京世纪拓远软件科技发展有限公司 | Method for testing software performance |
US20140108641A1 (en) * | 2012-10-15 | 2014-04-17 | International Business Machines Corporation | Transaction middleware based application level transaction instance tracking across a composite application |
CN103312558A (en) * | 2013-05-15 | 2013-09-18 | 武汉长江通信产业集团股份有限公司 | Network connection availability monitoring method and system in computer client server system |
CN103986608A (en) * | 2014-05-29 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | J2EE application virtualization management method based on Itanium Linux application containers |
CN106776300A (en) * | 2016-12-01 | 2017-05-31 | 北京驰波信息工程有限公司 | The pressure testing system and method for a kind of intermediate system |
CN107197017A (en) * | 2017-05-23 | 2017-09-22 | 努比亚技术有限公司 | A kind of consuming method, terminal and computer-readable recording medium based on consumption queue |
CN108304438A (en) * | 2017-10-12 | 2018-07-20 | 深圳市天下房仓科技有限公司 | Mass data storage means and mass data storage system |
CN108196961A (en) * | 2017-12-28 | 2018-06-22 | 广东蜂助手网络技术股份有限公司 | A kind of asynchronous message processing method, terminal, system and storage medium |
CN108347352A (en) * | 2018-02-05 | 2018-07-31 | 中国电力科学研究院有限公司 | The diagnostic method of information system and equipment performance in a kind of electric system |
CN108845808A (en) * | 2018-06-22 | 2018-11-20 | 平安科技(深圳)有限公司 | Middleware installation method, device, computer equipment and storage medium |
CN109120481A (en) * | 2018-09-27 | 2019-01-01 | 上海新炬网络信息技术股份有限公司 | Method based on Zabbix open source monitor component DCOS container and bosom part |
Non-Patent Citations (1)
Title |
---|
张嘉树,: ""消息队列中间件性能测试工具的设计与实现"", 《中国优秀硕士学位论文全文数据库-信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115378831A (en) * | 2022-08-19 | 2022-11-22 | 中国建设银行股份有限公司 | Monitoring method and device for message middleware server |
Also Published As
Publication number | Publication date |
---|---|
CN110213120B (en) | 2020-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Di Giorgio et al. | A Bayesian network-based approach to the critical infrastructure interdependencies analysis | |
CN108683549A (en) | A kind of network security applied in electric power monitoring system monitors system | |
CN104796273A (en) | Method and device for diagnosing root of network faults | |
CN107659431A (en) | Interface processing method, apparatus, storage medium and processor | |
CA2968506C (en) | Application platform operable on network node | |
CN107636741A (en) | Fault early warning method, terminal device and the storage medium of financial terminal | |
CN110955586A (en) | System fault prediction method, device and equipment based on log | |
CN110247725A (en) | The line fault investigation method, apparatus and terminal device of OTN network | |
CN108021485A (en) | The monitoring method and device of application program running state | |
CN109115262A (en) | A kind of stirring factory production line monitoring method and system | |
CN109299064A (en) | Database monitoring method and terminal device | |
CN110213120A (en) | A kind of the pressure survey method, apparatus and terminal device of message-oriented middleware | |
CN108923957A (en) | A kind of method, apparatus and terminal device of distribution network terminal DTU troubleshooting | |
CN114511147A (en) | Line loss monitoring and early warning method, device, equipment and storage medium | |
CN109412902B (en) | Intelligent monitoring method, storage device, terminal and system of power dispatching data network system | |
CN106095638A (en) | The method of a kind of server resource alarm, Apparatus and system | |
CN105100216A (en) | Multi-service monitoring method and device | |
CN109818808A (en) | Method for diagnosing faults, device and electronic equipment | |
CN108133540A (en) | Detection method, detection device and the electronic equipment of bank note quantity exception in cash box | |
Zio | Vulnerability and risk analysis of critical infrastructures | |
CN105892387B (en) | The automatic reporting device of computer room hidden danger and method based on cross-platform multi-point data acquisition MPCA model | |
CN109191666A (en) | Bank note number difference detecting method, device, equipment and storage medium | |
CN107453949A (en) | A kind of method and device of monitoring management | |
CN114282603A (en) | Alarm information clustering method and device and storage medium | |
CN105471621A (en) | Alarm processing system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |