A dynamic identification monitoring method and system based on operating environment

Through real-time monitoring and feature analysis of operating system resource information, the problem that existing technology cannot monitor the destructive behavior of malicious programs is solved, dynamic identification and abnormal judgment of the operating environment are achieved, and system security is improved.

CN116662102BActive Publication Date: 2024-08-23HUANENG INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310175938.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-23
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

The existing technology cannot effectively monitor the destructive behavior of malicious programs within the running system, resulting in the inability to determine in a timely manner that the host has been attacked, affecting system security.

Method used

By obtaining running system resource information, calibrating system sub-resources, monitoring their consumption status in real time, filtering out sub-resource consumption characteristics, configuring identification information, establishing corresponding relationships, judging program task execution process abnormalities, distinguishing whether they are independent, and then determining the cause of the exception.

Benefits of technology

It realizes dynamic identification and monitoring of the operating environment, can promptly detect whether applications are interfered with, distinguishes operating abnormalities from interference by malicious programs, and improves system security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116662102B
    Figure CN116662102B
Patent Text Reader

Abstract

The present application discloses a dynamic identification monitoring method and system based on an operating environment, which relates to the technical field of system environment monitoring. The method includes calibrating several categories of system sub-resources based on the operating system resource information, screening out sub-resource consumption characteristics based on the system sub-resource consumption status, configuring first identification information based on the characteristics of the program task execution process, determining sub-resource consumption abnormality characteristics based on a preset first identification information-sub-resource consumption standard characteristic corresponding model, and judging whether the program task execution process abnormality is independent based on the sub-resource consumption abnormality characteristics, so as to judge the cause of the program task execution process abnormality, thereby realizing the distinction between the operation abnormality of the application program itself and the operation environment abnormality caused by interference from malicious programs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of system environment monitoring, and in particular to a dynamic identification monitoring method and system based on an operating environment. Background Art

[0002] In order to speed up the progress of different enterprise projects, more and more enterprises have begun to use various auxiliary work applications. Such applications are usually installed on the host, and the staff communicates with the host through the local area network or the Internet to implement the application of the above applications.

[0003] After building the above application, since the host may be attacked, in order to promptly determine whether the host is attacked, the port traffic is monitored in the prior art. However, this method cannot effectively monitor the destructive behavior of malicious programs within the running system. When such destructive behavior occurs, the running system often changes with the running environment. Therefore, in order to improve the security of the running system, a monitoring method based on dynamic identification of the running environment is urgently needed. Summary of the invention

[0004] The purpose of the present invention is to provide a system capable of dynamically identifying and monitoring the operating environment.

[0005] Therefore, the present invention discloses a dynamic identification and monitoring method based on the operating environment, comprising:

[0006] Step 1: Obtaining operating system resource information, and calibrating several categories of system sub-resources based on the operating system resource information;

[0007] Step 2: monitor the system sub-resource consumption status in real time, and filter out sub-resource consumption characteristics based on the system sub-resource consumption status;

[0008] Step 3: Acquire the program task execution process, and configure the first identification information based on the characteristics of the program task execution process;

[0009] Step 4: establishing a correspondence between the first identification information and the sub-resource consumption characteristics, and determining the abnormal sub-resource consumption characteristics based on a preset first identification information-sub-resource consumption standard characteristic correspondence model;

[0010] Step 5: Based on the abnormal sub-resource consumption characteristics, determine whether the program task execution process abnormality is independent, so as to determine the cause of the program task execution process abnormality.

[0011] In some embodiments of the present application, several categories of system sub-resources are calibrated based on the operating system resource information, including:

[0012] Acquire an initial hardware performance indicator of the intelligent terminal device where the operating system is located, and perform consistency assignment on the initial hardware performance indicator according to a preset performance consistency assignment rule to obtain a first hardware resource value;

[0013] Based on the running system resource information, the current system sub-resource occupancy ratio is determined, and based on the first hardware resource value of the initial hardware performance indicator configuration corresponding to the system sub-resource, the first resource consumption value of the system sub-resource is determined.

[0014] In some embodiments of the present application, a method for screening out sub-resource consumption characteristics is disclosed, wherein the sub-resource consumption characteristics are screened out based on the sub-resource consumption status of the system:

[0015] Acquire a first resource consumption value of each of the system sub-resources, and establish a resource consumption curve based on the hardware resource value of the system sub-resource, wherein the abscissa of the resource consumption curve is time and the ordinate is the real-time first resource consumption value;

[0016] For the resource consumption curve, establish a time evolution line;

[0017] Scan and analyze the resource consumption curve, and if the fluctuation amplitude or fluctuation curvature of the resource consumption curve is greater than a preset value, feature-mark the corresponding section on the time evolution line;

[0018] Constructing a characteristic parameter group for the fluctuation amplitude and fluctuation curvature of the resource consumption curve, and associating them with the characteristic marks on the time evolution line;

[0019] Based on the characteristic mark of the time evolution line, sub-resource consumption characteristics are screened out.

[0020] In some embodiments of the present application, a method for configuring first identification information is disclosed, and the first identification information is configured based on the characteristics of the program task execution process, including:

[0021] Obtaining a task execution list, and determining different subtasks based on the task execution list;

[0022] A first identifier is configured for each subtask;

[0023] Obtaining task input parameters for each subtask and determining the duration of the subtask process;

[0024] The task input parameters and process consumption time of the subtask are constructed into a subtask feature group, and are associated with the first identifier corresponding to the subtask to generate first identifier information.

[0025] In some embodiments of the present application, a method for determining abnormal characteristics of sub-resource consumption is disclosed, and the abnormal characteristics of sub-resource consumption are determined based on a preset first identification information-sub-resource consumption standard characteristic correspondence model, including:

[0026] Based on a first time node when the first identification information is generated, and according to the first time node, determining a corresponding sub-resource consumption feature;

[0027] Determining the sub-resource consumption standard feature based on the analysis of the first identification information by the first identification information-sub-resource consumption standard feature correspondence model;

[0028] Based on the difference between the sub-resource consumption feature and the sub-resource consumption standard feature, an abnormal sub-resource consumption feature is determined.

[0029] In some embodiments of the present application, a method for determining whether a program task execution process exception is independent is disclosed, and determining whether a program task execution process exception is independent based on the abnormal sub-resource consumption feature includes:

[0030] Analyze the abnormal characteristics of the sub-resource consumption, determine the abnormal factors of the sub-resource consumption, and calculate the abnormal independence value of the program task execution process based on the abnormal factors of the sub-resource. The expression for calculating the abnormal independence value of the program task execution process is:

[0031] ;

[0032] Among them, Y represents the abnormal independent value of the program task execution process, μ represents the number of program task execution process cycles, λ represents the number of abnormal continuous cycles of the program task execution process, i represents the order of the subtask execution process of the same program task execution, The sub-resource abnormality factor of the execution process of the i-th sub-task of the μ-th program task execution process is represented. is the minimum sub-resource abnormality factor in the sub-task execution process in the μth program task execution process, The maximum sub-resource abnormality factor in the sub-task execution process in the μth program task execution process, Represents the weight coefficient of the λth program task execution process cycle;

[0033] If the program task execution process abnormal independence value is greater than a preset value, it is determined that the program task execution process is abnormally independent.

[0034] In some embodiments of the present application, a method for determining the cause of an abnormality in the execution process of a program task is disclosed, and determining the cause of an abnormality in the execution process of a program task includes:

[0035] If the program task execution process is abnormally independent, the cause of the program task execution process abnormality is determined according to the preset task execution abnormality corresponding set;

[0036] If the program task execution process is abnormal and not independent, it is determined that the program environment is running abnormally.

[0037] In some embodiments of the present application, a method for using a task execution exception corresponding set is disclosed, and the cause of the abnormality of the program task execution process is determined according to the preset task execution exception corresponding set, including:

[0038] Step 1: Build a corresponding set of task execution exceptions:

[0039] Analyze the abnormal performance of program task execution process due to specific reasons and determine the abnormal feature category group;

[0040] Based on the relationship between specific causes and abnormal feature category groups, a corresponding set of task execution anomalies is constructed;

[0041] Step 2: Compare the abnormal feature categories and the corresponding sets of task execution abnormalities:

[0042] Counting the features of abnormalities in the execution process of program tasks, and classifying the features of abnormalities in the execution process of program tasks into categories to generate a number of abnormal feature categories;

[0043] If all of the abnormal feature categories completely match the abnormal feature category group in the task execution abnormality corresponding set, the specific cause corresponding to the abnormal feature category group is determined as the cause of the program task execution process abnormality.

[0044] The present application also discloses a dynamic identification monitoring system based on an operating environment, comprising:

[0045] System resource information analysis module, used to analyze the running system resource information and allocate a number of system sub-resources;

[0046] A sub-resource consumption feature analysis module is used to monitor the consumption status of system sub-resources in real time, analyze the consumption status of the sub-resources, and screen out the sub-resource consumption features;

[0047] A program task execution process monitoring module is used to monitor the program task execution process and determine the first identification information of the subtask;

[0048] A sub-resource consumption abnormality feature analysis module, used to determine the sub-resource consumption abnormality feature of the sub-resource consumption feature corresponding to the first identification information according to the first identification information-sub-resource consumption standard feature correspondence model;

[0049] The program task execution independence judgment module is used to make an independence judgment on the abnormal characteristics of the sub-resource consumption to determine the abnormal cause of the program task execution process.

[0050] The present application discloses a dynamic identification and monitoring method based on the operating environment. The identification and monitoring method has the following advantages:

[0051] 1. Divide the running system into several system sub-resources according to the running system resource information, and monitor the consumption status of the system sub-resources in real time. Based on the comprehensive analysis of the consumption characteristics of each system sub-resource and the changing characteristics of the program task execution process, determine whether the application is running undisturbed in the running system.

[0052] 2. Make independent judgments on the analyzed program execution anomalies, and then distinguish whether the abnormality is caused by the application's own operation or by the operation environment abnormality caused by malicious program interference.

[0053] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a dynamic identification and monitoring method and system based on the operating environment in the embodiment of the present application. DETAILED DESCRIPTION

[0055] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.

[0056] The following will be combined with the accompanying drawings and specific embodiments to clearly and completely describe the technical solution of the present invention. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and cannot be understood as limiting the scope of protection of the present invention. The skilled person in the field can make some non-essential improvements and adjustments based on the content of the present invention described below. In the present invention, unless otherwise clearly specified and limited, the technical terms used in this application should be the usual meanings understood by the technicians of the present invention. The terms "connected", "connected", "fixed", "set", etc. should be understood in a broad sense, which can be fixed connection, detachable connection, or integrated; can be directly connected, or indirectly connected through an intermediate medium; can be mechanically connected or electrically connected. Unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. Unless otherwise clearly specified and limited, the first feature "above" or "below" the second feature can be that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, the first feature "above" or "above" or "above" the second feature can be that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below" or "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is smaller in horizontal height than the second feature. Relational terms such as first, second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. It should be noted that similar numbers and letters represent similar items in the following figures, and therefore, once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures.

[0057] Example:

[0058] The purpose of the present invention is to provide a system capable of dynamically identifying and monitoring the operating environment.

[0059] Therefore, the present invention discloses a dynamic identification and monitoring method based on the operating environment, see Figure 1 ,include:

[0060] Step S100: Acquire operating system resource information, and identify several categories of system sub-resources based on the operating system resource information.

[0061] It is understandable that the operating system resource information includes the computer's memory occupancy status, processor occupancy status and network occupancy status.

[0062] Step S200: monitoring the system sub-resource consumption status in real time, and screening out sub-resource consumption characteristics based on the system sub-resource consumption status;

[0063] It should be understood that the sub-resource consumption characteristics are the changing characteristics of the sub-resource consumption status, such as the occupancy ratio of the memory occupancy, the rate of change of the memory occupancy, or the size of the change of the memory occupancy.

[0064] Step S300: Acquire a program task execution process, and configure first identification information based on characteristics of the program task execution process.

[0065] It should be understood that the program task execution process is the process of the program to execute a certain task. In order to execute this task, it is necessary to go through several stages, and each stage belongs to the change of the program task execution process. For example, in order to drive external hardware, the first stage of the program is to analyze the information transmitted into the system from the outside world. After determining the analysis results, it enters the stage of issuing instructions to drive external hardware.

[0066] Step S400: establishing a correspondence between the first identification information and the sub-resource consumption characteristics, and determining the abnormal sub-resource consumption characteristics based on a preset first identification information-sub-resource consumption standard characteristic correspondence model.

[0067] It should be understood that the first identification information-resource consumption characteristic standard corresponding model is trained with the data of the program task process corresponding to several first identification information as input data, and the data of the sub-resource consumption characteristics as result data. For example, the data of the program task process can be *01*1%*01, and its format can be understood as *task type*task process*task input parameter, and the data of the sub-resource consumption characteristics can be #01#1%#01#01, and its format can be understood as #corresponding task type#task process of the corresponding task type#task input parameter of the corresponding task type#sub-resource consumption value.

[0068] Step S500: judging whether the abnormality of the program task execution process is independent based on the abnormal characteristics of the sub-resource consumption, so as to judge the cause of the abnormality of the program task execution process.

[0069] In some embodiments of the present application, several categories of system sub-resources are calibrated based on the operating system resource information, including:

[0070] The first step is to obtain the initial hardware performance indicators of the intelligent terminal device where the operating system is located, and perform consistency assignment on the initial hardware performance indicators according to a preset performance consistency assignment rule to obtain a first hardware resource value.

[0071] It should be understood that the initial hardware performance indicators are performance indicators of related hardware of the smart terminal device, such as the processing performance of the processor and the memory capacity of the memory stick; the performance consistency assignment rule is a unified evaluation standard rule for the performance of hardware of the same category. For example, if two processors have a processing efficiency of 1:2 for the same task when other conditions are equal, the processor with high processing efficiency is assigned 100 and the processor with low processing efficiency is assigned 50, and the assignment ratio of the two also satisfies 1:2.

[0072] The second step is to determine the current system sub-resource occupancy ratio based on the operating system resource information, and determine the first resource consumption value of the system sub-resource based on the first hardware resource value of the initial hardware performance indicator configuration corresponding to the system sub-resource.

[0073] It should be understood that the first resource consumption value is the recognized value of the current resource consumption of the system sub-resource after the system sub-resource has completed the consistency assignment of its own initial hardware performance indicators, that is, after the dimensional normalization is completed.

[0074] In some embodiments of the present application, a method for screening out sub-resource consumption characteristics is disclosed, wherein the sub-resource consumption characteristics are screened out based on the sub-resource consumption status of the system:

[0075] The first step is to obtain the first resource consumption value of each of the system sub-resources, and establish a resource consumption curve based on the hardware resource value of the system sub-resource, wherein the horizontal axis of the resource consumption curve is time and the vertical axis is the real-time first resource consumption value.

[0076] The second step is to establish a time evolution line for the resource consumption curve.

[0077] The third step is to scan and analyze the resource consumption curve. If the fluctuation amplitude or fluctuation curvature of the resource consumption curve is greater than a preset value, a feature mark is performed on the corresponding segment on the time evolution line.

[0078] It should be understood that the resource consumption curve reflects the dynamic changes of the resource consumption curve of the system sub-resources. The fluctuation amplitude is the difference between the peak value and the valley value of the resource consumption curve within a preset time period. The fluctuation curvature is the change in the first resource consumption value per unit time at a certain time node of the resource consumption curve.

[0079] The fourth step is to construct a characteristic parameter group for the fluctuation amplitude and fluctuation curvature of the resource consumption curve, and associate them with the characteristic marks on the time evolution line.

[0080] The fifth step is to filter out sub-resource consumption features based on the feature markers of the time evolution line.

[0081] In some embodiments of the present application, a method for configuring first identification information is disclosed, and the first identification information is configured based on the characteristics of the program task execution process, including:

[0082] The first step is to obtain a task execution list, and determine different subtasks based on the task execution list.

[0083] In the second step, a first identifier is configured for each subtask.

[0084] The third step is to obtain the task input parameters of each subtask and determine the process consumption time of the subtask.

[0085] In the fourth step, the task input parameters and process consumption time of the subtask are constructed into a subtask feature group, and are associated with the first identifier corresponding to the subtask to generate first identifier information.

[0086] It should be understood that the task execution list is the different subtask steps that need to be performed during the program running process.

[0087] In some embodiments of the present application, a method for determining abnormal characteristics of sub-resource consumption is disclosed, and the abnormal characteristics of sub-resource consumption are determined based on a preset first identification information-sub-resource consumption standard characteristic correspondence model, including:

[0088] The first step is to determine the corresponding sub-resource consumption characteristics based on the first time node when the first identification information is generated.

[0089] In the second step, based on the first identification information-sub-resource consumption standard feature correspondence model, the first identification information is analyzed to determine the sub-resource consumption standard feature.

[0090] The third step is to determine the abnormal sub-resource consumption characteristics based on the difference between the sub-resource consumption characteristics and the sub-resource consumption standard characteristics.

[0091] It should be understood that the first identification information includes a task feature group, which includes the task input parameters of the corresponding subtask and the process consumption time of the subtask. The definition of the sub-resource consumption standard characteristics is that when the operating environment of the program is normal and the values ​​of the task input parameters of the subtask and the process consumption time of the subtask are certain, the standard consumption characteristics of each system sub-resource are theoretical values. If there is a difference from the sub-resource consumption standard characteristics, it can be determined that the corresponding system sub-resource consumption is abnormal.

[0092] In some embodiments of the present application, a method for determining whether a program task execution process exception is independent is disclosed, and determining whether a program task execution process exception is independent based on the abnormal sub-resource consumption feature includes:

[0093] Analyze the abnormal characteristics of the sub-resource consumption, determine the abnormal factors of the sub-resource consumption, and calculate the abnormal independence value of the program task execution process based on the abnormal factors of the sub-resource. The expression for calculating the abnormal independence value of the program task execution process is:

[0094] ;

[0095] Among them, Y represents the abnormal independent value of the program task execution process, μ represents the number of program task execution process cycles, λ represents the number of abnormal continuous cycles of the program task execution process, i represents the order of the subtask execution process of the same program task execution, The sub-resource abnormality factor of the execution process of the i-th sub-task of the μ-th program task execution process is represented. is the minimum sub-resource abnormality factor in the sub-task execution process in the μth program task execution process, The maximum sub-resource abnormality factor in the sub-task execution process in the μth program task execution process, The weight coefficient representing the λth program task execution process cycle, if the program task execution process abnormal independence value is greater than a preset value, it is determined that the program task execution process is abnormally independent.

[0096] What needs to be understood is that the logical relationship of the expression dimensionally normalizes the sub-resource anomaly factors of the sub-tasks of the same program task execution process, and accumulates and sums the dimensionally normalized values ​​to obtain the independent reference base of a program task execution process, that is, the representation of the independence of a program task execution process. As the number of program task execution process cycles increases, the representation of the independence of the program task execution process is adjusted.

[0097] In some embodiments of the present application, a method for determining the cause of an abnormality in the execution process of a program task is disclosed, and determining the cause of an abnormality in the execution process of a program task includes:

[0098] In the first step, if the program task execution process is abnormally independent, the cause of the program task execution process abnormality is determined according to a preset task execution abnormality corresponding set.

[0099] In the second step, if the program task execution process is abnormal and not independent, it is determined that the program environment is running abnormally.

[0100] In some embodiments of the present application, a method for using a task execution exception corresponding set is disclosed, and the cause of the abnormality of the program task execution process is determined according to the preset task execution exception corresponding set, including:

[0101] Step 1: Build a corresponding set of task execution exceptions:

[0102] The abnormal performance of the program task execution process due to specific reasons is analyzed to determine the abnormal feature category group; based on the relationship between the specific reasons and the abnormal feature category group, a corresponding set of task execution abnormalities is constructed.

[0103] Step 2: Compare the abnormal feature categories and the corresponding sets of task execution abnormalities:

[0104] The features of the program task execution process exception are counted, and the features of the program task execution process exception are classified into categories to generate a number of abnormal feature categories; if all of the abnormal feature categories completely conform to the abnormal feature category group in the task execution exception corresponding set, the specific cause corresponding to the abnormal feature category group is determined as the cause of the program task execution process exception.

[0105] It should be understood that the abnormal feature category includes the execution time consumed by each subtask, the input parameters of the program task execution process, the output parameters of the program task execution process, and the total consumed time of the program task execution process; for example, if the cause of the program task execution process abnormality of 000111 is set in the task execution abnormality corresponding set, then the abnormal feature category group of the cause is {the execution time consumed by the second-order subtask is abnormal, the input parameters of the program task execution process are normal, the output parameters of the program task execution process are abnormal, and the total consumed time of the program task execution process is abnormal}.

[0106] The present application also discloses a dynamic identification and monitoring system based on the operating environment, including: a system resource information analysis module, a sub-resource consumption feature analysis module, a program task execution process monitoring module, a sub-resource consumption abnormal feature analysis module and a program task execution process independence judgment module.

[0107] The system resource information analysis module is used to analyze the operating system resource information and allocate a number of system sub-resources.

[0108] The sub-resource consumption feature analysis module is used to monitor the consumption status of system sub-resources in real time, analyze the consumption status of the sub-resources, and screen out the sub-resource consumption features.

[0109] The program task execution process monitoring module is used to monitor the program task execution process and determine the first identification information of the subtask.

[0110] The sub-resource consumption abnormality feature analysis module is used to determine the sub-resource consumption abnormality feature of the sub-resource consumption feature corresponding to the first identification information according to the first identification information-sub-resource consumption standard feature correspondence model.

[0111] The program task execution process independence judgment module is used to perform independence judgment on the abnormal characteristics of the sub-resource consumption to determine the abnormal cause of the program task execution process.

[0112] The present application discloses a dynamic identification and monitoring method based on the operating environment. The identification and monitoring method has the following advantages:

[0113] 1. Divide the running system into several system sub-resources according to the running system resource information, and monitor the consumption status of the system sub-resources in real time. Based on the comprehensive analysis of the consumption characteristics of each system sub-resource and the changing characteristics of the program task execution process, determine whether the application is running undisturbed in the running system.

[0114] 2. Make independent judgments on the analyzed program execution anomalies, and then distinguish whether the abnormality is caused by the application's own operation or by the operation environment abnormality caused by malicious program interference.

[0115] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A dynamic identification and monitoring method based on an operating environment, characterized in that: include: Step 1: Obtaining operating system resource information, and calibrating several categories of system sub-resources based on the operating system resource information; Step 2: monitor the system sub-resource consumption status in real time, and filter out sub-resource consumption characteristics based on the system sub-resource consumption status; The sub-resource consumption characteristics are screened out based on the system sub-resource consumption status, including: Acquire a first resource consumption value of each of the system sub-resources, and establish a resource consumption curve based on the hardware resource value of the system sub-resource, wherein the abscissa of the resource consumption curve is time and the ordinate is the real-time first resource consumption value; For the resource consumption curve, establish a time evolution line; Scan and analyze the resource consumption curve, and if the fluctuation amplitude or fluctuation curvature of the resource consumption curve is greater than a preset value, feature-mark the corresponding section on the time evolution line; Constructing a characteristic parameter group for the fluctuation amplitude and fluctuation curvature of the resource consumption curve, and associating them with the characteristic marks on the time evolution line; Based on the characteristic mark of the time evolution line, filter out the sub-resource consumption characteristics; Step 3: Acquire the program task execution process, and configure the first identification information based on the characteristics of the program task execution process; Step 4: establishing a correspondence between the first identification information and the sub-resource consumption characteristics, and determining the abnormal sub-resource consumption characteristics based on a preset first identification information-sub-resource consumption standard characteristic correspondence model; Step 5: judging whether the abnormality of the program task execution process is independent based on the abnormality characteristics of the sub-resource consumption, so as to judge the cause of the abnormality of the program task execution process; Judging whether the program task execution process abnormality is independent based on the abnormal sub-resource consumption characteristics includes: Analyze the abnormal characteristics of the sub-resource consumption, determine the abnormal factors of the sub-resource consumption, and calculate the abnormal independence value of the program task execution process based on the abnormal factors of the sub-resource consumption. The expression for calculating the abnormal independence value of the program task execution process is: ; Among them, Y represents the abnormal independent value of the program task execution process, μ represents the number of program task execution process cycles, λ represents the number of abnormal continuous cycles of the program task execution process, i represents the order of the subtask execution process of the same program task execution, The sub-resource abnormality factor of the execution process of the i-th sub-task of the μ-th program task execution process is represented. is the minimum sub-resource abnormality factor in the sub-task execution process in the μth program task execution process, The maximum sub-resource abnormality factor in the sub-task execution process in the μth program task execution process, Represents the weight coefficient of the λth program task execution process cycle; If the program task execution process abnormal independence value is greater than a preset value, it is determined that the program task execution process is abnormally independent.

2. A dynamic identification and monitoring method based on operating environment according to claim 1, characterized in that: Based on the operating system resource information, several categories of system sub-resources are calibrated, including: Acquire an initial hardware performance indicator of the intelligent terminal device where the operating system is located, and perform consistency assignment on the initial hardware performance indicator according to a preset performance consistency assignment rule to obtain a first hardware resource value; Based on the running system resource information, the current system sub-resource occupancy ratio is determined, and based on the first hardware resource value of the initial hardware performance indicator configuration corresponding to the system sub-resource, the first resource consumption value of the system sub-resource is determined.

3. The method for dynamic identification and monitoring based on operating environment according to claim 1, characterized in that: Configuring first identification information based on the characteristics of the program task execution process includes: Obtaining a task execution list, and determining different subtasks based on the task execution list; A first identifier is configured for each subtask; Obtaining task input parameters for each subtask and determining the process duration of the subtask; The task input parameters and process consumption time of the subtask are constructed into a subtask feature group, and are associated with the first identifier corresponding to the subtask to generate first identifier information.

4. The method for dynamic identification and monitoring based on the operating environment according to claim 1, characterized in that: Based on the preset first identification information-sub-resource consumption standard feature correspondence model, determining the sub-resource consumption abnormality feature includes: Based on a first time node when the first identification information is generated, and according to the first time node, determining a corresponding sub-resource consumption feature; Determining the sub-resource consumption standard feature based on the analysis of the first identification information by the first identification information-sub-resource consumption standard feature correspondence model; Based on the difference between the sub-resource consumption feature and the sub-resource consumption standard feature, an abnormal sub-resource consumption feature is determined.

5. The method for dynamic identification and monitoring based on the operating environment according to claim 1, characterized in that: Determine the reasons for abnormal execution of program tasks, including: If the program task execution process is abnormally independent, the cause of the program task execution process abnormality is determined according to the preset task execution abnormality corresponding set; If the program task execution process is abnormal and not independent, it is determined that the program environment is running abnormally.

6. A dynamic identification and monitoring method based on operating environment according to claim 5, characterized in that: Determine the cause of the abnormality in the program task execution process according to the preset task execution exception corresponding set, including: Step 1: Build a corresponding set of task execution exceptions: Analyze the abnormal performance of program task execution process due to specific reasons and determine the abnormal feature category group; Based on the relationship between specific causes and abnormal feature category groups, a corresponding set of task execution anomalies is constructed; Step 2: Compare the abnormal feature categories and the corresponding sets of task execution abnormalities: Counting the features of abnormalities in the execution process of program tasks, and classifying the features of abnormalities in the execution process of program tasks into categories to generate a number of abnormal feature categories; If all of the abnormal feature categories completely match the abnormal feature category group in the task execution abnormality corresponding set, the specific cause corresponding to the abnormal feature category group is determined as the cause of the program task execution process abnormality.

7. A dynamic identification monitoring system based on operating environment, characterized in that: include: System resource information analysis module, used to analyze the running system resource information and allocate a number of system sub-resources; A sub-resource consumption feature analysis module is used to monitor the consumption status of system sub-resources in real time, analyze the consumption status of the sub-resources, and screen out the sub-resource consumption features; The sub-resource consumption characteristics are screened out based on the system sub-resource consumption status, including: Acquire a first resource consumption value of each of the system sub-resources, and establish a resource consumption curve based on the hardware resource value of the system sub-resource, wherein the abscissa of the resource consumption curve is time and the ordinate is the real-time first resource consumption value; For the resource consumption curve, establish a time evolution line; Scan and analyze the resource consumption curve, and if the fluctuation amplitude or fluctuation curvature of the resource consumption curve is greater than a preset value, feature-mark the corresponding section on the time evolution line; Constructing a characteristic parameter group for the fluctuation amplitude and fluctuation curvature of the resource consumption curve, and associating them with the characteristic marks on the time evolution line; Based on the characteristic mark of the time evolution line, filter out the sub-resource consumption characteristics; A program task execution process monitoring module is used to monitor the program task execution process and determine the first identification information of the subtask; A sub-resource consumption abnormality feature analysis module, used to determine the sub-resource consumption abnormality feature of the sub-resource consumption feature corresponding to the first identification information according to the first identification information-sub-resource consumption standard feature correspondence model; A program task execution process independence judgment module is used to make an independence judgment on the abnormal characteristics of the sub-resource consumption to determine the abnormal cause of the program task execution process; Judging whether the program task execution process abnormality is independent based on the abnormal sub-resource consumption characteristics includes: Analyze the abnormal characteristics of the sub-resource consumption, determine the abnormal factors of the sub-resource consumption, and calculate the abnormal independence value of the program task execution process based on the abnormal factors of the sub-resource consumption. The expression for calculating the abnormal independence value of the program task execution process is: ; Among them, Y represents the abnormal independent value of the program task execution process, μ represents the number of program task execution process cycles, λ represents the number of abnormal continuous cycles of the program task execution process, i represents the order of the subtask execution process of the same program task execution, The sub-resource abnormality factor of the execution process of the i-th sub-task of the μ-th program task execution process is represented. is the minimum sub-resource abnormality factor in the sub-task execution process in the μth program task execution process, The maximum sub-resource abnormality factor in the sub-task execution process in the μth program task execution process, Represents the weight coefficient of the λth program task execution process cycle; If the program task execution process abnormal independence value is greater than a preset value, it is determined that the program task execution process is abnormally independent.

Citation Information

Patent Citations

  • Block chain monitoring system and method with dynamically pluggable module

    CN111949487A

  • Exception monitoring method and system, electronic equipment and storage medium

    CN112882889A

  • Program operation and maintenance monitoring method and device and computer readable storage medium

    CN114385435A

  • Monitoring of resource consumption patterns in an automated environment

    US20160091540A1