CN110751384A - Service monitoring method and device - Google Patents

Service monitoring method and device Download PDF

Info

Publication number
CN110751384A
CN110751384A CN201910945614.XA CN201910945614A CN110751384A CN 110751384 A CN110751384 A CN 110751384A CN 201910945614 A CN201910945614 A CN 201910945614A CN 110751384 A CN110751384 A CN 110751384A
Authority
CN
China
Prior art keywords
monitoring
target
task
subtask
monitoring 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
CN201910945614.XA
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.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information 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 Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201910945614.XA priority Critical patent/CN110751384A/en
Publication of CN110751384A publication Critical patent/CN110751384A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis

Abstract

One or more embodiments of the present specification provide a service monitoring method and apparatus, which are applied to a monitoring system; the monitoring system is in butt joint with a service system, and the service operated in the service system comprises a plurality of subtasks; creating a corresponding monitoring task for each subtask; the method comprises the following steps: acquiring a target monitoring task corresponding to a target subtask with an uncompleted running state based on a preset time period; executing the target monitoring task, and determining whether the target subtask is operated and completed based on an execution result of the target monitoring task; and if the target subtask is finished, sending a notification message for indicating that the target subtask is finished to the service system so that the service system updates the running state of the target subtask to a finished state.

Description

Service monitoring method and device
Technical Field
One or more embodiments of the present disclosure relate to the field of computer application technologies, and in particular, to a method and an apparatus for monitoring a service.
Background
With the development of internet technology, for off-line stores, the ordering mode is gradually changed from an off-line manual ordering mode to an on-line and off-line combined diversified ordering mode. In this process, marketers are usually required to complete the POS (point of sale) selling service and the issuing operation and maintenance service of the offline shop. The operation headquarters usually issues services related to offline shop operation to marketers located in different cities and areas, and the marketers can execute corresponding services through local service systems. Under the circumstance, how to monitor the running state of the service in real time so as to promote the state circulation of the service is an urgent problem to be solved.
Disclosure of Invention
The present specification proposes a service monitoring method, which is applied to a monitoring system; the monitoring system is in butt joint with a service system, and the service operated in the service system comprises a plurality of subtasks; creating a corresponding monitoring task for each subtask; the method comprises the following steps:
acquiring a target monitoring task corresponding to a target subtask with an uncompleted running state based on a preset time period;
executing the target monitoring task, and determining whether the target subtask is operated and completed based on an execution result of the target monitoring task;
and if the target subtask is finished, sending a notification message for indicating that the target subtask is finished to the service system so that the service system updates the running state of the target subtask to a finished state.
Optionally, the monitoring task includes a task completion rule;
the executing the target monitoring task and determining whether the target subtask is completed based on the execution result of the target monitoring task includes:
querying a monitoring index specified by a task completion rule in the target monitoring task;
determining whether the monitoring index meets the task completion rule;
and if the monitoring index accords with the task completion rule, determining that the target subtask is completed in operation.
Optionally, the monitoring indicator is updated based on a data change message for a business database interfaced with the business system.
Optionally, the method further comprises:
and when the business system is detected to finish the creation of the target subtask, creating a target monitoring task corresponding to the target subtask.
Optionally, the creating a target monitoring task corresponding to the target subtask includes:
determining a monitoring task template corresponding to the target subtask based on the task type identifier of the target subtask and the corresponding relationship between the task type identifier and the monitoring task module;
and creating a target monitoring task corresponding to the target subtask based on the monitoring task template.
Optionally, the executing the target monitoring task includes:
and sending the target monitoring task to target service equipment in a server cluster based on a preset load balancing algorithm so that the target service equipment executes the target monitoring task.
The present specification also provides a service monitoring apparatus, which is applied to a monitoring system; the monitoring system is in butt joint with a service system, and the service operated in the service system comprises a plurality of subtasks; creating a corresponding monitoring task for each subtask; the device comprises:
the acquisition module is used for acquiring a target monitoring task corresponding to a target subtask with an uncompleted running state based on a preset time period;
the execution module is used for executing the target monitoring task and determining whether the target subtask is operated and completed based on the execution result of the target monitoring task;
and the notification module is used for sending a notification message for indicating the completion of the running of the target subtask to the service system when the running of the target subtask is completed, so that the service system updates the running state of the target subtask to a completed state.
Optionally, the monitoring task includes a task completion rule;
the execution module is specifically configured to:
querying a monitoring index specified by a task completion rule in the target monitoring task;
determining whether the monitoring index meets the task completion rule;
and if the monitoring index accords with the task completion rule, determining that the target subtask is completed in operation.
Optionally, the monitoring indicator is updated based on a data change message for a business database interfaced with the business system.
Optionally, the apparatus further comprises:
and the creating module is used for creating a target monitoring task corresponding to the target subtask when the business system is detected to finish the creation of the target subtask.
Optionally, the creating module is specifically configured to:
determining a monitoring task template corresponding to the target subtask based on the task type identifier of the target subtask and the corresponding relationship between the task type identifier and the monitoring task module;
and creating a target monitoring task corresponding to the target subtask based on the monitoring task template.
Optionally, the execution module is specifically configured to:
and sending the target monitoring task to target service equipment in a server cluster based on a preset load balancing algorithm so that the target service equipment executes the target monitoring task.
In the above technical solution, a service running in a service system may be divided into a plurality of subtasks, and a corresponding monitoring task may be created for each subtask in a monitoring system interfaced with the service system. The monitoring system may execute a monitoring task corresponding to a subtask whose operation state is incomplete, and determine whether the subtask is completed based on an execution result of the monitoring task. By adopting the mode, the running state of the service can be monitored in real time, so that the state flow of the service is promoted.
Drawings
FIG. 1 is a schematic diagram of a traffic monitoring overall system shown in an exemplary embodiment of the present description;
FIG. 2 is a flow chart of a method of traffic monitoring shown in an exemplary embodiment of the present description;
fig. 3 is a hardware structure diagram of an electronic device in which a service monitoring apparatus is located according to an exemplary embodiment of the present specification;
fig. 4 is a block diagram of a traffic monitoring apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of one or more embodiments of the specification, as detailed in the claims which follow.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, fig. 1 is a schematic diagram of a traffic monitoring system according to an exemplary embodiment of the present disclosure.
In the overall system for monitoring business shown in fig. 1, a business system, a monitoring system and a business database can be included. The service system can be in butt joint with the service database, and can update the service data stored in the service database in the service operation process; the monitoring system can also be in butt joint with the business database, and the monitoring system can inquire the business data in the business database. On the other hand, the monitoring system can be in butt joint with the service system, so that the monitoring system can monitor the service running state in the service system.
It should be noted that the service system, the monitoring system, and the service database may be deployed on the same electronic device, or may be deployed on different electronic devices respectively; the electronic device may be a server, a computer, or the like, and this specification does not limit this.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for monitoring a service according to an exemplary embodiment of the present disclosure. The method can be applied to a monitoring system in the overall service monitoring system shown in fig. 1, and the method can include the following steps:
step 201, acquiring a target monitoring task corresponding to a target subtask whose running state is an uncompleted state based on a preset time period;
step 202, executing the target monitoring task, and determining whether the target subtask is operated and completed based on an execution result of the target monitoring task;
step 203, if the target subtask is completed, sending a notification message for indicating completion of the target subtask to the service system, so that the service system updates the running state of the target subtask to a completed state.
In this embodiment, as shown in fig. 1, a service running in a service system may be divided into several subtasks. By adopting the mode, in practical application, the running efficiency of the service can be improved by parallel processing of a plurality of subtasks.
For each subtask running in the service system, the monitoring system can create a corresponding monitoring task for the subtask, so that the monitoring system can monitor the running state of the subtask by executing the monitoring task.
In one embodiment shown, a sub-task may be created by a technician in a business system for a certain business to be performed; alternatively, a service system may divide a service to be executed into several subtasks.
When detecting that the business system completes the creation of a certain subtask, the monitoring system can create a monitoring task corresponding to the subtask locally.
For example, the monitoring system may output a monitoring task configuration interface to a technician, and the technician may configure monitoring information such as a monitoring index, a monitoring frequency, a monitoring rule, and an alarm manner for the subtask through the monitoring task configuration interface. The monitoring system may integrate the monitoring information configured by the technician into the monitoring task corresponding to the subtask. Subsequently, the monitoring system may implement monitoring of the operating state of the subtask by executing the monitoring task, for example: and inquiring the monitoring index in the monitoring task according to the monitoring frequency in the monitoring task, and judging whether the inquired monitoring index meets the monitoring rule in the monitoring task, if so, the subtask can be considered to be operated and completed, so that the alarm can be given according to the alarm mode in the monitoring task to remind the user of the completion of the subtask operation.
In practical application, in order to simplify the creation process of the monitoring task and save human resources, a technician may pre-configure a plurality of monitoring task templates and store the monitoring task modules into the monitoring system. Wherein each monitor task module may correspond to a type of subtask.
In this case, when detecting that the service system completes creation of a certain subtask, the monitoring system may determine, based on the task type identifier of the subtask (where the task type identifier may indicate the task type of the subtask), a monitoring task module corresponding to the subtask, and locally create, based on the monitoring task module, a monitoring task corresponding to the subtask. Therefore, the establishing process of the monitoring task can be simplified, and the automatic monitoring of the service running state is realized.
For example, when the business system completes creation of a subtask, a notification message indicating that creation of the subtask is completed may be sent to the monitoring system. Wherein the notification message may include a task type identification of the subtask. When the monitoring system receives the notification message, the monitoring system may determine the monitoring task module corresponding to the subtask based on the task type identifier in the notification message, and locally create a monitoring task corresponding to the subtask based on the monitoring task module.
In this embodiment, the monitoring system may obtain, for each subtask (referred to as a target subtask) whose operating state is an incomplete state in the service system, a monitoring task (referred to as a target monitoring task) corresponding to the target subtask based on a preset time period. The time period may be preset by a technician, or may be a default value of a system default, which is not limited in this specification.
In practical applications, in order to improve the real-time performance of service monitoring, the time period with a shorter duration may be set, for example: and 1 minute, namely, the monitoring system can acquire the monitoring task corresponding to the target subtask for each subtask with an uncompleted running state in the service system every 1 minute.
After the target monitoring task is obtained, the monitoring system can execute the target monitoring task and determine whether the target subtask is completed based on the execution result of the target monitoring task.
If the target subtask run is complete, the monitoring system may send a notification message to the business system. Wherein the notification message may indicate that the target subtask operation is complete.
When the service system receives the notification message, it may determine that the target subtask is completed, so that the running state of the target subtask may be updated from an incomplete state to a completed state. In this way, subsequently, because the running state of the target subtask is the completed state, the monitoring system does not acquire the target monitoring task any more, that is, the monitoring system can not execute the target monitoring task any more, thereby reducing the system resource consumption.
Taking the total service monitoring system shown in fig. 1 as an example, it is assumed that at time 13:00, the subtasks whose running states are incomplete in the service system include: the method includes that a subtask 1, a subtask 2, and a subtask 3 (all of the three subtasks may be regarded as target subtasks), at this time, the monitoring system may obtain a monitoring task 1 corresponding to the subtask 1, a monitoring task 2 corresponding to the subtask 2, and a monitoring task 3 corresponding to the subtask 3 (all of the three monitoring tasks may be regarded as target monitoring tasks).
In this case, the monitoring system may execute the monitoring task 1 to determine whether the subtask 1 is completed based on the execution result of the monitoring task 1; the monitoring system can also execute the monitoring task 2 to determine whether the subtask 2 is completely operated or not based on the execution result of the monitoring task 2; the monitoring system may also execute the monitoring task 3 to determine whether the subtask 3 is run-completed based on the execution result of the monitoring task 3.
The monitoring system is supposed to determine that the subtask 1 is not operated and completed based on the execution result of the monitoring task 1; determining that the subtask 2 is not operated and completed based on the execution result of the monitoring task 2; and determining that the subtask 3 is completely run based on the execution result of the monitoring task 3.
In this case, the monitoring system may transmit a notification message for instructing the subtask 3 to run completion to the business system. When receiving the notification message, the service system may determine that the running of the subtask 3 is completed, so that the running state of the subtask 3 may be updated from an uncompleted state to a completed state.
At time 13:01, assuming that a new subtask (referred to as subtask 4) is created in the service system and a monitor task (referred to as monitor task 4) corresponding to the subtask is created in the monitor system, at this time, the subtask whose running state is an incomplete state in the service system includes: subtask 1, subtask 2, and subtask 4; the monitoring system may obtain a monitoring task 1 corresponding to the subtask 1, a monitoring task 2 corresponding to the subtask 2, and a monitoring task 4 corresponding to the subtask 4.
In this case, the monitoring system may perform the monitoring task 1 again to determine whether the subtask 1 is completed based on the execution result of the monitoring task 1; the monitoring system can also execute the monitoring task 2 again to determine whether the subtask 2 is completely operated based on the execution result of the monitoring task 2; the monitoring system may also execute the monitoring task 4 to determine whether the subtask 4 is run-completed based on the execution result of the monitoring task 4.
The monitoring system is supposed to determine that the subtask 1 is not operated and completed based on the execution result of the monitoring task 1; determining that the subtask 2 is not operated and completed based on the execution result of the monitoring task 2; based on the execution result of the monitoring task 4, it is determined that the subtask 4 is not run-completed either.
In this case, the monitoring system need not send notification messages to the business system. Subsequently, at time 13:02, the monitoring system may perform monitoring task 1, monitoring task 2, and monitoring task 4 again to determine whether subtask 1, subtask 2, and subtask 4 are completed.
In an embodiment shown, the monitoring task created by the monitoring system for each subtask running in the business system may specifically include: a task completion rule corresponding to the subtask. Specifically, the task completion rule may be an expression composed of monitoring indicators corresponding to the subtasks, that is, variables in the expression may be the monitoring indicators corresponding to the subtasks.
In this case, when the monitoring system executes the target monitoring task, the monitoring system may first query the monitoring index specified by the task completion rule in the target monitoring task.
It should be noted that the monitoring index may be updated based on the data change message for the service database. In particular, the data change message may include the changed data. When a data update message containing a certain monitoring index is detected, the monitoring index recorded currently can be updated according to the monitoring index in the data update message. Therefore, the monitoring index obtained by each query of the monitoring system can be ensured to be the latest value obtained by the latest update in the service operation process.
After querying the monitoring index, the monitoring system may further determine whether the monitoring index meets the task completion rule.
If the monitoring index conforms to the task completion rule, the monitoring system can determine that the target subtask is completed; accordingly, if the monitoring indicator does not comply with the task completion rule, the monitoring system may determine that the target subtask is not completed.
For example, assume that a task completion rule in a monitoring task corresponding to a certain subtask includes: if the index a is the index B & & the index C <10| | | index D >1, the monitoring system may query the index a, the index B, the index C, and the index D, and determine whether the index a is equal to the index B, whether the index C is less than 10, and whether the index D is greater than 1. If index a is equal to index B, while index C is less than 10 or index D is greater than 1, the monitoring system may determine that the monitoring indices conform to the task completion rules, and may determine that the subtask operation is complete.
In one embodiment shown, a monitoring system may be deployed on a cluster of servers in order to improve the data processing capacity and reliability of the monitoring system.
In this case, the monitoring system may first determine, based on a preset load balancing algorithm, a service device (referred to as a target service device) in the server cluster for processing the target monitoring task. Subsequently, the monitoring system may send the target monitoring task to the target service device, so that the target service device executes the target monitoring task.
It should be noted that the load balancing algorithm may be specifically preset by a technician, for example: a technician may set the load balancing algorithm according to a three-layer distribution frame, where a first layer in the three-layer distribution frame may be used to acquire all monitoring tasks to be scheduled, allocate and issue slice indexes of the monitoring tasks to a second layer, the second layer may be used to load and issue all monitoring tasks under one of the slice indexes to a third layer, and the third layer may be used to execute the monitoring tasks issued by the second layer.
In practical application, when the monitoring system determines that a certain subtask is completed through a corresponding monitoring task, the monitoring system may return running state data related to the subtask to the service system, so that the service system may count and analyze the running state data of each subtask.
For example, the monitoring system may return the operation completion time of a certain subtask to the service system when determining that the subtask is completed through the corresponding monitoring task. The service system can calculate the task running time of the subtask according to the running completion time and the running starting time of the subtask, and store the corresponding relation between the task running time and the task type identifier of the task. Subsequently, the service system may optimize the task issuing strategy for the subtasks according to the task running durations respectively corresponding to the task types (for example, an average value of all the task running durations corresponding to the task type identifier of a certain task type may be determined as the task running duration corresponding to the task type), so as to improve the service running efficiency.
In order to improve the data processing capability and reliability of the business system, the monitoring system may also be deployed on a server cluster.
In this case, for a subtask belonging to a task type with a longer task running time, the subtask may be sent to a service device with a smaller load at present, so that the service device executes the subtask. Therefore, each subtask can be guaranteed to be operated and completed as soon as possible, and the service operation efficiency is improved.
In the above technical solution, a service running in a service system may be divided into a plurality of subtasks, and a corresponding monitoring task may be created for each subtask in a monitoring system interfaced with the service system. The monitoring system may execute a monitoring task corresponding to a subtask whose operation state is incomplete, and determine whether the subtask is completed based on an execution result of the monitoring task. By adopting the mode, the running state of the service can be monitored in real time, so that the state flow of the service is promoted.
Corresponding to the foregoing embodiments of the service monitoring method, this specification also provides embodiments of a service monitoring apparatus.
The embodiment of the service monitoring device in the specification can be applied to electronic equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation. From a hardware aspect, as shown in fig. 3, the hardware structure diagram of the electronic device where the service monitoring apparatus is located in this specification is shown, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 3, the electronic device where the apparatus is located in the embodiment may also include other hardware according to the actual function of the service monitoring, which is not described again.
Referring to fig. 4, fig. 4 is a block diagram of a traffic monitoring apparatus according to an exemplary embodiment of the present disclosure. The apparatus 40 may be applied to an electronic device shown in fig. 3, on which a monitoring system is deployed; the monitoring system is connected with a service system in a butt joint mode, and the service operated in the service system comprises a plurality of subtasks; wherein a corresponding monitoring task is created for each subtask. The apparatus 40 may include:
an obtaining module 401, configured to obtain, based on a preset time period, a target monitoring task corresponding to a target subtask whose operation state is an uncompleted state;
an execution module 402, configured to execute the target monitoring task, and determine whether the target subtask is completed based on an execution result of the target monitoring task;
a notification module 403, configured to send a notification message for indicating that the target subtask is completed when the target subtask is completed, so that the service system updates the running state of the target subtask to a completed state.
In this embodiment, the monitoring task includes a task completion rule;
the execution module 402 may specifically be configured to:
querying a monitoring index specified by a task completion rule in the target monitoring task;
determining whether the monitoring index meets the task completion rule;
and if the monitoring index accords with the task completion rule, determining that the target subtask is completed in operation.
In this embodiment, the monitoring index is updated based on a data change message for a service database interfaced with the service system.
In this embodiment, the apparatus 40 may further include:
a creating module 404, configured to create a target monitoring task corresponding to the target subtask when it is detected that the business system completes creation of the target subtask.
In this embodiment, the creating module 404 may specifically be configured to:
determining a monitoring task template corresponding to the target subtask based on the task type identifier of the target subtask and the corresponding relationship between the task type identifier and the monitoring task module;
and creating a target monitoring task corresponding to the target subtask based on the monitoring task template.
In this embodiment, the executing module 402 may specifically be configured to:
and sending the target monitoring task to target service equipment in a server cluster based on a preset load balancing algorithm so that the target service equipment executes the target monitoring task.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The system, apparatus or module illustrated in the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with a certain function. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.

Claims (10)

1. A business monitoring method is applied to a monitoring system; the monitoring system is in butt joint with a service system, and the service operated in the service system comprises a plurality of subtasks; creating a corresponding monitoring task for each subtask; the method comprises the following steps:
acquiring a target monitoring task corresponding to a target subtask with an uncompleted running state based on a preset time period;
executing the target monitoring task, and determining whether the target subtask is operated and completed based on an execution result of the target monitoring task;
and if the target subtask is finished, sending a notification message for indicating that the target subtask is finished to the service system so that the service system updates the running state of the target subtask to a finished state.
2. The method of claim 1, the monitoring task comprising a task completion rule;
the executing the target monitoring task and determining whether the target subtask is completed based on the execution result of the target monitoring task includes:
querying a monitoring index specified by a task completion rule in the target monitoring task;
determining whether the monitoring index meets the task completion rule;
and if the monitoring index accords with the task completion rule, determining that the target subtask is completed in operation.
3. The method of claim 2, the monitoring metric being updated based on a data change message for a business database interfacing with the business system.
4. The method of claim 1, further comprising:
and when the business system is detected to finish the creation of the target subtask, creating a target monitoring task corresponding to the target subtask.
5. The method of claim 4, the creating a target monitoring task corresponding to the target subtask, comprising:
determining a monitoring task template corresponding to the target subtask based on the task type identifier of the target subtask and the corresponding relationship between the task type identifier and the monitoring task module;
and creating a target monitoring task corresponding to the target subtask based on the monitoring task template.
6. The method of claim 1, the performing the objective monitoring task, comprising:
and sending the target monitoring task to target service equipment in a server cluster based on a preset load balancing algorithm so that the target service equipment executes the target monitoring task.
7. A business monitoring device is applied to a monitoring system; the monitoring system is in butt joint with a service system, and the service operated in the service system comprises a plurality of subtasks; creating a corresponding monitoring task for each subtask; the device comprises:
the acquisition module is used for acquiring a target monitoring task corresponding to a target subtask with an uncompleted running state based on a preset time period;
the execution module is used for executing the target monitoring task and determining whether the target subtask is operated and completed based on the execution result of the target monitoring task;
and the notification module is used for sending a notification message for indicating the completion of the running of the target subtask to the service system when the running of the target subtask is completed, so that the service system updates the running state of the target subtask to a completed state.
8. The apparatus of claim 7, the monitoring task comprising a task completion rule;
the execution module is specifically configured to:
querying a monitoring index specified by a task completion rule in the target monitoring task;
determining whether the monitoring index meets the task completion rule;
and if the monitoring index accords with the task completion rule, determining that the target subtask is completed in operation.
9. The apparatus of claim 7, further comprising:
and the creating module is used for creating a target monitoring task corresponding to the target subtask when the business system is detected to finish the creation of the target subtask.
10. The apparatus of claim 9, the creation module to:
determining a monitoring task template corresponding to the target subtask based on the task type identifier of the target subtask and the corresponding relationship between the task type identifier and the monitoring task module;
and creating a target monitoring task corresponding to the target subtask based on the monitoring task template.
CN201910945614.XA 2019-09-30 2019-09-30 Service monitoring method and device Pending CN110751384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910945614.XA CN110751384A (en) 2019-09-30 2019-09-30 Service monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910945614.XA CN110751384A (en) 2019-09-30 2019-09-30 Service monitoring method and device

Publications (1)

Publication Number Publication Date
CN110751384A true CN110751384A (en) 2020-02-04

Family

ID=69277636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910945614.XA Pending CN110751384A (en) 2019-09-30 2019-09-30 Service monitoring method and device

Country Status (1)

Country Link
CN (1) CN110751384A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148732A (en) * 2020-08-24 2020-12-29 北京来也网络科技有限公司 Smart power grid electronic handover list monitoring method and device combining RPA and AI
CN112433794A (en) * 2020-11-20 2021-03-02 金蝶云科技有限公司 Method for controlling service progress of ERP system and related equipment
CN113703871A (en) * 2021-08-31 2021-11-26 平安养老保险股份有限公司 Task processing method based on automatic processing script and corresponding device thereof

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624544A (en) * 2012-01-31 2012-08-01 华为技术有限公司 Method and device for creating monitoring tasks
CN102902614A (en) * 2012-09-11 2013-01-30 哈尔滨工程大学 Dynamic monitoring and intelligent guide method
CN104243185A (en) * 2013-06-06 2014-12-24 神州数码系统集成服务有限公司 Experiential service monitoring system and method
CN105610983A (en) * 2016-03-07 2016-05-25 北京荣之联科技股份有限公司 Distributive network monitoring method and system
CN105700958A (en) * 2016-01-07 2016-06-22 北京京东尚科信息技术有限公司 Method and system for automatic splitting of task and parallel execution of sub-task
CN105897498A (en) * 2015-08-04 2016-08-24 乐视致新电子科技(天津)有限公司 Business monitoring method and device
CN106971254A (en) * 2017-02-13 2017-07-21 上海瀚之友信息技术服务有限公司 A kind of service monitoring system and method
CN107544832A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 A kind of monitoring method, the device and system of virtual machine process
CN108229183A (en) * 2017-12-06 2018-06-29 链家网(北京)科技有限公司 A kind of business datum monitoring method and its monitoring device
CN108334545A (en) * 2017-12-27 2018-07-27 微梦创科网络科技(中国)有限公司 A kind of method and device for realizing asynchronous service
CN108520056A (en) * 2018-04-03 2018-09-11 北京京东金融科技控股有限公司 Business datum monitoring method and device, system, readable medium and electronic equipment
CN109067610A (en) * 2018-07-12 2018-12-21 北京京东金融科技控股有限公司 A kind of monitoring method and device
CN109146381A (en) * 2018-08-23 2019-01-04 北京顺丰同城科技有限公司 Logistics data monitoring method, device, electronic equipment and computer storage medium
CN109684053A (en) * 2018-11-05 2019-04-26 广东岭南通股份有限公司 The method for scheduling task and system of big data
CN110083504A (en) * 2019-03-29 2019-08-02 北京奇安信科技有限公司 The running state monitoring method and device of distributed task scheduling

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624544A (en) * 2012-01-31 2012-08-01 华为技术有限公司 Method and device for creating monitoring tasks
CN102902614A (en) * 2012-09-11 2013-01-30 哈尔滨工程大学 Dynamic monitoring and intelligent guide method
CN104243185A (en) * 2013-06-06 2014-12-24 神州数码系统集成服务有限公司 Experiential service monitoring system and method
CN105897498A (en) * 2015-08-04 2016-08-24 乐视致新电子科技(天津)有限公司 Business monitoring method and device
CN105700958A (en) * 2016-01-07 2016-06-22 北京京东尚科信息技术有限公司 Method and system for automatic splitting of task and parallel execution of sub-task
CN105610983A (en) * 2016-03-07 2016-05-25 北京荣之联科技股份有限公司 Distributive network monitoring method and system
CN107544832A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 A kind of monitoring method, the device and system of virtual machine process
CN106971254A (en) * 2017-02-13 2017-07-21 上海瀚之友信息技术服务有限公司 A kind of service monitoring system and method
CN108229183A (en) * 2017-12-06 2018-06-29 链家网(北京)科技有限公司 A kind of business datum monitoring method and its monitoring device
CN108334545A (en) * 2017-12-27 2018-07-27 微梦创科网络科技(中国)有限公司 A kind of method and device for realizing asynchronous service
CN108520056A (en) * 2018-04-03 2018-09-11 北京京东金融科技控股有限公司 Business datum monitoring method and device, system, readable medium and electronic equipment
CN109067610A (en) * 2018-07-12 2018-12-21 北京京东金融科技控股有限公司 A kind of monitoring method and device
CN109146381A (en) * 2018-08-23 2019-01-04 北京顺丰同城科技有限公司 Logistics data monitoring method, device, electronic equipment and computer storage medium
CN109684053A (en) * 2018-11-05 2019-04-26 广东岭南通股份有限公司 The method for scheduling task and system of big data
CN110083504A (en) * 2019-03-29 2019-08-02 北京奇安信科技有限公司 The running state monitoring method and device of distributed task scheduling

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
林志达等: "基于运行监控场景的大数据应用探究", 《现代信息科技》 *
陈小全等: "《Linux服务器架设、性能调优、集群管理教程—实训与项目案例》", 30 April 2011, 北京邮电大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148732A (en) * 2020-08-24 2020-12-29 北京来也网络科技有限公司 Smart power grid electronic handover list monitoring method and device combining RPA and AI
CN112433794A (en) * 2020-11-20 2021-03-02 金蝶云科技有限公司 Method for controlling service progress of ERP system and related equipment
CN113703871A (en) * 2021-08-31 2021-11-26 平安养老保险股份有限公司 Task processing method based on automatic processing script and corresponding device thereof

Similar Documents

Publication Publication Date Title
US10567568B2 (en) User event pattern prediction and presentation
CN107683486B (en) Personally influential changes to user events
JP6946746B2 (en) Smart notification scheduling and modality selection methods, systems, and non-transitory computer-readable media
US20140046716A1 (en) Automated management of physical resource scheduling
CN110751384A (en) Service monitoring method and device
US10198702B2 (en) End-to end project management
US9615236B2 (en) Freeing up mobile network for important phone calls in case of disaster
US9531651B1 (en) Methods for displaying notifications
US20090077235A1 (en) Mechanism for profiling and estimating the runtime needed to execute a job
US11281992B2 (en) Predicting geofence performance for optimized location based services
CN109815007A (en) Thread control method, device, electronic equipment and storage medium based on cloud monitoring
CN112187512B (en) Port automatic expansion method, device and equipment based on flow monitoring
CN108154252A (en) Method and apparatus for estimating the flow deadline
CN109478147A (en) Adaptive resource management in distributed computing system
CN110457371A (en) Data managing method, device, storage medium and system
CN113383354A (en) Message recommendation system based on context and time prediction
CN108959048A (en) The method for analyzing performance of modular environment, device and can storage medium
JPWO2014061229A1 (en) Information system construction support apparatus, information system construction support method, and information system construction support program
CN114169536A (en) Data management and control method and related device
CN110232195B (en) Method and device for simulating distribution process
JP6094594B2 (en) Information system construction support apparatus, information system construction support method, and information system construction support program
US7310562B2 (en) System and method for scheduling mold manufacturing
CN115269050A (en) Multi-map calling method and device, storage medium and computer equipment
CN115187364A (en) Method and device for monitoring deposit risk under bank distributed scene
CN112596974A (en) Full link monitoring method, device, equipment and storage 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200204

RJ01 Rejection of invention patent application after publication