A method, device and medium for monitoring the entire life cycle of an application system
By obtaining the monitoring object information of the application system and extracting standard monitoring templates, and generating and updating monitoring matters, the problems of incomplete monitoring requirements and monitoring window periods are solved, and the full life cycle monitoring of the application system is realized.
Patent Information
- Application Number
- CN202210996845.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-08-19
AI Technical Summary
In the prior art, the monitoring requirements of the application system are not comprehensive enough and there is a monitoring window period, making it difficult to achieve monitoring throughout the life cycle.
By obtaining the monitoring object information of the application system, extracting the corresponding standard monitoring templates, and adding them to the application system through preset monitoring scripts to generate monitoring matters, collecting monitoring requirements during the execution of monitoring matters and updating them to realize monitoring throughout the life cycle .
It realizes comprehensive monitoring of the application system, avoids the existence of the monitoring window period, and ensures the safe and stable operation of the application system.
Smart Images

Figure CN115499336B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device and medium for monitoring the entire life cycle of an application system. Background Art
[0002] In the digital age, in order to ensure the business service quality of the application system, it is necessary to set up a monitoring system in its system architecture to monitor the business service quality. Monitoring can issue timely and accurate alarms when the application system is about to fail or has failed, thereby ensuring the safe and stable operation of the application system. The implementation of monitoring depends on the monitoring needs. If the demander does not understand the system monitoring principle, the monitoring requirements submitted by him are usually not comprehensive enough and have large errors. In addition, due to the untimely submission of requirements, there will also be a monitoring window period, making it difficult to achieve full life cycle monitoring. Summary of the invention
[0003] In order to solve the above problems, this application proposes a method for monitoring the entire life cycle of an application system, including:
[0004] Acquire monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system;
[0005] Extracting a standard monitoring template corresponding to the resource type from the monitoring system;
[0006] By means of a preset monitoring script, the standard monitoring template is added to the application system to generate monitoring items corresponding to the resource type;
[0007] The monitoring items are started and executed in a specified manner, and during the execution of the monitoring items, the monitoring requirements of the application system are collected, so that the monitoring items are updated according to the monitoring requirements to realize the monitoring of the entire life cycle of the application system.
[0008] In one implementation of the present application, before extracting the standard monitoring template corresponding to the resource type, the method further includes:
[0009] Determine standard monitoring information corresponding to the resource type; the standard monitoring information includes the resource type, monitoring indicators and alarm conditions;
[0010] A standard monitoring template for monitoring the resource type is generated according to the standard monitoring information to obtain a monitoring system composed of the standard monitoring template.
[0011] In one implementation of the present application, determining the standard monitoring information corresponding to the resource type specifically includes:
[0012] Determine the monitoring indicator corresponding to the resource type according to the alarm requirements of the application system;
[0013] Acquire a state data sequence of the monitoring system, and calculate an estimation interval corresponding to the state data sequence; the estimation interval represents a critical range of probability distribution of the state data sequence;
[0014] According to the estimated interval, an alarm critical value of the monitoring indicator corresponding to the resource type is determined.
[0015] In one implementation of the present application, collecting the monitoring requirements of the application system to update the monitoring items according to the monitoring requirements specifically includes:
[0016] In the case where the application system undergoes a production change, obtaining a production change instance, and determining target monitoring items that require production change for the application system based on monitoring demand data in the production change instance;
[0017] The monitoring information carried in the monitoring demand data is used as a script running parameter, and the target monitoring item is updated through a target monitoring script carrying the script running parameters; the target monitoring script is a monitoring script corresponding to the target monitoring item, and the monitoring information is the monitoring items in the target monitoring item that need to be changed for production and their corresponding monitoring item values.
[0018] In one implementation of the present application, after determining the target monitoring items for the application system to be changed into production according to the monitoring requirement data in the production change instance, the method further includes:
[0019] Matching the monitoring information with the standard monitoring information in the target monitoring item to obtain the update degree corresponding to the production change instance;
[0020] When the updating degree is greater than a preset threshold, modularizing the production change instance to obtain a production change process consisting of a standard module and a plurality of other modules;
[0021] The target monitoring items include a first target monitoring item and a second target monitoring item, and updating the target monitoring items specifically includes:
[0022] Updating the first target monitoring items and the second target monitoring items corresponding to the standard module and the plurality of other modules respectively;
[0023] The updated first target monitoring items are sequentially spliced with the second target monitoring items to obtain updated target monitoring items.
[0024] In one implementation of the present application, after starting to execute the monitoring matter in a specified manner, the method further includes:
[0025] Regularly querying the monitoring items according to a preset monitoring interval to determine whether the monitoring items trigger an alarm within the monitoring interval according to the alarm threshold;
[0026] If yes, obtain the initial alarm information of the monitored item, obtain the application information ledger corresponding to the monitored item from the application system, and fill the application information ledger into the initial alarm information of the monitored item to obtain the filled alarm information;
[0027] Determine the resource type to which the monitoring item belongs, and process the filled alarm information according to the alarm rule corresponding to the resource type.
[0028] In one implementation of the present application, starting to execute the monitoring items in a specified manner specifically includes:
[0029] Determine the corresponding monitoring type according to the resource type to which the monitoring item belongs; the monitoring type includes automatic monitoring and non-automatic monitoring;
[0030] In the case where the monitoring type is self-starting monitoring, determining that the application system starts executing the monitoring item when applying for a first resource corresponding to the self-starting monitoring;
[0031] In the case where the monitoring type is non-self-starting monitoring, the monitoring script periodically polls the second resource corresponding to the non-self-starting monitoring to determine whether the second resource has taken effect, and starts executing the monitoring item when it is determined that the second resource has taken effect.
[0032] In one implementation of the present application, before calculating the estimated interval corresponding to the state data sequence, the method further includes:
[0033] Traversing the state data sequence through a preset moving window to obtain a plurality of state data intervals; the length of the state data interval corresponds to the length of the moving window;
[0034] Determine, according to the sequence time corresponding to the plurality of state data included in the state data interval, the influence coefficients corresponding to the plurality of state data;
[0035] For the state data interval, performing weighted summation on the plurality of state data according to the influence coefficient to obtain target state data corresponding to the state data interval;
[0036] A state data sequence consisting of the target state data is generated.
[0037] The embodiment of the present application provides an application system full life cycle monitoring device, characterized in that the device includes:
[0038] at least one processor;
[0039] and, a memory communicatively coupled to the at least one processor;
[0040] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:
[0041] Acquire monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system;
[0042] Extracting a standard monitoring template corresponding to the resource type from the monitoring system;
[0043] By means of a preset monitoring script, the standard monitoring template is added to the application system to generate monitoring items corresponding to the resource type;
[0044] The monitoring items are started and executed in a specified manner, and during the execution of the monitoring items, the monitoring requirements of the application system are collected, so that the monitoring items are updated according to the monitoring requirements to realize the monitoring of the entire life cycle of the application system.
[0045] The embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0046] Acquire monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system;
[0047] Extracting a standard monitoring template corresponding to the resource type from the monitoring system;
[0048] By means of a preset monitoring script, the standard monitoring template is added to the application system to generate monitoring items corresponding to the resource type;
[0049] The monitoring items are started and executed in a specified manner, and during the execution of the monitoring items, the monitoring requirements of the application system are collected, so that the monitoring items are updated according to the monitoring requirements to realize the monitoring of the entire life cycle of the application system.
[0050] The application system full life cycle monitoring method proposed in this application can bring the following beneficial effects:
[0051] According to the resource application made by the application system, the standard monitoring template corresponding to the resource type applied for is obtained, and the standard monitoring template is added to the application system to generate the corresponding monitoring items. The standard monitoring template can cover all the monitoring information of the currently applied resources, which is more comprehensive and does not require human understanding of the monitoring principle. By executing or changing the monitoring items, the monitoring of the entire life cycle of the application system can be realized, avoiding the existence of the monitoring window period. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] 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 present application. In the drawings:
[0053] Figure 1 A flowchart of a method for monitoring the entire life cycle of an application system provided in an embodiment of the present application;
[0054] Figure 2 A schematic diagram of the structure of an application system full life cycle monitoring device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0056] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0057] like Figure 1 As shown, an embodiment of the present application provides a method for monitoring an application system throughout its life cycle, comprising:
[0058] S101: Acquire monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system.
[0059] When the application system applies for resources such as servers, databases, and middleware, the server will obtain the monitoring object information corresponding to the application system to be monitored. The monitoring object information at least includes the resource type that the application system wants to apply for.
[0060] S102: extracting a standard monitoring template corresponding to the resource type from the monitoring system.
[0061] After determining the monitoring object information, the server can extract the standard monitoring template corresponding to the above resource type from the preset monitoring system. The standard monitoring template is a standard monitoring method specified in advance according to professional monitoring requirements. The monitoring system stores standard monitoring templates corresponding to multiple resource types.
[0062] Among them, the standard monitoring template can be obtained in the following ways: determine the standard monitoring information of the resource type, wherein the standard monitoring information includes the resource type, monitoring indicators and alarm conditions. After determining the standard monitoring information, a standard monitoring template for monitoring the corresponding resource type can be generated based on it, thereby obtaining a monitoring system containing multiple standard monitoring templates. Different resource types correspond to different standard monitoring templates. When the application system applies for resources, it can directly call the standard monitoring template corresponding to the current resource to be applied for for subsequent monitoring. It is more convenient without the need for manual understanding of the monitoring requirements corresponding to different resources.
[0063] In one embodiment, when there is a resource demand in the application system, the standard monitoring information can be determined in the following manner: according to the application alarm demand of the application system, the monitoring indicator corresponding to the currently applied resource type is determined. After the monitoring indicator is determined, if real-time monitoring of the application system is to be achieved, the monitoring interval of each monitoring indicator must be determined according to the system load pressure of the monitoring system, and the alarm threshold of each monitoring indicator must be determined according to the operating status of the monitoring system. Among them, the size of the system load pressure is inversely proportional to the duration of the monitoring interval. The smaller the monitoring interval, the higher the system load pressure. Only after the monitoring indicator and the monitoring interval and alarm threshold corresponding to each monitoring indicator are determined, can the standard monitoring information for monitoring the application system be obtained accordingly.
[0064] Specifically, the alarm threshold of the monitoring indicator can be determined according to the running state of the monitoring system. The running state is represented by the state data of the monitoring system. Therefore, the state data sequence of the monitoring system needs to be obtained first. The state data sequence includes CPU idle rate, bandwidth, etc. Since the running process of the monitoring system is a continuous time series process, the data contained in the state data sequence is time series state data. After obtaining the state data sequence, the estimated interval of the state data sequence within a certain monitoring interval can be calculated by calculating the standard deviation between the multiple state data contained therein. The estimated interval represents the critical range of the probability distribution of the state data sequence. According to the estimated interval, the alarm threshold of the monitoring indicator corresponding to the resource type can be determined. Among them, the upper limit of the alarm threshold is the state data + the estimated interval length, and the lower limit of the alarm threshold is the state data - the estimated interval length. For example, the time series data is 5, the estimated interval is 3, and the corresponding critical range is [2,8], and the alarm thresholds are 2 and 8 respectively. Once the time series data exceeds the critical range, the monitoring item corresponding to the monitoring indicator can be triggered to alarm.
[0065] It should be noted that the time series state data of the monitoring system fluctuates in real time. As the activation time of the monitoring system increases, the accuracy of the state data that can be obtained will also decrease. In order to ensure the accuracy of the data, the most accurate time series state data at each time point can be obtained by weighting. Specifically, the state data sequence is traversed by a preset moving window to obtain several state data intervals, wherein the length of the state data interval corresponds to the length of the moving window, and the moving window moves according to the unit interval. It can be understood that the number of state data intervals corresponds to the number of time series state data in the state data sequence. After obtaining several state data intervals, the influence coefficients corresponding to the multiple state data contained in the state data interval are determined. The influence coefficient is proportional to the order of the sequence time. The later the sequence time, the smaller the influence coefficient. According to the influence coefficient, the weighted summation of each state data in the state data interval is performed, and the result of the weighted summation is the target state data corresponding to the state data interval. The above process is repeated until all state data intervals are weighted. At this time, a state data sequence composed of target state data is generated. This state data sequence can be used for calculation of subsequent estimation intervals, which can improve the accuracy of data calculation.
[0066] Taking the middleware requirements as an example, the middleware involved in the embodiments of the present application is the middleware whose software installation, application deployment, and middleware configuration meet the general technical specification standards of the middleware. The monitoring indicators include at least one or more of the following according to the application alarm requirements: middleware status, middleware database connection status, and queue status. The alarm threshold can be determined according to the monitoring system. After respectively determining the monitoring indicators, the alarm threshold corresponding to each monitoring indicator, and the middleware type, a standard monitoring template corresponding to the middleware can be generated according to the above information, and the standard monitoring template can be directly called later.
[0067] S103: Adding a standard monitoring template to the application system through a preset monitoring script to generate monitoring items corresponding to the resource type.
[0068] When the application system applies for server resources, the server will push the preset monitoring script. By writing the script, the standard monitoring template of the corresponding resource type can be added to the server by calling the interface, thereby generating the corresponding monitoring items. For example, if the resource type applied for by the application system includes middleware resources, the monitoring information carried by the middleware resources can be used as the script running parameters, and the monitoring script carrying the above script running parameters can be used to add middleware monitoring items to the server.
[0069] S104: Start executing monitoring items in a specified manner, and during the execution of monitoring items, collect monitoring requirements of the application system, so as to update the monitoring items according to the monitoring requirements and realize monitoring of the entire life cycle of the application system.
[0070] Monitoring items are divided into two types, self-starting monitoring and non-self-starting monitoring, according to different resource types. Among them, self-starting monitoring refers to monitoring items that automatically enable the service when applying for resources, such as server monitoring, and non-self-starting resources refer to monitoring items that cannot automatically enable the service when applying for resources, such as middleware monitoring. Therefore, different specified methods can be used to start the execution of monitoring items for different monitoring types. In the case where the monitoring type is self-starting monitoring, it is determined that the application system starts the execution of monitoring items when applying for the first resource corresponding to the self-starting monitoring. In the case where the monitoring type is non-self-starting monitoring, the second resource corresponding to the non-self-starting monitoring is regularly polled through the monitoring script to determine whether the second resource has taken effect, and it is determined that the monitoring items are started when the second resource has taken effect.
[0071] After the monitoring items are started, the server will query the monitoring items regularly according to the preset monitoring interval, so as to determine whether the monitoring items trigger an alarm within the current monitoring interval according to the alarm threshold. If the alarm is triggered, the initial alarm information of the monitoring items is obtained, and the application information ledger corresponding to the monitoring items is obtained from the application system, and the application information ledger is filled into the above initial alarm information to obtain the filled alarm information. After obtaining the filled alarm information, the resource type to which the monitoring items belong is determined, and the filled alarm information is processed according to the alarm rules corresponding to the resource type. For example, when the resource type is middleware, once an alarm occurs, the person in charge of the application system and the middleware operation and maintenance personnel can be notified by SMS. After receiving the alarm information, the person in charge of the application system can process the alarm information according to the emergency treatment plan obtained by standardizing the emergency treatment method in advance. For example, if the alarm information is an alarm of port 8081, according to the emergency treatment plan, it can be judged that the current fault is a service stop. At this time, the preset service status check script can be used to check whether the service is in a stopped state. If so, the service can be restarted.
[0072] If the application system needs to be put into production or changed, the monitoring can be adjusted, started or stopped accordingly according to the production change plan. For the case where the application system needs to be put into production, the production change steps are standardized and tested and verified, and then a production change instance is generated. According to the monitoring demand data in the production change instance, the target monitoring items that the application system needs to change are determined. After determining the target monitoring items, the monitoring information carried in the monitoring demand data is used as the script running parameters, and the target monitoring items are updated through the target monitoring script carrying the script running parameters. Among them, the target monitoring script is the monitoring script corresponding to the target monitoring item, and the monitoring information is the monitoring items that need to be put into production and the corresponding monitoring item values in the target monitoring items. For example, when an application is put into production, the monitoring demand data proposed is that the startup service port is 8080 and the URL address is http: / / xxxxx. The startup service port and URL are monitoring items. Through the target monitoring script carrying the above monitoring information, the server monitoring items corresponding to the application system can be updated, and the corresponding port monitoring and URL monitoring (uniform resource locator, uniform resource locator system) can be added. Of course, when the application system is changed, the corresponding target monitoring items can also be adjusted in the above manner, for example, the startup service port 8080 can be updated to port 8081.
[0073] In one embodiment, if the change in the production change instance is large, the production change instance can be changed in a modular way to achieve the purpose of reducing data processing pressure. Specifically, the monitoring information in the production change instance is matched with the standard monitoring information in the corresponding target monitoring items to obtain the update degree corresponding to the production change instance. If the update degree is greater than the preset threshold, it means that the monitoring information to be changed currently accounts for a large proportion of the standard monitoring information. In order to ensure the efficiency of the change, the production change instance needs to be modularized to obtain a production change process consisting of a standard module and multiple other modules. Among them, the standard module is a common step or feature in the production change process. The first target monitoring items and the second target monitoring items corresponding to the standard module and multiple other modules are updated, and then the updated first target monitoring items are spliced with the second target monitoring items in sequence to obtain the updated target monitoring items.
[0074] After the application system is offline, its corresponding monitoring items can be automatically offline, thus realizing the monitoring of the entire life cycle of the application system. During the use of the application system, whether resources are online, modified or offline, they can be automatically fully monitored through the added monitoring items, making the process traceable and auditable without manual participation, effectively ensuring the timeliness and comprehensiveness of monitoring.
[0075] The above are embodiments of the method proposed in this application. Based on the same idea, some embodiments of this application also provide devices and non-volatile computer storage media corresponding to the above methods.
[0076] Figure 2 This is a schematic diagram of the structure of an application system full life cycle monitoring device provided in an embodiment of the present application. Figure 2 As shown, including:
[0077] at least one processor; and,
[0078] at least one processor is communicatively connected to a memory; wherein,
[0079] The memory stores instructions executable by at least one processor, the instructions being executed by at least one processor to enable the at least one processor to:
[0080] Obtaining monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system;
[0081] Extract standard monitoring templates corresponding to resource types from the monitoring system;
[0082] Through the preset monitoring script, add the standard monitoring template to the application system to generate monitoring items corresponding to the resource type;
[0083] Start the execution of monitoring items in a specified way, and collect the monitoring requirements of the application system during the execution of the monitoring items, so as to update the monitoring items according to the monitoring requirements and realize the monitoring of the entire life cycle of the application system.
[0084] The embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0085] Obtaining monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system;
[0086] Extract standard monitoring templates corresponding to resource types from the monitoring system;
[0087] Through the preset monitoring script, add the standard monitoring template to the application system to generate monitoring items corresponding to the resource type;
[0088] Start the execution of monitoring items in a specified way, and collect the monitoring requirements of the application system during the execution of the monitoring items, so as to update the monitoring items according to the monitoring requirements and realize the monitoring of the entire life cycle of the application system.
[0089] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0090] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0091] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0092] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0093] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0095] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0096] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0097] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0098] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0099] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for monitoring the entire life cycle of an application system, characterized in that: The method comprises: Acquire monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system; Extracting a standard monitoring template corresponding to the resource type from the monitoring system; By means of a preset monitoring script, the standard monitoring template is added to the application system to generate monitoring items corresponding to the resource type; Initiate the execution of the monitoring items in a specified manner, and during the execution of the monitoring items, collect monitoring demand data of the application system, so as to update the monitoring items according to the monitoring demand data, thereby realizing monitoring of the entire life cycle of the application system; Collecting the monitoring demand data of the application system to update the monitoring items according to the monitoring demand data specifically includes: In the case where the application system undergoes a production change, obtaining a production change instance, and determining target monitoring items that require production change for the application system based on monitoring demand data in the production change instance; The monitoring information carried in the monitoring demand data is used as a script running parameter, and the target monitoring item is updated through a target monitoring script carrying the script running parameter; the target monitoring script is a monitoring script corresponding to the target monitoring item, and the monitoring information is a monitoring item in the target monitoring item that needs to be changed for production and its corresponding monitoring item value; After determining the target monitoring items for the application system to be changed into production according to the monitoring demand data in the production change instance, the method further includes: Matching the monitoring information with the standard monitoring information in the target monitoring item to obtain the update degree corresponding to the production change instance; When the update degree is greater than a preset threshold, the production change instance is modularized to obtain a production change process consisting of a standard module and a plurality of other modules; the standard module is a common step or feature in the production change process; The target monitoring items include a first target monitoring item and a second target monitoring item, and updating the target monitoring items specifically includes: Updating the first target monitoring items and the second target monitoring items corresponding to the standard module and the plurality of other modules respectively; Sequentially joining the updated first target monitoring items with the second target monitoring items to obtain updated target monitoring items; Before extracting the standard monitoring template corresponding to the resource type, the method further includes: Determine standard monitoring information corresponding to the resource type; the standard monitoring information includes the resource type, monitoring indicators and alarm conditions; A standard monitoring template for monitoring the resource type is generated according to the standard monitoring information to obtain a monitoring system composed of the standard monitoring template.
2. The method for monitoring the entire life cycle of an application system according to claim 1, characterized in that: Determine the standard monitoring information corresponding to the resource type, specifically including: Determine the monitoring indicators corresponding to the resource types according to the alarm requirements of the application system; Acquire a state data sequence of the monitoring system, and calculate an estimation interval corresponding to the state data sequence; the estimation interval represents a critical range of probability distribution of the state data sequence; According to the estimated interval, an alarm critical value of the monitoring indicator corresponding to the resource type is determined.
3. The method for monitoring the entire life cycle of an application system according to claim 1, characterized in that: After starting to execute the monitoring items in a specified manner, the method further includes: Regularly querying the monitoring items according to a preset monitoring interval to determine whether the monitoring items trigger an alarm within the monitoring interval according to the alarm threshold; If yes, obtain the initial alarm information of the monitored item, obtain the application information ledger corresponding to the monitored item from the application system, and fill the application information ledger into the initial alarm information of the monitored item to obtain the filled alarm information; Determine the resource type to which the monitoring item belongs, and process the filled alarm information according to the alarm rule corresponding to the resource type.
4. The method for monitoring the entire life cycle of an application system according to claim 1, characterized in that: Initiate and execute the monitoring items in a specified manner, including: Determine the corresponding monitoring type according to the resource type to which the monitoring item belongs; the monitoring type includes automatic monitoring and non-automatic monitoring; In the case where the monitoring type is self-starting monitoring, determining that the application system starts executing the monitoring item when applying for a first resource corresponding to the self-starting monitoring; In the case where the monitoring type is non-self-starting monitoring, the monitoring script periodically polls the second resource corresponding to the non-self-starting monitoring to determine whether the second resource has taken effect, and starts executing the monitoring item when it is determined that the second resource has taken effect.
5. The method for monitoring the entire life cycle of an application system according to claim 2, characterized in that: Before calculating the estimated interval corresponding to the state data sequence, the method further includes: Traversing the state data sequence through a preset moving window to obtain a plurality of state data intervals; the length of the state data interval corresponds to the length of the moving window; Determine, according to the sequence time corresponding to the plurality of state data included in the state data interval, the influence coefficients corresponding to the plurality of state data; For the state data interval, performing weighted summation on the plurality of state data according to the influence coefficient to obtain target state data corresponding to the state data interval; A state data sequence consisting of the target state data is generated.
6. A monitoring device for the entire life cycle of an application system, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: Acquire monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system; Extracting a standard monitoring template corresponding to the resource type from the monitoring system; By means of a preset monitoring script, the standard monitoring template is added to the application system to generate monitoring items corresponding to the resource type; Initiate the execution of the monitoring items in a specified manner, and during the execution of the monitoring items, collect monitoring demand data of the application system, so as to update the monitoring items according to the monitoring demand data, thereby realizing monitoring of the entire life cycle of the application system; Collecting the monitoring demand data of the application system to update the monitoring items according to the monitoring demand data specifically includes: In the case where the application system undergoes a production change, obtaining a production change instance, and determining target monitoring items that require production change for the application system based on monitoring demand data in the production change instance; The monitoring information carried in the monitoring demand data is used as a script running parameter, and the target monitoring item is updated through a target monitoring script carrying the script running parameter; the target monitoring script is a monitoring script corresponding to the target monitoring item, and the monitoring information is a monitoring item in the target monitoring item that needs to be changed for production and its corresponding monitoring item value; After determining the target monitoring items for the application system to be changed for production according to the monitoring demand data in the production change instance, the method further includes: Matching the monitoring information with the standard monitoring information in the target monitoring item to obtain the update degree corresponding to the production change instance; When the update degree is greater than a preset threshold, the production change instance is modularized to obtain a production change process consisting of a standard module and a plurality of other modules; the standard module is a common step or feature in the production change process; The target monitoring items include a first target monitoring item and a second target monitoring item, and updating the target monitoring items specifically includes: Updating the first target monitoring items and the second target monitoring items corresponding to the standard module and the plurality of other modules respectively; Sequentially joining the updated first target monitoring items with the second target monitoring items to obtain updated target monitoring items; Before extracting the standard monitoring template corresponding to the resource type, it also includes: Determine standard monitoring information corresponding to the resource type; the standard monitoring information includes the resource type, monitoring indicators and alarm conditions; A standard monitoring template for monitoring the resource type is generated according to the standard monitoring information to obtain a monitoring system composed of the standard monitoring template.
7. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: Acquire monitoring object information corresponding to the application system to be monitored; the monitoring object information at least includes the resource type to be applied for by the application system; Extracting a standard monitoring template corresponding to the resource type from the monitoring system; By means of a preset monitoring script, the standard monitoring template is added to the application system to generate monitoring items corresponding to the resource type; Initiate the execution of the monitoring items in a specified manner, and during the execution of the monitoring items, collect monitoring demand data of the application system, so as to update the monitoring items according to the monitoring demand data, thereby realizing monitoring of the entire life cycle of the application system; Collecting the monitoring demand data of the application system to update the monitoring items according to the monitoring demand data specifically includes: In the case where the application system undergoes a production change, obtaining a production change instance, and determining target monitoring items that require production change for the application system based on monitoring demand data in the production change instance; The monitoring information carried in the monitoring demand data is used as a script running parameter, and the target monitoring item is updated through a target monitoring script carrying the script running parameter; the target monitoring script is a monitoring script corresponding to the target monitoring item, and the monitoring information is a monitoring item in the target monitoring item that needs to be changed for production and its corresponding monitoring item value; After determining the target monitoring items for the application system to be changed for production according to the monitoring demand data in the production change instance, the method further includes: Matching the monitoring information with the standard monitoring information in the target monitoring item to obtain the update degree corresponding to the production change instance; When the update degree is greater than a preset threshold, the production change instance is modularized to obtain a production change process consisting of a standard module and a plurality of other modules; the standard module is a common step or feature in the production change process; The target monitoring items include a first target monitoring item and a second target monitoring item, and updating the target monitoring items specifically includes: Updating the first target monitoring items and the second target monitoring items corresponding to the standard module and the plurality of other modules respectively; Sequentially joining the updated first target monitoring items with the second target monitoring items to obtain updated target monitoring items; Before extracting the standard monitoring template corresponding to the resource type, it also includes: Determine standard monitoring information corresponding to the resource type; the standard monitoring information includes the resource type, monitoring indicators and alarm conditions; A standard monitoring template for monitoring the resource type is generated according to the standard monitoring information to obtain a monitoring system composed of the standard monitoring template.
