[go: up one dir, main page]

CN110213120B - A pressure measurement method, device and terminal equipment for message middleware - Google Patents

A pressure measurement method, device and terminal equipment for message middleware Download PDF

Info

Publication number
CN110213120B
CN110213120B CN201910334044.0A CN201910334044A CN110213120B CN 110213120 B CN110213120 B CN 110213120B CN 201910334044 A CN201910334044 A CN 201910334044A CN 110213120 B CN110213120 B CN 110213120B
Authority
CN
China
Prior art keywords
message middleware
running state
abnormal
state
communication connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910334044.0A
Other languages
Chinese (zh)
Other versions
CN110213120A (en
Inventor
于福荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shengxinyuan Technology Co ltd
Original Assignee
Shenzhen Zhilian Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhilian Iot Technology Co ltd filed Critical Shenzhen Zhilian Iot Technology Co ltd
Priority to CN201910334044.0A priority Critical patent/CN110213120B/en
Publication of CN110213120A publication Critical patent/CN110213120A/en
Application granted granted Critical
Publication of CN110213120B publication Critical patent/CN110213120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明适用于通信技术领域,提供了一种中间件的压测方法、装置及终端设备,方法包括:生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积,在预设时间段后,监测消息中间件的运行状态,若所述消息中间件的运行状态为状态异常,则判定所述消息中间件的性能异常。本发明通过生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积,并监测消息中间件的运行状态,能够判定消息中间件在消费消息堆积的情况下的运行状态,判断消息中间件是否出现故障,以保证在生产消费过程中,消息中间件能够持续稳定运行,避免了不必要的损失。

Figure 201910334044

The present invention is applicable to the field of communication technology, and provides a pressure measurement method, device and terminal equipment for middleware. The consumption messages are continuously accumulated, and after a preset time period, the running state of the message middleware is monitored, and if the running state of the message middleware is abnormal, it is determined that the performance of the message middleware is abnormal. In the present invention, the communication connection with the consumer terminal is disconnected in the process of producing and consuming information, the concurrent number of the producer terminal is increased, the consumption messages are continuously accumulated, and the running state of the message middleware can be monitored, so as to determine that the message middleware is consuming The running status in the case of message accumulation, to determine whether the message middleware is faulty, to ensure that the message middleware can run continuously and stably during the production and consumption process and avoid unnecessary losses.

Figure 201910334044

Description

一种消息中间件的压测方法、装置及终端设备A pressure measurement method, device and terminal equipment for message middleware

技术领域technical field

本发明属于通信技术领域,尤其涉及一种消息中间件的压测方法、装置及终端设备。The invention belongs to the field of communication technologies, and in particular relates to a pressure measurement method, device and terminal equipment for message middleware.

背景技术Background technique

近来,消息中间件逐渐成为计算机行业系统内部的核心组件。Recently, message middleware has gradually become a core component inside the computer industry system.

现有的对消息中间件的日常压测方法,一般重点关注在正常情况下消息中间件的负载性能,然而,在现实情况中,实际业务服务可能出现一些异常情景,异常场景可能会导致消息中间件出现消息丢失、服务挂掉等异常状态,现有的压测方法无法检测出上述异常,消息中间件无法持续稳定运行,造成了一些不必要的损失。The existing daily stress testing methods for message middleware generally focus on the load performance of message middleware under normal circumstances. However, in reality, some abnormal scenarios may occur in actual business services, and abnormal scenarios may cause message middleware The existing pressure measurement methods cannot detect the above exceptions, and the message middleware cannot run continuously and stably, causing some unnecessary losses.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供了一种消息中间件的压测方法、装置及终端设备,以解决现有技术中压测方法无法检测出消息中间件出现的异常,消息中间件无法持续稳定运行,造成了不必要损失的问题。In view of this, the embodiments of the present invention provide a pressure measurement method, device and terminal equipment for message middleware, so as to solve the problem that the pressure measurement method in the prior art cannot detect the abnormality of the message middleware, and the message middleware cannot be continuously stabilized. operation, causing unnecessary losses.

本发明实施例的第一方面提供了一种消息中间件的压测方法,包括:A first aspect of the embodiments of the present invention provides a pressure measurement method for message middleware, including:

生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积;In the process of producing and consuming information, the communication connection with the consumer terminal is disconnected, the concurrent number of the producer terminal is increased, and the consumption information is continuously accumulated;

在预设时间段后,监测消息中间件的运行状态;After a preset time period, monitor the running status of the message middleware;

若所述消息中间件的运行状态为状态异常,则判定所述消息中间件的性能异常。If the running state of the message middleware is abnormal, it is determined that the performance of the message middleware is abnormal.

可选的,所述方法,还包括:Optionally, the method further includes:

重复执行所述生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积的步骤,并开启与所述消费者终端的通信连接;Repeatedly performing the steps of disconnecting the communication connection with the consumer terminal during the process of producing and consuming information, increasing the concurrent number of the producer terminal, making the consumption messages continue to accumulate, and opening the communication connection with the consumer terminal;

在预设时间段后,监测所述消息中间件的运行状态和所述消费者终端的运行状态;After a preset time period, monitor the running state of the message middleware and the running state of the consumer terminal;

若所述消息中间件的运行状态为正常状态且所述消费者终端运行状态为异常状态,则判定所述消费者终端的性能异常。If the running state of the message middleware is a normal state and the running state of the consumer terminal is an abnormal state, it is determined that the performance of the consumer terminal is abnormal.

可选的,所述在预设时间段后,监测消息中间件的运行状态之后,还包括:Optionally, after monitoring the running state of the message middleware after the preset time period, the method further includes:

若所述消息中间件的运行状态为正常状态,则断开与主节点的通信连接;If the running state of the message middleware is a normal state, disconnect the communication connection with the master node;

获取从节点的运行状态;Get the running status of the slave node;

若所述从节点的运行状态为异常状态,则判定所述从节点的性能异常。If the running state of the slave node is an abnormal state, it is determined that the performance of the slave node is abnormal.

可选的,所述获取从节点的运行状态之后,包括:Optionally, after obtaining the running status of the slave node, it includes:

重复所述断开与主节点的通信连接,获取从节点的运行状态的步骤;Repeat the steps of disconnecting the communication connection with the master node to obtain the running status of the slave node;

开启与所述主节点的通信连接,并获取开启后主节点的运行状态和开启后从节点的运行状态;Open the communication connection with the master node, and obtain the operation state of the master node after opening and the operation state of the slave node after opening;

若所述开启后主节点的运行状态和所述开启后从节点的运行状态均为正常状态,则判定所述主节点和所述从节点切换正常。If the operating state of the master node after being turned on and the operating state of the slave node after turning on are both normal states, it is determined that the switching of the master node and the slave node is normal.

可选的,所述在预设时间段后,监测消息中间件的运行状态之后,还包括:Optionally, after monitoring the running state of the message middleware after the preset time period, the method further includes:

若所述消息中间件的运行状态为正常状态,则断开与从节点的通信连接;If the running state of the message middleware is a normal state, disconnect the communication connection with the slave node;

获取主节点的运行状态;Get the running status of the master node;

若所述主节点的运行状态为异常状态,则判定所述主节点为抗压异常。If the running state of the master node is an abnormal state, it is determined that the master node is abnormal in stress resistance.

本发明实施例的第二方面提供了一种消息中间件的压测装置,包括:A second aspect of the embodiments of the present invention provides a pressure measurement device for message middleware, including:

第一切换模块,用于生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积;The first switching module is used for disconnecting the communication connection with the consumer terminal in the process of producing and consuming information, increasing the concurrent number of the producer terminal, and making the consumption messages continue to accumulate;

第一监测模块,用于在预设时间段后,监测消息中间件的运行状态;a first monitoring module, configured to monitor the running state of the message middleware after a preset time period;

第一判断模块,用于若所述消息中间件的运行状态为状态异常,则判定所述消息中间件的性能异常。The first judgment module is configured to judge that the performance of the message middleware is abnormal if the running state of the message middleware is abnormal.

本发明实施例的第三方面提供了一种终端设备,包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述方法的步骤。A third aspect of the embodiments of the present invention provides a terminal device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program When implementing the steps of the above method.

本发明实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述方法的步骤。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

本发明实施例通过生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积,并监测消息中间件的运行状态,能够判定消息中间件在消费消息堆积的情况下的运行状态,判断消息中间件是否出现故障,以保证在生产消费过程中,消息中间件能够持续稳定运行,避免不必要的损失。In the embodiment of the present invention, the communication connection with the consumer terminal is disconnected in the process of producing and consuming information, the concurrent number of the producer terminal is increased, the consumption messages are continuously accumulated, and the running status of the message middleware can be monitored, so that the message middleware can be determined. In the running state of the accumulation of consumption messages, it is judged whether the message middleware is faulty, so as to ensure that the message middleware can run continuously and stably during the production and consumption process and avoid unnecessary losses.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本发明实施例一提供的消息中间件的压测方法的流程示意图;FIG. 1 is a schematic flowchart of a pressure measurement method for message middleware according to Embodiment 1 of the present invention;

图2是本发明实施例二提供的消息中间件的压测方法的流程示意图;FIG. 2 is a schematic flowchart of a pressure measurement method for message middleware according to Embodiment 2 of the present invention;

图3是本发明实施例三提供的消息中间件的压测方法的流程示意图;3 is a schematic flowchart of a pressure measurement method for message middleware according to Embodiment 3 of the present invention;

图4是本发明实施例四提供的消息中间件的压测装置的结构示意图;FIG. 4 is a schematic structural diagram of a pressure measurement device for message middleware according to Embodiment 4 of the present invention;

图5是本发明实施例五提供的终端设备的示意图。FIG. 5 is a schematic diagram of a terminal device according to Embodiment 5 of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order for those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are of the present invention. Some examples, but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含一系列步骤或单元的过程、方法或系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。The term "comprising" and any variations thereof in the description and claims of the present invention and the above drawings are intended to cover non-exclusive inclusions. For example, a process, method or system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes Other steps or units inherent in these processes, methods, products or devices. Also, the terms "first," "second," and "third," etc. are used to distinguish between different objects, rather than to describe a particular order.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, the following specific embodiments are used for description.

实施例一Example 1

如图1所示,本实施例提供一种消息中间件的压测方法,该方法可以应用于如手机、PC、平板电脑或其他包含消息中间件的终端设备。本实施例所提供的消息中间件的压测方法,包括:As shown in FIG. 1 , this embodiment provides a pressure measurement method for message middleware, which can be applied to, for example, a mobile phone, a PC, a tablet computer, or other terminal devices including message middleware. The pressure measurement method for message middleware provided in this embodiment includes:

S101、生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积。S101. In the process of producing and consuming information, the communication connection with the consumer terminal is disconnected, the concurrent number of the producer terminal is increased, and the consumption information is continuously accumulated.

在具体应用中,本方法可应用于包含任一消息中间件的终端设备,例如ActiveMQ、RobbitMQ、kafka、redis等消息中间件。在消息中间件以正常状态生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端的并发数,使消费消息一直堆积。In a specific application, the method can be applied to a terminal device containing any message middleware, such as ActiveMQ, RobbitMQ, kafka, redis and other message middleware. In the process of producing and consuming information in a normal state, the message middleware disconnects the communication connection with the consumer terminal, increases the concurrent number of the producer terminal, and keeps the consumption messages accumulating.

S102、在预设时间段后,监测消息中间件的运行状态。S102. After a preset time period, monitor the running state of the message middleware.

在具体应用中,在经过预设时间段后,监测消息中间件的运行状态。消息中间件的运行状态包括:消息中间件运行状态、服务通信状态和服务器资源使用状态。预设时间段可根据实际情况进行具体设定,例如,可以设定为5s。In a specific application, after a preset time period elapses, the running state of the message middleware is monitored. The running status of the message middleware includes: the running status of the message middleware, the service communication status and the server resource usage status. The preset time period can be specifically set according to the actual situation, for example, it can be set to 5s.

S103、若所述消息中间件的运行状态为状态异常,则判定所述消息中间件的性能异常。S103. If the running state of the message middleware is abnormal, determine that the performance of the message middleware is abnormal.

在具体应用中,若消息中间件运行异常,服务通信异常或者服务器资源使用异常,则判定消息中间件的性能异常。In a specific application, if the message middleware runs abnormally, the service communication is abnormal, or the server resource usage is abnormal, it is determined that the performance of the message middleware is abnormal.

本实施例通过生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积,并监测消息中间件的运行状态,能够判定消息中间件在消费消息堆积的情况下的运行状态,判断消息中间件是否出现故障,以保证在生产消费过程中,消息中间件能够持续稳定运行,避免不必要的损失。In this embodiment, during the process of producing and consuming information, the communication connection with the consumer terminal is disconnected, the concurrent number of the producer terminal is increased, the consumption messages are continuously accumulated, and the running status of the message middleware can be monitored, so as to determine whether the message middleware is in the The running status in the case of accumulation of consumption messages, to determine whether the message middleware is faulty, to ensure that the message middleware can run continuously and stably during the production and consumption process and avoid unnecessary losses.

实施例二Embodiment 2

如图2所示,本实施例是对实施例一中的方法步骤的进一步说明。在本实施例中,所述方法,还包括:As shown in FIG. 2 , this embodiment is a further description of the method steps in the first embodiment. In this embodiment, the method further includes:

S104、重复执行所述生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积的步骤,并开启与所述消费者终端的通信连接。S104. Repeat the steps of disconnecting the communication connection with the consumer terminal during the process of producing and consuming information, increasing the concurrent number of the producer terminal, making the consumption messages continue to accumulate, and opening the communication connection with the consumer terminal .

在具体应用中,重复上述实施例一中步骤S101的操作,并开启与消费者终端的通信连接。In a specific application, the operation of step S101 in the above-mentioned first embodiment is repeated, and the communication connection with the consumer terminal is opened.

S105、在预设时间段后,监测所述消息中间件的运行状态和所述消费者终端的运行状态;S105. After a preset time period, monitor the running state of the message middleware and the running state of the consumer terminal;

在具体应用中,在预设时间段后,监测消息中间件和消费者终端的运行状态。消费者终端的运行状态为检测消费者终端是否出现重复消费。In a specific application, after a preset time period, the running status of the message middleware and the consumer terminal is monitored. The running state of the consumer terminal is to detect whether the consumer terminal has repeated consumption.

S106、若所述消息中间件的运行状态为正常状态且所述消费者终端运行状态为异常状态,则判定所述消费者终端的性能异常。S106. If the running state of the message middleware is a normal state and the running state of the consumer terminal is an abnormal state, determine that the performance of the consumer terminal is abnormal.

在具体应用中,若消息中间件的运行状态为正常状态且消费者终端运行状态为异常状态,则判定消费者终端在消费消息堆积的情况下会出现性能异常。In a specific application, if the running state of the message middleware is in a normal state and the running state of the consumer terminal is in an abnormal state, it is determined that the consumer terminal will have a performance abnormality when consuming messages accumulate.

在一个实施中,所述步骤S102之后,还包括:In one implementation, after the step S102, it further includes:

S107、若所述消息中间件的运行状态为正常状态,则断开与主节点的通信连接;S107, if the running state of the message middleware is a normal state, disconnect the communication connection with the master node;

S108、获取从节点的运行状态;S108, obtain the running status of the slave node;

S109、若所述从节点的运行状态为异常状态,则判定所述从节点的性能异常。S109. If the running state of the slave node is an abnormal state, determine that the performance of the slave node is abnormal.

在具体应用中,在消息中间件正常运行的情况下,切断与主节点的通信连接,可观察从节点的运行状态(如观察从节点是否能正常运行,是否出现报错、服务通信是否正常,服务器资源使用情况是否正常),若从节点的运行状态为异常状态,则判定从节点在消费消息堆积且主节点通信切断的情况下会出现性能异常。反之,则判定从节点在消费消息堆积且主节点通信切断的情况下的性能正常。In a specific application, when the message middleware is running normally, the communication connection with the master node is cut off, and the running status of the slave node can be observed (such as observing whether the slave node can run normally, whether an error occurs, whether the service communication is normal, the server Whether the resource usage is normal), if the running state of the slave node is abnormal, it is determined that the slave node will have abnormal performance when the consumption messages are accumulated and the communication of the master node is cut off. On the contrary, it is determined that the performance of the slave node is normal when the consumption messages are accumulated and the communication of the master node is cut off.

在一个实施例中,所述步骤S108之后,还包括:In one embodiment, after the step S108, it further includes:

重复所述断开与主节点的通信连接,获取从节点的运行状态的步骤;Repeat the steps of disconnecting the communication connection with the master node to obtain the running status of the slave node;

开启与所述主节点的通信连接,并获取开启后主节点的运行状态和开启后从节点的运行状态;Open the communication connection with the master node, and obtain the operation state of the master node after opening and the operation state of the slave node after opening;

若所述开启后主节点的运行状态和所述开启后从节点的运行状态均为正常状态,则判定所述主节点和所述从节点切换正常。If the operating state of the master node after being turned on and the operating state of the slave node after turning on are both normal states, it is determined that the switching of the master node and the slave node is normal.

在具体应用中,重复上述步骤S107至108的步骤,重新开启与主节点的通信连接,并获取开启主节点后(即主从节点切换后)主节点的运行状态和从节点的运行状态(例如,观察主节点是否运行正常,从节点是否运行正常,是否正常的生产上述消费消息、是否正常的消费上述消费消息,服务器资源使用状态是否正常等),若开启主节点后主节点的运行状态和开启主节点后从节点的运行状态均为正常状态,则判定主节点和从节点的切换正常。In a specific application, the above steps S107 to 108 are repeated, the communication connection with the master node is reopened, and the running status of the master node and the running status of the slave node (for example, after the master node is switched) are obtained after the master node is turned on , observe whether the master node is running normally, whether the slave node is running normally, whether the above-mentioned consumption messages are normally produced, whether the above-mentioned consumption messages are normally consumed, whether the server resource usage status is normal, etc.), if the master node is turned on, the running status of the master node and After the master node is turned on, if the running states of the slave nodes are all normal, it is determined that the switching between the master node and the slave node is normal.

本实施例通过在生产消费过程中,在不同情况下多次切换或开启与主节点和/或从节点的通信,以判定从节点和主节点在不同情况下的的抗压能力和运行状态,以保证主节点和从节点的持续稳定运行,为生产系统业务提供更多保障。In this embodiment, during the production and consumption process, the communication with the master node and/or the slave node is switched multiple times under different circumstances, so as to determine the pressure resistance and operating status of the slave node and the master node under different circumstances, In order to ensure the continuous and stable operation of the master node and the slave node, and provide more guarantees for the production system business.

实施例三Embodiment 3

如图3所示,本实施例是对实施例一中的方法步骤的进一步说明。在本实施例中,所述步骤S102之后,还包括:As shown in FIG. 3 , this embodiment is a further description of the method steps in the first embodiment. In this embodiment, after the step S102, it further includes:

S201、若所述消息中间件的运行状态为正常状态,则断开与从节点的通信连接。S201. If the running state of the message middleware is a normal state, disconnect the communication connection with the slave node.

在具体应用中,生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积,在预设时间段后,监测到消息中间件的运行状态为正常状态,则断开与从节点的通信连接。In a specific application, in the process of producing and consuming information, the communication connection with the consumer terminal is disconnected, the concurrent number of the producer terminal is increased, and the consumption messages are continuously accumulated. After a preset time period, the operation of the message middleware is monitored. If the status is normal, the communication connection with the slave node is disconnected.

S202、获取主节点的运行状态。S202. Obtain the running status of the master node.

S203、若所述主节点的运行状态为异常状态,则判定所述主节点为抗压异常。S203. If the running state of the master node is an abnormal state, determine that the master node is abnormal in compression resistance.

在具体应用中,若切断与从节点的通信连接后,获取到主节点的状态出现异常(例如,主节点运行异常,服务通信出现异常或服务器资源使用状态异常),则判定主节点不能抗住高负载压力,即主节点为抗压异常。反之,则判定主节点能够抗住高负载压力,正常运行,即主节点为抗压正常。In a specific application, if the status of the master node is abnormal after cutting off the communication connection with the slave node (for example, the master node is running abnormally, the service communication is abnormal, or the server resource usage status is abnormal), it is determined that the master node cannot resist High load pressure, that is, the main node is abnormally resistant to pressure. On the contrary, it is determined that the master node can withstand the high load pressure and operate normally, that is, the master node is under normal pressure.

本实施例通过在消费消息堆积的情况下,切断与从节点的通信连接,判断在上述情况下主节点的运行状态,以确定主节点的抗高负载压力,以保证主节点的性能,使消费消息正常被生产、消费。In this embodiment, when the consumption messages are accumulated, the communication connection with the slave node is cut off, and the running state of the master node is judged in the above-mentioned situation, so as to determine the high load resistance of the master node, so as to ensure the performance of the master node and make the consumption Messages are produced and consumed normally.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

实施例四Embodiment 4

如图4所示,本实施例提供一种消息中间件的压测装置100,用于执行实施例一中的方法步骤。本实施例提供的消息中间件的压测装置100,包括:As shown in FIG. 4 , this embodiment provides a pressure measurement apparatus 100 for message middleware, which is used to execute the method steps in the first embodiment. The pressure measurement device 100 for message middleware provided in this embodiment includes:

第一切换模块101,用于生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积;The first switching module 101 is used for disconnecting the communication connection with the consumer terminal in the process of producing and consuming information, increasing the concurrent number of the producer terminal, and making the consumption messages continue to accumulate;

第一监测模块102,用于在预设时间段后,监测消息中间件的运行状态;a first monitoring module 102, configured to monitor the running state of the message middleware after a preset time period;

第一判断模块103,用于若所述消息中间件的运行状态为状态异常,则判定所述消息中间件的性能异常。The first judgment module 103 is configured to judge that the performance of the message middleware is abnormal if the running state of the message middleware is abnormal.

在一个实施例中,所述装置100,还包括:In one embodiment, the apparatus 100 further includes:

开启模块,用于重复执行所述生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积的步骤,并开启与所述消费者终端的通信连接;The opening module is used for repeatedly executing the process of producing and consuming information, disconnecting the communication connection with the consumer terminal, increasing the concurrent number of the producer terminal, making the consumption messages continue to accumulate steps, and opening the communication connection with the consumer terminal communication connection;

第二监测模块,用于在预设时间段后,监测所述消息中间件的运行状态和所述消费者终端的运行状态;a second monitoring module, configured to monitor the running state of the message middleware and the running state of the consumer terminal after a preset time period;

第二判断模块,用于若所述消息中间件的运行状态为正常状态且所述消费者终端运行状态为异常状态,则判定所述消费者终端的性能异常。The second judgment module is configured to judge that the performance of the consumer terminal is abnormal if the running state of the message middleware is a normal state and the running state of the consumer terminal is an abnormal state.

在一个实施例中,所述装置100,还包括:In one embodiment, the apparatus 100 further includes:

第二切换模块,用于若所述消息中间件的运行状态为正常状态,则断开与主节点的通信连接;a second switching module, configured to disconnect the communication connection with the master node if the operating state of the message middleware is a normal state;

第一获取模块,用于获取从节点的运行状态;The first obtaining module is used to obtain the running status of the slave node;

第三判断模块,用于若所述从节点的运行状态为异常状态,则判定所述从节点的性能异常。The third judging module is configured to judge that the performance of the slave node is abnormal if the running state of the slave node is an abnormal state.

在一个实施例中,所述装置100,包括:In one embodiment, the apparatus 100 includes:

第四判断模块,用于重复所述断开与主节点的通信连接,获取从节点的运行状态的步骤;a fourth judging module, used for repeating the steps of disconnecting the communication connection with the master node and acquiring the running state of the slave node;

第二获取模块,用于开启与所述主节点的通信连接,并获取开启后主节点的运行状态和开启后从节点的运行状态;a second acquiring module, configured to open a communication connection with the master node, and acquire the running state of the master node after opening and the running state of the slave node after opening;

第五判断模块,用于若所述开启后主节点的运行状态和所述开启后从节点的运行状态均为正常状态,则判定所述主节点和所述从节点切换正常。A fifth judging module, configured to judge that the switching of the master node and the slave node is normal if the operating state of the master node after turning on and the operating state of the slave node after turning on are both normal states.

在一个实施例中,所述装置100,还包括:In one embodiment, the apparatus 100 further includes:

第三切换模块,用于若所述消息中间件的运行状态为正常状态,则断开与从节点的通信连接;a third switching module, configured to disconnect the communication connection with the slave node if the running state of the message middleware is a normal state;

第三获取模块,用于获取主节点的运行状态;The third acquisition module is used to acquire the running status of the master node;

第六判断模块,用于若所述主节点的运行状态为异常状态,则判定所述主节点为抗压异常The sixth judgment module is used for judging that the master node is abnormal under pressure if the running state of the master node is abnormal

本实施例通过生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积,并监测消息中间件的运行状态,能够判定消息中间件在消费消息堆积的情况下的运行状态,判断消息中间件是否出现故障,以保证在生产消费过程中,消息中间件能够持续稳定运行,避免不必要的损失。In this embodiment, during the process of producing and consuming information, the communication connection with the consumer terminal is disconnected, the concurrent number of the producer terminal is increased, the consumption messages are continuously accumulated, and the running status of the message middleware can be monitored, so as to determine whether the message middleware is in the The running status in the case of accumulation of consumption messages, to determine whether the message middleware is faulty, to ensure that the message middleware can run continuously and stably during the production and consumption process and avoid unnecessary losses.

实施例五Embodiment 5

图5是本实施例提供的终端设备的示意图。如图5所示,该实施例的终端设备5包括:处理器50、存储器51以及存储在所述存储器51中并可在所述处理器50上运行的计算机程序52,例如消息中间件的压测程序。所述处理器50执行所述计算机程序52时实现上述各个消息中间件的压测方法实施例中的步骤,例如图1所示的步骤S101至S103。或者,所述处理器50执行所述计算机程序52时实现上述各装置实施例中各模块/单元的功能,例如图4所示模块101至103的功能。FIG. 5 is a schematic diagram of a terminal device provided in this embodiment. As shown in FIG. 5 , the terminal device 5 in this embodiment includes: a processor 50 , a memory 51 , and a computer program 52 stored in the memory 51 and executable on the processor 50 , such as a message middleware test program. When the processor 50 executes the computer program 52 , the steps in the above-mentioned embodiments of the pressure measurement method for each message middleware are implemented, for example, steps S101 to S103 shown in FIG. 1 . Alternatively, when the processor 50 executes the computer program 52, the functions of the modules/units in each of the foregoing apparatus embodiments, such as the functions of the modules 101 to 103 shown in FIG. 4, are implemented.

示例性的,所述计算机程序52可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器51中,并由所述处理器50执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序52在所述终端设备5中的执行过程。例如,所述计算机程序52可以被分割成第一切换模块、第一监测模块和第一判断模块,各模块具体功能如下:Exemplarily, the computer program 52 can be divided into one or more modules/units, and the one or more modules/units are stored in the memory 51 and executed by the processor 50 to complete the this invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 52 in the terminal device 5 . For example, the computer program 52 can be divided into a first switching module, a first monitoring module and a first judgment module, and the specific functions of each module are as follows:

第一切换模块,用于生产消费信息过程中,断开与消费者终端的通信连接,提高生产者终端并发数,使所述消费消息不断堆积;The first switching module is used for disconnecting the communication connection with the consumer terminal in the process of producing and consuming information, increasing the concurrent number of the producer terminal, and making the consumption messages continue to accumulate;

第一监测模块,用于在预设时间段后,监测消息中间件的运行状态;a first monitoring module, configured to monitor the running state of the message middleware after a preset time period;

第一判断模块,用于若所述消息中间件的运行状态为状态异常,则判定所述消息中间件的性能异常。The first judgment module is configured to judge that the performance of the message middleware is abnormal if the running state of the message middleware is abnormal.

所述终端设备5可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器50、存储器51。本领域技术人员可以理解,图5仅仅是终端设备5的示例,并不构成对终端设备5的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device 5 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, the processor 50 and the memory 51 . Those skilled in the art can understand that FIG. 5 is only an example of the terminal device 5, and does not constitute a limitation on the terminal device 5. It may include more or less components than the one shown, or combine some components, or different components For example, the terminal device may further include an input and output device, a network access device, a bus, and the like.

所称处理器50可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 50 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器51可以是所述终端设备5的内部存储单元,例如终端设备5的硬盘或内存。所述存储器51也可以是所述终端设备5的外部存储设备,例如所述终端设备5上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字卡(Secure Digital,SD),闪存卡(Flash Card)等。进一步地,所述存储器51还可以既包括所述终端设备5的内部存储单元也包括外部存储设备。所述存储器51用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器51还可以用于暂时地存储已经输出或者将要输出的数据。The memory 51 may be an internal storage unit of the terminal device 5 , such as a hard disk or a memory of the terminal device 5 . The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital card (Secure Digital, SD card) equipped on the terminal device 5. ), Flash Card, etc. Further, the memory 51 may also include both an internal storage unit of the terminal device 5 and an external storage device. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 can also be used to temporarily store data that has been output or will be output.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units. Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The integrated modules/units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a 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 the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Electric carrier signals and telecommunication signals are not included.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it is still possible to implement the foregoing implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the within the protection scope of the present invention.

Claims (9)

1. A method for pressure measurement of message middleware, comprising:
in the process of producing the consumption information, the communication connection with the consumer terminal is disconnected, the concurrence number of the producer terminal is improved, and the consumption information is continuously accumulated;
after a preset time period, monitoring the running state of the message middleware;
if the running state of the message middleware is a normal state, disconnecting the communication connection with the slave node;
acquiring the running state of a main node;
if the running state of the main node is an abnormal state, judging that the main node is abnormal in pressure resistance;
and if the running state of the message middleware is abnormal, judging that the performance of the message middleware is abnormal.
2. The method of pressure testing of message middleware of claim 1, the method further comprising:
in the process of repeatedly executing the production consumption information, disconnecting the communication connection with the consumer terminal, improving the concurrency of the producer terminal, continuously accumulating the consumption information, and opening the communication connection with the consumer terminal;
after a preset time period, monitoring the running state of the message middleware and the running state of the consumer terminal;
and if the running state of the message middleware is a normal state and the running state of the consumer terminal is an abnormal state, judging that the performance of the consumer terminal is abnormal.
3. The method for pressure measurement of message middleware of claim 1, wherein after monitoring the operating state of the message middleware after a preset time period, further comprising:
if the running state of the message middleware is a normal state, disconnecting the communication connection with the main node;
acquiring the running state of a slave node;
and if the running state of the slave node is an abnormal state, judging that the performance of the slave node is abnormal.
4. The message middleware pressure measurement method as claimed in claim 3, wherein after acquiring the operation state of the slave node, the method comprises:
repeating the step of disconnecting the communication connection with the master node and acquiring the running state of the slave node;
starting communication connection with the main node, and acquiring the running state of the main node after starting and the running state of the slave node after starting;
and if the running state of the started master node and the running state of the started slave node are both normal states, judging that the master node and the slave node are switched normally.
5. A device for pressure measurement of message middleware, comprising:
the first switching module is used for disconnecting the communication connection with the consumer terminal in the process of producing the consumption information, so that the concurrency of the producer terminal is improved, and the consumption information is continuously accumulated;
the first monitoring module is used for monitoring the running state of the message middleware after a preset time period;
the third switching module is used for disconnecting the communication connection with the slave node if the running state of the message middleware is a normal state;
the third acquisition module is used for acquiring the running state of the main node;
the sixth judgment module is used for judging that the main node is abnormal in pressure resistance if the running state of the main node is abnormal;
and the first judgment module is used for judging that the performance of the message middleware is abnormal if the running state of the message middleware is abnormal.
6. The message middleware pressure measurement device as claimed in claim 5, further comprising:
the starting module is used for disconnecting the communication connection with the consumer terminal in the process of repeatedly executing the production consumption information, improving the concurrency of the producer terminal, continuously accumulating the consumption information, and starting the communication connection with the consumer terminal;
the second monitoring module is used for monitoring the running state of the message middleware and the running state of the consumer terminal after a preset time period;
and the second judgment module is used for judging that the performance of the consumer terminal is abnormal if the running state of the message middleware is a normal state and the running state of the consumer terminal is an abnormal state.
7. The message middleware pressure measurement device as claimed in claim 6, further comprising:
the second switching module is used for disconnecting the communication connection with the main node if the running state of the message middleware is a normal state;
the first acquisition module is used for acquiring the running state of the slave node;
and the third judging module is used for judging that the performance of the slave node is abnormal if the running state of the slave node is an abnormal state.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201910334044.0A 2019-04-24 2019-04-24 A pressure measurement method, device and terminal equipment for message middleware Active CN110213120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910334044.0A CN110213120B (en) 2019-04-24 2019-04-24 A pressure measurement method, device and terminal equipment for message middleware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910334044.0A CN110213120B (en) 2019-04-24 2019-04-24 A pressure measurement method, device and terminal equipment for message middleware

Publications (2)

Publication Number Publication Date
CN110213120A CN110213120A (en) 2019-09-06
CN110213120B true 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 A pressure measurement method, device and terminal equipment for message middleware

Country Status (1)

Country Link
CN (1) CN110213120B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115378831B (en) * 2022-08-19 2024-07-30 中国建设银行股份有限公司 Monitoring method and device for message middleware server

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 浪潮电子信息产业股份有限公司 A J2EE application virtualization management method based on Itanium Linux application container
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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576846A (en) * 2008-05-09 2009-11-11 北京世纪拓远软件科技发展有限公司 Method for testing software performance
US9021091B2 (en) * 2012-10-15 2015-04-28 International Business Machines Corporation Transaction middleware based application level transaction instance tracking across a composite application
CN106776300B (en) * 2016-12-01 2020-12-11 银清科技有限公司 A pressure testing system and method for an intermediate system
CN108196961B (en) * 2017-12-28 2020-05-12 蜂助手股份有限公司 Asynchronous message processing method, terminal, system and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 浪潮电子信息产业股份有限公司 A J2EE application virtualization management method based on Itanium Linux application container
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
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)

* Cited by examiner, † Cited by third party
Title
"消息队列中间件性能测试工具的设计与实现";张嘉树,;《中国优秀硕士学位论文全文数据库-信息科技辑》;20190115;第3.2.1、3.2.5、4.3、4.3.2、4.4.2小节以及图4-7、表4-8 *

Also Published As

Publication number Publication date
CN110213120A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN112069034B (en) Fast application exception handling method and device, electronic equipment and storage medium
CN109445954B (en) Execution method, terminal device and storage medium of a timed task
CN111694677A (en) Message queue management method, device, terminal and computer-readable storage medium
CN110945896B (en) A kind of abnormal power consumption prompting method, server and terminal
CN112654974B (en) A file scanning method, a file scanning device and a terminal device
CN105407138B (en) Configuration file loading method and device, communication equipment
CA3202557C (en) A data distribution method, apparatus, device and storage medium
CN110213120B (en) A pressure measurement method, device and terminal equipment for message middleware
US20180173601A1 (en) Energy consumption analysis based on telemetry data
CN113792256B (en) Metering performance evaluation method and device for low-voltage current transformer and electronic equipment
CN112488462A (en) Unified pushing method, device and medium for workflow data
CN118740703A (en) Multi-communication protocol testing method, device, terminal and storage medium
CN110769449B (en) Method and device for analyzing network connection state of terminal of Internet of things
CN101964922B (en) Abnormal condition capturing method and device
CN103383658B (en) Remember the method and server of mobile terminal operation
CN112559087B (en) Information generation method, apparatus, electronic device and computer readable medium
CN105930224B (en) Dump operation control method, device and terminal
CN115842714A (en) Domain name resolution record switching method and device, terminal equipment and readable storage medium
CN114064395A (en) Monitoring method, device, storage medium and electronic device for integrated interface health
CN114791954A (en) Equipment fault diagnosis method and device
CN112835759A (en) Test data processing method and device, electronic equipment and storage medium
CN112596922B (en) Communication management method, device, equipment and medium
CN110543470A (en) Message early warning method and device, storage medium and electronic device
WO2020087269A1 (en) Message loading method, message loading device and mobile terminal
CN110532172A (en) Application testing method, device, equipment and computer readable storage medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240617

Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee after: Xiamen reliable intellectual property service Co.,Ltd.

Country or region after: China

Address before: 518000 Guangdong Shenzhen Baoan District Xin'an Street Xingdong community 67 District COFCO experience Museum (1) 203A

Patentee before: SHENZHEN ZHILIAN IOT TECHNOLOGY Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250529

Address after: 100000 Beijing Yanqing District Zhongguancun Yanqing Park Fenggu Fourth Road 8 Building 27 2669

Patentee after: Beijing Shengxinyuan Technology Co.,Ltd.

Country or region after: China

Address before: Room 501, No. 85, Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province

Patentee before: Xiamen reliable intellectual property service Co.,Ltd.

Country or region before: China