Monitoring system based on J2EE framework and method

A monitoring system and monitored technology, which is applied in transmission systems, hardware monitoring, digital transmission systems, etc., can solve problems such as reducing system performance and heavy server load, so as to speed up development time, improve stability, and reduce post-maintenance costs Effect

Inactive Publication Date: 2010-09-29
3 Cites 31 Cited by

AI-Extracted Technical Summary

Problems solved by technology

If it is deployed in a real operating environment, it will inevitably ca...
View more


The invention discloses a monitoring system based on a J2EE framework and a method. The data information of a WEB container, a JVM, an operation system, business resources and other components is monitored in a mode of combining plug-in connector deployment and file configuration, and data acquisition, monitoring and diagnosis are carried out on different layers of the whole system environment. The influence of monitoring on the performance of an application system is reduced to the lowest limit.

Application Domain

Hardware monitoringData switching networks

Technology Topic

Web containerData information +6


  • Monitoring system based on J2EE framework and method
  • Monitoring system based on J2EE framework and method
  • Monitoring system based on J2EE framework and method


  • Experimental program(2)

Example Embodiment

[0025] Example one:
[0026] Please refer to figure 1 The monitoring system based on the J2EE architecture in this embodiment includes: a monitoring agent set on the monitored device and a monitoring server set on the J2EE WEB container; there are two monitoring agents in the figure. Set up at least one plug-in and a corresponding plug-in configuration file on the monitoring agent, and obtain relevant data of the monitored device through the plug-in. The plug-in on the monitoring agent can obtain the relevant data of the monitored device through at least one of the following methods: JMX, JNI, RMI. The monitoring agent and the monitoring server can interact with control instructions and data. For example, the monitoring agent can start a Socket port to monitor the instructions and data sent by the monitoring server.
[0027] The monitoring server is used to register and manage the monitoring agent and analyze and process the received data of the monitored device.
[0028] The monitoring agent in the picture includes the following main modules: management application module, plug-in application module and configuration file module. The management application module is used for the interaction of control instructions and data with the monitoring server, as well as the dynamic management of plug-ins and the exchange of information with the plug-ins. The plug-in application module is composed of at least one plug-in assembly, which is used to collect relevant data of the monitored device through the interface; the configuration file module is used to store the configuration file corresponding to each plug-in interface in the plug-in.
[0029] The monitoring server in the figure includes the following main modules: service application module, used to exchange information with the management application module, register and manage the monitoring agent, and analyze and process related data; database module, used to store configuration information and monitor The basic information, monitoring data and data after analysis and processing of the agent.
[0030] In addition, you can also set up a WEB server ( figure 1 Not shown in), it is connected to the monitoring server for sending control information to the monitored device in a WEB manner, and displaying related monitoring data of the monitored device.

Example Embodiment

[0031] Embodiment two:
[0032] Please refer to figure 2 , The monitoring method based on the J2EE architecture in this embodiment includes the following processing procedures:
[0033] Step 1: Configure the monitoring agent on the monitored device, and configure the monitoring server on the J2EE WEB container;
[0034] Step 2: Configure basic monitoring information on the monitoring server and start the monitoring server;
[0035] Step 3: The monitoring agent registers with the monitoring server, loads or configures the plug-in and the corresponding plug-in configuration file according to the instructions and data of the monitoring server, and feeds back the basic information of the monitoring agent to the monitoring server; The information sent by the monitoring server can be transmitted through the HTTP protocol, and the information sent by the monitoring server to the monitoring agent can be transmitted through the TCP/IP protocol;
[0036] Step 4: The monitoring agent obtains relevant data of the monitored device through the plug-in, and interacts with the monitoring server to complete the monitoring of the monitored device by interacting instructions and data.
[0037] The implementation process of the plug-in will be described in detail below. The plug-in of the present invention tyes the same type of interface into an independent jar package without any dependency. For example, if you want to obtain operating system information and tomcat information, put the interface for obtaining operating system and the interface for obtaining tomcat information into two jar packages, named system_plugin.jar and tomcat_plugin.jar respectively.
[0038] Embodiment two:
[0039] Please refer to image 3 In this embodiment, the monitoring system structure based on the J2EE architecture. In the figure, the monitoring agent (hereinafter referred to as Agent) and the monitoring server (hereinafter referred to as Server) are distributed on two servers, and the Agent and Server can also be distributed in one physical On the machine.
[0040] In the figure, 0001 and 0014 represent the operating systems of Agent and Server respectively. 0002 and 0015 represent the JVM of Agent and Server respectively. 0003 is an Agent management application module, deployed under JVM, mainly used to interact with Server and detect plug-ins and obtain plug-in data during runtime. 0004 is a Java application deployed under the JVM. The monitored object is deployed on the same machine as the Agent, independent of the Agent. 0005 is a non-Java application. The monitored object is deployed on the same machine as the Agent, independent of the Agent. 0006 is a monitoring plug-in used to obtain 0004 application data. When the server initiates a request command, the agent calls the plug-in interface to obtain the data and return it to the server after receiving it. 0007, 0008, and 0009 respectively correspond to JVM, non-Java applications, and operating system plug-ins. The principle is the same as 0006. 0010 and 0011 are the calling methods. When the web plug-in calls the web interface, it is called through JMX, and the two modules are low-coupling. The above 0006,0007,0008,0009 is the main core of the Agent side. These plugins are just examples, and you can add plugins for many projects. When the Agent is running, you can delete any one or more of the plug-ins, or you can add other plug-ins without causing the normal operation of the Agent. After the Agent is started, it will automatically start the plug-in detector to check whether the plug-ins exist. 0012 is the transmission protocol from Server to Agent, and is the TCP/IP protocol used in this embodiment. 0013 is the transfer protocol from Agent to Server, the HTTP protocol used by this system. 0016 is a J2EE Web container, based on JVM, this embodiment uses the open source TOMCAT. 0017 is the server-side working module, deployed under the J2EE container. After the server sends the request command, it receives the monitoring data sent by the agent, and saves, analyzes, and diagnoses the data. 0018 is a browser or a device with the same function. It is mainly used to manage the Server side, monitor indicators, view monitoring data, analyze and diagnose results. 0019 is the database, which is deployed on the Server or independently deployed on another server.
[0041] The monitoring processing steps of this embodiment are as follows:
[0042] Step 1: Start the server terminal 0017, the server work module reads the database related information, and detects whether there is an Agent.
[0043] Step 2: Start the Agent management application module 0003 and register it on the Server. The Agent starts the plug-in detector to detect whether the plug-in 0006, 0007, 0008, 0009 exists, and the Agent transmits the detected data and basic information of the Agent to the Server side for storage.
[0044] Step 3: Log in to the browser 0018 on the server side, and check the information indicators sent by each agent that can be monitored.
[0045] Step 4: Operate on the browser 0018 to add monitoring indicators to be monitored or delete indicators that are being monitored. At this time, the 0006,0007,0008,0009 plug-in starts to be monitored.
[0046] Step 5: When the Agent management application module is running, the Agent plug-in status is detected, and the latest plug-in status is sent to the Server.
[0047] Step 6: The server sends the execution corresponding to the monitored index to the agent at a fixed time or in real time. After the agent obtains the command, it collects the corresponding monitoring index and returns to the server, and the server saves, analyzes, and diagnoses the monitoring data.
[0048] Step 7: The data obtained by the server is displayed on the browser 0018.


no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

Automatic pet feeder

ActiveUS20160007564A1improve stability

Stamping equipment applied to motor rotor punching sheet production


Method for recycling manganese ion in electrolytic manganese production tail end wastewater

InactiveCN101838064AImprove stabilityReduce the number of operators

Coverage rate test processing method and device and coverage rate test server and system

ActiveCN103095518AImprove stabilityReduce the probability of failure

Classification and recommendation of technical efficacy words

Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products