Operation and maintenance processing method, device and computer equipment

By collecting and configuring operation information of operation and maintenance, and automatically processing IT operation and maintenance tasks, the problems of inefficiency and increased costs of traditional IT operation and maintenance are solved, and efficient automated operation and maintenance management is achieved.

CN112380093BActive Publication Date: 2025-04-25PING AN TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011278764.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-16
Publication Date
2025-04-25
Estimated Expiration
2040-11-16

AI Technical Summary

Technical Problem

Traditional IT operation and maintenance methods rely on manual operations, resulting in inefficiency and increased costs, and cannot meet the timeliness requirements.

Method used

By collecting the status information of each application, configuring the operation and maintenance operation information, and upon receiving the operation and maintenance instructions, an application service request is automatically sent to the server of the target application, and determining whether an abnormality occurs in the application based on the response information.

Benefits of technology

It realizes automated IT operation and maintenance, improves operation efficiency of operation and maintenance personnel, reduces repetitive work, improves IT operation and maintenance efficiency and saves costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112380093B_ABST
    Figure CN112380093B_ABST
Patent Text Reader

Abstract

The present application discloses an operation and maintenance processing method, device and computer equipment, and relates to the field of operation and maintenance technology. The method includes: first collecting the status information of each application; then configuring the operation and maintenance operation information to each application according to the status information of each application; responding to the operation and maintenance instructions of the target application in each application, according to the operation and maintenance operation information of the target application, sending an application service request corresponding to the operation and maintenance instruction to the server of the target application; then determining whether the target application has an abnormality based on the request response information returned by the server of the target application. The present application can realize automated IT operation and maintenance processing with one click, which can improve IT operation and maintenance efficiency and save IT operation and maintenance costs. In addition, the present application also involves blockchain technology, and application status data can be stored in the blockchain to ensure data privacy and security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of operation and maintenance technology, and in particular to an operation and maintenance processing method, device and computer equipment. Background Art

[0002] With the development and popularization of Internet applications, the end-to-end delivery of information technology (IT) projects, the volatility and uncertainty in the project cycle, the unpredictable impact on project budgets and cost investment, the ambiguity of target user needs, the complexity of network architecture and applications, and the increasingly prominent pain points of project operations. As a crucial role in the end-to-end delivery pipeline, the operation and maintenance team faces the diverse users and needs of production. As a barrier to the production system, the IT operation and maintenance team continues to ensure the stability, availability, and security of the system. In some fields, there are strict requirements for the timeliness of problem handling. The complexity of system architecture and business complexity continues to increase. With the development of component decoupling, distribution, containers and other technologies, manual troubleshooting, location, and resolution of production problems alone can no longer meet the timeliness requirements. Whether from the perspectives of users, managers, operation and maintenance workers, the improvement of operation and maintenance work mechanisms and technologies has gradually received attention from all parties. Standardized management, automation technology, architecture optimization, process improvement, and many other aspects promote continuous improvement. Among them, automation technology has been widely studied and applied as a consideration point to replace manual operation to improve the efficiency of operation and maintenance work.

[0003] At present, the upgrade and conversion of IT operation and maintenance from manual processing to automated mode has been launched as a special topic in the IT departments of many enterprises. However, the inventors of this invention found in their research that many traditional IT operations and maintenance still require manual maintenance, operation and management of application background services, and this mode is often jokingly called a "semi-automated" operation and maintenance mode by industry insiders. Although the members of the operation and maintenance team are better than the original traditional pure manual work in this mode, the passive mechanism of "firefighting" pushed by problems and the low efficiency under the constraints of tools have led to a sudden increase in the work pressure of the operation and maintenance team. This not only affects the efficiency of IT operation and maintenance, but also increases the cost of IT operation and maintenance. Summary of the invention

[0004] In view of this, the present application provides an operation and maintenance processing method, device and computer equipment, the main purpose of which is to improve the technical problems that the current traditional IT operation and maintenance methods will affect IT operation and maintenance efficiency and increase IT operation and maintenance costs.

[0005] According to one aspect of the present application, an operation and maintenance processing method is provided, the method comprising:

[0006] Collect status information of each application;

[0007] Configuring operation information for each application according to the status information of each application;

[0008] In response to an operation and maintenance instruction of a target application among the applications, sending an application service request corresponding to the operation and maintenance instruction to a server of the target application according to the operation and maintenance operation information of the target application;

[0009] Determine whether an abnormality occurs in the target application based on the request response information returned by the server of the target application.

[0010] Optionally, configuring operation and maintenance information for each application according to the status information of each application specifically includes:

[0011] Based on the application identification, application instance information, application type, application environment information, system identification of the subsystem to which the application belongs, IP address of the host to which the application belongs, and cluster information to which the host belongs, the simulated user login information and simulated user operation event information are configured for each application;

[0012] The preset script information is configured for the simulated user operation event information, wherein the preset script information, when executed, is used to send an application service request corresponding to the simulated user operation event information to a server corresponding to each application.

[0013] Optionally, configuring simulated user login information and simulated user operation event information for each application based on the application identifier, application instance information, application type, application environment information, system identifier of the subsystem to which the application belongs, IP address of the host to which the application belongs, and cluster information to which the host belongs, specifically includes:

[0014] Based on the application identification, application type, application instance information, application environment information, system identification of the subsystem to which the application belongs, the IP address of the host to which the application belongs, and the cluster information to which the host belongs, each application is configured with simulated user login information with non-ROOT account login permission, and simulated user operation event information is configured, wherein the application operation commands included in the simulated user operation event information are operated in single command line mode, and the file path in the application operation command is configured in absolute path mode.

[0015] Optionally, the responding to the operation and maintenance instruction of the target application among the applications and sending the application service request corresponding to the operation and maintenance instruction to the server of the target application according to the operation and maintenance operation information of the target application specifically includes:

[0016] Determining target operation event information of the target application by the simulated user according to the operation and maintenance instruction;

[0017] Obtaining target preset script information corresponding to the target operation event information;

[0018] The target preset script information is executed, and an application service request corresponding to the target operation event information is sent to the server.

[0019] Optionally, determining whether the target application is abnormal according to the request response information returned by the server specifically includes:

[0020] Determine whether the target application service is requested according to the request response information;

[0021] If the target application service is not requested, determining that the target application is abnormal;

[0022] If the target application request is received, determining whether the requested target application service is consistent with the target application service required by the operation and maintenance instruction;

[0023] If it is determined that the requested target application service is inconsistent with the target application service required by the operation and maintenance instruction, it is determined that an abnormality occurs in the target application;

[0024] If it is determined that the requested target application service is consistent with the target application service required by the operation and maintenance instruction, then determining whether the dynamic information of the target application after obtaining the target application service meets the preset standard dynamic change condition;

[0025] If it is determined that the dynamic information meets the preset standard dynamic change condition, it is determined that there is no abnormality in the target application;

[0026] If it is determined that the dynamic information does not meet the preset standard dynamic change condition, it is determined that the target application is abnormal.

[0027] Optionally, the determining whether the dynamic information of the target application after obtaining the target application service meets a preset standard dynamic change condition specifically includes:

[0028] If the target application service is a service that enables a preset function, then determining whether the application data generated by the target application after obtaining the target application service contains the predetermined application data that should be generated after the service of the preset function is enabled; if the predetermined application data is not included, determining that the dynamic information does not meet the preset standard dynamic change condition; or,

[0029] Determining that the target application service is a service for closing the target application, determining whether the preset application data of the target application after obtaining the target application service is deleted within a preset time period, and if the preset application data is not deleted within the preset time period, determining that the dynamic information does not meet the preset standard dynamic change condition;

[0030] After determining whether the target application is abnormal based on the request response information returned by the server, the method further includes:

[0031] If it is determined that the target application is abnormal, then saving the operation log information corresponding to the operation and maintenance instruction;

[0032] Output the corresponding alarm information of the target application in the operation and maintenance management system.

[0033] Optionally, after collecting the status information of each application, the method further includes:

[0034] The collected status information of each application is stored in the blockchain;

[0035] The configuring operation and maintenance information for each application according to the status information of each application specifically includes:

[0036] Obtaining status information of each application from the blockchain;

[0037] Configure operation and maintenance information for each application according to the status information of each application obtained from the blockchain.

[0038] According to another aspect of the present application, an operation and maintenance processing device is provided, the device comprising:

[0039] A collection module is used to collect status information of each application;

[0040] A configuration module, used to configure operation and maintenance information for each application according to the status information of each application;

[0041] a sending module, configured to respond to an operation and maintenance instruction of a target application among the applications, and send an application service request corresponding to the operation and maintenance instruction to a server of the target application according to the operation and maintenance operation information of the target application;

[0042] The determination module is used to determine whether the target application has an abnormality according to the request response information returned by the server of the target application.

[0043] According to another aspect of the present application, a non-volatile readable storage medium is provided, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor, the above-mentioned operation and maintenance processing method is implemented.

[0044] According to another aspect of the present application, a computer device is provided, comprising a non-volatile readable storage medium, a processor, and computer-readable instructions stored on the non-volatile readable storage medium and executable on the processor, wherein the processor implements the above-mentioned operation and maintenance processing method when executing the computer-readable instructions.

[0045] By means of the above technical scheme, the present application provides an operation and maintenance processing method, device and computer equipment, which can pre-configure the operation and maintenance operation information corresponding to each application according to the collected status information of each application, and then when receiving the operation and maintenance instructions of the target application in each application, according to the operation and maintenance operation information configured corresponding to the target application, send an application service request corresponding to the operation and maintenance instruction to the server of the target application, and then automatically determine whether the target application has an abnormality according to the request response information returned by the server. Compared with the current traditional IT operation and maintenance methods, the present application can truly realize one-click management and operation of the middleware component application process, and then realize one-click automated IT operation and maintenance processing. Through IT operation and maintenance automation, it can help improve the operating efficiency of operation and maintenance personnel, reduce the repetitive work of operation and maintenance, thereby improving IT operation and maintenance efficiency and saving IT operation and maintenance costs.

[0046] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, which can be implemented in accordance with the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the local application. In the drawings:

[0048] Figure 1 A schematic diagram of a process flow of an operation and maintenance processing method provided in an embodiment of the present application is shown;

[0049] Figure 2 A schematic diagram of a process flow of another operation and maintenance processing method provided in an embodiment of the present application is shown;

[0050] Figure 3 A schematic diagram of the structure of an operation and maintenance processing device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0051] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0052] In order to improve the technical problems that the current traditional IT operation and maintenance methods will affect IT operation and maintenance efficiency and increase IT operation and maintenance costs, this embodiment provides an operation and maintenance processing method, such as Figure 1 As shown, the method includes:

[0053] 101. Collect status information of each application.

[0054] The execution subject of this embodiment may be a device or equipment used for IT operation and maintenance processing, which may be configured on the operation and maintenance management system side. The application status information may include: subsystem name, Chinese name, cluster information, instance information, application type (such as Java, Docker, Kafka, Zookeeper, Spark, Hadoop, etc.), environment information, host IP address, etc.

[0055] In this embodiment, the corresponding functional interface can be called through the application data synchronization tool to synchronize the status information of each application that needs to be monitored by IT operation and maintenance to the operation and maintenance management system side, so as to facilitate the subsequent automated IT operation and maintenance processing. Specifically, the process shown in steps 102 to 104 can be executed.

[0056] 102. Configure operation and maintenance information for each application according to the status information of each application.

[0057] The operation and maintenance information may include automated operation and maintenance content for a single application, such as writing corresponding scripts or command line data, etc. Each application may have its own corresponding operation and maintenance information, and the operation and maintenance information of different applications may be the same or different.

[0058] For example, after the status information of each application that IT operation and maintenance needs to monitor is synchronized to the operation and maintenance management system, the operation and maintenance personnel can click the edit button on the front end of the operation and maintenance management system to jump to the edit page, and then configure the automated operation and maintenance script or command line data of a single application on the edit page. The entire process can be visualized, which is convenient for operation and maintenance management and improves the efficiency of automated IT operation and maintenance.

[0059] 103. In response to the operation and maintenance instruction of the target application among the applications, according to the operation and maintenance operation information of the target application, an application service request corresponding to the operation and maintenance instruction is sent to the server of the target application.

[0060] The target application can be any one of the applications that IT operation and maintenance needs to monitor, or a specific application among them. The operation and maintenance instructions can be automatically triggered by the system at a fixed time, or actively input by the operation and maintenance personnel. For example, the operation and maintenance personnel can click a button on the front end of the operation and maintenance management system to perform operations on the target application (such as application start, stop, restart, etc.), thereby automatically sending an application service request corresponding to the operation and maintenance instruction to the server of the target application. This method can implement the operation and maintenance operations of the target application in an automated manner.

[0061] For example, when an operation and maintenance instruction of a target application is received, the operation and maintenance instruction can be parsed to determine the target application and the application service that the target application needs to request; according to the operation and maintenance operation information corresponding to the configuration of the target application, the script or command line data required to request the application service is obtained for execution, and then the corresponding application service request is sent to the server of the target application, wherein the user and password for logging in to the target application server have been edited in advance in the operation and maintenance operation information. Therefore, in the process of IT automated operation and maintenance, automatic application user login can be realized, reducing the risk of operation and maintenance personnel logging into the application server and improving the operation efficiency of operation and maintenance personnel.

[0062] 104. Determine whether an abnormality occurs in the target application based on the request response information returned by the server of the target application.

[0063] The request response information may include the request result information of the application request corresponding to the operation and maintenance instruction. For example, if the application service returned by the server of the target application is the same as the requested application service, and is received within the standard time, without delay, data loss, etc., then it can be determined that there is no abnormality in the target application; if the application service returned by the server of the target application is different from the requested application service, or there is a delay in reception, data loss, etc., it can be determined that there is an abnormality in the target application.

[0064] Through the operation and maintenance processing method in this embodiment, the operation and maintenance operation information corresponding to each application can be pre-configured according to the collected status information of each application. Later, when the operation and maintenance instruction of the target application is received, the application service request corresponding to the operation and maintenance instruction can be sent to the server of the target application according to the operation and maintenance operation information corresponding to the target application, and then the target application can be automatically determined whether an abnormality occurs according to the request response information returned by the server. Compared with the current traditional IT operation and maintenance methods, this embodiment can truly realize one-click management and operation of the middleware component application process, and then can realize one-click automated IT operation and maintenance processing. Through IT operation and maintenance automation, it can help improve the operating efficiency of operation and maintenance personnel and reduce the repetitive work of operation and maintenance, thereby improving IT operation and maintenance efficiency and saving IT operation and maintenance costs.

[0065] Further, as a refinement and extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another operation and maintenance processing method is provided, such as Figure 2 As shown, the method includes:

[0066] 201. Collect status information of each application.

[0067] For example, the UCMDB interface is called through the Kettel data synchronization tool to synchronize application status information to the operation and maintenance management system, such as application status information including subsystem name, Chinese name, cluster information, instance information, application type, environment information, host IP address, etc.

[0068] 202. The collected status information of each application is stored in the blockchain.

[0069] Before configuring the operation and maintenance information corresponding to the application according to the application status information, in order to ensure the security and privacy of the application status information, the status information of these applications can be pre-saved in the blockchain. For example, the status information of each application can be saved in one or more nodes of the blockchain.

[0070] It should be noted that the blockchain referred to in this embodiment is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods, each of which contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0071] 203. Obtain status information of each application from the blockchain, and configure operation and maintenance information for each application according to the status information of each application obtained from the blockchain.

[0072] When receiving an instruction from the operation and maintenance personnel to configure the operation and maintenance information corresponding to the application, the status information of the corresponding application can be obtained from the node of the blockchain, and then the operation and maintenance information corresponding to the application can be configured according to the obtained application status information.

[0073] Optionally, operation and maintenance information is configured for each application according to the status information of each application, which may specifically include: first, based on the application identifier of each application (such as application name, ID number, etc.), application instance information, application type (such as Java, Docker, Kafka, Zookeeper, Spark, Hadoop, etc.), application environment information, system identifier of the subsystem to which the application belongs (such as system name, system number, etc.), IP address of the host to which the application belongs, and cluster information to which the host belongs (such as cluster name, number of cluster nodes, master-slave node status, etc.), configure simulated user login information (such as application user and application user password of the application, etc., the application user may be a simulated user for IT operation and maintenance testing, and the operation behavior of the simulated user is consistent with the operation behavior of the real user) and simulated user operation event information (such as simulated user operation commands for the application, including application start command, application stop command, application restart command, command to call a certain function of the application, etc.) for each application; then configure preset script information for the simulated user operation event information (the preset script information may include corresponding script program, and / or command line data, etc.), wherein, when the preset script information is executed, it is used to send the application service request corresponding to the simulated user operation event information to the server corresponding to each application.

[0074] For example, after synchronizing the status information data of each application by calling the UCMDB interface through the Kettel data synchronization tool, the operation and maintenance personnel can click the edit button on the front end of the operation and maintenance management system to jump to the editing page, and then configure the automated operation and maintenance script or command line data of a single application on the editing page, and then configure and maintain the daily operation commands of the application, such as the application user, application user password, start command, stop command, restart command, log path information, and operation and maintenance personnel information. This visual operation and maintenance operation facilitates operation and maintenance management, and can accurately perform IT operation and maintenance work according to actual operation and maintenance needs, thereby improving the efficiency of automated IT operation and maintenance.

[0075] The specific configuration process is described by taking application A among various applications as an example. When configuring the simulated user login information corresponding to application A, according to the host IP address to which application A belongs and the cluster information to which the host belongs, the host folder corresponding to the host IP address is found in the node host directory of the cluster, and then according to the system identifier of the subsystem to which application A belongs, the system folder under the subsystem is found in the host folder, and then according to the application identifier and application type of application A, the user management file data of application A of the application type is found in the system folder, and the login information of the simulated user is created in the management file data, and the operation event information that the simulated user has the authority to execute is created in the event management file data of application A, that is, the simulated user operation event information, such as the application instance information, application environment information, and application service that the simulated user has the authority to request in the cluster node. After the configuration of the simulated user operation event information is completed, the preset script information corresponding to the simulated user operation event information can be edited using a script editing tool, and when the preset script information is executed, it is used to send the application service request corresponding to the simulated user operation event information to the server corresponding to application A to obtain the application service.

[0076] Further, optionally, based on the application identification, application instance information, application type, application environment information, system identification of the subsystem to which the application belongs, the IP address of the host to which the application belongs, and the cluster information to which the host belongs, each application is configured with simulated user login information and simulated user operation event information. Specifically, it may include: based on the application identification, application type, application instance information, application environment information, system identification of the subsystem to which the application belongs, the IP address of the host to which the application belongs, and the cluster information to which the host belongs, each application is configured with simulated user login information with non-ROOT account login permissions, and simulated user operation event information is configured, wherein the application operation command contained in the simulated user operation event information is operated in single command line mode, and the file path in the application operation command is configured in absolute path mode.

[0077] For example, the simulated user login information can be run and logged in with a non-ROOT account. The application operation command contained in the simulated user operation event information is operated in a single command line mode, and the file path in the application operation command is configured in an absolute path mode. In actual operation and maintenance scenarios, in order to minimize user permissions, the application process is usually run with a non-ROOT account, and the application user and password correspond to the application's startup user and login password. The application start and stop commands are operated in a single command line mode. In order to ensure the executable rate of the command, the file path in the command needs to be configured in an absolute path mode.

[0078] 204. In response to the operation and maintenance instruction of the target application among the applications, according to the operation and maintenance operation information of the target application, an application service request corresponding to the operation and maintenance instruction is sent to the server of the target application.

[0079] Optionally, step 204 may specifically include: first, based on the operation and maintenance instructions of the target application, determine the target operation event information of the simulated user on the target application (such as operation events such as starting, stopping, restarting, and calling a certain function of the target application); then obtain the target preset script information corresponding to the target operation event information (the target preset script information corresponding to the target application and corresponding to the start, stop, restart, or call of a certain function of the target application can be obtained from the pre-configured preset script information); then execute the target preset script information, and send an application service request corresponding to the target operation event information to the server of the target application.

[0080] For example, after configuring the application's operating commands, the operation and maintenance personnel can perform application operations (such as starting, stopping, restarting, etc.) through button click events on the system front end. This method automates the application operations, reduces the risk of operation and maintenance personnel logging into the server, and improves their operating efficiency.

[0081] 205. Determine whether an exception occurs in the target application based on the request response information returned by the server.

[0082] For example, when an application operation such as starting, stopping, or restarting is triggered, the background log of the operation command will be displayed on the front-end page of the operation and maintenance management system, so that dynamic information of the application can be understood in real time.

[0083] Optionally, step 205 may specifically include: judging whether the target application service is requested according to the request response information; if the target application service is not requested, determining that an abnormality occurs in the target application; if the target application service is requested, judging whether the requested target application service is consistent with the target application service required by the operation and maintenance instruction; if it is judged that the requested target application service is inconsistent with the target application service required by the operation and maintenance instruction, determining that an abnormality occurs in the target application; if it is judged that the requested target application service is consistent with the target application service required by the operation and maintenance instruction, judging whether the dynamic information of the target application after obtaining the target application service meets the preset standard dynamic change conditions; if it is judged that the dynamic information meets the preset standard dynamic change conditions, determining that no abnormality occurs in the target application; if it is judged that the dynamic information does not meet the preset standard dynamic change conditions, determining that an abnormality occurs in the target application.

[0084] For example, if it is determined based on the request response information that the requested target application service is consistent with the target application service required by the operation and maintenance instruction, and the dynamic information of the target application after obtaining the target application service meets the preset standard dynamic change conditions, then it is determined that the target application has no abnormality; if it is determined that the application service is not requested, or the requested target application service is inconsistent with the target application service required by the operation and maintenance instruction, or the dynamic information of the target application after obtaining the target application service does not meet the preset standard dynamic change conditions, then it is determined that the target application has an abnormality. Through this optional method, it is possible to accurately determine whether the target application has an abnormality, and to achieve one-click automated IT operation and maintenance, thereby improving the efficiency of IT operation and maintenance and saving IT operation and maintenance costs.

[0085] The preset standard dynamic change condition can be pre-set according to actual needs. For example, it is determined whether the dynamic information of the target application after obtaining the target application service meets the preset standard dynamic change condition, specifically including: if the target application service is a service that turns on the preset function, then it is determined whether the application data generated by the target application after obtaining the target application service contains the predetermined application data that should be generated after the service of the preset function is turned on. If it does not contain the predetermined application data, it is determined that the dynamic information does not meet the preset standard dynamic change condition; or, if it is determined that the target application service is a service that turns off the target application, then it is determined whether the preset application data of the target application after obtaining the target application service is deleted within the preset time length. If the preset application data is not deleted within the preset time length, it is determined that the dynamic information does not meet the preset standard dynamic change condition.

[0086] For example, the application data generated by application 1 after receiving application service A should include some specific data. If these specific data are not included, it means that application service A is not actually obtained successfully, and then it is determined that the dynamic information of application 1 does not meet the preset standard dynamic change conditions. For another example, after application 2 receives application service B, specific application data should be deleted within a preset time period. If the specific application data is not deleted within the preset time period, it means that an abnormality has occurred, and it is determined that the dynamic information of application 2 does not meet the preset standard dynamic change conditions.

[0087] For example, in response to a stop request sent by application 3 to obtain an application service that executes the requirement to stop application 3, if the application service is requested and the running data of application 3 is deleted within a preset time after the execution of the application service, it is determined that there is no abnormality in application 3; if the application service is not requested, or other application services are requested, or the application service is requested and the running data of application 3 is not deleted within a preset time after the execution of the application service, it is determined that there is an abnormality in application 3.

[0088] Furthermore, after step 205, the method of this embodiment may also include: if it is determined that the target application is abnormal, saving operation log information corresponding to the operation and maintenance instruction; and outputting alarm information corresponding to the target application in the operation and maintenance management system.

[0089] For example, in the process of automated IT operation and maintenance, any operation record can be written into the database in the form of a data table as a historical record of the operation (operation log information), and the historical record can be used as a production operation record of the operation and maintenance personnel to trace any production operation. When it is determined that an application is abnormal, the alarm information of the application can be output at the front end of the operation and maintenance management system. Specifically, the alarm prompt can be in the form of text, pictures, audio, video, lights, vibrations, etc., so that the operation and maintenance personnel can be informed of the abnormal application at the first time, which is convenient for IT operation and maintenance. If an abnormality occurs, it is also possible to record data and trace the cause of the abnormality, so as to find solution information in time.

[0090] This embodiment provides an automated and interactive IT operation and maintenance management system, and its corresponding application method. The operation and maintenance management system can dynamically collect and obtain application status information, and at the same time, according to the subsystem dimension, one-click management and operation of middleware component application processes, such as Java, Docker, Kafka, Zookeeper, Spark, Hadoop, etc.; at the same time, the operation time, operation content, and operator are recorded in the log, and the historical record is used as the production operation record of the operation and maintenance personnel to trace any production operation. Through IT operation and maintenance automation, it can help improve the operating efficiency of the operation and maintenance personnel and reduce the repetitive work of operation and maintenance.

[0091] Further, as Figure 1 and Figure 2 The specific implementation of the method shown in this embodiment provides an operation and maintenance processing device, such as Figure 3 As shown, the device includes: a collection module 31, a configuration module 32, a sending module 33, and a determination module 34.

[0092] A collection module 31 is used to collect status information of each application;

[0093] Configuration module 32, used to configure operation and maintenance information for each application according to the status information of each application;

[0094] A sending module 33, configured to respond to the operation and maintenance instruction of the target application among the applications, and send an application service request corresponding to the operation and maintenance instruction to the server of the target application according to the operation and maintenance operation information of the target application;

[0095] The determination module 34 is used to determine whether the target application has an abnormality according to the request response information returned by the server of the target application.

[0096] In a specific application scenario, the configuration module 32 is specifically used to configure simulated user login information and simulated user operation event information for each application based on the application identifier, application instance information, application type, application environment information, system identifier of the subsystem to which the application belongs, the IP address of the host to which the application belongs, and the cluster information to which the host belongs; and configure preset script information for the simulated user operation event information, wherein the preset script information, when executed, is used to send the application service request corresponding to the simulated user operation event information to the server corresponding to each application.

[0097] In a specific application scenario, the configuration module 32 is specifically used to configure simulated user login information with non-ROOT account login permissions for each application based on the application identifier, application type, application instance information, application environment information, system identifier of the subsystem to which the application belongs, the IP address of the host to which the application belongs, and the cluster information to which the host belongs, as well as to configure simulated user operation event information, wherein the application operation commands contained in the simulated user operation event information are operated in a single command line mode, and the file path in the application operation command is configured in an absolute path mode.

[0098] In a specific application scenario, the sending module 33 is specifically used to determine the target operation event information of the simulated user on the target application based on the operation and maintenance instructions; obtain the target preset script information corresponding to the target operation event information; execute the target preset script information, and send an application service request corresponding to the target operation event information to the server.

[0099] In a specific application scenario, the determination module 34 is specifically used to determine whether the target application service is requested based on the request response information; if the target application service is not requested, it is determined that the target application has an abnormality; if the target application is requested, it is determined whether the requested target application service is consistent with the target application service required by the operation and maintenance instruction; if it is determined that the requested target application service is inconsistent with the target application service required by the operation and maintenance instruction, it is determined that the target application has an abnormality; if it is determined that the requested target application service is consistent with the target application service required by the operation and maintenance instruction, it is determined whether the dynamic information of the target application after obtaining the target application service meets the preset standard dynamic change conditions; if it is determined that the dynamic information meets the preset standard dynamic change conditions, it is determined that the target application has no abnormality; if it is determined that the dynamic information does not meet the preset standard dynamic change conditions, it is determined that the target application has an abnormality.

[0100] In a specific application scenario, the determination module 34 is also specifically used to determine whether, if the target application service is a service that turns on a preset function, the application data generated by the target application after obtaining the target application service contains the predetermined application data that should be generated after the service of the preset function is turned on; if it does not contain the predetermined application data, it is determined that the dynamic information does not meet the preset standard dynamic change condition; or, if it is determined that the target application service is a service that turns off the target application, it is determined whether the preset application data of the target application after obtaining the target application service is deleted within a preset time period; if the preset application data is not deleted within the preset time period, it is determined that the dynamic information does not meet the preset standard dynamic change condition.

[0101] In a specific application scenario, the device further includes: a first storage module and an output module;

[0102] A first saving module is used for, after determining whether the target application is abnormal according to the request response information returned by the server, saving the operation log information corresponding to the operation and maintenance instruction if it is determined that the target application is abnormal;

[0103] The output module is used to output the corresponding alarm information of the target application in the operation and maintenance management system.

[0104] In a specific application scenario, the device further includes: a second storage module;

[0105] A second saving module is used to save the collected status information of each application in the blockchain after collecting the status information of each application;

[0106] Correspondingly, the configuration module 32 is further specifically used to obtain the status information of each application from the blockchain; and configure the operation and maintenance information corresponding to each application according to the status information of each application obtained from the blockchain.

[0107] It should be noted that for other corresponding descriptions of the functional units involved in the operation and maintenance processing device provided in this embodiment, reference can be made to Figure 1 and Figure 2 The corresponding description in will not be repeated here.

[0108] Based on the above Figure 1 and Figure 2 The method shown in the embodiment also provides a non-volatile readable storage medium, on which a computer readable instruction is stored. When the computer readable instruction is executed by a processor, the above-mentioned Figure 1 and Figure 2 The operation and maintenance method shown.

[0109] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.

[0110] Based on the above Figure 1 , Figure 2 The method shown, and Figure 3 In order to achieve the above-mentioned purpose, the present embodiment further provides a computer device, which can be a personal computer, a laptop computer, a server, a network device, etc. The physical device includes a storage medium and a processor; the storage medium is used to store computer-readable instructions; the processor is used to execute the computer-readable instructions to achieve the above-mentioned Figure 1 and Figure 2 The operation and maintenance processing method shown.

[0111] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a WI-FI interface), etc.

[0112] Those skilled in the art will appreciate that the computer device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different component arrangements.

[0113] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to realize communication between the components inside the storage medium, and communication with other hardware and software in the physical device.

[0114] Through the description of the above implementation methods, the technical personnel in this field can clearly understand that the present application can be implemented by means of software plus the necessary general hardware platform, or by hardware. By applying the technical solution of this embodiment, the operation and maintenance operation information corresponding to each application can be pre-configured according to the collected status information of each application. Subsequently, when the operation and maintenance instructions of the target application are received, the application service request corresponding to the operation and maintenance instruction can be sent to the server of the target application according to the operation and maintenance operation information configured corresponding to the target application, and then the target application can be automatically determined whether an abnormality occurs in the target application according to the request response information returned by the server. Compared with the current traditional IT operation and maintenance methods, this embodiment can truly realize one-click management and operation of the middleware component application process, and then can realize one-click automated IT operation and maintenance processing. Through IT operation and maintenance automation, it can help improve the operating efficiency of operation and maintenance personnel and reduce the repetitive work of operation and maintenance, thereby improving IT operation and maintenance efficiency and saving IT operation and maintenance costs.

[0115] Those skilled in the art will appreciate that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily necessary for implementing the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the description of the implementation scenario, or can be changed accordingly and located in one or more devices different from the present implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple submodules.

[0116] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of this application, but this application is not limited to them, and any changes that can be thought of by technicians in this field should fall within the scope of protection of this application.

Claims

1. An operation and maintenance processing method, characterized in that: include: Collect status information of each application; Configuring operation and maintenance information for each application according to the status information of each application, including: configuring simulated user login information with non-ROOT account login authority for each application based on the application identifier, application type, application instance information, application environment information, system identifier of the subsystem to which the application belongs, IP address of the host to which the application belongs, and cluster information to which the host belongs, and configuring simulated user operation event information, wherein the application operation command contained in the simulated user operation event information is operated in a single command line mode, and the file path in the application operation command is configured in an absolute path mode; configuring preset script information for the simulated user operation event information, wherein the preset script information is used to send the application service request corresponding to the simulated user operation event information to the server corresponding to each application when executed; In response to the operation and maintenance instruction of the target application among the applications, according to the operation and maintenance operation information of the target application, an application service request corresponding to the operation and maintenance instruction is sent to the server of the target application, including: determining the target operation event information of the simulated user on the target application according to the operation and maintenance instruction; obtaining the target preset script information corresponding to the target operation event information; executing the target preset script information, and sending the application service request corresponding to the target operation event information to the server; Determine whether an abnormality occurs in the target application based on the request response information returned by the server of the target application.

2. The method according to claim 1, characterized in that Determining whether the target application is abnormal based on the request response information returned by the server specifically includes: Determine whether the target application service is requested according to the request response information; If the target application service is not requested, determining that the target application is abnormal; If the target application request is received, determining whether the requested target application service is consistent with the target application service required by the operation and maintenance instruction; If it is determined that the requested target application service is inconsistent with the target application service required by the operation and maintenance instruction, it is determined that an abnormality occurs in the target application; If it is determined that the requested target application service is consistent with the target application service required by the operation and maintenance instruction, then determining whether the dynamic information of the target application after obtaining the target application service meets the preset standard dynamic change condition; If it is determined that the dynamic information meets the preset standard dynamic change condition, it is determined that there is no abnormality in the target application; If it is determined that the dynamic information does not meet the preset standard dynamic change condition, it is determined that the target application is abnormal.

3. The method according to claim 2, characterized in that The determining whether the dynamic information of the target application after obtaining the target application service meets the preset standard dynamic change condition specifically includes: If the target application service is a service that enables a preset function, then determining whether the application data generated by the target application after obtaining the target application service contains the predetermined application data that should be generated after the service of the preset function is enabled; if the predetermined application data is not included, determining that the dynamic information does not meet the preset standard dynamic change condition; or, Determining that the target application service is a service for closing the target application, determining whether the preset application data of the target application after obtaining the target application service is deleted within a preset time period, and if the preset application data is not deleted within the preset time period, determining that the dynamic information does not meet the preset standard dynamic change condition; After determining whether the target application is abnormal based on the request response information returned by the server, the method further includes: If it is determined that the target application is abnormal, then saving the operation log information corresponding to the operation and maintenance instruction; Output the corresponding alarm information of the target application in the operation and maintenance management system.

4. The method according to claim 1, characterized in that: After collecting the status information of each application, the method further includes: The collected status information of each application is stored in the blockchain; The configuring operation and maintenance information for each application according to the status information of each application specifically includes: Obtaining status information of each application from the blockchain; Configure operation and maintenance information for each application according to the status information of each application obtained from the blockchain.

5. An operation and maintenance processing device, characterized in that: include: A collection module is used to collect status information of each application; A configuration module, used to configure operation and maintenance information for each application according to the status information of each application; a sending module, configured to respond to an operation and maintenance instruction of a target application among the applications, and send an application service request corresponding to the operation and maintenance instruction to a server of the target application according to the operation and maintenance operation information of the target application; A determination module, used to determine whether the target application has an abnormality according to the request response information returned by the server of the target application; The configuration module is specifically used to configure simulated user login information and simulated user operation event information for each application based on the application identification, application instance information, application type, application environment information, system identification of the subsystem to which the application belongs, IP address of the host to which the application belongs, and cluster information to which the host belongs; Configuring preset script information for the simulated user operation event information, wherein the preset script information, when executed, is used to send an application service request corresponding to the simulated user operation event information to a server corresponding to each application; The configuration module is further specifically used to configure the simulated user login information with non-ROOT account login authority to each application based on the application identification, application type, application instance information, application environment information, system identification of the subsystem to which the application belongs, the IP address of the host to which the application belongs, and the cluster information to which the host belongs, and configure simulated user operation event information, wherein the application operation command contained in the simulated user operation event information is operated in a single command line mode, and the file path in the application operation command is configured in an absolute path mode; The sending module is specifically used to determine the target operation event information of the simulated user on the target application according to the operation and maintenance instruction; obtain the target preset script information corresponding to the target operation event information; execute the target preset script information, and send an application service request corresponding to the target operation event information to the server.

6. A non-volatile readable storage medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor, the operation and maintenance processing method described in any one of claims 1 to 4 is implemented.

7. A computer device comprising a non-volatile readable storage medium, a processor, and computer readable instructions stored on the non-volatile readable storage medium and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the operation and maintenance processing method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Memory database instance management method and device

    CN106021370A

  • Management method of micro-service architecture and related device

    CN111338646A