A sanitation cloud platform program running timed task management system

By designing a sanitation cloud platform program to run a timing task management system, and using the coordinated work of modules such as task management controller, database, timing task scheduling management module, the problem that the timing task management system in the existing technology cannot effectively manage timing tasks, and realizes the problem that the timing task management system is unable to effectively manage timing tasks. High reliability and stable operation of timing tasks.

CN113553162BActive Publication Date: 2025-02-18HUNAN KULU NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110906980.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-09
Publication Date
2025-02-18
Estimated Expiration
2041-08-09

AI Technical Summary

Technical Problem

The existing timing task management system cannot effectively solve the problem of repeated execution of timing tasks, cannot manage the configuration, triggering and execution of timing tasks in a unified manner, and cannot coordinate the implementation of multiple timing tasks, resulting in insufficient reliability and stability of timing tasks operation.

Method used

Design a sanitation cloud platform program operation timing task management system, including a task management controller, a database, a timing task scheduling management module, a data program lock module, a timing task execution management module and a task transfer control management module. Through the collaborative work of these modules, unified management of timing tasks and dynamic state modification are realized to avoid repeated execution.

Benefits of technology

It effectively solves the problem of repeated execution of timing tasks, realizes unified management of timing tasks and dynamic state modification, and improves the reliability and stability of timing tasks operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113553162B_ABST
    Figure CN113553162B_ABST
Patent Text Reader

Abstract

Compared with the prior art, the sanitation cloud platform program running scheduled task management system disclosed in the present application includes: a task management controller; a database connected to the task management controller for storing scheduled task attribute information and scheduled task running status information; a scheduled task scheduling management module connected to the database; a data program lock module arranged between the scheduled task scheduling management module and the database; a scheduled task execution management module connected to the scheduled task management scheduling module; a task transfer control management module arranged between the scheduled task execution management module and the scheduled task scheduling management module; and a service registration control management module arranged in parallel with the task transfer control management module. Compared with the prior art, it can solve the problem of repeated execution of scheduled tasks, can uniformly manage the configuration, triggering and execution of scheduled tasks, support dynamic modification of task running status, and improve the reliability and stability of scheduled task operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of scheduled task operation management, and more specifically, to a scheduled task management system for program operation on a sanitation cloud platform. Background Art

[0002] With the rapid development of information technology and the popularization of computer software system development technology, more and more companies have begun to build software systems to improve production and management efficiency. At the same time, based on the vigorous development of big data technology, companies have begun to pay more attention to data collection, analysis and informatization in software systems. These massive amounts of data information have also made the business logic of the company's system more complex. In addition, the increasing number of users and massive amounts of data have made the business of enterprises more and more complex. The model based on human maintenance of normal business operation has gradually failed to adapt to actual production needs due to its high cost and low efficiency. In addition, more and more enterprise application systems have appeared due to business scenario requirements, requiring the system to perform specified business operations at the planned time point, that is, "scheduled tasks". In this context, scheduled tasks have a wider range of application scenarios. Not only has the demand for use increased greatly, but the triggering conditions of scheduled tasks have also become increasingly complex.

[0003] At present, more and more enterprise application systems require the system to execute specified business operations at a planned time due to business needs. The demand for scheduled task scheduling is constantly changing with the complexity of the enterprise's business logic. At the beginning, the scale of enterprise development is small and the business logic is simple. At this time, the scheduled tasks can be deployed directly on a single server node, and there is basically no need to control and manage these tasks, and the tasks can be executed smoothly; with the continuous increase in the demand for scheduled tasks, the existing scheduled task management system only deploys a set of scheduled task codes on one server and gradually cannot meet the market demand. At the same time, only one server is running. When a failure occurs, it cannot be handled, and the entire scheduled task will hang or cannot be completed at one time, which will have a serious impact on the business system. In addition, the existing management system cannot uniformly manage and track the operation of scheduled tasks of each service node, and cannot coordinate the implementation of multiple scheduled tasks, and there is a mutual exclusion.

[0004] Therefore, how to provide a scheduled task management system for sanitation cloud platform programs that can solve the problem of repeated execution of scheduled tasks, uniformly manage the configuration, triggering and execution of scheduled tasks, support dynamic modification of task running status, and improve the reliability and stability of scheduled task operation has become a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a sanitation cloud platform program running scheduled task management system, which can solve the problem of repeated execution of scheduled tasks, can uniformly manage the configuration, triggering and execution of scheduled tasks, support dynamic modification of task running status, and improve the reliability and stability of scheduled task operation.

[0006] The technical solutions provided by this application are as follows:

[0007] The present application provides a sanitation cloud platform program running scheduled task management system, including: a task management controller; a database connected to the task management controller and used to store scheduled task attribute information and scheduled task running status information; a scheduled task scheduling management module connected to the database; a data program lock module arranged between the scheduled task scheduling management module and the database; a scheduled task execution management module connected to the scheduled task management scheduling module; a task transfer control management module arranged between the scheduled task execution management module and the scheduled task scheduling management module; and a service registration control management module arranged in parallel with the task transfer control management module and used to register server nodes.

[0008] Furthermore, in a preferred embodiment of the present invention, the data program lock module includes: a logic program shared lock unit for shared locking and read-only the scheduled task and the scheduled task attribute information and running status information; a logic program update lock unit connected to the logic program shared lock unit; and a logic program exclusive lock unit arranged in parallel with the logic program update lock unit, for exclusively locking and modifying the scheduled task and the scheduled task attribute information and running status information.

[0009] Furthermore, in a preferred embodiment of the present invention, the scheduled task scheduling management module includes: a task management module connected to the task management controller; a scheduling module connected to the task management module and used to send a scheduling request to the scheduled task execution management module; and a task testing module arranged in parallel with the scheduling module and used to perform logic testing on the scheduled task program.

[0010] Furthermore, in a preferred embodiment of the present invention, the task management module includes: a scheduled task start and stop control unit connected to the task management controller; a scheduled task creation unit connected to the scheduled task start and stop control unit; a scheduled task deletion unit, a scheduled task update unit, a scheduled task modification unit and a scheduled task query unit arranged in parallel with the scheduled task creation unit.

[0011] Furthermore, in a preferred embodiment of the present invention, the scheduled task execution management module includes: a task receiving module connected to the task distribution control management module; an executor management module connected to the task receiving module; a task execution information update module and a task execution log management module arranged in parallel with the executor management module.

[0012] Furthermore, in a preferred embodiment of the present invention, the executor management module includes: an executor registration unit for automatically registering executor nodes; and an executor group management unit arranged in parallel with the executor registration unit for adding, deleting and modifying groups.

[0013] Furthermore, in a preferred embodiment of the present invention, the task transfer control management module includes: a task classification management unit connected to the scheduled task scheduling management module; and a task classification distribution control unit connected to the task classification management unit.

[0014] Furthermore, in a preferred embodiment of the present invention, the sanitation cloud platform program running scheduled task management system also includes: a task monitoring and alarm module and a task log management module connected to the task management controller.

[0015] Furthermore, in a preferred embodiment of the present invention, the task monitoring and alarm module includes: an actuator status monitoring and alarm unit connected to the task management controller; a task logic test monitoring and alarm unit and a task logic operation monitoring and alarm unit arranged in parallel with the actuator status monitoring and alarm unit; and a monitoring and alarm instruction transmission unit connected to the actuator status monitoring and alarm unit, the task logic test monitoring and alarm unit and the task logic operation monitoring and alarm unit.

[0016] Furthermore, in a preferred embodiment of the present invention, the task log management module includes: a task log uploading unit connected to the task management controller; a task log query unit and a task log updating unit arranged in parallel with the task log uploading unit.

[0017] Compared with the prior art, the present invention provides a scheduled task management system for program operation on a sanitation cloud platform, which includes: a task management controller; a database connected to the task management controller for storing scheduled task attribute information and scheduled task operation status information; a scheduled task scheduling management module connected to the database; a data program lock module arranged between the scheduled task scheduling management module and the database; a scheduled task execution management module connected to the scheduled task management scheduling module; a task transfer control management module arranged between the scheduled task execution management module and the scheduled task scheduling management module; and a service registration control management module arranged in parallel with the task transfer control management module for registering server nodes. Among them, the database and the data program lock module connected to the database are arranged, and the scheduled task scheduling management module is combined to lock the scheduled task attribute information and the scheduled task operation status information, so as to effectively solve the problem of repeated execution of the scheduled task; secondly, the task transfer control management module and the scheduled task execution management module are used to coordinate the creation, modification, query and operation status update of the scheduled task, so as to improve work efficiency. Compared with the prior art, the technical solution involved in the present invention can solve the problem of repeated execution of scheduled tasks, can uniformly manage the configuration, triggering and execution of scheduled tasks, support dynamic modification of task running status, and improve the reliability and stability of scheduled task running. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 A schematic block diagram of the structure of a scheduled task management system for a sanitation cloud platform program operation provided by an embodiment of the present invention;

[0020] Figure 2 A schematic block diagram of the structure of a data program lock module involved in an embodiment of the present invention;

[0021] Figure 3 It is a schematic block diagram of the structure of a waypoint information analysis and processing module involved in an embodiment of the present invention;

[0022] Figure 4 It is a schematic block diagram of the structure of a waypoint integrated management module involved in an embodiment of the present invention;

[0023] Figure 5A schematic block diagram of the structure of waypoint logic information management involved in an embodiment of the present invention;

[0024] Figure 6 It is a schematic block diagram of the structure of a comprehensive management module for tower inspection points involved in an embodiment of the present invention;

[0025] Figure 7 The present invention is a schematic block diagram of the structure of a route planning management module according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of this application.

[0027] It should be noted that when an element is referred to as being "fixed on" or "set on" another element, it can be directly on the other element or indirectly set on the other element; when an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.

[0028] It should be understood that the terms "length", "width", "up", "down", "front", "back", "first", "second", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0029] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "multiple" and "several" mean two or more, unless otherwise clearly and specifically defined.

[0030] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the conditions under which this application can be implemented. Therefore, they have no substantive technical significance. Any structural modification, change in proportional relationship or adjustment of size should still fall within the scope of the technical content disclosed in this application without affecting the effects and purposes that can be achieved by this application.

[0031] Please Figures 1 to 7 As shown, the sanitation cloud platform program running scheduled task management system provided in the embodiment of the present application includes: a task management controller 1; a database 2 connected to the task management controller 1 and used to store scheduled task attribute information and scheduled task running status information; a scheduled task scheduling management module 4 connected to the database 2; a data program lock module 3 arranged between the scheduled task scheduling management module 4 and the database 2; a scheduled task execution management module 6 connected to the scheduled task scheduling management module 4; a task transfer control management module 5 arranged between the scheduled task execution management module 6 and the scheduled task scheduling management module 4; and a service registration control management module 7 arranged in parallel with the task transfer control management module 5 and used to register server nodes.

[0032] The present invention provides a sanitation cloud platform program running scheduled task management system, which specifically includes: a task management controller 1; a database 2 connected to the task management controller 1 and used to store scheduled task attribute information and scheduled task running status information; a scheduled task scheduling management module 4 connected to the database 2; a data program lock module 3 set between the scheduled task scheduling management module 4 and the database 2; a scheduled task execution management module 6 connected to the scheduled task scheduling management module 4; a task transfer control management module 5 set between the scheduled task execution management module 6 and the scheduled task scheduling management module 4; and a service registration control management module 7 set in parallel with the task transfer control management module 5 and used to register a server node. Among them, the database 2 and the data program lock module 3 connected to the database 2 are set, combined with the scheduled task scheduling management module 4, to lock the scheduled task attribute information and the scheduled task running status information, effectively solving the problem of repeated execution of the scheduled task; secondly, the task transfer control management module 5 and the scheduled task execution management module 6 are used to coordinate the creation, modification, query and running status update of the scheduled task, thereby improving work efficiency. Compared with the prior art, the technical solution involved in the present invention can solve the problem of repeated execution of scheduled tasks, can uniformly manage the configuration, triggering and execution of scheduled tasks, support dynamic modification of task running status, and improve the reliability and stability of scheduled task running.

[0033] Specifically, in an embodiment of the present invention, the data program lock module 3 includes: a logic program shared lock unit 301 for shared locking and read-only the scheduled task and the scheduled task attribute information and running status information; a logic program update lock unit 302 connected to the logic program shared lock unit 301; and a logic program exclusive lock unit 304 arranged in parallel with the logic program update lock unit 302, for exclusively locking and modifying the scheduled task and the scheduled task attribute information and running status information.

[0034] Specifically, in the embodiment of the present invention, the data program lock module 3 further includes: a data update judgment unit 303 connected to the task management controller 1 .

[0035] Specifically, in an embodiment of the present invention, the data update judgment unit 303 is used to judge the running status of the scheduled task; if the running status update of the scheduled task fails, the running status of the scheduled task is: being executed and cannot be executed repeatedly; if the running status update of the scheduled task is successful, the running status of the scheduled task is: not yet executed.

[0036] If the running status of the scheduled task is updated successfully, the scheduled task will trigger the execution control instruction, and combine with the logic program update lock unit 302 and the logic program exclusive lock unit 304 to exclusively lock the scheduled task.

[0037] Specifically, in the embodiment of the present invention, the logic program updates the lock unit 302, which is used to apply before the exclusive lock of the scheduled task to avoid deadlock in the running of the scheduled task.

[0038] Among them, the logic program shared lock unit 301 allows multiple concurrent task control transactions to share and lock the scheduled task and the scheduled task attribute information and running status information; the logic program exclusive lock unit 304, the current task control transaction exclusively locks the scheduled task and the scheduled task attribute information and running status information, and other task control transactions are prohibited from accessing the scheduled task.

[0039] Specifically, in an embodiment of the present invention, the scheduled task scheduling management module 4 includes: a task management module 402 connected to the task management controller 1; a scheduling module 401 connected to the task management module 402 and used to send a scheduling request to the scheduled task execution management module 6; and a task testing module 403 arranged in parallel with the scheduling module 401 and used to perform logic testing on the scheduled task program.

[0040] Specifically, in an embodiment of the present invention, the task management module 402 includes: a scheduled task start and stop control unit 4021 connected to the task management controller 1; a scheduled task creation unit 4022 connected to the scheduled task start and stop control unit 4021; a scheduled task deletion unit 4023, a scheduled task update unit 4024, a scheduled task modification unit 4025 and a scheduled task query unit 4026 arranged in parallel with the scheduled task creation unit 4022.

[0041] The task management module 402 is used to control the creation, modification, update, query of the scheduled task and control the start and stop of the running process of the scheduled task; the scheduling module 401 is used to perform unified configuration management on the scheduled task.

[0042] Specifically, in an embodiment of the present invention, the scheduled task execution management module 6 includes: a task receiving module 601 connected to the task distribution control management module; an executor management module 602 connected to the task receiving module 601; a task execution information update module 603 and a task execution log management module 604 arranged in parallel with the executor management module 602.

[0043] Specifically, in the embodiment of the present invention, the executor management module 602 includes: an executor registration unit 6021 for automatically registering executor nodes; and an executor group management unit 6022 arranged in parallel with the executor registration unit 6021 for adding, deleting and modifying groups.

[0044] Specifically, in the embodiment of the present invention, the task transfer control management module 5 includes: a task classification management unit 501 connected to the scheduled task scheduling management module 4; and a task classification distribution control unit 502 connected to the task classification management unit 501.

[0045] Specifically, in an embodiment of the present invention, the sanitation cloud platform program running scheduled task management system also includes: a task monitoring and alarm module 9 and a task log management module 8 connected to the task management controller 1 .

[0046] Specifically, in an embodiment of the present invention, the task monitoring and alarm module 9 includes: an executor status monitoring and alarm unit 901 connected to the task management controller 1; a task logic test monitoring and alarm unit 902 and a task logic operation monitoring and alarm unit 903 arranged in parallel with the executor status monitoring and alarm unit 901; and a monitoring and alarm instruction transmission unit 904 connected to the executor status monitoring and alarm unit 901, the task logic test monitoring and alarm unit 902 and the task logic operation monitoring and alarm unit 903.

[0047] Specifically, in an embodiment of the present invention, the task log management module 8 includes: a task log uploading unit 801 connected to the task management controller 1; a task log query unit 802 and a task log updating unit 803 arranged in parallel with the task log uploading unit 801.

[0048] To be more specific, at present, more and more enterprise application systems require the system to execute specified business operations at a planned time due to business needs. The demand for scheduled task scheduling is constantly changing with the complexity of the enterprise's business logic. At the beginning, the scale of enterprise development is small and the business logic is simple. At this time, the scheduled tasks can be deployed directly on a single server node, and there is basically no need to control and manage these tasks, and the tasks can be executed smoothly; with the continuous increase in the demand for scheduled tasks, the existing scheduled task management system only deploys a set of scheduled task codes on one server and gradually cannot meet the market demand. At the same time, only one server is running. When a failure occurs, it cannot be handled, and the entire scheduled task will hang or cannot be completed at one time, which will have a serious impact on the business system. In addition, the existing management system cannot uniformly manage and track the operation of scheduled tasks of each service node, and cannot coordinate the implementation of multiple scheduled tasks, and there is a mutual exclusion.

[0049] The sanitation cloud platform program running scheduled task management system involved in the present invention sets the database 2 and the data program lock module 3 connected to the database 2, and combines the scheduled task scheduling management module 4 to lock the scheduled task attribute information and the scheduled task running status information, thereby effectively solving the problem of repeated execution of the scheduled tasks; secondly, using the task transfer control management module 5 and the scheduled task execution management module 6, the creation, modification, query and running status update of the scheduled tasks are comprehensively managed to improve work efficiency.

[0050] As described above, the sanitation cloud platform program running scheduled task management system involved in the embodiment of the present invention uses the scheduled task scheduling management module 4 to control the creation, modification, update, query and start and stop of the scheduled task running process, and uses the database 2 and the logic program shared lock unit 301, the logic program update lock unit 302 and the logic program exclusive lock unit 304 to effectively solve the problem of repeated execution of the scheduled task; using the task classification management unit 501 and the task classification distribution control unit 502, combined with the task receiving module 601, the executor management module 602 and the task execution information update module 603, the scheduled task can be effectively distributed and reasonably classified and executed; using the task monitoring and alarm module 9, the scheduled task operation is monitored throughout the process, and an alarm is immediately issued when an abnormal operation is encountered, effectively improving the reliability and stability of the scheduled task operation. Compared with the prior art, the technical solution involved in the present invention can solve the problem of repeated execution of scheduled tasks, can uniformly manage the configuration, triggering and execution of scheduled tasks, support dynamic modification of task operation status, and improve the reliability and stability of scheduled task operation.

[0051] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A sanitation cloud platform program running timed task management system, characterized in that: include: Task management controller; A database connected to the task management controller and used to store scheduled task attribute information and scheduled task running status information; A scheduled task scheduling management module connected to the database; A data program lock module provided between the scheduled task scheduling management module and the database; A scheduled task execution management module connected to the scheduled task management and scheduling module; The data program lock module includes: a logic program shared lock unit for sharing, locking and reading only the scheduled task and the scheduled task attribute information and running status information; a logic program update lock unit connected to the logic program shared lock unit; a logic program exclusive lock unit connected to the logic program update lock unit and used to exclusively lock and modify the scheduled task and the scheduled task attribute information and running status information; a data update judgment unit connected to the task management controller; The data update judgment unit is used to judge the running status of the scheduled task; if the running status of the scheduled task fails to be updated, the running status of the scheduled task is: being executed and cannot be executed repeatedly; if the running status of the scheduled task is successfully updated, the running status of the scheduled task is: not yet executed; A task transfer control management module is arranged between the scheduled task execution management module and the scheduled task scheduling management module; and a service registration control management module is arranged in parallel with the task transfer control management module and is used to register a server node.

2. The sanitation cloud platform program running timed task management system according to claim 1 is characterized in that: The scheduled task scheduling management module includes: a task management module connected to the task management controller; a scheduling module connected to the task management module and used to send a scheduling request to the scheduled task execution management module; and a task testing module arranged in parallel with the scheduling module and used to perform logic testing on the scheduled task program.

3. The sanitation cloud platform program running timed task management system according to claim 2 is characterized in that: The task management module includes: a scheduled task start and stop control unit connected to the task management controller; a scheduled task creation unit connected to the scheduled task start and stop control unit; a scheduled task deletion unit, a scheduled task update unit, a scheduled task modification unit and a scheduled task query unit arranged in parallel with the scheduled task creation unit.

4. The sanitation cloud platform program running timed task management system according to claim 1, characterized in that: The scheduled task execution management module includes: a task receiving module connected to the task distribution control management module; an executor management module connected to the task receiving module; a task execution information update module and a task execution log management module arranged in parallel with the executor management module.

5. The sanitation cloud platform program running timed task management system according to claim 4 is characterized in that: The executor management module includes: an executor registration unit for automatically registering executor nodes; and an executor group management unit which is arranged in parallel with the executor registration unit and is used for adding, deleting and modifying groups.

6. The sanitation cloud platform program running timed task management system according to claim 1 is characterized in that: The task transfer control management module includes: a task classification management unit connected to the scheduled task scheduling management module; and a task classification distribution control unit connected to the task classification management unit.

7. The sanitation cloud platform program running timed task management system according to claim 1 is characterized in that: The sanitation cloud platform program running scheduled task management system also includes: a task monitoring and alarm module and a task log management module connected to the task management controller.

8. The sanitation cloud platform program running timed task management system according to claim 7 is characterized in that: The task monitoring and alarm module includes: an actuator status monitoring and alarm unit connected to the task management controller; a task logic test monitoring and alarm unit and a task logic operation monitoring and alarm unit arranged in parallel with the actuator status monitoring and alarm unit; and a monitoring and alarm instruction transmission unit connected to the actuator status monitoring and alarm unit, the task logic test monitoring and alarm unit and the task logic operation monitoring and alarm unit.

9. The sanitation cloud platform program running timed task management system according to claim 7, characterized in that: The task log management module includes: a task log uploading unit connected to the task management controller; a task log query unit and a task log updating unit arranged in parallel with the task log uploading unit.

Citation Information

Patent Citations

  • Task scheduling system

    CN104050029A

  • Distributed task scheduling method and system and computer readable storage medium

    CN110569113A

  • Distributed task scheduling method and system

    CN112000445A