A visual multi-machine scheduling system based on workflow

Through a workflow-based visual multi-machine scheduling system, it provides an intuitive operation interface and functional agents, solving the problems of insufficient ease of use and scalability of the existing system, achieving high reliability and stability, and adapting to changes in business needs. ability.

CN118312296BActive Publication Date: 2024-08-23MOPAI SPACE (TIANJIN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410740833.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-08-23
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

The existing multi-machine scheduling system has deficiencies in ease of use, scalability, stability and fault detection and recovery, making it difficult for users to quickly understand and configure the system, and the system is difficult to adapt to new application scenarios and needs. Failures may affect the entire system. stable operation.

Method used

A visual multi-machine scheduling system based on workflow is adopted to provide an intuitive operation interface through the WEB page, process background management and scheduling workflow, and functional agents abstract equipment operations to achieve visual arrangement and remote control of equipment functions, reducing development difficulty and improving System maintainability and scalability.

Benefits of technology

It improves the ease of use, flexibility, scalability and stability of the system, making it easy for non-professionals to operate. The system can quickly adapt to changes in business needs, ensure high reliability and stability, lower the technical threshold, and expand the Application scope.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118312296B
    Figure CN118312296B
Patent Text Reader

Abstract

The present invention relates to a workflow-based visualized multi-machine scheduling system, the system comprising: a WEB page, a process background, a functional agent and a device; a user initiates a task through a WEB page, the process background service receives and processes these tasks, and then calls the functional interface of the device through the functional agent to finally realize the execution of the task. The entire system has high cohesion, and each functional module has clear responsibilities and is easy to maintain and expand. At the same time, the system also fully considers the constraints of the implementation technology to ensure the reliability and convenience of the system. The technology of the present invention shows significant advantages in terms of ease of use, flexibility, scalability, convenience, reliability, stability, etc., and provides an efficient, flexible, stable and easy-to-use solution for the field of multi-machine scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of multi-machine scheduling systems, and in particular to a workflow-based visualized multi-machine scheduling system. Background Art

[0002] With the continuous development of science and technology, the functions of equipment and systems are becoming more and more complex, and a multi-machine scheduling system that can quickly and efficiently orchestrate equipment functions is needed. Multi-machine scheduling systems usually involve the collaborative work of multiple machines or equipment, and the system structure and process are relatively complex. This leads to a high learning curve for users when designing and configuring scheduling tasks, and it is difficult to quickly understand and master the operation and configuration of the system. Existing multi-machine scheduling systems are usually designed for specific application scenarios and requirements, and their scalability is limited. With the changes in business needs and the development of technology, the system may find it difficult to adapt to new application scenarios and requirements. The failure of any node or device in the multi-machine scheduling system may affect the stable operation of the entire system. Existing systems may have deficiencies in fault detection, prevention and recovery, and cannot guarantee high reliability and stability. Summary of the invention

[0003] In view of the above problems, the present invention aims to provide a workflow-based visual multi-machine scheduling system, which improves the system's usability, convenience, flexibility, scalability, reliability, stability and other aspects by solving the shortcomings of the prior art.

[0004] To achieve the above object, the present invention provides the following technical solutions:

[0005] A workflow-based visualized multi-machine scheduling system, the system comprising:

[0006] WEB page, which is the main interface for users to interact with the system. Users can visually arrange device functions through WEB pages and monitor the execution status of the process. WEB pages provide an intuitive operation interface, allowing users to quickly iterate new device services composed of device functions without writing or writing less code.

[0007] The process backend is the core part of the system and is responsible for managing and scheduling the entire workflow. It receives visual orchestration instructions from users and converts them into actual task scheduling. The process backend also needs to handle various events and exceptions during the process execution to ensure the reliability and stability of the process.

[0008] Function proxy is a middleware used to implement the proxy of device functions. Through service class interface and tool class interface, function proxy abstracts complex device operations, allowing users to visually arrange them in a simple and intuitive way on the WEB page; this greatly reduces the difficulty of system development and improves the maintainability and scalability of the system;

[0009] Devices are entities that actually perform tasks. Through functional agents, devices are abstracted into reusable functional units, which can be freely combined on WEB pages to meet different business needs. The system implements remote control and task scheduling of devices by calling the functional interfaces of devices.

[0010] As a further technical solution of the present invention, a method for building a business process background service includes the following steps:

[0011] S101: Start; the starting point of the entire business process, the operation of the process background service starts here;

[0012] S102: Ensure that the Springboot project can be started normally and operate normally;

[0013] S103: Introduce the Maven dependency of activiti; Maven is activiti is an open source workflow engine, which provides a complete business process management solution, it provides a complete business process management solution;

[0014] S104: Start the project again; verify whether the activiti workflow engine is correctly integrated into the Springboot project, and ensure that the process background service is started and operates normally;

[0015] S105: Check whether the database query table structure is generated;

[0016] Among them, after completing the integration of the Activiti workflow engine and the normal startup of the process background service, it is necessary to check whether the table structure in the database has been generated, check the table structure in the database, including table name, field, and data type, to ensure that they match the requirements of the Activiti workflow engine, and by checking whether the database query library table structure is generated, ensure that the process background service correctly processes data and interacts with other systems at runtime.

[0017] As a further technical solution of the present invention, a method for building a business process visual arrangement includes the following steps:

[0018] S201: Start; the starting point of the entire business process, where the visual orchestration operation begins.

[0019] S202: VUE project start: Before starting visual choreography, you need to start the VUE project. VUE is a front-end framework used to build user interfaces and single-page applications.

[0020] S203: Introduce process orchestration components; introduce tools or components for process design and orchestration. These components usually provide a graphical interface, allowing users to intuitively create and edit business processes by dragging, connecting, etc.

[0021] S204: Write component support services: After the process orchestration component is introduced, the component support services need to be written. This service is to support the normal operation of the process orchestration component and provide necessary functions. It usually involves backend programming and API interface development.

[0022] S205: Restart the VUE project; after writing the component support service, you need to restart the VUE project to make the new support service take effect. During the development process, restarting the project is a common operation to ensure that all changes have been correctly loaded and applied;

[0023] S206: Login verification: After restarting the VUE project, login verification is required. This is to ensure that only authorized users can access and edit business processes. Login verification usually involves the processing of usernames, passwords, and authentication mechanisms;

[0024] S207: End. The construction of the visual arrangement is completed.

[0025] As a further technical solution of the present invention, a method for building a convenient business process intervention includes the following steps:

[0026] S301: Start; this is the starting point of the entire business process, and convenient intervention operations begin here.

[0027] S302: Write a functional proxy class: Before starting the convenient intervention, you need to write a functional proxy class. This class is a tool for implementing the convenient intervention function, which provides various operations and commands to intervene and manage tasks.

[0028] S303: Arrange functions: After writing the function proxy class, you need to arrange the functions. This step involves combining different functions and operations to form a complete workflow so that you can effectively intervene and manage the tasks.

[0029] S304: Save and call the function: After arranging the function, it is necessary to save and call the function, which includes deploying the function proxy class to the system and ensuring that they can be called and executed correctly.

[0030] S305: Pause, resume and cancel the task; it allows the user to pause, resume and cancel the task being executed. These operations allow the user to flexibly adjust the execution process of the task according to the actual situation to meet different needs and conditions.

[0031] S306: End. The convenient intervention ends.

[0032] The terms involved in the present invention are explained as follows:

[0033] Workflow: A series of interrelated and automated tasks and activities to achieve a specific business goal or process. It is often used to describe the automation and standardization of business processes to improve efficiency and quality.

[0034] Visualization: The process of converting data, information, and knowledge into visual form so that it can be more intuitively presented and explained. Visualization can be presented through graphs, charts, images, and other visual elements.

[0035] Multi-machine scheduling system: A computer system used to manage and optimize task scheduling and resource allocation for multiple computers or devices. It can allocate tasks based on different priorities, resource availability, and constraints to improve overall performance and efficiency.

[0036] Orchestration: By combining and scheduling different modules, components or services, a predetermined logical process or task execution sequence is achieved. The goal of orchestration is to ensure that each module, component or service is executed according to specific rules and conditions to achieve the purpose of completing the overall task.

[0037] Service class interface: A type of application program interface that defines the communication specifications between the client and the server to achieve data exchange and function calls. It provides a standardized way for different systems and applications to interact and integrate through these interfaces.

[0038] Tool class interface: A special type of interface that provides a set of common methods or functions for a tool class or framework so that other classes or modules can use the functions of these tool classes or frameworks. Tool class interfaces usually define some commonly used tool methods, such as string processing, date processing, encryption and decryption, etc. By implementing the tool class interface, other classes or modules can call these tool methods, thereby simplifying code writing and reducing duplication of work.

[0039] WEB page: usually refers to a web page on the Internet, which is part of a web application. Web pages use Hypertext Markup Language (HTML) to define their content and structure, and use CSS to define their style. Web pages usually contain text, images, videos, audio, and other media content, which users can view and interact with through a web browser.

[0040] Vue is a progressive JavaScript framework for building user interfaces. It uses a component-based development approach, with each component having its own HTML, CSS, and JavaScript. Vue also provides functions such as directives and data binding, allowing developers to more easily manipulate DOM and bind data. Vue's design philosophy is to apply layer by layer from the bottom up, making it easy to get started and easy to integrate with third-party libraries or existing projects.

[0041] Spring Boot: is a framework for creating independent, production-level Spring applications. It simplifies the configuration and deployment of Spring applications and provides many out-of-the-box features and plug-ins.

[0042] Spring: is an open source Java application framework for building enterprise-level applications. It provides a lightweight development environment that makes it easier for developers to build scalable, flexible, and maintainable applications. The Spring framework covers various aspects such as dependency injection, AOP, web development, data access, messaging, etc.

[0043] High cohesion: refers to the close relationship and high functional correlation between the elements (such as classes, methods, etc.) within a module or component. High cohesion means that the elements within a module or component jointly implement a specific function and are highly interdependent. Modules or components with high cohesion are easier to understand, maintain, and extend.

[0044] Activiti: An open source enterprise-level workflow engine for building and executing various complex workflows.

[0045] Functional proxy class: A design pattern whose purpose is to encapsulate some functionality in a proxy class to simplify access to and use of the original object. A functional proxy class usually represents another object and provides additional functionality that can be an enhancement, modification, or encapsulation of the original object. By using a functional proxy class, access to the original object can be better managed and controlled, while also making it easy to extend and modify the functionality of the object. This design pattern is very common in software design and can help improve the maintainability and extensibility of the code.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] Ease of use: By abstracting and encapsulating the underlying technical details, the technology of the present invention enables non-professionals to easily perform multi-machine scheduling operations, thereby lowering the technical threshold and expanding the application scope of the system.

[0048] Flexibility and scalability: The workflow-based visual multi-machine scheduling system uses service interfaces, tool interfaces, and web pages to implement the proxy and visual arrangement of device functions, so that new device services composed of device functions can be quickly iterated. This flexibility enables the system to quickly adapt to changing business needs.

[0049] Convenience, reliability and stability: The system is designed with special attention to the balance between convenience and reliability, ensuring that while meeting various functional requirements, it can also provide stable performance. This makes the technology of the present invention more usable and maintainable in a complex multi-machine environment.

[0050] In summary, compared with the existing technology, the technology of the present invention shows significant advantages in ease of use, flexibility, scalability, convenience, reliability, stability, etc., and provides an efficient, flexible, stable and easy-to-use solution for the field of multi-machine scheduling. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a flow chart of a method for building business process background services in a workflow-based visual multi-machine scheduling system.

[0052] Figure 2 This is a flowchart of a method for building a visual orchestration of business processes in a workflow-based visual multi-machine scheduling system.

[0053] Figure 3 This is a flow chart of a method for building convenient intervention in business processes in a workflow-based visual multi-machine scheduling system.

[0054] Figure 4 This is a system structure diagram of a workflow-based visual multi-machine scheduling system. DETAILED DESCRIPTION

[0055] The technical solution of this patent is further described in detail below in conjunction with specific implementation methods.

[0056] See also Figure 4 As an embodiment of the present invention, a workflow-based visualized multi-machine scheduling system is provided, the system comprising:

[0057] S401: WEB page, which is the main interface for users to interact with the system. Users can visually arrange device functions through the WEB page and monitor the execution status of the process. The WEB page provides an intuitive operation interface, allowing users to quickly iterate new device services composed of device functions without writing or writing less code.

[0058] S402: Process backend, which is the core part of the system and is responsible for managing and scheduling the entire workflow. It receives the user's visual arrangement instructions and converts them into actual task scheduling. The process backend also needs to handle various events and exceptions during the process execution to ensure the reliability and stability of the process.

[0059] S403: Function proxy, which is a middleware used to implement the proxy of device functions. Through service class interfaces and tool class interfaces, the function proxy abstracts complex device operations, allowing users to visually arrange them in a simple and intuitive way on the WEB page; this greatly reduces the difficulty of system development and improves the maintainability and scalability of the system;

[0060] S404: Device, which is the entity that actually executes the task. Through the function proxy, the device is abstracted into reusable functional units, which are freely combined on the WEB page to meet different business needs. The system realizes remote control and task scheduling of the device by calling the functional interface of the device.

[0061] The system of the present invention completes the proxy of device functions through service class interfaces, tool class interfaces, and WEB pages, and visually arranges the device functions to achieve rapid iteration of new device services composed of device functions without writing code or with very little code.

[0062] Users initiate tasks through WEB pages, the process background service receives and processes these tasks, and then calls the functional interface of the device through the functional agent to finally realize the execution of the task. The entire system has high cohesion, each functional module has clear responsibilities, and is easy to maintain and expand. At the same time, the system also fully considers the constraints of the implementation technology to ensure the reliability and convenience of the system.

[0063] See also Figure 1 In this embodiment, a method for building a business process background service in a workflow-based visual multi-machine scheduling system includes the following steps:

[0064] S101: Start; the starting point of the entire business process, the operation of the process background service starts here;

[0065] S102: Ensure that the Springboot project can be started normally and operate normally;

[0066] S103: Introduce the Maven dependency of activiti; Maven is activiti is an open source workflow engine, which provides a complete business process management solution, it provides a complete business process management solution;

[0067] S104: Start the project again; verify whether the activiti workflow engine is correctly integrated into the Springboot project, and ensure that the process background service is started and operates normally;

[0068] S105: Check whether the database query table structure is generated;

[0069] Among them, after completing the integration of the Activiti workflow engine and the normal startup of the process background service, it is necessary to check whether the table structure in the database has been generated, check the table structure in the database, including table name, field, and data type, to ensure that they match the requirements of the Activiti workflow engine, and by checking whether the database query library table structure is generated, ensure that the process background service correctly processes data and interacts with other systems at runtime.

[0070] See also Figure 2 In this embodiment, a method for building a business process visualization arrangement in a workflow-based visualization multi-machine scheduling system includes the following steps:

[0071] S201: Start; the starting point of the entire business process, where the visual orchestration operation begins.

[0072] S202: VUE project start: Before starting visual choreography, you need to start the VUE project. VUE is a front-end framework used to build user interfaces and single-page applications.

[0073] S203: Introduce process orchestration components; introduce tools or components for process design and orchestration. These components usually provide a graphical interface, allowing users to intuitively create and edit business processes by dragging, connecting, etc.

[0074] S204: Write component support services: After the process orchestration component is introduced, the component support services need to be written. This service is to support the normal operation of the process orchestration component and provide necessary functions. It usually involves backend programming and API interface development.

[0075] S205: Restart the VUE project; after writing the component support service, you need to restart the VUE project to make the new support service take effect. During the development process, restarting the project is a common operation to ensure that all changes have been correctly loaded and applied;

[0076] S206: Login verification: After restarting the VUE project, login verification is required. This is to ensure that only authorized users can access and edit business processes. Login verification usually involves the processing of usernames, passwords, and authentication mechanisms;

[0077] S207: End. The construction of the visual arrangement is completed.

[0078] See also Figure 3 In this embodiment, a method for building a convenient business process intervention in a workflow-based visual multi-machine scheduling system includes the following steps:

[0079] S301: Start; this is the starting point of the entire business process, and convenient intervention operations begin here.

[0080] S302: Write a functional proxy class: Before starting the convenient intervention, you need to write a functional proxy class. This class is a tool for implementing the convenient intervention function, which provides various operations and commands to intervene and manage tasks.

[0081] S303: Arrange functions: After writing the function proxy class, you need to arrange the functions. This step involves combining different functions and operations to form a complete workflow so that you can effectively intervene and manage the tasks.

[0082] S304: Save and call the function: After arranging the function, it is necessary to save and call the function, which includes deploying the function proxy class to the system and ensuring that they can be called and executed correctly.

[0083] S305: Pause, resume and cancel the task; it allows the user to pause, resume and cancel the task being executed. These operations allow the user to flexibly adjust the execution process of the task according to the actual situation to meet different needs and conditions.

[0084] S306: End. The convenient intervention ends.

[0085] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.

[0086] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A workflow-based visual multi-machine scheduling system, characterized in that: The system comprises: WEB page, users can visually arrange device functions through WEB page and monitor the execution status of the process; WEB page provides an intuitive operation interface, allowing users to quickly iterate new device services composed of device functions without writing or writing less code; The process backend is responsible for managing and scheduling the entire workflow. It receives the user's visual orchestration instructions and converts them into actual task scheduling. The process backend also needs to handle various events and exceptions during the process execution to ensure the reliability and stability of the process. Function proxy is used to implement the proxy of device functions. Through service interface and tool interface, function proxy abstracts complex device operations, allowing users to visually arrange them in a simple and intuitive way on the WEB page; Devices are abstracted into reusable functional units through functional agents, which can be freely combined on the WEB page to meet different business needs; the system can realize remote control and task scheduling of devices by calling the functional interface of the devices; The method for building the business process background service in the visual multi-machine scheduling system includes the following steps: S101: Start; S102: Ensure that the Springboot project can start normally; S103: Introduce the Maven dependency of activiti; Maven is activiti is an open source workflow engine, which provides a complete business process management solution, it provides a complete business process management solution; S104: Start the project again; verify whether the activiti workflow engine is correctly integrated into the Springboot project, and ensure that the process background service is started and operates normally; S105: Check whether the database query table structure is generated; Among them, after completing the integration of the Activiti workflow engine and the normal startup of the process background service, it is necessary to check whether the table structure in the database has been generated, check the table structure in the database, including the table name, field, and data type, to ensure that they match the requirements of the Activiti workflow engine, and by checking whether the database query library table structure is generated, ensure that the process background service correctly processes data and interacts with other systems at runtime; The method for building a convenient business process intervention in a visual multi-machine scheduling system includes the following steps: S301: Start; S302: Write a function proxy class. Before starting the convenient intervention, write a function proxy class. This class is a tool for implementing the convenient intervention function. It provides various operations and commands to intervene and manage tasks. S303: Arrange functions: After writing the function proxy class, you need to arrange the functions; combine different functions and operations to form a complete workflow, so as to effectively intervene and manage the tasks; S304: Save and call the function: After arranging the function, it is necessary to save and call the function, which involves deploying the function proxy class to the system and ensuring that it can be called and executed correctly; S305: Pause, resume and cancel the task; the user is allowed to pause, resume and cancel the task being executed; S306: Convenient intervention ends.

2. According to the workflow-based visual multi-machine scheduling system of claim 1, it is characterized in that: The method for building a visual orchestration of business processes in a visual multi-machine scheduling system includes the following steps: S201: Start; S202: VUE project launch; Before starting visual orchestration, you need to launch the VUE project; VUE is a front-end framework used to build user interfaces and single-page applications; S203: Introducing process orchestration components: Introducing components for process design and orchestration, which usually provide a graphical interface to enable users to intuitively create and edit business processes; S204: Writing component support services: After the process orchestration component is introduced, the component support services need to be written. The purpose of writing component support services is to support the normal operation of the process orchestration component and provide necessary functions. S205: Restart the VUE project; after writing the component support service, you need to restart the VUE project to make the new support service take effect; S206: Login verification; after restarting the VUE project, login verification is required; S207: The construction of the visual arrangement is completed.