WO2021114971A1 - Method for detecting whether application system based on multi-tier architecture operates normally - Google Patents
Method for detecting whether application system based on multi-tier architecture operates normally Download PDFInfo
- Publication number
- WO2021114971A1 WO2021114971A1 PCT/CN2020/126819 CN2020126819W WO2021114971A1 WO 2021114971 A1 WO2021114971 A1 WO 2021114971A1 CN 2020126819 W CN2020126819 W CN 2020126819W WO 2021114971 A1 WO2021114971 A1 WO 2021114971A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application system
- application
- maintenance personnel
- detection
- list
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/20—Administration of product repair or maintenance
Definitions
- the invention relates to the technical field of application system running state detection, in particular to a method for detecting whether an application system based on a multi-layer architecture is operating normally.
- the monitoring of the current application system running status is one using the system running detection platform, and the other is manual periodic inspection.
- the first mode is more advanced and can effectively monitor the operating status of the application system and promptly remind operation and maintenance managers when abnormalities occur, but the system is relatively large and the construction cost is high.
- the second mode can also effectively monitor the running status of the application system, but it is more labor-intensive, and there is a delay in the discovery after the fault occurs.
- both methods have a common problem, that is, it is impossible to detect whether the application status of the application system is normal.
- the application system detection based on the multi-layer architecture mainly detects whether the supporting environment of the application system meets the specified indicators, such as whether the hard disk is over-alert, whether the operating environment process exists, etc., but whether the application system can provide services normally cannot be performed. Detection, the application status of the application system can not be detected.
- the present invention provides a method for detecting whether an application system based on a multi-layer architecture is operating normally, so that when the application system's WEB service, database service, and application status are abnormal, the relevant application system operation and maintenance administrator is notified in time Troubleshoot faults to ensure the normal operation of the application system.
- This method can effectively reduce the cost of system maintenance.
- a method for detecting whether an application system based on a multi-layer architecture is operating normally including the following steps:
- Step 1 Configure the target objects that need the application system, including application system list, detection object definition, application system list, operation and maintenance personnel list, operation and maintenance personnel notification method definition, email or SMS template, application status detection function;
- Step 2 The collection module regularly collects the target object's web service, database service, and application status data of the application system.
- the collection and analysis program analyzes the data collected by the collection module. When an abnormality is found, the message sending module is called for alarm notification ;
- Step 3 The message sending module receives the alarm information and sends it to the relevant operation and maintenance personnel.
- the present invention is a method for detecting whether an application system based on a multi-layer architecture is operating normally, and the technical effects are as follows:
- the method of the present invention can not only judge whether the database service, application service, etc. of the application system are operating normally, but also detect whether the application system application is normal.
- the method of the present invention realizes that when the application system WEB service, database service, and application status are abnormal, the relevant application system operation and maintenance administrator will be notified in time to eliminate the fault in time, guarantee the normal operation time of the application system, and can effectively reduce the daily inspection and maintenance.
- the required manpower and material resources can reduce the cost of application system running status detection.
- Fig. 1 is a flowchart of an embodiment of the method of the present invention.
- a method for detecting whether an application system based on a multi-layer architecture is operating normally including the following steps:
- Step 1 Configure the target objects that need the application system, including application system list, detection object definition, operation and maintenance personnel list, operation and maintenance personnel notification method definition, email or SMS template, application status detection function;
- the application system list includes application system code, application system name, application system detection address;
- detection object includes application system code and serial number of detection object
- the list of operation and maintenance personnel includes the code of the maintainer, the name of the maintainer, the email of the maintainer, the mobile phone, and the code of the application system;
- the definition of operation and maintenance personnel notification methods includes the code of the operator, whether to notify by email, whether to notify by SMS, and the code of the application system;
- the email or short message template includes the code of the mail or short message, the content template of the mail or short message, and the code of the application system;
- the application status detection function is created as a database object in the corresponding application system database, and the returned result is agreed to be a string and limited to "0" or "1", "0" represents abnormal application status, and "1" represents normal application status.
- the entity relationship between the detection object definition and the application system list is one-to-one, so that each application system is tested in a unique order and will only be tested once every time a periodic test is performed;
- the entity relationship defined by the detection object definition and the operation and maintenance personnel notification method is many-to-many, so that each detected object can be notified by multiple operation and maintenance personnel, and each operation and maintenance personnel can also receive multiple detections.
- the entity relationship between the application system list and the operation and maintenance personnel list is many-to-many, so that each application system can have multiple operation and maintenance personnel, and each operation and maintenance personnel can also maintain multiple application systems;
- the entity relationship between the application system list and the mail or short message template is one-to-one, so that each application system corresponds to only one mail or short message template, and each mail or short message template corresponds to only one application system.
- Step 2 The collection and analysis program regularly collects the target object's web service, database service, and application status data of the application system by calling the collection module, and analyzes the data collected by the collection module. When an abnormality is found, the message sending module is called to proceed. Alarm notification.
- the default interval is 10 minutes, to determine whether the web service, database service, and application status of each application system are normal; analyze and determine the order of detection and judgment of each application system, strictly in accordance with the first web service, then Database service and final application status.
- the message sending module is immediately called to push the corresponding abnormal notification information, and the subsequent detection target no longer performs judgment and analysis, and jumps out of the target object of the application system, analyzes and judges the correlation to the next application system Analysis and judgment of detection targets.
- the collection module is a unified operation package of the service application corresponding to the detection address of each application system. It is deployed in the web server environment of each application system.
- the configuration file of the application and the database connection configuration parameter information correspond to the back-end database of each application system.
- Connection information; the main function of the service application is to connect to the background database of the corresponding application system, query the application status detection function, and return the function value. If an abnormality occurs in the connection to the background database, it returns "-1".
- Step 3 The message sending module receives the alarm information and sends it to the relevant operation and maintenance personnel.
- the message sending module is used to receive alarm information and send it to relevant operation and maintenance personnel in the form of mobile phone text messages, emails, etc., and the scope of notification personnel is limited to the operation and maintenance personnel of the corresponding abnormal application system.
- the messages are combined with the collection and analysis of abnormal messages according to the mail or short message template.
- the parameter value forms the information content, and pushes it in a customized manner according to the sending method of the selected items in the email and short message defined by the notification method of the operation and maintenance personnel.
- the method of the present invention is suitable for an application system based on a multi-layer architecture.
- the development mode of the application system is a multi-layer architecture.
- the multi-layer architecture referred to in the present invention includes at least four layers such as an interface layer, a service layer, a business logic layer, and a data access layer.
- the collection and analysis program detects and determines whether the relevant targets of each application system are normal, as shown in Figure 1.
- the specific steps are as follows:
- S1 Joint query collection and analysis program background data table: application system list, detection object definition, sorted according to the sequence number attribute order of the detection object definition table;
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
A method for detecting whether an application system based on a multi-tier architecture operates normally, comprising the following steps: configure a target object of an application system that needs to be detected, including an application system list, a detected object definition, an operation and maintenance personnel list, an operation and maintenance personnel notification mode definition, a mail or short message template, and an application condition detection function; an acquisition module periodically acquires state data of the target object related to a web service, a database service, and an application condition of an application system; an acquisition and analysis program analyzes according to the data acquired by the acquisition module, when an abnormality is found, call a message sending module to perform alarm notification; the message sending module receives alarm information and sends same to relevant operation and maintenance personnel. According to the method, when the WEB service, the database service, and the application condition of the application system are abnormal, relevant operation and maintenance personnel of the application system are notified in time to troubleshoot, thereby guaranteeing normal operation timeliness of the application system. The method can effectively reduce the cost of system maintenance.
Description
本发明涉及应用系统运行状态检测技术领域,具体涉及一种检测基于多层架构的应用系统是否正常运行的方法。The invention relates to the technical field of application system running state detection, in particular to a method for detecting whether an application system based on a multi-layer architecture is operating normally.
当前应用系统运行状态的监视,一种是利用系统运行检测平台,另一种是人工定期巡检方式。第一种模式比较先进,能够有效对应用系统运行状态进行监视并在发生异常时及时提醒运维管理人员,但系统比较庞大,建设成本较高。第二种模式,也能有效监视应用系统运行状态,但比较耗费人力,故障发生后存在延迟发现的情况。目前两种方式都存在一个共同问题,即无法检测应用系统的应用状况是否正常。The monitoring of the current application system running status is one using the system running detection platform, and the other is manual periodic inspection. The first mode is more advanced and can effectively monitor the operating status of the application system and promptly remind operation and maintenance managers when abnormalities occur, but the system is relatively large and the construction cost is high. The second mode can also effectively monitor the running status of the application system, but it is more labor-intensive, and there is a delay in the discovery after the fault occurs. At present, both methods have a common problem, that is, it is impossible to detect whether the application status of the application system is normal.
现有技术中针对基于多层架构的应用系统检测主要是检测应用系统的支撑环境是否满足指定指标,如硬盘是否超警戒,运行环境进程是否存在等,但应用系统能否正常提供服务并不能进行检测,应用系统的应用状况更无法检测。In the prior art, the application system detection based on the multi-layer architecture mainly detects whether the supporting environment of the application system meets the specified indicators, such as whether the hard disk is over-alert, whether the operating environment process exists, etc., but whether the application system can provide services normally cannot be performed. Detection, the application status of the application system can not be detected.
发明内容Summary of the invention
为解决上述技术问题,本发明提供一种检测基于多层架构的应用系统是否正常运行的方法,实现应用系统的WEB服务、数据库服务、应用状况出现异常时,及时通知相关应用系统运维管理员排除故障,保障应用系统正常运行时效。该方法能够有效减少系统维护所需的成本。In order to solve the above technical problems, the present invention provides a method for detecting whether an application system based on a multi-layer architecture is operating normally, so that when the application system's WEB service, database service, and application status are abnormal, the relevant application system operation and maintenance administrator is notified in time Troubleshoot faults to ensure the normal operation of the application system. This method can effectively reduce the cost of system maintenance.
本发明采取的技术方案为:The technical scheme adopted by the present invention is:
一种检测基于多层架构的应用系统是否正常运行的方法,包括以下步骤:A method for detecting whether an application system based on a multi-layer architecture is operating normally, including the following steps:
步骤1:配置需要应用系统的目标对象,包含应用系统清单、检测对象定义、应用系统清单、运行维护人员清单、运维人员通知方式定义、邮件或短信模板、应用状况检测函数;Step 1: Configure the target objects that need the application system, including application system list, detection object definition, application system list, operation and maintenance personnel list, operation and maintenance personnel notification method definition, email or SMS template, application status detection function;
步骤2:采集模块定时采集目标对象关于应用系统的web服务、数据库服务、应用系统应用状况状态数据,采集分析程序根据采集模块采集的数据情况进行分析,发现异常时,调用消息发送模块进行报警通知;Step 2: The collection module regularly collects the target object's web service, database service, and application status data of the application system. The collection and analysis program analyzes the data collected by the collection module. When an abnormality is found, the message sending module is called for alarm notification ;
步骤3:消息发送模块接收报警信息,并发送至相关运维人员。Step 3: The message sending module receives the alarm information and sends it to the relevant operation and maintenance personnel.
本发明一种检测基于多层架构的应用系统是否正常运行的方法,技术效果如下:The present invention is a method for detecting whether an application system based on a multi-layer architecture is operating normally, and the technical effects are as follows:
(1):本发明方法不但能判断应用系统所属数据库服务、应用服务等是否运行正常,而且能检测应用系统应用是否正常。(1): The method of the present invention can not only judge whether the database service, application service, etc. of the application system are operating normally, but also detect whether the application system application is normal.
(2):本发明方法建设应用系统运行状态检测平台实现简单,总体建设成本低。(2): The method of the present invention constructs the application system operating state detection platform with simple implementation and low overall construction cost.
(3):本发明方法实现应用系统WEB服务、数据库服务、应用状况出现异常时及时通知相关应用系统运维管理员及时排除故障,保障应用系统正常运行时效,可以有效减少进行日常的检测和维护需要的人力物力投入,降低应用系统运行状态检测的成本投入。(3): The method of the present invention realizes that when the application system WEB service, database service, and application status are abnormal, the relevant application system operation and maintenance administrator will be notified in time to eliminate the fault in time, guarantee the normal operation time of the application system, and can effectively reduce the daily inspection and maintenance. The required manpower and material resources can reduce the cost of application system running status detection.
下面结合附图和实施例对本发明作进一步说明:The present invention will be further described below in conjunction with the drawings and embodiments:
图1为本发明方法实施例流程图。Fig. 1 is a flowchart of an embodiment of the method of the present invention.
一种检测基于多层架构的应用系统是否正常运行的方法,包括以下步骤:A method for detecting whether an application system based on a multi-layer architecture is operating normally, including the following steps:
步骤1:配置需要应用系统的目标对象,包含应用系统清单、检测对象定义、运行维护人员清单、运维人员通知方式定义、邮件或短信模板、应用状况检测函数;Step 1: Configure the target objects that need the application system, including application system list, detection object definition, operation and maintenance personnel list, operation and maintenance personnel notification method definition, email or SMS template, application status detection function;
应用系统清单包括应用系统编码、应用系统名称、应用系统检测地址;The application system list includes application system code, application system name, application system detection address;
检测对象定义包括应用系统编码、检测对象序号;The definition of detection object includes application system code and serial number of detection object;
运行维护人员清单包括维护人员编码、维护人员姓名、维护人员电子邮件、移动电话、应用系统编码;The list of operation and maintenance personnel includes the code of the maintainer, the name of the maintainer, the email of the maintainer, the mobile phone, and the code of the application system;
运维人员通知方式定义包括运行人员编码、是否邮件通知、是否短信通知、应用系统编码;邮件或短信模板包括邮件或短信编码、邮件或短信内容模板、应用系统编码;The definition of operation and maintenance personnel notification methods includes the code of the operator, whether to notify by email, whether to notify by SMS, and the code of the application system; the email or short message template includes the code of the mail or short message, the content template of the mail or short message, and the code of the application system;
应用状况检测函数,作为数据库对象创建于对应应用系统数据库中,返回结果约定为字符串并限定为“0”或“1”,“0”代表应用状况异常、“1”代表应用状况正常。The application status detection function is created as a database object in the corresponding application system database, and the returned result is agreed to be a string and limited to "0" or "1", "0" represents abnormal application status, and "1" represents normal application status.
检测对象定义与应用系统清单的实体关系为一对一,使得每次进行定期检测时各应用系统被检测的顺序唯一且只会被检测一次;The entity relationship between the detection object definition and the application system list is one-to-one, so that each application system is tested in a unique order and will only be tested once every time a periodic test is performed;
检测对象定义与运维人员通知方式定义的实体关系为多对多,使得每个被检测对象出现问题可以有多个运维人员收到通知,每个运维人员也可以收到多个被检测对象的问题通知;The entity relationship defined by the detection object definition and the operation and maintenance personnel notification method is many-to-many, so that each detected object can be notified by multiple operation and maintenance personnel, and each operation and maintenance personnel can also receive multiple detections. Subject’s problem notification;
应用系统清单与运行维护人员清单的实体关系为多对多,使得每个应用系统可以有多个运维人员,每个运维人员也可以维护多个应用系统;The entity relationship between the application system list and the operation and maintenance personnel list is many-to-many, so that each application system can have multiple operation and maintenance personnel, and each operation and maintenance personnel can also maintain multiple application systems;
应用系统清单与邮件或短信模板的实体关系为一对一,使得每个应用系统只对应一个邮件或短信模板,每个邮件或短信模板也只对应一个应用系统。The entity relationship between the application system list and the mail or short message template is one-to-one, so that each application system corresponds to only one mail or short message template, and each mail or short message template corresponds to only one application system.
步骤2:采集分析程序定时通过调用采集模块采集目标对象关于应用系统的web服务、数据库服务、应用系统应用状况状态数据,根据采集模块采集的数据情况进行分析,发现异常时,调用消息发送模块进行报警通知。Step 2: The collection and analysis program regularly collects the target object's web service, database service, and application status data of the application system by calling the collection module, and analyzes the data collected by the collection module. When an abnormality is found, the message sending module is called to proceed. Alarm notification.
定期访问各应用系统配置的检测地址,默认间隔为10分钟,判断分析各应用系统的web服务、数据库服务、应用状况是否正常;分析判断各应用系统检测判断的顺序,严格按照先web服务、再数据库服务、最后应用状况。针对一个应用系统,前面检测目标发现异常,立即调用消息发送模块推送相应异常通知信息,后面的检测目标不再进行判断分析,并跳出此应用系统的目标对象,分析判断进入下一个应用系统的相关检测目标的分析判断。Regularly visit the detection address configured by each application system, the default interval is 10 minutes, to determine whether the web service, database service, and application status of each application system are normal; analyze and determine the order of detection and judgment of each application system, strictly in accordance with the first web service, then Database service and final application status. For an application system, if the first detection target finds an abnormality, the message sending module is immediately called to push the corresponding abnormal notification information, and the subsequent detection target no longer performs judgment and analysis, and jumps out of the target object of the application system, analyzes and judges the correlation to the next application system Analysis and judgment of detection targets.
采集模块为各应用系统的检测地址对应的服务应用的统一运行程序包,分别部署于各应用系统的web服务器环境,其应用的配置文件关于数据库连接配置参数信息均对应于各应用系统的后台数据库连接信息;服务应用主要功能为连接相应应用系统的后台数据库,查询应用状况检测函数,返回函数值,如果连接后台数据库发生异常返回“-1”。The collection module is a unified operation package of the service application corresponding to the detection address of each application system. It is deployed in the web server environment of each application system. The configuration file of the application and the database connection configuration parameter information correspond to the back-end database of each application system. Connection information; the main function of the service application is to connect to the background database of the corresponding application system, query the application status detection function, and return the function value. If an abnormality occurs in the connection to the background database, it returns "-1".
步骤3:消息发送模块接收报警信息,并发送至相关运维人员。Step 3: The message sending module receives the alarm information and sends it to the relevant operation and maintenance personnel.
消息发送模块用于接收报警信息,以手机短信、邮件等方式发送至相关运维人员,通知人员范围限制在相应异常应用系统的运维人员,消息按照邮件或短信模板结合采集分析的异常消息的参数值形成信息内容,并按照运维人员通知方式定义的中邮件、短信的已选择项的发送方式进行定制性推送。The message sending module is used to receive alarm information and send it to relevant operation and maintenance personnel in the form of mobile phone text messages, emails, etc., and the scope of notification personnel is limited to the operation and maintenance personnel of the corresponding abnormal application system. The messages are combined with the collection and analysis of abnormal messages according to the mail or short message template. The parameter value forms the information content, and pushes it in a customized manner according to the sending method of the selected items in the email and short message defined by the notification method of the operation and maintenance personnel.
本发明方法适用于基于多层架构的应用系统,应用系统的开发模式为多层架构,本发明所指多层架构至少包括界面层、服务层、业务逻辑层、数据访问层等四层。The method of the present invention is suitable for an application system based on a multi-layer architecture. The development mode of the application system is a multi-layer architecture. The multi-layer architecture referred to in the present invention includes at least four layers such as an interface layer, a service layer, a business logic layer, and a data access layer.
实施例:Examples:
采集分析程序检测判断各应用系统的相关目标是否正常,如图1所示,具体步骤如下:The collection and analysis program detects and determines whether the relevant targets of each application system are normal, as shown in Figure 1. The specific steps are as follows:
S1:联合查询采集分析程序后台数据表:应用系统清单、检测对象定义,按照检测对象定义表的序号属性顺序排序;S1: Joint query collection and analysis program background data table: application system list, detection object definition, sorted according to the sequence number attribute order of the detection object definition table;
S2:读取联合查询结果,取排序第i【i=1...N(N为检测的应用系统总数),i>N结束】个应用系统清单表的属性:系统名称、检测地址;S2: Read the result of the joint query, and select the attributes of the i-th [i=1...N (N is the total number of detected application systems), i>N end] of the application system list table: system name, detection address;
S3:访问检测地址并根据分析返回信息,如果遇到500错误或访问超时,则调用消息发送模块接口,传入(系统编码、【web服务发生故障】),给相关运维人员发送告警信息提示应用系统web服务发生故障,i=i+1后进入S2;否则进入下一步;S3: Visit the detection address and return information based on the analysis. If a 500 error or access timeout is encountered, the message sending module interface will be called, and (system code, [web service failure]) will be sent, and alarm information will be sent to the relevant operation and maintenance personnel If the application system web service fails, enter S2 after i=i+1; otherwise, enter the next step;
S4:获取返回消息中反馈值是否等于“-1”,如果等于“-1”,则调用消息发送模块接口,传入(系统编码、【数据库服务发生故障】),给相关运维人员发送告警信息提示应用系统数据库服务发生故障,i=i+1后进入S2;否则进入下一步;S4: Get whether the feedback value in the returned message is equal to "-1", if it is equal to "-1", call the message sending module interface, pass in (system code, [database service failure]), and send an alarm to the relevant operation and maintenance personnel The message prompts that the database service of the application system is faulty, and enter S2 after i=i+1; otherwise, go to the next step;
S5:判断返回消息中反馈值是否等于“0”,如果等于“0”,则调用消息发送模块接口,传入(系统编码、【应用情况异常】),给相关运维人员发送告警信息提示应用系统应用情况异 常。不论是否等于“0”在i=i+1后进入S2。S5: Determine whether the feedback value in the returned message is equal to "0", if it is equal to "0", call the message sending module interface, pass in (system code, [application status abnormal]), and send alarm information to the relevant operation and maintenance personnel to remind the application The system application is abnormal. Regardless of whether it is equal to "0" or not, enter S2 after i=i+1.
Claims (6)
- 一种检测基于多层架构的应用系统是否正常运行的方法,其特征在于包括以下步骤:A method for detecting whether an application system based on a multi-layer architecture is operating normally, which is characterized by including the following steps:步骤1:配置需要检测的应用系统的目标对象,包含应用系统清单、检测对象定义、运行维护人员清单、运维人员通知方式定义、邮件或短信模板、应用状况检测函数;Step 1: Configure the target object of the application system to be detected, including application system list, detection object definition, operation and maintenance personnel list, operation and maintenance personnel notification method definition, email or SMS template, application status detection function;步骤2:采集模块定时采集目标对象关于应用系统的web服务、数据库服务、应用系统应用状况状态数据,采集分析程序根据采集模块采集的数据情况进行分析,发现异常时,调用消息发送模块进行报警通知;Step 2: The collection module regularly collects the target object's web service, database service, and application status data of the application system. The collection and analysis program analyzes the data collected by the collection module. When an abnormality is found, the message sending module is called for alarm notification ;步骤3:消息发送模块接收报警信息,并发送至相关运维人员。Step 3: The message sending module receives the alarm information and sends it to the relevant operation and maintenance personnel.
- 根据权利要求1所述一种检测基于多层架构的应用系统是否正常运行的方法,其特征在于:所述步骤1中,应用系统清单包括应用系统编码、应用系统名称、应用系统检测地址;检测对象定义包括应用系统编码、检测对象序号;The method for detecting whether an application system based on a multi-layer architecture is operating normally according to claim 1, characterized in that: in said step 1, the application system list includes application system code, application system name, application system detection address; detection; Object definition includes application system code and test object serial number;运行维护人员清单包括维护人员编码、维护人员姓名、维护人员电子邮件、移动电话、应用系统编码;The list of operation and maintenance personnel includes the code of the maintainer, the name of the maintainer, the email of the maintainer, the mobile phone, and the code of the application system;运维人员通知方式定义包括运行人员编码、是否邮件通知、是否短信通知、应用系统编码;The definition of the notification method of operation and maintenance personnel includes the code of the operation personnel, whether to notify by email, whether to notify by SMS, and the code of the application system;邮件或短信模板包括邮件或短信编码、邮件或短信内容模板、应用系统编码;Email or SMS templates include email or SMS encoding, email or SMS content templates, and application system encoding;应用状况检测函数,作为数据库对象创建于对应应用系统数据库中,返回结果约定为字符串并限定为“0”或“1”,“0”代表应用状况异常、“1”代表应用状况正常。The application status detection function is created as a database object in the corresponding application system database, and the returned result is agreed to be a string and limited to "0" or "1", "0" represents abnormal application status, and "1" represents normal application status.
- 根据权利要求2所述一种检测基于多层架构的应用系统是否正常运行的方法,其特征在于:所述步骤1中,检测对象定义与应用系统清单的实体关系为一对一;The method for detecting whether an application system based on a multi-layer architecture is operating normally according to claim 2, wherein: in the step 1, the entity relationship between the detection object definition and the application system list is one-to-one;检测对象定义与运维人员通知方式定义的实体关系为多对多;The entity relationship between the detection object definition and the operation and maintenance personnel notification method definition is many-to-many;应用系统清单与运行维护人员清单的实体关系为多对多;The entity relationship between the application system list and the operation and maintenance personnel list is many-to-many;应用系统清单与邮件或短信模板的实体关系为一对一。The entity relationship between the application system list and the email or SMS template is one-to-one.
- 根据权利要求1所述一种检测基于多层架构的应用系统是否正常运行的方法,其特征在于:所述步骤2中,定期按照检测对象序号顺序访问各应用系统配置的检测地址,判断分析各应用系统的web服务、数据库服务、应用状况是否正常;分析判断各应用系统检测判断的顺序,严格按照先web服务、再数据库服务、最后应用状况。The method for detecting whether an application system based on a multi-layer architecture is operating normally according to claim 1, characterized in that: in step 2, the detection address configured by each application system is accessed regularly in sequence of the detection object serial number, and each application system is judged and analyzed. Whether the web service, database service, and application status of the application system are normal; analyze and judge the order of detection and judgment of each application system, strictly in accordance with the first web service, then database service, and finally the application status.
- 根据权利要求1所述一种检测基于多层架构的应用系统是否正常运行的方法,其特征在于:所述步骤2中,各应用系统的检测地址对应的服务应用均为统一运行程序包,并分别部署于各应用系统的web服务器环境,其应用的配置文件关于数据库连接配置参数信息均对应于各应用系统的后台数据库连接信息;服务应用主要功能为连接相应应用系统的后台数据库,查询应用状况检测函数,返回函数值,如果连接后台数据库发生异常返回“-1”。The method for detecting whether an application system based on a multi-layer architecture is operating normally according to claim 1, characterized in that: in said step 2, the service applications corresponding to the detection addresses of each application system are all unified running packages, and Deployed in the web server environment of each application system, the configuration file of its application and the database connection configuration parameter information correspond to the background database connection information of each application system; the main function of the service application is to connect to the background database of the corresponding application system and query the application status Check the function, return the function value, and return "-1" if the connection to the background database is abnormal.
- 根据权利要求1所述一种检测基于多层架构的应用系统是否正常运行的方法,其特征在于:所述步骤3中,消息发送模块用于接收报警信息,以手机短信、邮件等方式发送至相关运维人员,通知人员范围限制在相应异常应用系统的运维人员,消息按照邮件或短信模板结合采集分析的异常消息的参数值形成信息内容,并按照运维人员通知方式定义中邮件、短信的已选择项的发送方式进行定制性推送。The method for detecting whether an application system based on a multi-layer architecture is operating normally according to claim 1, characterized in that: in step 3, the message sending module is used to receive alarm information and send it to Relevant operation and maintenance personnel, the scope of notification personnel is limited to the operation and maintenance personnel of the corresponding abnormal application system, the message is formed according to the email or short message template combined with the parameter values of the abnormal message collected and analyzed, and the message content is defined in accordance with the notification method of the operation and maintenance personnel. The sending method of the selected items is customized to push.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911276845.2 | 2019-12-12 | ||
CN201911276845.2A CN111143162A (en) | 2019-12-12 | 2019-12-12 | Method for detecting whether application system based on multilayer architecture normally operates |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021114971A1 true WO2021114971A1 (en) | 2021-06-17 |
Family
ID=70518111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/126819 WO2021114971A1 (en) | 2019-12-12 | 2020-11-05 | Method for detecting whether application system based on multi-tier architecture operates normally |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111143162A (en) |
WO (1) | WO2021114971A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143162A (en) * | 2019-12-12 | 2020-05-12 | 中国长江三峡集团有限公司 | Method for detecting whether application system based on multilayer architecture normally operates |
CN113572680A (en) * | 2021-07-30 | 2021-10-29 | 康键信息技术(深圳)有限公司 | Template message sending method, device, equipment and storage medium |
CN113626326B (en) * | 2021-08-09 | 2022-02-11 | 三峡高科信息技术有限责任公司 | Dragging type zero code front end automatic test system based on image recognition |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105553691A (en) * | 2015-12-08 | 2016-05-04 | 中国南方电网有限责任公司 | Monitoring alarm realization method based on electric power supervision information |
CN105843904A (en) * | 2016-03-23 | 2016-08-10 | 江苏太湖云计算信息技术股份有限公司 | Monitoring alarm system for database operation performance |
CN106411578A (en) * | 2016-09-12 | 2017-02-15 | 国网山东省电力公司电力科学研究院 | Website monitoring system and method applicable to power industry |
CN111143162A (en) * | 2019-12-12 | 2020-05-12 | 中国长江三峡集团有限公司 | Method for detecting whether application system based on multilayer architecture normally operates |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6021262A (en) * | 1996-07-12 | 2000-02-01 | Microsoft Corporation | System and method for detection of, notification of, and automated repair of problem conditions in a messaging system |
CN105045700A (en) * | 2015-07-08 | 2015-11-11 | 国网辽宁省电力有限公司信息通信分公司 | Method for monitoring user experience index of application system in real time |
CN107423198B (en) * | 2017-07-10 | 2020-10-16 | 中核核电运行管理有限公司 | EAM platform monitoring management method and system |
CN107947998B (en) * | 2017-12-19 | 2021-03-12 | 河南信安通信技术股份有限公司 | Real-time monitoring system based on application system |
-
2019
- 2019-12-12 CN CN201911276845.2A patent/CN111143162A/en active Pending
-
2020
- 2020-11-05 WO PCT/CN2020/126819 patent/WO2021114971A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105553691A (en) * | 2015-12-08 | 2016-05-04 | 中国南方电网有限责任公司 | Monitoring alarm realization method based on electric power supervision information |
CN105843904A (en) * | 2016-03-23 | 2016-08-10 | 江苏太湖云计算信息技术股份有限公司 | Monitoring alarm system for database operation performance |
CN106411578A (en) * | 2016-09-12 | 2017-02-15 | 国网山东省电力公司电力科学研究院 | Website monitoring system and method applicable to power industry |
CN111143162A (en) * | 2019-12-12 | 2020-05-12 | 中国长江三峡集团有限公司 | Method for detecting whether application system based on multilayer architecture normally operates |
Also Published As
Publication number | Publication date |
---|---|
CN111143162A (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021114971A1 (en) | Method for detecting whether application system based on multi-tier architecture operates normally | |
US9413597B2 (en) | Method and system for providing aggregated network alarms | |
CN102937930B (en) | Application program monitoring system and method | |
US7664986B2 (en) | System and method for determining fault isolation in an enterprise computing system | |
KR100898339B1 (en) | Autonomous fault processing system in home network environments and operation method thereof | |
US7525422B2 (en) | Method and system for providing alarm reporting in a managed network services environment | |
CN103607297B (en) | Fault processing method of computer cluster system | |
US8812649B2 (en) | Method and system for processing fault alarms and trouble tickets in a managed network services system | |
US6651183B1 (en) | Technique for referencing failure information representative of multiple related failures in a distributed computing environment | |
US8738760B2 (en) | Method and system for providing automated data retrieval in support of fault isolation in a managed services network | |
US7617086B2 (en) | Monitoring simulating device, method, and program | |
CN110716842B (en) | Cluster fault detection method and device | |
US20060233312A1 (en) | Method and system for providing automated fault isolation in a managed services network | |
CN102740112B (en) | Method for controlling equipment polling based on video monitoring system | |
US20030093516A1 (en) | Enterprise management event message format | |
WO2019242487A1 (en) | Fault management method and related device | |
US8504319B2 (en) | Methods, systems, and products for reflective maintenance | |
CN110119325A (en) | Server failure processing method, device, equipment and computer readable storage medium | |
US7137041B2 (en) | Methods, systems and computer program products for resolving problems in an application program utilizing a situational representation of component status | |
US7500144B2 (en) | Resolving problems in a business process utilizing a situational representation of component status | |
CA3141565A1 (en) | Method and system for automatically monitoring business systems | |
CN110018377A (en) | A kind of fault detection analysis system of ARINC664P7 terminal device | |
CN111988172B (en) | Network information management platform, device and security management method | |
KR101520103B1 (en) | System and method for inference and surveillance of application fault of it service using functional partitioning | |
CN1735047A (en) | Fault self-diagnosis method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20898435 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20898435 Country of ref document: EP Kind code of ref document: A1 |