CN112965791B - Timing task detection method, device, equipment and storage medium - Google Patents

Timing task detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN112965791B
CN112965791B CN202110335970.7A CN202110335970A CN112965791B CN 112965791 B CN112965791 B CN 112965791B CN 202110335970 A CN202110335970 A CN 202110335970A CN 112965791 B CN112965791 B CN 112965791B
Authority
CN
China
Prior art keywords
virtual machine
period
timing task
target operation
initial
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.)
Active
Application number
CN202110335970.7A
Other languages
Chinese (zh)
Other versions
CN112965791A (en
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.)
Beijing Sankuai Online Technology Co Ltd
Qiandai Beijing Information Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202110335970.7A priority Critical patent/CN112965791B/en
Publication of CN112965791A publication Critical patent/CN112965791A/en
Application granted granted Critical
Publication of CN112965791B publication Critical patent/CN112965791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a timing task detection method, a timing task detection device, timing task detection equipment and a storage medium, and belongs to the technical field of the Internet. The method comprises the following steps: acquiring the number of heartbeat signals sent by at least one virtual machine as a first number according to a first period, wherein each virtual machine runs a timing task, and acquiring the number of times of executing target operation of at least one virtual machine running the timing task as a second number according to the first period; and when the ratio of the second quantity to the first quantity is smaller than a preset value, determining that the detection result is abnormal for the timing task. The obtained first quantity and the second quantity are both influenced by the quantity of the at least one virtual machine, so that the influence of the quantity of the virtual machines can be eliminated when the ratio of the second quantity to the first quantity is obtained, the condition that the quantity of the virtual machines changes to cause detection errors of the timing task can be eliminated when the timing task is detected to be abnormal, and the accuracy rate of detecting whether the timing task is abnormal is improved.

Description

Timing task detection method, device, equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a timed task.
Background
As the network scale increases, the server processes more and more traffic, and in order to relieve the pressure of the server, a timing task may be set for some operations that need to be performed periodically, and the operations are performed periodically according to the timing task. And whether the timing task normally runs or not can be detected in a point burying mode.
In the related art, a buried point program is set for a timed task in a server, the number of times that the timed task executes operation within a unit time length is detected by the buried point program, and when the detected number of times is smaller than a preset number, the detection result is determined to be abnormal for the timed task.
However, when the server is offline and does not work any more, the number of times detected in the unit time length may be smaller than the preset number, and at this time, the timing task is not abnormal, but the detection result is that the timing task is abnormal, and an error exists in the detection result.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for detecting a timing task, which can eliminate the condition that the number of virtual machines changes to cause a detection error of the timing task when detecting whether the timing task is abnormal, and improve the accuracy rate of detecting whether the timing task is abnormal. The technical scheme is as follows:
in one aspect, a method for detecting a timed task is provided, where the method includes:
according to a first period, acquiring the number of heartbeat signals sent by at least one virtual machine as a first number, wherein each virtual machine in the at least one virtual machine is used for sending the heartbeat signals according to a second period so as to indicate that the virtual machine sending the heartbeat signals is in a working state, each virtual machine runs with a timing task, and the timing task is used for indicating that target operation is executed according to a third period;
acquiring the number of times of executing the target operation by the at least one virtual machine running the timing task according to the first period, wherein the number of times is used as a second number;
and when the ratio of the second quantity to the first quantity is smaller than a preset value, determining that the detection result is that the timing task is abnormal.
In a possible implementation manner, before obtaining, as the first number, the number of heartbeat signals sent by the at least one virtual machine according to the first cycle, the method further includes:
setting a first point burying program for the at least one virtual machine, wherein the first point burying program is used for detecting the number of heartbeat signals sent by the corresponding virtual machine;
the acquiring the number of heartbeat signals sent by at least one virtual machine according to the first period includes:
according to the first period, detecting heartbeat signals sent by the corresponding virtual machines through the first embedded point program, and obtaining the number of the heartbeat signals sent by the at least one virtual machine as the first number.
In another possible implementation manner, before the obtaining, according to the first cycle, the number of times that the at least one virtual machine running the timing task performs the target operation as the second number, the method further includes:
setting a second embedded point program for the timing task, wherein the second embedded point program is used for detecting the times of executing the target operation by each virtual machine in the at least one virtual machine running the timing task;
the obtaining, according to the first cycle, the number of times that the at least one virtual machine running the timing task executes the target operation as a second number includes:
and detecting the target operation executed by each virtual machine through the second embedded point program, and acquiring the times of executing the target operation by at least one virtual machine to obtain the second quantity.
In another possible implementation, the method further includes:
acquiring a first initial number, wherein the first initial number is the number of heartbeat signals sent by the at least one virtual machine in a working state within a preset time length;
acquiring a second initial quantity, wherein the second initial quantity is the number of times of the target operation executed by the at least one virtual machine when the timing task normally runs within the preset time length;
and taking the ratio of the second initial quantity to the first initial quantity as the preset value.
In another possible implementation manner, the obtaining the first initial number includes:
determining the ratio of the first period to the second period as the number of heartbeat signals sent by each virtual machine in the first period;
and determining the first initial number according to the number of heartbeat signals sent by each virtual machine in the first period and the number of the at least one virtual machine.
In another possible implementation manner, the obtaining the second initial number includes:
determining a ratio of the first period to the third period as a number of times each of at least one virtual machine running the timed task performs the target operation within the first period;
determining the second initial number according to the number of times that each virtual machine executes the target operation in the first period and the number of the at least one virtual machine.
In another possible implementation manner, when the ratio of the second quantity to the first quantity is smaller than a preset value, determining that the detection result is that the timed task is abnormal includes:
and when the detection results of the continuous preset number of the timing tasks are all smaller than the preset value, determining that the detection results are abnormal for the timing tasks.
In another aspect, a timed task detection apparatus is provided, the apparatus comprising:
the system comprises a quantity acquisition module, a first processing module and a second processing module, wherein the quantity acquisition module is used for acquiring the quantity of heartbeat signals sent by at least one virtual machine according to a first period, the first quantity is used as the first quantity, each virtual machine in the at least one virtual machine is used for sending the heartbeat signals according to a second period so as to indicate that the virtual machine sending the heartbeat signals is in a working state, each virtual machine runs with a timing task, and the timing task is used for indicating that target operation is executed according to a third period;
the quantity obtaining module is configured to obtain, as a second quantity, a number of times that the at least one virtual machine running the timing task executes the target operation according to the first cycle;
and the result determining module is used for determining that the detection result is the abnormal timing task when the ratio of the second quantity to the first quantity is smaller than a preset value.
In one possible implementation, the apparatus further includes:
the program setting module is used for setting a first embedded point program for the at least one virtual machine, and the first embedded point program is used for detecting the number of heartbeat signals sent by the corresponding virtual machine;
the quantity obtaining module is further configured to detect, according to the first period, a heartbeat signal sent by a corresponding virtual machine through the first embedded point program, and obtain a quantity of the heartbeat signal sent by the at least one virtual machine as the first quantity.
In another possible implementation manner, the apparatus further includes:
a program setting module, configured to set a second embedded point program for the timing task, where the second embedded point program is used to detect a number of times that each virtual machine in the at least one virtual machine running the timing task executes the target operation;
the quantity obtaining module is configured to detect the target operation executed by each virtual machine through the second embedded point program, and obtain the number of times that the target operation is executed by the at least one virtual machine, so as to obtain the second quantity.
In another possible implementation manner, the apparatus further includes:
the quantity obtaining module is configured to obtain a first initial quantity, where the first initial quantity is a quantity of heartbeat signals sent by the at least one virtual machine in the working state within a preset time duration;
the quantity obtaining module is configured to obtain a second initial quantity, where the second initial quantity is a number of times that the at least one virtual machine normally runs the target operation executed by the timing task within the preset time duration;
and the value determining module is used for taking the ratio of the second initial quantity to the first initial quantity as the preset value.
In another possible implementation manner, the preset duration is a duration of the first period, and the quantity obtaining module includes:
a ratio determining unit, configured to determine a ratio between the first period and the second period as the number of heartbeat signals sent by each virtual machine in the first period;
a quantity determining unit, configured to determine the first initial quantity according to the quantity of the heartbeat signals sent by each virtual machine in the first period and the quantity of the at least one virtual machine.
In another possible implementation manner, the preset duration is a duration of the first period, and the quantity obtaining module includes:
a ratio determining unit, configured to determine a ratio between the first period and the third period as a number of times that each virtual machine of at least one virtual machine running the timing task performs the target operation in the first period;
a quantity determining unit, configured to determine the second initial quantity according to the number of times that each virtual machine performs the target operation in the first cycle and the quantity of the at least one virtual machine.
In another possible implementation manner, the result determining module is configured to determine that the detection result is the abnormal timing task when the detection results of the continuous preset number of timing tasks are all smaller than the preset value.
In another aspect, a computer device is provided, which includes a processor and a memory, where at least one program code is stored, loaded and executed by the processor to implement the operations as performed by the timed task detection method.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, the at least one program code being loaded and executed by a processor to implement the operations performed by the timed task detection method as described.
According to the timed task detection method, the timed task detection device, the timed task detection equipment and the timed task detection storage medium, the acquired first number is the number of heartbeat signals sent by at least one virtual machine, the acquired second number is the number of times that the at least one virtual machine running the timed task executes target operation, and because the first number and the second number are both influenced by the number of the at least one virtual machine, the influence of the number of the virtual machines can be eliminated by acquiring the ratio of the second number to the first number, the condition that the number of the virtual machines changes to cause a detection error of the timed task can be eliminated when whether the timed task is detected to be abnormal, and the accuracy rate of detecting whether the timed task is abnormal is improved.
And when the detection results of the continuous preset number of the timed tasks are all smaller than the preset value, the detection result is determined to be abnormal for the timed task, the condition that the temporary abnormality occurs is eliminated, and the accuracy of detection can be ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a method for detecting a timed task according to an embodiment of the present application;
fig. 3 is a flowchart of a method for detecting a timed task according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a change in the number of virtual machines according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a timing task exception provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a timed task detection apparatus according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another timed task detection apparatus provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The method for detecting the timing task can be applied to a network system, wherein the network system comprises a plurality of devices, and the devices run the timing task.
In one possible implementation, the multiple devices may be multiple servers, or the multiple devices may be multiple virtual machines on the same server or different servers.
The server may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
Optionally, the method for detecting a timed task provided in the embodiment of the present application may be applied to a detection server in a network system.
The detection server may be one of the devices in the network system, connected to the other devices, and configured with a virtual machine to perform the same function as the other devices, or may be dedicated to detecting the other devices.
Optionally, when the multiple devices are multiple virtual machines on the same server or different servers, each virtual machine in the multiple virtual machines may send a heartbeat signal, and the detection server may determine whether the virtual machine is operating normally by detecting the heartbeat signal sent by each virtual machine.
In addition, a first embedded point program can be set for each virtual machine, and the first embedded point program can detect the heartbeat signals sent by each virtual machine and record the number of the heartbeat signals sent by each virtual machine.
The timing task is used for indicating to execute target operation according to a third period, when the virtual machine runs the timing task, the target operation is executed according to the third period, a second embedded point program is set for the timing task, and when the virtual machine executes the target operation, the second embedded point program can detect the number of times of the target operation executed by the virtual machine.
For example, as shown in fig. 1, timing tasks are run on these multiple virtual machines, the first embedded point program detects the number of heartbeat signals sent by each virtual machine, and the second embedded point program detects the number of target operations indicated by the virtual machine running timing tasks.
Fig. 2 is a flowchart of a method for detecting a timed task according to an embodiment of the present application, and referring to fig. 2, the method includes:
step 201, acquiring the number of heartbeat signals sent by at least one virtual machine as a first number according to a first period.
Each virtual machine in the at least one virtual machine is used for sending a heartbeat signal according to a second period to indicate that the virtual machine sending the heartbeat signal is in a working state, each virtual machine runs with a timing task, and the timing task is used for indicating to execute target operation according to a third period.
Step 202, according to the first period, obtaining the number of times that at least one virtual machine running the timing task executes the target operation as a second number.
And step 203, when the ratio of the second quantity to the first quantity is smaller than a preset value, determining that the detection result is abnormal for the timing task.
According to the method provided by the embodiment of the application, the acquired first number is the number of heartbeat signals sent by at least one virtual machine, the acquired second number is the number of times that the at least one virtual machine running the timing task executes the target operation, because the first number and the second number are both influenced by the number of the at least one virtual machine, the influence of the number of the virtual machines can be eliminated by acquiring the ratio of the second number to the first number, and when the ratio of the second number to the first number is acquired, the influence of the number of the virtual machines can be eliminated, so that the condition that the number of the virtual machines changes to cause the detection error of the timing task can be eliminated when the timing task is detected to be abnormal, and the accuracy of detecting whether the timing task is abnormal is improved.
In a possible implementation manner, according to the first cycle, before obtaining the number of heartbeat signals sent by the at least one virtual machine as the first number, the method further includes:
setting a first point burying program for at least one virtual machine, wherein the first point burying program is used for detecting the number of heartbeat signals sent by the corresponding virtual machine;
according to a first cycle, acquiring the number of heartbeat signals sent by at least one virtual machine, including:
according to a first period, detecting heartbeat signals sent by the corresponding virtual machines through a first embedded point program, and acquiring the quantity of the heartbeat signals sent by at least one virtual machine as a first quantity.
In another possible implementation manner, before acquiring, as the second number, the number of times that the at least one virtual machine running the timed task performs the target operation according to the first cycle, the method further includes:
setting a second embedded point program for the timing task, wherein the second embedded point program is used for detecting the times of executing target operation by each virtual machine in at least one virtual machine running the timing task;
according to the first period, acquiring the number of times that at least one virtual machine running the timing task executes the target operation as a second number, wherein the second number comprises:
and detecting the target operation executed by each virtual machine through a second embedded point program, and acquiring the times of executing the target operation by at least one virtual machine to obtain a second quantity.
In another possible implementation, the method further includes:
acquiring a first initial number, wherein the first initial number is the number of heartbeat signals sent by at least one virtual machine in a working state within a preset time length;
acquiring a second initial quantity, wherein the second initial quantity is the number of times of target operations executed by at least one virtual machine in a normal running timing task within a preset time length;
and taking the ratio of the second initial quantity to the first initial quantity as a preset value.
In another possible implementation manner, the presetting the duration as the duration of the first period, and acquiring the first initial number includes:
determining the ratio of the first period to the second period as the number of heartbeat signals sent by each virtual machine in the first period;
and determining a first initial number according to the number of heartbeat signals sent by each virtual machine in the first period and the number of at least one virtual machine.
In another possible implementation manner, the presetting the duration as the duration of the first period, and acquiring the second initial number includes:
determining the ratio of the first period to the third period as the number of times that each virtual machine in at least one virtual machine running the timing task executes the target operation in the first period;
and determining a second initial number according to the number of times each virtual machine executes the target operation in the first period and the number of at least one virtual machine.
In another possible implementation manner, when a ratio of the second number to the first number is smaller than a preset value, determining that the detection result is a timed task exception includes:
and when the detection results of the continuous preset number of the timing tasks are all smaller than a preset value, determining that the detection results are abnormal.
Fig. 3 is a flowchart of a timing task detection method provided in an embodiment of the present application, and is applied to a detection server, referring to fig. 3, where the method includes:
step 301, acquiring the number of heartbeat signals sent by at least one virtual machine as a first number according to a first cycle.
Each virtual machine in the at least one virtual machine is used for sending a heartbeat signal according to a second period so as to indicate that the virtual machine sending the heartbeat signal is in a working state. When the virtual machine sends the heartbeat signal according to the second period, the virtual machine is determined to be in the working state, and when the virtual machine is not in the working state any more, the heartbeat signal is not sent any more.
For example, when the virtual machine goes offline or fails, the virtual machine is in a non-operating state and does not send a heartbeat signal.
The second period is set by the server, or by a technician, or in some other manner. For example, the second period may be 0.5 seconds, 1 second, or other values.
In addition, each virtual machine runs a timed task. The timing task is used for indicating that the target operation is executed according to the third cycle, that is, each virtual machine needs to execute the target operation periodically, when the timing task is abnormal, the number of times of executing the target operation by the virtual machine is reduced, and when the timing task is not abnormal, the virtual machine executes the target operation according to the third cycle.
In one possible implementation, the timing task may be to count data according to a third period, to transmit data according to a third period, or to perform other types of operations according to a third period, and so on.
Wherein the third period is set by the server, or set by a technician, or set in other manners. For example, the third period may be 2 seconds, 3 seconds, or other values.
In order to subsequently detect whether the timed task is abnormal, the number of heartbeat signals sent by at least one virtual machine may be acquired according to a first cycle, and the first number may be subsequently used to detect whether the timed task is abnormal.
In the embodiment of the application, the detection server is connected with each virtual machine, when the virtual machine sends a heartbeat signal, the detection server can detect the operation of sending the heartbeat signal by the virtual machine, intercept the heartbeat signal, record the number of the heartbeat signal sent by the virtual machine, determine the first number of the heartbeat signal sent by at least one virtual machine, and subsequently detect whether the timing task is abnormal according to the first number.
In addition, it should be noted that, in step 301, the number of the heartbeat signals sent by at least one virtual machine is obtained according to the first period, that is, the number of the heartbeat signals obtained according to the period for each virtual machine to send the heartbeat signal and the number of at least one virtual machine.
Optionally, before step 301, the method further comprises: and setting a first embedded point program for at least one virtual machine, wherein the first embedded point program is used for detecting the quantity of heartbeat signals sent by the corresponding virtual machine.
In order to be able to detect the number of heartbeat signals sent by each of the at least one virtual machine, a first point burying program needs to be set for each of the at least one virtual machine, and subsequently, by using the first point burying program, the number of heartbeat information sent by the corresponding virtual machine can be respectively detected.
In addition, after the first buried point program is set for each virtual machine, step 301 may be replaced by: according to a first period, detecting heartbeat signals sent by the corresponding virtual machines through a first embedded point program, and acquiring the quantity of the heartbeat signals sent by at least one virtual machine as a first quantity.
After the first embedded point program is set for at least one virtual machine, the heartbeat signals sent by the corresponding virtual machine can be acquired through the embedded point program set for each virtual machine according to a first period, and then the number of the acquired heartbeat signals sent by the at least one virtual machine is used as a first number.
In the embodiment of the application, the heartbeat signal sent by the virtual machine can be detected by setting the first point-burying program for each virtual machine, so that the accuracy of the detected heartbeat signal of the virtual machine is ensured, whether the timing task is abnormal or not can be detected subsequently, and the accuracy of detecting the timing task is improved.
Step 302, according to the first period, obtaining the number of times that at least one virtual machine running the timing task executes the target operation as a second number.
And the timing task is used for instructing the virtual machine to execute the target operation according to the third period. When the virtual machines execute the target operation according to the third period, the number of times that at least one virtual machine running the timing task executes the target operation may be detected as the second number, and whether the timing task is abnormal or not may be detected subsequently according to the second number.
It should be noted that, in step 302, the number of times that the at least one virtual machine executes the target operation is obtained according to the first cycle, that is, the second number is obtained according to the number of times that each virtual machine executes the target operation and the number of the at least one virtual machine.
Optionally, before step 302, a second fixed point program is set for the timed task, where the second fixed point program is used to detect the number of times each virtual machine in the at least one virtual machine running the timed task executes the target operation.
In order to detect the number of times that each virtual machine in at least one virtual machine executes a target operation, a second embedded point program needs to be set for a timing task running in each virtual machine, and the second embedded point program is subsequently adopted to detect the number of times that each virtual machine executes the target operation respectively.
In the embodiment of the application, the detection server is connected with each virtual machine, and when each virtual machine runs a timing task, the target operation indicated by the timing task is executed, the detection server intercepts the operation executed by the virtual machine, when the operation executed by the virtual machine detected by the detection server is the target operation indicated by the timing task, the number of times that the virtual machine runs the target operation indicated by the timing task is recorded, the number of times that at least one virtual machine executes the target operation is determined as the second number, and whether the timing task is abnormal or not is detected according to the second number subsequently.
In addition, after setting the second fixed point program for the timing task, step 302 can be replaced with: and detecting the target operation executed by each virtual machine through a second embedded point program, and acquiring the times of executing the target operation by at least one virtual machine to obtain a second quantity.
After the second embedded point program is set for the timing task, the target operation indicated by the timing task executed by each virtual machine is detected through the set second embedded point program, the number of times of executing the target operation by each virtual machine is obtained, and the sum of the number of times of executing the target operation by at least one virtual machine is determined as a second number.
In the embodiment of the application, the second point burying program is arranged on the timing task, so that the times of target operation indicated by the running timing task of the virtual machine can be detected, the accuracy of the target operation indicated by the running timing task of the virtual machine is ensured, the subsequent detection of whether the timing task is abnormal or not can be realized, and the accuracy of the detection of the timing task is improved.
Step 303, obtaining a first initial number, where the first initial number is the number of heartbeat signals sent by at least one virtual machine in a working state within a preset time duration.
Before determining whether the timing task is abnormal according to the obtained first quantity and the second quantity, a first initial quantity of heartbeat signals sent by at least one virtual machine when working normally needs to be obtained, and then whether the timing task is abnormal is determined according to the determined first initial quantity.
In a possible implementation manner, if the period of sending the heartbeat signal by each virtual machine in the at least one virtual machine is a fixed period, the period of sending the heartbeat signal by each virtual machine is directly determined, and then the first initial number is determined according to the preset time length and the number of the virtual machines.
Optionally, a ratio of the first period to the second period is determined as a number of heartbeat signals sent by each virtual machine in the first period, and the first initial number is determined according to the number of heartbeat signals sent by each virtual machine in the first period and a number of at least one virtual machine.
If the preset time length is the first period, calculating a ratio of the first period to the third period, where the ratio is the number of heartbeat signals sent by each virtual machine in the first period. For example, when the first cycle is 4s, and each virtual machine transmits a heartbeat signal according to the second cycle of 1s, the virtual machines transmit 4 heartbeat signals in the first cycle.
After the number of heartbeat signals sent by each virtual machine in the first period is determined, the product of the number of heartbeat signals sent in the first period and the number of at least one virtual machine is calculated, and then the first initial number of at least one virtual machine is determined.
In addition, if m represents the number of heartbeat signals transmitted in the first period and n represents the number of at least one virtual machine, then m × n represents the first initial number.
For example, on the basis of the above example, if there are 3 virtual machines, the first initial number determined is 12. Alternatively, if there are 5 virtual machines, the first initial number determined is 20.
Step 304, obtaining a second initial number, where the second initial number is the number of times of target operations executed by the timed task when at least one virtual machine normally runs within the preset time length.
Before determining whether the timing task is abnormal according to the obtained first quantity and the second quantity, the number of times of target operation executed by at least one virtual machine to normally run the timing task is required to be obtained, and then whether the timing task is abnormal is determined according to the determined first initial quantity.
In a possible implementation manner, if the period in which each virtual machine in the at least one virtual machine executes the target operation is a fixed period, the period in which each virtual machine executes the target operation indicated by the timing task is directly determined, and then the second initial number is determined according to the preset time length and the number of the virtual machines.
Optionally, a ratio of the first period to the third period is determined as a number of times that each virtual machine of the at least one virtual machine running the timed task performs the target operation in the first period, and the second initial number is determined according to the number of times that each virtual machine performs the target operation in the first period and the number of the at least one virtual machine.
And calculating the ratio of the first period to the second period, wherein the preset time is the first period, and the ratio is the number of times that each virtual machine executes the target operation in the first period. For example, when the first cycle is 4s, and each virtual machine performs the target operation according to the third cycle 2s, the virtual machine performs the target operation 2 times in the first cycle.
After the number of times that each virtual machine executes the target operation in the first period is determined, the product of the number of times that the target operation is executed in the first period and the number of the at least one virtual machine is calculated, and then the second initial number of the at least one virtual machine is determined.
In addition, if k is used to represent the number of times the target operation is performed in the first cycle and n represents the number of the at least one virtual machine, k × n is used to represent the second initial number.
For example, on the basis of the above example, if there are 3 virtual machines, the second initial number determined is 6. Alternatively, if there are 5 virtual machines, the first initial number determined is 10.
Step 305, taking the ratio of the second initial quantity to the first initial quantity as a preset value.
After the first initial quantity and the second initial quantity are obtained, the ratio of the second initial quantity to the first initial quantity can be calculated, and since the second initial quantity and the first initial quantity are determined according to the quantity of at least one virtual machine, the quantity of the virtual machines cannot be influenced in the determined preset numerical value.
Optionally, when the first initial number is determined according to a ratio of the first period to the second period and the number of the at least one virtual machine, the second initial number is determined according to a ratio of the first period to the third period and the number of the at least one virtual machine, and when the ratio of the second initial number to the first initial number is determined, the number of the at least one virtual machine is eliminated, and then the determined preset value is the ratio of the third period to the second period.
According to the method and the device, the first initial quantity and the second initial quantity are determined, the numerical value of the virtual machine in the normal running timing task can be determined in a multi-dimensional consideration mode, and the accuracy of checking the timing task can be improved when the timing task is detected to be abnormal subsequently.
It should be noted that, the step 303-.
And step 306, when the ratio of the second quantity to the first quantity is smaller than a preset value, determining that the detection result is abnormal for the timing task.
And calculating the ratio of the second quantity to the first quantity, and when the ratio is smaller than a preset value, indicating that the number of times of executing the target operation according to the third period indicated by the timing task is reduced, so that the detection result can be determined to be abnormal in the timing task.
Optionally, a ratio of the second number to the first number is a ratio of the number of times that each virtual machine runs the target operation executed by the timing task in the first period to the number of heartbeat signals sent by each virtual machine in the first period, where when the number of virtual machines changes, the ratio does not change, and when the timing task is abnormal, the number of times that each virtual machine runs the target operation executed by the timing task in the first period becomes smaller, so that the ratio of the obtained second number to the first number is also reduced, and it may be determined that the detection result is that the timing task is abnormal.
For example, if a represents the number of target operations executed by each virtual machine to run a timed task in the first period, and b represents the number of heartbeat signals sent by each virtual machine in the first period, when the number of virtual machines changes, as shown in fig. 4, the ratio of a to b changes only at the time when the number of virtual machines changes, and the original value is restored subsequently.
When the timing task is abnormal, as shown in fig. 5, the ratio of a to b becomes smaller, and the ratio of a to b remains unchanged in the subsequent process, and it can be determined that the timing task is abnormal.
Optionally, when the detection results of the continuous preset number of the timed tasks are all smaller than a preset value, the detection result is determined to be abnormal for the timed task.
When the timing task is detected each time, the detection result is referred to only once, so that abnormal detection may occur.
The preset number may be set by the server or by a technician. The predetermined number may be 4, 5, 6 or other values.
In the embodiment of the application, the detection server determines the ratio of the second quantity to the first quantity according to the acquired first quantity and the second quantity, that is, according to the above manner, and then detects whether the timing task is abnormal according to the relationship between the determined ratio and the preset quantity.
When the detection result of the detection server is that the timing task is normal, the timing task is continuously detected, and when the detection result of the detection server is that the timing task is abnormal, alarm information can be sent out, and technicians repair the timing task to ensure normal operation of the timing task.
It should be noted that the timed task detection method provided in the embodiment of the present application may be applied to a scene of multiple live services in different places, in the scene, different areas include different servers, each server is configured with a virtual machine, and each virtual machine runs a timed task, so that multiple virtual machines may simultaneously provide the same service, in the running process, data in the multiple virtual machines are mutually backed up, each virtual machine in the multiple virtual machines has its own database for storing its own executed operation, and synchronizes its own data to other virtual machines, thereby ensuring data consistency and jointly running the timed task.
Therefore, in a scene of multiple live in different places, by using the method provided by the embodiment of the present application, a preset value, that is, a normal index, can be determined by calculating the second initial number of the timing tasks and the first initial number of the virtual machines, and then the first number and the second number of the virtual machines are monitored according to the first period, a ratio of the second number to the first number is determined, and the ratio is compared with the preset value, so as to detect whether the timing tasks running on the virtual machines are abnormal or not.
In addition, the timing task detection method provided by the embodiment of the application can also be applied to a hulk (a scheduling platform) scene.
According to the method provided by the embodiment of the application, the acquired first number is the number of heartbeat signals sent by at least one virtual machine, the acquired second number is the number of times that the at least one virtual machine running the timing task executes the target operation, and because the first number and the second number are both influenced by the number of the at least one virtual machine, the influence of the number of the virtual machines can be eliminated by acquiring the ratio of the second number to the first number, so that the condition that the number of the virtual machines changes to cause the detection error of the timing task when the timing task is detected to be abnormal can be eliminated, and the accuracy of detecting whether the timing task is abnormal is improved.
And when the detection results of the continuous preset number of the timed tasks are all smaller than the preset value, the detection result is determined to be abnormal for the timed task, the condition that the temporary abnormality occurs is eliminated, and the accuracy of detection can be ensured.
Fig. 6 is a schematic structural diagram of a timed task detection apparatus according to an embodiment of the present application. Referring to fig. 6, the apparatus includes:
the quantity obtaining module 601 is configured to obtain, according to a first cycle, a quantity of heartbeat signals sent by at least one virtual machine as a first quantity, where each virtual machine in the at least one virtual machine is configured to send a heartbeat signal according to a second cycle to indicate that the virtual machine sending the heartbeat signal is in a working state, each virtual machine runs a timing task, and the timing task is configured to indicate that a target operation is executed according to a third cycle;
a quantity obtaining module 601, configured to obtain, as a second quantity, a number of times that at least one virtual machine running a timing task executes a target operation according to a first cycle;
and a result determining module 602, configured to determine that the detection result is a timing task exception when a ratio of the second number to the first number is smaller than a preset value.
According to the device provided by the embodiment of the application, the acquired first number is the number of heartbeat signals sent by at least one virtual machine, the acquired second number is the number of times that the at least one virtual machine running the timing task executes the target operation, because the first number and the second number are both influenced by the number of the at least one virtual machine, the influence of the number of the virtual machines can be eliminated by acquiring the ratio of the second number to the first number, and then when the ratio of the second number to the first number is acquired, the influence of the number of the virtual machines can be eliminated, the condition that the number of the virtual machines changes to cause the detection error of the timing task can be eliminated when the timing task is detected to be abnormal, and the accuracy rate of detecting whether the timing task is abnormal is improved.
In one possible implementation, referring to fig. 7, the apparatus further comprises:
a program setting module 603, configured to set a first embedded point program for at least one virtual machine, where the first embedded point program is used to detect the number of heartbeat signals sent by the corresponding virtual machine;
the quantity obtaining module 601 is further configured to detect, according to a first cycle, a heartbeat signal sent by a corresponding virtual machine through a first embedded point program, and obtain a quantity of the heartbeat signals sent by at least one virtual machine, as a first quantity.
In another possible implementation, referring to fig. 7, the apparatus further includes:
a program setting module 603, configured to set a second embedded point program for the timing task, where the second embedded point program is configured to detect a number of times that each virtual machine in at least one virtual machine running the timing task executes a target operation;
the quantity obtaining module 601 is configured to detect, through the second endpoint program, a target operation executed by each virtual machine, and obtain the number of times that at least one virtual machine executes the target operation, so as to obtain a second quantity.
In another possible implementation, referring to fig. 7, the apparatus further includes:
the quantity obtaining module 601 is configured to obtain a first initial quantity, where the first initial quantity is a quantity of heartbeat signals sent by at least one virtual machine in a working state within a preset time duration;
the quantity obtaining module 601 is configured to obtain a second initial quantity, where the second initial quantity is a number of times of target operations executed by a timing task when at least one virtual machine normally runs within a preset time length;
a value determining module 604, configured to use a ratio of the second initial quantity to the first initial quantity as a preset value.
In another possible implementation manner, the preset duration is a duration of the first period, referring to fig. 7, the quantity obtaining module 601 includes:
a ratio determining unit 6011, configured to determine a ratio between the first period and the second period as the number of heartbeat signals sent by each virtual machine in the first period;
a quantity determining unit 6012, configured to determine the first initial quantity according to the quantity of the heartbeat signals sent by each virtual machine in the first period and the quantity of the at least one virtual machine.
In another possible implementation manner, the preset duration is a duration of the first period, referring to fig. 7, the quantity obtaining module 601 includes:
a ratio determining unit 6011, configured to determine a ratio between the first period and the third period as a number of times that each virtual machine of the at least one virtual machine running the timing task performs the target operation in the first period;
a quantity determining unit 6012, configured to determine the second initial quantity according to the number of times that each virtual machine performs the target operation in the first cycle and the quantity of the at least one virtual machine.
In another possible implementation manner, the result determining module 602 is configured to determine that the detection result is abnormal for the timing task when the detection results of the consecutive preset number of timing tasks are all smaller than a preset value.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
It should be noted that: the timing task detection device provided in the above embodiment is only illustrated by the division of the above functional modules when detecting the timing task, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the above described functions. In addition, the embodiment of the device for detecting a timed task provided by the above embodiment and the embodiment of the method for detecting a timed task belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 800 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 801 and one or more memories 802, where the memory 802 stores at least one instruction, and the at least one instruction is loaded and executed by the processors 801 to implement the methods provided by the foregoing method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The server 800 may be used to perform the steps performed by the server in the above-described timed task detection method.
An embodiment of the present application further provides a computer device, where the computer device includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement an operation performed by the timed task detection method.
The embodiment of the present application further provides a computer-readable storage medium, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the operations performed by the timed task detection method.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method for timing task detection, the method comprising:
according to a first period, acquiring the number of heartbeat signals sent by at least one virtual machine as a first number, wherein each virtual machine in the at least one virtual machine is used for sending the heartbeat signals according to a second period so as to indicate that the virtual machine sending the heartbeat signals is in a working state, each virtual machine runs with a timing task, and the timing task is used for indicating that target operation is executed according to a third period;
acquiring the number of times of executing the target operation by the at least one virtual machine running the timing task according to the first period, wherein the number of times is used as a second number;
and when the ratio of the second quantity to the first quantity is smaller than a preset value, determining that the detection result is that the timing task is abnormal.
2. The method according to claim 1, wherein before acquiring the number of heartbeat signals sent by the at least one virtual machine as the first number according to the first cycle, the method further comprises:
setting a first point burying program for the at least one virtual machine, wherein the first point burying program is used for detecting the number of heartbeat signals sent by the corresponding virtual machine;
the acquiring the number of heartbeat signals sent by at least one virtual machine according to the first period includes:
according to the first period, detecting heartbeat signals sent by the corresponding virtual machines through the first embedded point program, and obtaining the number of the heartbeat signals sent by the at least one virtual machine as the first number.
3. The method of claim 1, wherein before the obtaining, as the second number, the number of times the at least one virtual machine running the timed task performs the target operation per the first period, the method further comprises:
setting a second embedded point program for the timing task, wherein the second embedded point program is used for detecting the times of executing the target operation by each virtual machine in the at least one virtual machine running the timing task;
the obtaining, according to the first cycle, the number of times that the at least one virtual machine running the timing task executes the target operation as a second number includes:
and detecting the target operation executed by each virtual machine through the second embedded point program, and acquiring the times of executing the target operation by at least one virtual machine to obtain the second quantity.
4. The method of claim 1, further comprising:
acquiring a first initial number, wherein the first initial number is the number of heartbeat signals sent by the at least one virtual machine in a working state within a preset time length;
acquiring a second initial quantity, wherein the second initial quantity is the number of times of the target operation executed by the at least one virtual machine when the timing task normally runs within the preset time length;
and taking the ratio of the second initial quantity to the first initial quantity as the preset value.
5. The method of claim 4, wherein the preset duration is a duration of the first period, and the obtaining the first initial number comprises:
determining the ratio of the first period to the second period as the number of heartbeat signals sent by each virtual machine in the first period;
determining the first initial number according to the number of heartbeat signals sent by each virtual machine in the first period and the number of the at least one virtual machine.
6. The method of claim 4, wherein the preset duration is a duration of the first period, and the obtaining the second initial number comprises:
determining a ratio of the first period to the third period as a number of times that each virtual machine of at least one virtual machine running the timed task performs the target operation within the first period;
determining the second initial number according to the number of times that each virtual machine executes the target operation in the first period and the number of the at least one virtual machine.
7. The method according to claim 1, wherein the determining that the detection result is the abnormal timing task when the ratio of the second number to the first number is smaller than a preset value comprises:
and when the detection results of the continuous preset number of the timing tasks are all smaller than the preset value, determining that the detection results are abnormal for the timing tasks.
8. A timed task detection apparatus, characterized in that it comprises:
the device comprises a quantity obtaining module, a first processing module and a second processing module, wherein the quantity obtaining module is used for obtaining the quantity of heartbeat signals sent by at least one virtual machine according to a first period as the first quantity, each virtual machine in the at least one virtual machine is used for sending the heartbeat signals according to a second period so as to indicate that the virtual machine sending the heartbeat signals is in a working state, each virtual machine runs a timing task, and the timing task is used for indicating that target operation is executed according to a third period;
the quantity obtaining module is configured to obtain, as a second quantity, a number of times that the at least one virtual machine running the timing task executes the target operation according to the first cycle;
and the result determining module is used for determining that the detection result is the abnormal timing task when the ratio of the second quantity to the first quantity is smaller than a preset value.
9. The apparatus of claim 8, further comprising:
the program setting module is used for setting a first embedded point program for the at least one virtual machine, and the first embedded point program is used for detecting the number of heartbeat signals sent by the corresponding virtual machine;
the quantity obtaining module is further configured to detect, according to the first period, a heartbeat signal sent by a corresponding virtual machine through the first embedded point program, and obtain a quantity of the heartbeat signal sent by the at least one virtual machine as the first quantity.
10. The apparatus of claim 8, further comprising:
a program setting module, configured to set a second embedded point program for the timing task, where the second embedded point program is used to detect a number of times that each virtual machine in the at least one virtual machine running the timing task executes the target operation;
the quantity obtaining module is configured to detect the target operation executed by each virtual machine through the second embedded point program, and obtain the number of times that the target operation is executed by the at least one virtual machine, so as to obtain the second quantity.
11. The apparatus of claim 8, further comprising:
the quantity obtaining module is configured to obtain a first initial quantity, where the first initial quantity is a quantity of heartbeat signals sent by the at least one virtual machine in the working state within a preset time duration;
the quantity obtaining module is configured to obtain a second initial quantity, where the second initial quantity is a number of times that the at least one virtual machine normally runs the target operation executed by the timing task within the preset time duration;
and the value determining module is used for taking the ratio of the second initial quantity to the first initial quantity as the preset value.
12. The apparatus of claim 11, wherein the preset duration is a duration of the first period, and the quantity obtaining module comprises:
a ratio determining unit, configured to determine a ratio between the first period and the second period as the number of heartbeat signals sent by each virtual machine in the first period;
a quantity determining unit, configured to determine the first initial quantity according to the quantity of the heartbeat signals sent by each virtual machine in the first period and the quantity of the at least one virtual machine.
13. The apparatus of claim 11, wherein the preset duration is a duration of the first period, and the quantity obtaining module comprises:
a ratio determining unit, configured to determine a ratio between the first period and the third period as a number of times that each virtual machine of at least one virtual machine running the timing task performs the target operation in the first period;
a quantity determining unit, configured to determine the second initial quantity according to the number of times that each virtual machine performs the target operation in the first cycle and the quantity of the at least one virtual machine.
14. A computer device comprising a processor and a memory, the memory having stored therein at least one program code, the at least one program code loaded into and executed by the processor to perform operations performed by the method of any one of claims 1 to 7.
15. A computer-readable storage medium having stored therein at least one program code, which is loaded and executed by a processor to perform the operations performed by the method for timed task detection according to any one of claims 1 to 7.
CN202110335970.7A 2021-03-29 2021-03-29 Timing task detection method, device, equipment and storage medium Active CN112965791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110335970.7A CN112965791B (en) 2021-03-29 2021-03-29 Timing task detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110335970.7A CN112965791B (en) 2021-03-29 2021-03-29 Timing task detection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112965791A CN112965791A (en) 2021-06-15
CN112965791B true CN112965791B (en) 2022-06-07

Family

ID=76278794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110335970.7A Active CN112965791B (en) 2021-03-29 2021-03-29 Timing task detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112965791B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086060B (en) * 2022-06-30 2023-11-07 深信服科技股份有限公司 Flow detection method, device, equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357038A (en) * 2015-10-26 2016-02-24 北京百度网讯科技有限公司 Method and system for monitoring virtual machine cluster
CN110365762A (en) * 2019-07-10 2019-10-22 腾讯科技(深圳)有限公司 Service processing method, device, equipment and storage medium
CN110764963A (en) * 2018-07-28 2020-02-07 阿里巴巴集团控股有限公司 Service exception handling method, device and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9241044B2 (en) * 2013-08-28 2016-01-19 Hola Networks, Ltd. System and method for improving internet communication by using intermediate nodes
US9594801B2 (en) * 2014-03-28 2017-03-14 Akamai Technologies, Inc. Systems and methods for allocating work for various types of services among nodes in a distributed computing system
CN108964992B (en) * 2018-06-29 2022-02-25 郑州云海信息技术有限公司 Node fault detection method and device and computer readable storage medium
CN111818159B (en) * 2020-07-08 2024-04-05 腾讯科技(深圳)有限公司 Management method, device, equipment and storage medium of data processing node

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357038A (en) * 2015-10-26 2016-02-24 北京百度网讯科技有限公司 Method and system for monitoring virtual machine cluster
CN110764963A (en) * 2018-07-28 2020-02-07 阿里巴巴集团控股有限公司 Service exception handling method, device and equipment
CN110365762A (en) * 2019-07-10 2019-10-22 腾讯科技(深圳)有限公司 Service processing method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于云的应用层容错机制设计与实现;于翔等;《微型电脑应用》;20160220;第63-68页 *

Also Published As

Publication number Publication date
CN112965791A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
US10579453B2 (en) Stream-processing data
CN110888783B (en) Method and device for monitoring micro-service system and electronic equipment
CN111049705B (en) Method and device for monitoring distributed storage system
US11544137B2 (en) Data processing platform monitoring
US20140195860A1 (en) Early Detection Of Failing Computers
CN107025224B (en) Method and equipment for monitoring task operation
CN112737800B (en) Service node fault positioning method, call chain generating method and server
CN111211929A (en) Fault positioning method, fault positioning device, control equipment and intelligent equipment
CN112799923A (en) System abnormality reason determining method, device, equipment and storage medium
US20180095819A1 (en) Incident analysis program, incident analysis method, information processing device, service identification program, service identification method, and service identification device
CN112965791B (en) Timing task detection method, device, equipment and storage medium
CN110580220B (en) Method for measuring code segment execution time and terminal equipment
CN102986151A (en) Monitoring system and data transfer device and method thereof
CN111752838A (en) Question checking method and device, server and storage medium
CN114500249B (en) Root cause positioning method and device
CN115934453A (en) Troubleshooting method, troubleshooting device and storage medium
CN110852876A (en) Batch error reporting recovery method and device
CN111506422A (en) Event analysis method and system
CN109408325B (en) Method and device for performing alarm operation
CN110928679A (en) Resource allocation method and device
CN114233470B (en) Engine crankcase pressure correction method and related equipment
CN114326670B (en) Detection method and device for executing tasks by controller, storage medium and electronic device
CN113037550B (en) Service fault monitoring method, system and computer readable storage medium
CN114201400A (en) Code debugging method and device, computer readable storage medium and server
CN112817826A (en) Data integration method and device

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221028

Address after: 1311, Floor 13, No. 27, Zhongguancun Street, Haidian District, Beijing 100080

Patentee after: QIANDAI (BEIJING) INFORMATION TECHNOLOGY CO.,LTD.

Patentee after: BEIJING SANKUAI ONLINE TECHNOLOGY Co.,Ltd.

Address before: 100080 2106-030, 9 North Fourth Ring Road, Haidian District, Beijing.

Patentee before: BEIJING SANKUAI ONLINE TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right