CN115421955A - Abnormal information determination method and device, computer equipment and storage medium thereof - Google Patents

Abnormal information determination method and device, computer equipment and storage medium thereof Download PDF

Info

Publication number
CN115421955A
CN115421955A CN202211070689.6A CN202211070689A CN115421955A CN 115421955 A CN115421955 A CN 115421955A CN 202211070689 A CN202211070689 A CN 202211070689A CN 115421955 A CN115421955 A CN 115421955A
Authority
CN
China
Prior art keywords
processing unit
processor
running
determining
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211070689.6A
Other languages
Chinese (zh)
Inventor
马敬
何宏烨
王虎君
殷天石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202211070689.6A priority Critical patent/CN115421955A/en
Publication of CN115421955A publication Critical patent/CN115421955A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0721Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment within a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present application relates to the field of artificial intelligence technologies, and in particular, to a method and an apparatus for determining abnormal information, a computer device, and a storage medium thereof. The method comprises the following steps: acquiring a reference processor of which the running data in the current equipment is in an abnormal state; determining a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operating data in the reference processor meets the preset data condition; determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; an exception-running task refers to a task that causes an exception to the reference processor running data. The task scheduling method and device have the advantages that abnormal operation tasks are checked, automatic checking of the abnormal operation tasks is guaranteed, working efficiency of determining the abnormal operation tasks is improved, and labor cost of determining the abnormal operation tasks is reduced.

Description

Abnormal information determination method and device, computer equipment and storage medium thereof
Technical Field
The present application relates to the field of artificial intelligence technologies, and in particular, to a method and an apparatus for determining abnormal information, a computer device, and a storage medium thereof.
Background
The host Coupler (CF) is a bridge for communication between each logical partition in the host System complex, and the time is related to normal operation of key applications such as a Customer Information Control System (CICS) and a Track-while-scan System (TWS).
In the prior art, in order to ensure normal operation and daily maintenance of a host system complex, the performance of a processor in a host coupler needs to be adjusted according to the actual operating condition of the host coupler.
However, the operation condition analysis process of the processor in the prior art consumes a great deal of labor cost.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an abnormal information determination method, apparatus, computer device and storage medium thereof.
In a first aspect, the present application provides a method for determining abnormal information. The method comprises the following steps:
acquiring a reference processor of which the running data in the current equipment is in an abnormal state;
determining a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operating data in the reference processor meet a preset data condition;
determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; the abnormal operation task represents a task causing the abnormal operation data of the reference processor to generate an abnormality.
In one embodiment, the operational data is usage; the reference processor for acquiring the running data in the current equipment in the abnormal state comprises the following steps:
determining the reference processor for the processor greater than the utilization threshold based on a preset processor utilization threshold and actual utilization of the processors in the current device.
In one embodiment, the determining a target processing unit according to the operation data of each processing unit in the reference processor includes:
and determining the processing unit with the highest utilization rate as the target processing unit according to the actual utilization rate of each processing unit.
In one embodiment, the obtaining the actual utilization rate of each processing unit includes:
determining a target time range based on the overload time of the reference processor, wherein the overload time is contained in the target time range;
and acquiring the average utilization rate of each processing unit in the target time range, and taking the average utilization rate of each processing unit as the actual utilization rate of each processing unit.
In one embodiment, before the determining the task to be abnormally run, the method further includes:
and determining all running tasks of the target processing unit in a database report corresponding to the reference processor based on the identification of the target processing unit.
In one embodiment, the determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit includes:
acquiring the running conditions of all the running tasks;
and based on preset screening conditions, screening the running conditions of all the running tasks to determine abnormal running tasks.
In one embodiment, the screening conditions include at least: and the running task occupies the utilization rate of the target processing unit during the running time of the running task.
In a second aspect, the present application further provides an abnormality information determination apparatus. The device comprises:
the acquisition module is used for acquiring a reference processor of which the running data in the current equipment is in an abnormal state;
the first determining module is used for determining a target processing unit according to the operating data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operating data in the reference processor meet a preset data condition;
the second determination module is used for determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; the abnormal operation task represents a task causing the abnormal operation data of the reference processor to generate an abnormality.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the method for determining the abnormal information according to any one of the embodiments of the first aspect when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the abnormality information determination method according to any one of the embodiments of the first aspect described above.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the method for determining anomaly information as described in any one of the embodiments of the first aspect above.
According to the technical scheme, the reference processor in the abnormal state is obtained, a basis is provided for subsequently determining the target processing unit, and the fact that the subsequently abnormal operation task can be successfully determined according to the target processing unit is guaranteed; by determining the target processing unit and all the execution tasks of the target processing unit, the abnormal operation task is checked, the automatic checking of the abnormal operation task is ensured, the work efficiency of determining the abnormal operation task is increased, and the labor cost of determining the abnormal operation task is reduced.
Drawings
Fig. 1 is a schematic diagram of an abnormal information determining method according to an embodiment of the present application;
fig. 2 is a flowchart of an abnormal information determining method according to an embodiment of the present application;
fig. 3 is a flowchart of another abnormal information determination method provided in an embodiment of the present application;
fig. 4 is a flowchart of another abnormal information determination method provided in an embodiment of the present application;
fig. 5 is a block diagram illustrating a structure of an abnormal information determination apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of another abnormal information determination apparatus according to an embodiment of the present application;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In the description of the present application, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The host coupler CF (coupler Facility) is a bridge for communication between each logical partition in the host sysplex, and the time is related to the normal operation of key applications such as the client information control system and the scanning and tracking system. Therefore, the CF performance is an important part of the daily operation and maintenance of the host system, and a scenario that the performance use condition of the host coupler needs to be optimized and analyzed is often encountered, and particularly, when the usage rate of the CF CPU is too high, a certain hidden danger is generated for the safe operation of the system.
In the prior art, according to the usage characteristics of online and batch behaviors on a host coupler, it can be judged that the condition of over-high usage rate of a host coupler processor is generally caused by the batch behaviors, for example, when a certain type of batch jobs are sent in a set or overlapped for running, the resources of the processor can be strained.
Specifically, for the reason positioning that the utilization rate of the host coupler processor is high, the specific environment where the problem occurs needs to be firstly positioned, and then the specific reason of the problem needs to be positioned according to the system performance and the report data of the time period where the problem occurs. During the period, relatively more data and reports are required to be collected, including system performance data, database reports and the like, and meanwhile, correlation analysis is carried out on the report data. Usually, the processing unit with higher utilization rate on the host coupler is located according to the system performance data at the time point of occurrence of the problem, and the processing unit analyzes and judges the usage rate of occupation of batch jobs to be higher through a corresponding database report. Eventually finding a batch job that causes excessive host coupler processor utilization.
It should be noted that, the above operation method for determining the batch operation causing the high utilization rate of the host coupler processor is complicated, and the analysis process consumes a lot of time and labor, which easily delays the processing timeliness of the problem.
The abnormal information determination method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 1. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the acquired data determined by the abnormal information. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an abnormality information determination method.
When the abnormal information of a host coupler needs to be determined, a reference processor and a target processing unit in an abnormal state can be obtained through the computer equipment of an operator, and an abnormal operation task is determined based on all operation tasks of the target processing unit and the target processing unit.
In an embodiment, as shown in fig. 2, fig. 2 is a flowchart of an abnormal information determining method provided in an embodiment of the present application, which is described by taking an example that the method is applied to the computer device in fig. 1, and specifically, the abnormal information determining method includes the following steps:
step 201, acquiring a reference processor of which the running data in the current device is in an abnormal state.
It should be noted that, the reference processor whose operation data is in an abnormal state may include, but is not limited to: processors that are too high in utilization, processors that are unable to function properly, and processors that are too low in utilization. The processor with the too high utilization rate may cause the resource occupancy rate of the processor to be too high, and the efficiency of the subsequent processor for processing other tasks is affected; the processor which cannot normally run can cause the subsequent processor to be incapable of normally processing other tasks; in a processor with an excessively low utilization rate, there may be a situation where some processing units cannot operate normally, and thus, the efficiency of the subsequent processor in processing other tasks is too low.
In one embodiment of the present application, if the reference processor running the data in the abnormal state refers to: a processor with too high a utilization rate. The specific method for acquiring the reference processor with the running data in the current device in the abnormal state may include: setting a utilization rate threshold, respectively judging whether the utilization rates of a plurality of processors in the current equipment exceed the utilization rate threshold, and if the utilization rate of a certain processor exceeds the utilization rate threshold, taking the processor as a reference processor; if the usage of a processor does not exceed the usage threshold, then the processor is not the reference processor.
In one embodiment of the present application, if the reference processor running the data in the abnormal state refers to: if the processor cannot normally operate, the specific method for acquiring the reference processor whose operating data in the current device is in the abnormal state may include: and detecting the utilization rate and the task processing condition of a plurality of processors in the current equipment, wherein if the utilization rate of a certain processor in a specified time period is zero and the task processing amount is zero after a task processing instruction is received by the certain processor, the certain processor is a reference processor.
In one embodiment of the present application, if the reference processor running the data in the abnormal state refers to: a processor with too low a utilization rate. The specific method for acquiring the reference processor with the running data in the current device in the abnormal state may include: setting a lowest threshold, respectively judging whether the utilization rates of a plurality of processors in the current equipment are smaller than the lowest threshold, and if the utilization rate of a certain processor is smaller than the lowest threshold, taking the processor as a reference processor; if the utilization of a processor is greater than or equal to the lowest threshold, then the processor is not the reference processor.
Step 202, determining a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operation data in the reference processor meets the preset data condition.
The operation data of the processing unit may include, but is not limited to: the processing unit processes the amount of tasks processed in the unit time, the usage change of the processing unit in the unit time, and the like. It should be noted that there may be multiple processing units in a processor, and the tasks performed by different processing units may be the same or different.
It should be noted that the preset data conditions may include, but are not limited to: whether the amount of tasks processed by the processing unit per unit time is less than a task amount threshold, a usage rate variation of the processing unit per unit time is greater than a variation threshold, and an average usage rate of the processing unit per unit time is greater than an average threshold.
As an implementation manner, if the preset data condition is: whether the task amount processed by the processing unit in unit time is less than a task amount threshold value; it should be noted that a task amount threshold is preset, and if the task amount processed by the processing unit in a unit time is smaller than the task amount threshold, it indicates that the running data of the processing unit is abnormal; specifically, according to the operation data of each processing unit in the reference processor, whether the task amount processed by the processing unit in unit time is smaller than a task amount threshold is judged, and if the task amount processed by the processing unit in unit time is judged to be smaller than the task amount threshold, the processing unit is a target processing unit; if the task amount processed by the processing unit in the unit time is judged to be greater than or equal to the task amount threshold, the processing unit is not the target processing unit.
As an implementation manner, if the preset data condition is: the usage change amount of the processing unit in unit time is larger than a change amount threshold; it should be noted that, a threshold of a variation of the usage rate is preset, and if the usage rate variation of the processing unit in a unit time is greater than the threshold of the variation, it indicates that the operating data of the processing unit is abnormal; specifically, according to the operation data of each processing unit in the reference processor, whether the usage rate variation of the processing unit in unit time is larger than a variation threshold is judged, and if the usage rate variation of the processing unit in unit time is judged to be larger than the variation threshold, the processing unit is a target processing unit; if the usage rate variation of the processing unit in the unit time is smaller than or equal to the variation threshold, the processing unit is not the target processing unit.
As an implementation manner, if the preset data condition is: whether the average utilization rate of the processing unit in unit time is greater than an average threshold value or not, wherein the average threshold value of the utilization rate is preset, and if the average utilization rate of the processing unit in unit time is greater than the average threshold value, it indicates that the operating data of the processing unit is abnormal; specifically, according to the operation data of each processing unit in the reference processor, whether the average utilization rate of the processing unit in unit time is greater than an average threshold value is judged, and if the average utilization rate of the processing unit in unit time is greater than the average threshold value, the processing unit is a target processing unit; if the average utilization rate of the processing unit in the unit time is judged to be less than or equal to the average threshold value, the processing unit is not the target processing unit.
Step 203, determining abnormal operation tasks based on the target processing unit and all operation tasks of the target processing unit; an abnormal operation task means a task that causes an abnormality in the reference processor operation data.
It should be noted that, by determining all the running tasks processed by the target processing unit, a task causing the running data of the target processing unit to be abnormal in all the running tasks is further determined, and it should be noted that the task causing the running data of the target processing unit to be abnormal is a task causing the running data of the reference processor to be abnormal.
In an embodiment of the present application, a running task that consumes the longest time when the target processing unit processes is determined by determining a difference in time consumption when the target processing unit processes all running tasks, where the running task that consumes the longest time is an abnormal running task. Specifically, the time consumed by all running tasks processed by the target processing unit is determined, and the running task with the longest time consumed by the target processing unit is determined by comparing the time consumed by executing different running tasks, wherein the running task is an abnormal running task.
According to the abnormal information determining method, the reference processor in the abnormal state is obtained, so that a basis is provided for subsequently determining the target processing unit, and the fact that the abnormal operation task can be successfully determined according to the target processing unit in the subsequent process is guaranteed; by determining the target processing unit and all the execution tasks of the target processing unit, the abnormal operation task is checked, the automatic checking of the abnormal operation task is ensured, the work efficiency of determining the abnormal operation task is increased, and the labor cost of determining the abnormal operation task is reduced.
It should be noted that the operation data is a usage rate; determining a reference processor through a preset processor utilization threshold; specifically, the step of determining the reference processor may include the steps of: based on a preset processor usage threshold and the actual usage of each processor in the current device, the processor greater than the usage threshold is determined as the reference processor.
The value of the utilization rate threshold can be adjusted according to actual conditions.
It should be noted that, the relationship between the actual utilization rate of each processor in the current device and the utilization rate threshold may be determined by a preset processor utilization rate threshold; if the utilization rate of a certain processor in the current equipment is greater than the utilization rate threshold value, the processor is a reference processor; if the usage rate of a certain processor in the current device is less than or equal to the usage rate threshold, the processor is not the reference processor.
For example, assume that the current device includes two processors, which are processor a and processor B, respectively, and the preset usage threshold is eighty percent; when a reference processor needs to be determined, respectively acquiring the utilization rates corresponding to a processor A and a processor B in the current equipment, wherein the utilization rate of the processor A is seventy percent, and the utilization rate of the processor B is ninety percent; judging the relationship between the utilization rates of the processor A and the processor B in the current equipment and a utilization rate threshold; wherein, if the utilization rate of the processor B is greater than the utilization rate threshold value, the processor B is a reference processor; processor a's usage is less than the usage threshold, then processor a is not the reference processor.
According to the abnormal information determining method, the judgment of the reference processor is realized through the preset utilization rate threshold, and the utilization rate threshold can be adjusted according to the actual situation, so that more use scenes can be dealt with, and a basis is provided for determining the target processing unit according to the reference processor.
It should be noted that, the target processing unit may be determined according to the actual utilization rate of the processing unit, and optionally, the step of determining the target processing unit may specifically include the following steps: and determining the processing unit with the highest utilization rate as the target processing unit according to the actual utilization rate of each processing unit.
In one embodiment of the present application, there are many methods for obtaining the utility usage rate of the processing unit, including: carrying out average value operation on the utilization rate of the processing unit within a certain time range to serve as the actual use power of the processing unit; or, performing weighted average operation on the utilization rate of the processing unit in a certain time range, and obtaining a result, namely the actual use power of the processing unit. For the two cases, the following will be described in detail:
as an example, based on the overload time of the reference processor, determining a target time range, the target time range including the overload time; and acquiring the average utilization rate of each processing unit in the target time range, and taking the average utilization rate of each processing unit as the actual utilization rate of each processing unit. Specifically, assuming that the overload time of the reference processor is 9. Acquiring the processing unit per minute utilization rate within the target time range 9.
As an example, based on the overload time of the reference processor, a target time range is determined, the target time range including the overload time; the weighted average usage rate of each processing unit in the target time range is acquired, and the weighted average usage rate of each processing unit is used as the actual usage rate of each processing unit. Specifically, assuming that the overload time of the reference processor is 9. Acquiring the usage rate of the processing unit per minute within the target time range 9.
It should be noted that, according to the change situation of the usage rate of the processing unit in the time period of processor overload, the processing unit with the largest usage rate increase in the time period of processor overload may be determined, and then the processing unit is the target processing unit.
In one embodiment of the present application, a target time range is determined based on an overload time of a reference processor, the target time range including the overload time; and determining a target processing unit based on the usage rate variation of each processing unit in the target time range, wherein the target processing unit is the processing unit with the largest usage rate increase in the time period of processor overload. Specifically, the overload processor is set to include three processing units in total, the three processing units are respectively processing unit D, processing unit E and processing unit F, and assuming that the overload time of the reference processor is 9, a range of fifteen minutes before and after the overload time is taken as a target time range, which is 9. Acquiring the usage rate variation of each processing unit in the target time range 9. And if the usage rate of the processing unit D is increased to the maximum within the overload time period of the processor, the processing unit D is the target processing unit.
It should be noted that, the relationship between the utilization rate of each processing unit when the processor is overloaded and the unit threshold value can be determined through a preset unit threshold value, where the utilization rate of the processing unit when the processor is overloaded is the actual utilization rate; if the utilization rate of the processing unit is greater than or equal to the unit threshold value when the processor is overloaded, the processing unit is a target processing unit; if the utilization of the processing unit is less than the unit threshold when the processor is overloaded, the processing unit is not the target processing unit.
In an embodiment of the present application, it is assumed that the preset unit threshold is eighty percent, and the overload processor includes three processing units in total, where the three processing units are a processing unit M, a processing unit N, and a processing unit Q, respectively; acquiring the utilization rates of three processing units when the processor is overloaded, and judging the relationship between the utilization rates of the three processing units when the processor is overloaded and a unit threshold, wherein the utilization rate of the processing unit M is ninety percent, the utilization rate of the processing unit N is fifty percent, and the utilization rate of the processing unit Q is thirty percent; based on the relationship between the utilization of the three processing units when the processor is overloaded and the unit threshold. The processing unit M may be determined to be the target processing unit.
According to the abnormal information determining method, the target processing unit is determined through the actual utilization rate of the processing unit, the target processing unit can be determined according to actual conditions, a foundation is provided for subsequently determining the task causing the abnormal operation of the reference processor operation data, and the operation difficulty of determining the abnormal operation task is reduced.
It should be noted that, all the running tasks of the target processing unit may be determined according to the identifier of the target processing unit, and specifically, the step of determining all the running tasks of the target processing unit may include the following steps: and determining all running tasks of the target processing unit in the database report corresponding to the reference processor based on the identification of the target processing unit.
In an embodiment of the application, based on a target processing unit, an identifier P of the target processing unit is determined, an operation task with the identifier P in a database report corresponding to a reference processor is screened, and if a certain operation task in the database report has the identifier P, the operation task is an operation task executed by the target processing unit; and if a certain running task in the database report does not carry the identifier P, the running task is not the running task executed by the target processing unit.
It should be noted that, by querying the get page (a function) value and the GBP (contribution value) information of the execution task, the execution tasks that call the target processing unit more can be determined, and then all the execution tasks executed by the target processing unit can be determined.
In an embodiment of the present application, to determine all running tasks executed by the target processing unit, the get page value and the GBP information of the running tasks may be queried based on the target processing unit, so as to determine a calling condition of each running task by the target processing unit; and determining all running tasks executed by the target processing unit according to the calling condition of the target processing unit to each running task.
According to the abnormal information determining method, all running tasks executed by the target processing unit are determined in the database report through the identification of the target processing unit, a data basis is provided for subsequent determination of the abnormal running tasks, the operation difficulty of determining the abnormal running tasks is reduced, and the efficiency of determining the abnormal information is improved.
It should be noted that the abnormal operation task can be determined according to the screening condition; as shown in fig. 3, fig. 3 is a flowchart of another abnormal information determining method provided in the embodiment of the present application, and specifically, the step of determining the abnormal operation task may include the following steps:
step 301, obtaining the running conditions of all running tasks.
The operating conditions may include, but are not limited to: a database operation index (DML) of the running task, a GETPAGE value of the running task, a start job time of the running task, an execution time of the running task, and the like.
And 302, screening the running conditions of all running tasks based on preset screening conditions, and determining abnormal running tasks.
Wherein the screening conditions at least comprise: whether the running time of executing the running task is longer than the standard time of executing the running task or not and whether the utilization rate occupied by executing the running task is larger than the standard utilization rate of executing the running task or not.
It should be noted that, based on the preset screening condition, it is determined whether all the running tasks meet the screening condition, and if the running tasks meet the screening condition, the running task is an abnormal running task; and if the running task does not accord with the screening condition, the running task is not an abnormal running task.
In an embodiment of the present application, it is assumed that the preset screening conditions are: and whether the utilization rate occupied by executing the running task is greater than the standard utilization rate of executing the running task, wherein the standard utilization rate is eighty percent. If all the running tasks executed by the target task unit comprise: running a task a, running a task b and running a task c; the utilization rate of the target task unit for executing the three running tasks respectively is as follows: running task a takes fifty percent of usage, running task b takes eighty-five percent of usage, and running task c takes seventy percent of usage. And if the running task b meets the screening condition, the running task b is an abnormal running task.
According to the abnormal information determining method, the running tasks are screened according to the running conditions of the running tasks and the preset screening conditions, the abnormal running tasks meeting the screening conditions in all the running tasks are determined, the abnormal running tasks are determined, the operation difficulty of determining the abnormal running tasks is reduced, and the labor and time consumed for determining the abnormal running tasks are reduced.
In an embodiment of the present application, as shown in fig. 4, fig. 4 is a flowchart of another exception information determining method provided in the embodiment of the present application, where when exception information causing an exception to run data of a reference processor needs to be determined:
and step 41, determining a reference processor with the current running data in the equipment in an abnormal state based on a preset processor utilization rate threshold value.
Step 42, determining the target processing unit according to the operation data of each processing unit in the reference processor.
Step 43, determining the target processing unit according to the operation data of each processing unit in the reference processor.
All running tasks of the target processing unit are determined, step 44.
And step 45, screening the running conditions of all running tasks based on the preset screening conditions and the running conditions of the running tasks, and determining abnormal running tasks.
According to the abnormal information determining method, the reference processor in the abnormal state is obtained, a basis is provided for subsequently determining the target processing unit, and the fact that the abnormal operation task can be successfully determined according to the target processing unit in the subsequent process is guaranteed; by determining the target processing unit and all the execution tasks of the target processing unit, the abnormal operation task is checked, the automatic checking of the abnormal operation task is ensured, the working efficiency of determining the abnormal operation task is increased, and the labor cost of determining the abnormal operation task is reduced.
It should be understood that, although the steps in the flowcharts related to the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides an abnormal information determination apparatus for implementing the above-mentioned abnormal information determination method. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the method, so the specific limitations in one or more embodiments of the apparatus for determining abnormal information provided below may refer to the limitations on the method for determining abnormal information in the foregoing, and are not described herein again.
In an embodiment, as shown in fig. 5, fig. 5 is a block diagram of a structure of an abnormal information determination apparatus provided in an embodiment of the present application, and provides an abnormal information determination apparatus, including: an obtaining module 510, a first determining module 520, and a second determining module 530, wherein:
the obtaining module 510 is configured to obtain a reference processor in which the running data in the current device is in an abnormal state.
It should be noted that the operation data is a usage rate; specifically, based on a preset processor utilization threshold and the actual utilization of each processor in the current device, the processor larger than the utilization threshold is determined as the reference processor.
A first determining module 520, configured to determine a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operation data in the reference processor meets the preset data condition.
The processing unit with the highest utilization rate is determined as the target processing unit based on the actual utilization rate of each processing unit.
In one embodiment of the present application, a target time range is determined based on an overload time of a reference processor, the target time range including the overload time; and acquiring the average utilization rate of each processing unit in the target time range, and taking the average utilization rate of each processing unit as the actual utilization rate of each processing unit.
A second determining module 530, configured to determine an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; an exception-running task refers to a task that causes an exception to the reference processor running data.
It should be noted that, based on the identifier of the target processing unit, all the running tasks of the target processing unit are determined in the database report corresponding to the reference processor.
According to the abnormal information determining device, the reference processor in the abnormal state is obtained, a basis is provided for subsequently determining the target processing unit, and the fact that the abnormal operation task can be successfully determined according to the target processing unit in the subsequent process is guaranteed; by determining the target processing unit and all the execution tasks of the target processing unit, the abnormal operation task is checked, the automatic checking of the abnormal operation task is ensured, the work efficiency of determining the abnormal operation task is increased, and the labor cost of determining the abnormal operation task is reduced.
In an embodiment, as shown in fig. 6, fig. 6 is a block diagram of another abnormal information determination apparatus provided in an embodiment of the present application, and provides an abnormal information determination apparatus, where a second determination module 630 in the abnormal information determination apparatus includes: an obtaining unit 631 and a screening unit 632, wherein:
the acquiring unit 631 is configured to acquire the running conditions of all the running tasks.
The screening unit 632 is configured to perform screening processing on the operation conditions of all the operation tasks based on preset screening conditions, and determine an abnormal operation task.
It should be noted that the screening conditions at least include: whether the running time of executing the running task is longer than the standard time of executing the running task or not and whether the utilization rate occupied by executing the running task is larger than the standard utilization rate of executing the running task or not.
Wherein 610, 620 in fig. 6 and 510, 520 in fig. 5 have the same function and structure.
According to the abnormal information determining device, the running tasks are screened according to the running conditions of the running tasks and the preset screening conditions, the abnormal running tasks meeting the screening conditions in all the running tasks are determined, the abnormal running tasks are determined, the operation difficulty of determining the abnormal running tasks is reduced, and the labor and time consumed for determining the abnormal running tasks are reduced.
The modules in the above-described abnormality information determination device may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The communication interface of the computer device is used for communicating with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an abnormality information determination method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a reference processor of which the running data in the current equipment is in an abnormal state;
determining a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operating data in the reference processor meets the preset data condition;
determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; an exception-running task refers to a task that causes an exception to the reference processor running data.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
based on a preset processor usage threshold and the actual usage of each processor in the current device, the processor greater than the usage threshold is determined as the reference processor.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and determining the processing unit with the highest utilization rate as the target processing unit according to the actual utilization rate of each processing unit.
In one embodiment, the processor when executing the computer program further performs the steps of:
determining a target time range based on the overload time of the reference processor, wherein the target time range comprises the overload time;
and acquiring the average utilization rate of each processing unit in the target time range, and taking the average utilization rate of each processing unit as the actual utilization rate of each processing unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in one embodiment, the processor when executing the computer program further performs the steps of:
and determining all running tasks of the target processing unit in the database report corresponding to the reference processor based on the identification of the target processing unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the running conditions of all running tasks;
and based on preset screening conditions, screening the running conditions of all running tasks to determine abnormal running tasks.
In one embodiment, the processor when executing the computer program further performs the steps of:
the screening conditions at least comprise: whether the running time of executing the running task is longer than the standard time of executing the running task or not and whether the utilization rate occupied by executing the running task is larger than the standard utilization rate of executing the running task or not.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a reference processor of which the running data in the current equipment is in an abnormal state;
determining a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operating data in the reference processor meets the preset data condition;
determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; an exception-running task refers to a task that causes an exception to the reference processor running data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
based on a preset processor usage threshold and the actual usage of each processor in the current device, the processor greater than the usage threshold is determined as the reference processor.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining the processing unit with the highest utilization rate as the target processing unit according to the actual utilization rate of each processing unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a target time range based on the overload time of the reference processor, wherein the target time range comprises the overload time;
and acquiring the average utilization rate of each processing unit in the target time range, and taking the average utilization rate of each processing unit as the actual utilization rate of each processing unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining all running tasks of the target processing unit in the database report corresponding to the reference processor based on the identification of the target processing unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the running conditions of all running tasks;
and based on preset screening conditions, screening the running conditions of all running tasks to determine abnormal running tasks.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the screening conditions at least comprise: whether the running time of executing the running task is longer than the standard time of executing the running task or not and whether the utilization rate occupied by executing the running task is larger than the standard utilization rate of executing the running task or not.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
acquiring a reference processor of which the running data in the current equipment is in an abnormal state;
determining a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operating data in the reference processor meets the preset data condition;
determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; an exception-running task refers to a task that causes an exception to the reference processor running data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
based on a preset processor usage threshold and the actual usage of each processor in the current device, the processor greater than the usage threshold is determined as the reference processor.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining the processing unit with the highest utilization rate as the target processing unit according to the actual utilization rate of each processing unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a target time range based on the overload time of the reference processor, wherein the target time range comprises the overload time;
and acquiring the average utilization rate of each processing unit in the target time range, and taking the average utilization rate of each processing unit as the actual utilization rate of each processing unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining all running tasks of the target processing unit in the database report corresponding to the reference processor based on the identification of the target processing unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the running conditions of all running tasks;
and based on preset screening conditions, screening the running conditions of all running tasks to determine abnormal running tasks.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the screening conditions at least comprise: whether the running time of executing the running task is longer than the standard time of executing the running task or not and whether the utilization rate occupied by executing the running task is larger than the standard utilization rate of executing the running task or not.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the various embodiments provided herein may be, without limitation, general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (11)

1. An abnormal information determination method, characterized by comprising:
acquiring a reference processor of which the running data in the current equipment is in an abnormal state;
determining a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operating data in the reference processor meet a preset data condition;
determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; the abnormal operation task represents a task causing the abnormal operation data of the reference processor to generate an abnormality.
2. The method of claim 1, wherein the operational data is usage; the reference processor for acquiring the running data in the current equipment in the abnormal state comprises the following steps:
determining the reference processor for the processor greater than the utilization threshold based on a preset processor utilization threshold and actual utilization of the processors in the current device.
3. The method of claim 2, wherein determining a target processing unit from the operating data of the processing units in the reference processor comprises:
and determining the processing unit with the highest utilization rate as the target processing unit according to the actual utilization rate of each processing unit.
4. The method of any one of claims 2 or 3, wherein obtaining the actual usage rate of each processing unit comprises:
determining a target time range based on the overload time of the reference processor, wherein the overload time is contained in the target time range;
and acquiring the average utilization rate of each processing unit in the target time range, and taking the average utilization rate of each processing unit as the actual utilization rate of each processing unit.
5. The method of any of claims 1-3, prior to the determining the abnormally-running task, further comprising:
and determining all running tasks of the target processing unit in the database report corresponding to the reference processor based on the identification of the target processing unit.
6. The method of claim 5, wherein the determining an anomalous running task based on the target processing unit and all running tasks of the target processing unit comprises:
acquiring the running conditions of all the running tasks;
and screening the running conditions of all the running tasks based on preset screening conditions to determine abnormal running tasks.
7. The method according to claim 6, characterized in that said screening conditions comprise at least: and whether the running time for executing the running task is longer than the standard time for executing the running task, and whether the utilization rate occupied by executing the running task is greater than the standard utilization rate for executing the running task.
8. An abnormality information determination apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring a reference processor of which the running data in the current equipment is in an abnormal state;
the first determining module is used for determining a target processing unit according to the operation data of each processing unit in the reference processor; the target processing unit is a processing unit of which the operating data in the reference processor meet preset data conditions;
the second determination module is used for determining an abnormal operation task based on the target processing unit and all operation tasks of the target processing unit; the abnormal operation task represents a task causing the abnormal operation data of the reference processor to generate an abnormality.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202211070689.6A 2022-09-02 2022-09-02 Abnormal information determination method and device, computer equipment and storage medium thereof Pending CN115421955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211070689.6A CN115421955A (en) 2022-09-02 2022-09-02 Abnormal information determination method and device, computer equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211070689.6A CN115421955A (en) 2022-09-02 2022-09-02 Abnormal information determination method and device, computer equipment and storage medium thereof

Publications (1)

Publication Number Publication Date
CN115421955A true CN115421955A (en) 2022-12-02

Family

ID=84202548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211070689.6A Pending CN115421955A (en) 2022-09-02 2022-09-02 Abnormal information determination method and device, computer equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN115421955A (en)

Similar Documents

Publication Publication Date Title
US7882075B2 (en) System, method and program product for forecasting the demand on computer resources
US9870269B1 (en) Job allocation in a clustered environment
US10783002B1 (en) Cost determination of a service call
CN110928653B (en) Cross-cluster task execution method and device, computer equipment and storage medium
US10558810B2 (en) Device monitoring policy
CN109992473B (en) Application system monitoring method, device, equipment and storage medium
Zrigui et al. Improving the performance of batch schedulers using online job runtime classification
CN112905399A (en) Data processing method, abnormal situation prediction method and related product
JP2005135130A (en) Load monitoring condition decision program, system and method, and load condition monitoring program
CN117271100B (en) Algorithm chip cluster scheduling method, device, computer equipment and storage medium
Soualhia et al. ATLAS: An adaptive failure-aware scheduler for hadoop
CN115190010B (en) Distributed recommendation method and device based on software service dependency relationship
CN110084476B (en) Case adjustment method, device, computer equipment and storage medium
CN115421955A (en) Abnormal information determination method and device, computer equipment and storage medium thereof
CN114971298A (en) OKRs-E-based event intelligent early warning identification processing method, device, equipment and medium
CN114238137A (en) Batch processing task testing method and device, storage medium and program product
CN113824590A (en) Method for predicting problem of micro service network, computer device and storage medium
CN112347394A (en) Method and device for acquiring webpage information, computer equipment and storage medium
CN110969430A (en) Method and device for identifying suspicious user, computer equipment and storage medium
CN113535378A (en) Resource allocation method, storage medium and terminal equipment
WO2020005620A1 (en) Insight ranking based on detected time-series changes
CN113760651B (en) Main sub-chain running state collection method, system and storage medium of block chain
CN115022409A (en) Micro-service scheduling method and device, computer equipment and storage medium thereof
CN117591382B (en) Intelligent monitoring method, device, equipment and medium for server faults
CN112035252A (en) Task processing method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination