CN117170981A - Multitasking process monitoring method and system - Google Patents

Multitasking process monitoring method and system Download PDF

Info

Publication number
CN117170981A
CN117170981A CN202311434171.0A CN202311434171A CN117170981A CN 117170981 A CN117170981 A CN 117170981A CN 202311434171 A CN202311434171 A CN 202311434171A CN 117170981 A CN117170981 A CN 117170981A
Authority
CN
China
Prior art keywords
task
monitoring
data
service
information
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
CN202311434171.0A
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.)
CETC 15 Research Institute
Original Assignee
CETC 15 Research Institute
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 CETC 15 Research Institute filed Critical CETC 15 Research Institute
Priority to CN202311434171.0A priority Critical patent/CN117170981A/en
Publication of CN117170981A publication Critical patent/CN117170981A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses a multi-task process monitoring method and a system, comprising the following steps: sequentially carding each task process or equipment running state; marking each task or device obtained by carding, and marking each process of any task or each running state in any device; according to the result of the label, inputting the task information and the label information into a monitoring system; and monitoring the task or the equipment, and prompting by using the monitoring system in a page mode to present the execution condition of any relevant task or the running state of any equipment to a user. The method of the application collects the running state of the execution process or equipment of each task before task monitoring, and initializes the content to the task system, thereby achieving the purpose of effectively monitoring the running state of the multi-task process or equipment.

Description

Multitasking process monitoring method and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and a system for monitoring a multi-tasking process.
Background
Along with the continuous development of various industries of the national science and technology level, the fields of the industries develop the task requirements and task processes which are mature and stable in the respective fields, the original method is disordered, the unified management and effective monitoring of multiple tasks cannot be realized, and whether the task execution conditions in different fields are carried out according to the requirements is unknown. In this context, it is particularly important how to better ensure that each industry performs multiple tasks in respective fields according to the required and standardized processes.
In the prior art, most of monitoring is that a single task is executed and a single device is operated, so that the multi-task process and the multi-device operation cannot be effectively monitored, and a user cannot grasp the execution and summarization conditions of the respective task processes under the multi-task in real time.
Disclosure of Invention
The embodiment of the application provides a multi-task process monitoring method and a multi-task process monitoring system, which aim to realize the core aim of task monitoring, collect the running state of an execution process or equipment of each task before task monitoring, initialize the content of the execution process or equipment to a task system, and achieve the aim of effectively monitoring the running state of the multi-task process or the multi-equipment.
The embodiment of the application provides a multi-task process monitoring method, which comprises the following steps:
sequentially carding each task process or equipment running state;
marking each task or device obtained by carding, and marking each process of any task or each running state in any device;
according to the result of the label, inputting the task information and the label information into a monitoring system;
after the system starts task monitoring, under the condition that reporting information of any relevant task by the upper and lower software systems is received, the task or equipment is monitored, and the monitoring system is used for prompting in a page mode so as to present the execution condition of any relevant task or the running state of any equipment to a user.
Optionally, the monitoring system includes:
the clients are used for configuring monitoring tasks of users with different roles, and the users with different roles do not affect each other;
the system comprises a message queue server cluster, a monitoring server cluster and a database cluster, wherein the message queue server cluster, the monitoring server cluster and the database cluster are used for finishing stable receiving and pushing under a high concurrency task environment;
and the upper and lower software groups are used as the system terminals to acquire monitoring data.
Optionally, the monitoring system performs the following data flow:
acquiring data information of any process of any task or any running state of any equipment by utilizing the system terminal, and transmitting corresponding information to monitoring service on a monitoring server cluster;
the monitoring server cluster is configured with the monitoring service, after the monitoring service successfully receives the data information, a receipt is sent to the tail end of the system, after the data information is received, the data information is sent to the message queue service on the message queue server cluster, and the message queue service queues according to a first-in-first-out mode, and the service to be monitored is processed.
Optionally, the process flow of the monitoring service is as follows:
in the process of executing data processing, the data content presented on each client is compressed and cached, under the condition of data change, the difference data of the current client data and the new data are compared, the processed complete data are put in storage, and the difference data are sent to a target client for local rendering.
Optionally, any task is configured with a unique starting process node and an ending process node, a node between the starting process node and the ending process node is a process node, and a new task starts when the monitoring service receives the starting node, otherwise, the node is a process node of the previous task, and when the starting node of the task is not received but other nodes are received, the node is marked as error data, and the difference data comparison is not executed.
Optionally, the client is configured to:
analyzing the data information sent by the monitoring service, carrying out local data rendering and updating according to the corresponding service instruction in the data information, and presenting the results of the data rendering and updating.
The embodiment of the application also provides a multi-task process monitoring system, which comprises a processor and a memory, wherein the memory is stored with a computer program, and the computer program realizes the steps of the multi-task process monitoring method when being executed by the processor.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the steps of the multi-task process monitoring method when being executed by a processor.
The method of the embodiment of the application can realize task monitoring, and the running state of the execution process or the equipment of each task needs to be collected before the task monitoring, and the content is initialized to the task system, thereby achieving the purpose of effectively monitoring the running state of the multi-task process or the multi-equipment.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a basic flow diagram of a multitasking process monitoring method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a monitoring system architecture of a multitasking process monitoring method according to an embodiment of the present application;
FIG. 3 is a flow chart of a multi-tasking process state of a multi-tasking process monitoring method according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Before task monitoring, the running state of the execution process or equipment of each task needs to be collected, the parallel process or running state is supported, the content of the running state is initialized into a task system, and the aim of effectively monitoring the running state of the multi-task process or multi-equipment is achieved through manual reporting or automatic reporting. The key point of the embodiment of the application is that the management and the monitoring of the execution condition of the multitasking and the running state of the equipment are realized, and the stability of a monitoring system can be ensured under the environment of high concurrent tasks. The specific embodiment of the application provides a multi-task process monitoring method, as shown in fig. 1, comprising the following steps:
in step S101, each task process or device running state is sequentially combed, and parallel task processes or parallel device running states are supported.
In step S102, each task or device obtained by the carding is labeled, and each process of any task is labeled with a task label or each running state in any device is labeled. Specifically, each task or device may be labeled, and then each process of a single task may be labeled, or each running state in a single device may be labeled.
In step S103, the task information and the label information are input to the monitoring system according to the result of the label, that is, the task information and the label information are input to the monitoring system, thereby completing the information storage.
In step S104, after the system starts task monitoring, under the condition that reporting information of any relevant task by the upper and lower software systems is received, the task or the device is monitored, and the monitoring system is used to prompt by means of a page so as to present the execution condition of any relevant task or the running state of any device to the user.
Specifically, the user may select monitoring of tasks or devices in the system as desired, and may select multiple tasks simultaneously. When the system starts task monitoring, once the upper and lower software systems report related tasks manually or automatically, the monitoring system automatically gives a prompting method such as voice or page highlighting to a user so as to inform the user of the execution condition of the task process or the running state of equipment concerned, and a data model such as task information summarization and comparison can be generated under the condition of multitasking.
The method of the embodiment of the application can realize task monitoring, and the running state of the execution process or the equipment of each task needs to be collected before the task monitoring, and the content is initialized to the task system, thereby achieving the purpose of effectively monitoring the running state of the multi-task process or the multi-equipment.
In some embodiments, as shown in fig. 2, the monitoring system comprises:
and the clients are used for configuring monitoring tasks of users with different roles, and the users with different roles do not influence each other.
The system comprises a message queue server cluster, a monitoring server cluster and a database cluster, which are used for completing stable receiving and pushing under the high concurrency task environment.
And the upper and lower software groups are used as the system terminals to acquire monitoring data.
In some embodiments, the monitoring system performs the following data flow:
and acquiring data information of any process of any task or any running state of any equipment by utilizing the system terminal, and transmitting corresponding information to the monitoring service on the monitoring server cluster. Specifically, the system end finds or receives data information of a certain process of a certain task or a certain running state of a certain device, the upper and lower software groups can send the information to a monitoring service on the monitoring server cluster in a manual or automatic mode, and after the monitoring service receives the information successfully, the upper and lower software groups can be given a receipt of the information successfully.
The monitoring server cluster is configured with the monitoring service, after the monitoring service successfully receives the data information, a receipt is sent to the tail end of the system, after the data information is received, the data information is sent to the message queue service on the message queue server cluster, and the message queue service queues according to a first-in-first-out mode, and the service to be monitored is processed. Specifically, after receiving the data information, the monitoring service will send the data information to the message queue service on the message queue server cluster for queuing according to the first-in-first-out mode, and after the monitoring service processes the historical data information in the message queue service, the monitoring service will process the data information.
In some embodiments, the process flow of the monitoring service is as follows:
in the process of executing data processing, the data content presented on each client is compressed and cached, under the condition of data change, the difference data of the current client data and the new data are compared, the processed complete data are put in storage, and the difference data are sent to a target client for local rendering.
In some embodiments, any task is configured with a unique start process node and an end process node, the node between the start process node and the end process node is a process node, and when the monitoring service receives the start node, a new task starts, otherwise, the node is a process node of the previous task, when the start node of the task is not received but other nodes are received, the node is marked as error data, and the difference data comparison is not executed.
In some specific examples, after the monitoring service receives the data information, the monitoring service sends the data information to the message queue service on the message queue server cluster to queue according to the first-in-first-out mode, the monitoring service processes the multi-task data through the multi-threading technology of the thread pool, and a specific multi-task process state flow is shown in fig. 3, and specifically, a specific example of a monitoring service processing algorithm is as follows:
all tasks have unique start process nodes and end process nodes, and the other are process nodes of the tasks.
The multiple tasks are processed in parallel by the thread pool, e.g., task a and task B are processed simultaneously.
Each task means that a new task starts after receiving the start node, otherwise it is considered as a process node for the last task.
When the system does not receive the starting node of the task, the received other nodes are uniformly marked as error data, the error data are put in a warehouse but are not counted into a duplicate data pool, and the difference data comparison peer-to-peer work is not performed.
In some embodiments, the client is configured to: analyzing the data information sent by the monitoring service, carrying out local data rendering and updating according to the corresponding service instruction in the data information, and presenting the results of the data rendering and updating. The results can be displayed on an interface, so that a user can monitor the task execution condition or the running state of the equipment.
The local rendering method based on the asynchronous technology adopts the concept of 'space time change', firstly, the data displayed by the terminal is cached in the monitoring service, after the task data is received by the service, task information and instructions are analyzed, then the task information and instructions are fused with a cached data pool in the service to generate a new copy data pool, the copy data and metadata are subjected to difference comparison, the difference data is calculated, and finally, the difference data is locally rendered on the terminal by using the asynchronous technology, so that the use of users is not influenced in the rendering process, the efficient data display is achieved, and the user experience is improved.
The method of the embodiment of the application can support thousands of tasks and simultaneously start the monitoring environment through the model framework, ensures normal monitoring work under the condition of multitasking, and enables a user to count and collect the execution conditions of a large number of task processes without frequent page switching.
The method of the embodiment of the application greatly reduces the data size on network communication through an effective data flow, combines the data difference technology, realizes the local rendering update strategy of the monitoring page, and achieves the stable operation of the system under the high concurrency task environment.
The embodiment of the application also provides a multi-task-based process monitoring system, which comprises a processor and a memory, wherein the memory is stored with a computer program, and the computer program realizes the steps of the multi-task process monitoring method when being executed by the processor.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the steps of the multi-task process monitoring method when being executed by a processor.
It should be noted that, in the embodiments of the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (8)

1. A method of multitasking process monitoring, comprising the steps of:
sequentially carding each task process or equipment running state;
marking each task or device obtained by carding, and marking each process of any task or each running state in any device;
according to the result of the label, inputting the task information and the label information into a monitoring system;
after the system starts task monitoring, under the condition that reporting information of any relevant task by the upper and lower software systems is received, the task or equipment is monitored, and the monitoring system is used for prompting in a page mode so as to present the execution condition of any relevant task or the running state of any equipment to a user.
2. The multitasking process monitoring method of claim 1 wherein said monitoring system comprises:
the clients are used for configuring monitoring tasks of users with different roles, and the users with different roles do not affect each other;
the system comprises a message queue server cluster, a monitoring server cluster and a database cluster, wherein the message queue server cluster, the monitoring server cluster and the database cluster are used for finishing stable receiving and pushing under a high concurrency task environment;
and the upper and lower software groups are used as the system terminals to acquire monitoring data.
3. The multi-tasking process monitoring method of claim 2 wherein said monitoring system performs the following data flow:
acquiring data information of any process of any task or any running state of any equipment by utilizing the system terminal, and transmitting corresponding information to monitoring service on a monitoring server cluster;
the monitoring server cluster is configured with the monitoring service, after the monitoring service successfully receives the data information, a receipt is sent to the tail end of the system, after the data information is received, the data information is sent to the message queue service on the message queue server cluster, and the message queue service queues according to a first-in-first-out mode, and the service to be monitored is processed.
4. A multi-tasking process monitoring method as claimed in claim 3 wherein the process flow of said monitoring service is as follows:
in the process of executing data processing, the data content presented on each client is compressed and cached, under the condition of data change, the difference data of the current client data and the new data are compared, the processed complete data are put in storage, and the difference data are sent to a target client for local rendering.
5. The method of claim 4, wherein any task is configured with unique start process nodes and end process nodes, the node between the start process nodes and the end process nodes is a process node, and the new task starts when the monitoring service receives the start node, otherwise the new task is a process node of the previous task, and if the start node of the task is not received but other nodes are received, the new task is marked as error data, and no difference data comparison is performed.
6. The multitasking process monitoring method of claim 3 wherein said client is configured to:
analyzing the data information sent by the monitoring service, carrying out local data rendering and updating according to the corresponding service instruction in the data information, and presenting the results of the data rendering and updating.
7. A multitasking progress monitoring system comprising a processor and a memory on which is stored a computer program which when executed by the processor carries out the steps of the multitasking progress monitoring method of any of claims 1 to 6.
8. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the multitasking process monitoring method of any of claims 1 to 6.
CN202311434171.0A 2023-11-01 2023-11-01 Multitasking process monitoring method and system Pending CN117170981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311434171.0A CN117170981A (en) 2023-11-01 2023-11-01 Multitasking process monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311434171.0A CN117170981A (en) 2023-11-01 2023-11-01 Multitasking process monitoring method and system

Publications (1)

Publication Number Publication Date
CN117170981A true CN117170981A (en) 2023-12-05

Family

ID=88937794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311434171.0A Pending CN117170981A (en) 2023-11-01 2023-11-01 Multitasking process monitoring method and system

Country Status (1)

Country Link
CN (1) CN117170981A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135387A (en) * 2014-08-12 2014-11-05 浪潮通信信息系统有限公司 Visual monitoring method of network management data processing based on meta model topology
US20160140481A1 (en) * 2014-11-14 2016-05-19 Institute For Information Industry Task supervising system and method thereof
CN113515356A (en) * 2021-04-13 2021-10-19 中国航天科工集团八五一一研究所 Lightweight distributed resource management and task scheduler and method
CN115185765A (en) * 2022-05-27 2022-10-14 深圳市酷开网络科技股份有限公司 Task management method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135387A (en) * 2014-08-12 2014-11-05 浪潮通信信息系统有限公司 Visual monitoring method of network management data processing based on meta model topology
US20160140481A1 (en) * 2014-11-14 2016-05-19 Institute For Information Industry Task supervising system and method thereof
CN113515356A (en) * 2021-04-13 2021-10-19 中国航天科工集团八五一一研究所 Lightweight distributed resource management and task scheduler and method
CN115185765A (en) * 2022-05-27 2022-10-14 深圳市酷开网络科技股份有限公司 Task management method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103795580B (en) A kind of data monitoring method, system and relevant device
US8301935B2 (en) Distributed batch runner
CN107689968B (en) Task processing system, method and device
CN112416581B (en) Distributed calling system for timed tasks
CN113760488B (en) Method, apparatus, device and computer readable medium for scheduling tasks
CN111401799A (en) Man-machine cooperative scheduling method and device, electronic equipment and storage medium
CN110334074A (en) Data processing method, device, server and storage medium
CN107704357B (en) Log generation method and device
CN112148732A (en) Smart power grid electronic handover list monitoring method and device combining RPA and AI
US20080021955A1 (en) Message oriented middleware server pipeline architecture
CN102333280A (en) Business secret key renewing method and system and business processing server
CN114866617A (en) Micro-service request processing method, device, equipment and medium
CN117170981A (en) Multitasking process monitoring method and system
CN110839061B (en) Data distribution method, device and storage medium
US7047531B2 (en) Method and apparatus for automated network polling
CN115333942B (en) Event retry method and device, storage medium and electronic equipment
CN100336344C (en) System and method for conversation cancellation treatment in application server
CN116701445A (en) Resource matching information generation method, device, equipment and computer readable medium
CN111400608B (en) Data processing method and device, storage medium and electronic equipment
CN115718741A (en) Automatic cleaning method and device for health data, electronic equipment and storage medium
CN115563160A (en) Data processing method, data processing device, computer equipment and computer readable storage medium
US20150120607A1 (en) System and method for customer event email consolidation and delivery
CN115391318A (en) Expired data clearing method and device, storage medium and computer equipment
CN113596871A (en) Test method, server and computer storage medium
CN112231185A (en) Knowledge acquisition method and device based on alarm information of application system

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