CN115840745A - Scheduling method and device based on dynamic form, computer equipment and storage medium - Google Patents

Scheduling method and device based on dynamic form, computer equipment and storage medium Download PDF

Info

Publication number
CN115840745A
CN115840745A CN202211407841.5A CN202211407841A CN115840745A CN 115840745 A CN115840745 A CN 115840745A CN 202211407841 A CN202211407841 A CN 202211407841A CN 115840745 A CN115840745 A CN 115840745A
Authority
CN
China
Prior art keywords
scheduling
dynamic form
instance
dynamic
list
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
CN202211407841.5A
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.)
Chongqing Communication Industry Service Co ltd Zhongran Information Branch
Original Assignee
Chongqing Communication Industry Service Co ltd Zhongran Information Branch
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 Chongqing Communication Industry Service Co ltd Zhongran Information Branch filed Critical Chongqing Communication Industry Service Co ltd Zhongran Information Branch
Priority to CN202211407841.5A priority Critical patent/CN115840745A/en
Publication of CN115840745A publication Critical patent/CN115840745A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a scheduling method, a scheduling device, computer equipment and a storage medium based on a dynamic form, wherein the method comprises the following steps: creating a dynamic form template according to a metadata base table describing a business object model, and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model; generating a flow instance comprising a predefined path according to the service type and the action type of the scheduling list; starting the process instance according to a process scheduling rule to generate a scheduling object instance; and establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path. The invention can automatically generate the corresponding target dynamic form under the condition of adding a new service object model, thereby increasing the flexibility of form design and improving the compatibility and maintainability of the form in different systems.

Description

Scheduling method and device based on dynamic form, computer equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a scheduling method and device based on a dynamic form, computer equipment and a storage medium.
Background
Different business forms are respectively designed according to different business requirements in an enterprise, and the forms interact with a user to realize data acquisition and application; the business form may be data collection and display of a business, collection and pushing of critical information of a workflow, and assignment of a work task.
However, when an enterprise user puts forward a new business requirement, a developer is often required to customize and develop the form based on the business requirement, so that the development workload of a business system is large, the development period is long, and the problem of poor form compatibility exists; and the current task scheduling of the form usually needs manual flow conversion, which not only has low processing efficiency.
Therefore, the task scheduling method of the form in the prior art has the problems of poor compatibility and low efficiency under processing.
Disclosure of Invention
Aiming at the defects in the prior art, the scheduling method, the scheduling device, the computer equipment and the storage medium based on the dynamic form solve the problems of poor compatibility and low processing efficiency of the form task scheduling method in the prior art.
In a first aspect, the present invention provides a scheduling method based on a dynamic form, where the method includes: creating a dynamic form template according to a metadata base table describing a business object model, and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model; generating a scheduling list from the target dynamic form, and generating a flow instance comprising a predefined path according to the service type and the action type of the scheduling list; starting the process instance according to a process scheduling rule to generate a scheduling object instance; and establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
Optionally, creating a dynamic form template from a metadata base table describing the business object model includes: establishing a metadata base table matched with the business object model; generating a corresponding component area according to the field type corresponding to each field name to be displayed in the metadata database table; and combining each field name and the corresponding component area to obtain the dynamic form template.
Optionally, the filling the dynamic form template according to a preset style library and a preset component library to obtain a target dynamic form matched with the business object model, including: acquiring matched components from the preset component library according to the field type corresponding to each field name in the dynamic form template, and filling the components into corresponding component areas to obtain a preprocessed dynamic form; and updating the style of the preprocessed dynamic form according to the preset style library, and adjusting the arrangement sequence of the field names in the preprocessed dynamic form to obtain the target dynamic form.
Optionally, when there are multiple schedules at the same time, before generating a flow instance including a predefined path according to the service type and the action type of the schedule, the method further includes: judging whether a cooperative relationship exists among the scheduling lists or not; when a cooperative relationship exists, taking a scheduling list with the highest priority in the cooperative relationship as a target scheduling list; and monitoring the current scheduling node of the target scheduling list, and converting the next-level scheduling list of the target scheduling list into a process example when the current scheduling node is finished.
Optionally, the method further comprises: judging whether a dependency relationship exists among the scheduling lists; when the dependency relationship exists, acquiring a first scheduling list which is depended on in the dependency relationship, a dependent node in the first scheduling list and a dependent second scheduling list; and monitoring the current scheduling node of the first scheduling list, and converting the second scheduling list into a process instance when the current scheduling node is the dependent node.
In a second aspect, the present invention provides a scheduling apparatus based on dynamic forms, the apparatus including: the dynamic form generation module is used for creating a dynamic form template according to a metadata base table describing a business object model and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model; the flow example generating module is used for generating a scheduling list from the target dynamic form and generating a flow example comprising a predefined path according to the service type and the action type of the scheduling list; the scheduling object instance generating module is used for starting the process instance according to the process scheduling rule to generate a scheduling object instance; and the flow transfer scheduling module is used for establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
Optionally, the dynamic form generating module includes: the metadatabase table establishing module is used for establishing a metadatabase table matched with the business object model; the component area generating module is used for generating corresponding component areas according to the field types corresponding to the field names to be displayed in the metadata database table; and the form template generating module is used for combining each field name and the corresponding component area to obtain the dynamic form template.
Optionally, the dynamic form generation module further includes: the preprocessing dynamic form generation module is used for acquiring matched components from the preset component library according to the field type corresponding to each field name in the dynamic form template and filling the components into corresponding component areas to obtain a preprocessing dynamic form; and the preprocessing dynamic form adjusting module is used for updating the styles of the preprocessing dynamic forms according to the preset style library and adjusting the arrangement sequence of the field names in the preprocessing dynamic forms to obtain the target dynamic forms.
In a third aspect, the present invention provides a computer device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: creating a dynamic form template according to a metadata base table describing a business object model, and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model; generating a scheduling list from the target dynamic form, and generating a flow instance comprising a predefined path according to the service type and the action type of the scheduling list; starting the process instance according to a process scheduling rule to generate a scheduling object instance; and establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
In a fourth aspect, the present invention provides a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of: creating a dynamic form template according to a metadata base table describing a business object model, and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model; generating a scheduling list from the target dynamic form, and generating a flow instance comprising a predefined path according to the service type and the action type of the scheduling list; starting the process instance according to a process scheduling rule to generate a scheduling object instance; and establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
Compared with the prior art, the invention has the following beneficial effects:
1. according to the method and the device, different dynamic form templates are established for different business object models, and the dynamic form templates are adjusted and filled according to the preset style library and the component library to obtain the target dynamic forms matched with different business object models, so that the corresponding target dynamic forms can be automatically generated under the condition of adding new business object models, a developer is not required to customize and develop the forms, the flexibility of form design is improved, and the compatibility and maintainability of the forms in different systems are improved.
2. According to the invention, the target dynamic form for data source filling is used for generating the scheduling list, the scheduling list is converted into the process instance with the predefined path, and the process instance is used for generating the scheduling object instance and then is associated with the scheduling object instance, so that the current scheduling node and the node to be processed can be displayed in the predefined path of the process instance while the scheduling object instance is automatically transferred and scheduled, the problem of low processing efficiency caused by manual transfer is solved, a user can clearly know the whole path and the current link of the dynamic form during task scheduling in a workflow manner, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating a scheduling method based on a dynamic form according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a detailed flow chart of step S101 in FIG. 1;
fig. 3 is a schematic flowchart illustrating a scheduling method based on a dynamic form according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In a first aspect, the present invention provides a scheduling method based on a dynamic form, which specifically includes the following embodiments:
fig. 1 is a schematic flowchart of a scheduling method based on a dynamic form according to an embodiment of the present invention, and as shown in fig. 1, the scheduling method specifically includes the following steps:
step S101, a dynamic form template is established according to a metadata base table describing a business object model, and the dynamic form template is filled according to a preset pattern base and a preset component base, so that a target dynamic form matched with the business object model is obtained.
In this embodiment, as shown in fig. 2, the step S101 specifically includes the following steps:
step S201, a metadata base table matched with the business object model is established;
step S202, generating corresponding component areas according to the field types corresponding to the field names to be displayed in the metadata base table;
step S203, combining each field name and the corresponding component area to obtain the dynamic form template;
step S204, acquiring matched components from the preset component library according to the field type corresponding to each field name in the dynamic form template, and filling the components into corresponding component areas to obtain a preprocessed dynamic form;
and step S205, updating the style of the preprocessed dynamic form according to the preset style library, and adjusting the arrangement sequence of the field names in the preprocessed dynamic form to obtain the target dynamic form.
It should be noted that metadata is generally defined as data describing data, and data for changing the behavior of a program through modification of the data, for example, by modifying contents such as hiding, selecting a control type, a page number, a column number, and the like in the metadata, may result in different display results. The metadatabase table in this embodiment is a collection of metadata including, but not limited to, table name, field type, field size, whether empty, unique, reference value, default value, collaborative table name, dependent node name, dependent table name, and dependent node name.
The business object model in this embodiment is an object model describing implementation of a business use case. The business application model is an abstraction of how business roles and business entities should be connected and cooperated to execute business, and comprises but is not limited to an application business model, a dispatching business model, a sign-off business model, an invitation business model and a refund business model, wherein the application business model comprises application-nature business such as leave-asking business, card-supplementing business, vehicle-using business and the like.
It should be noted that, a corresponding metadata base table is established for each business object model according to a user page input mode, and attribute information such as a display sequence number, a component type, whether to display and list the description, and the like can also be set for each field name; in this embodiment, the field type corresponding to the field name is also a corresponding component type, such as a text box, a drop-down box, a time component, a button, a radio button, a check box, and the like; forming the dynamic form template by each field name to be displayed and the reserved component area; and then selecting components from a preset component library to be placed in corresponding component areas, and carrying out adaptive adjustment on the display sequence and the position relation of the field names to obtain the target dynamic form.
Step S102, generating a scheduling list from the target dynamic form, and generating a process instance including a predefined path according to the service type and the action type of the scheduling list.
In this embodiment, a scheduling list is generated after data source filling is performed on the target dynamic form, for example, when a user needs to submit a leave request, data filling is performed after the target dynamic form corresponding to a leave request service is obtained, so as to obtain a leave request scheduling list corresponding to the leave request service; in this embodiment, a relationship between a service action and a flow template is configured through an initialized configuration rule, a rule parameter is introduced when a flow is started to obtain the flow template, a workflow is called, and a flow entity is generated, where the flow instance includes a predefined path, and the predefined path includes all scheduling nodes, for example, a predefined path of a leave request scheduling list includes a starting node, a direct administration examination and approval node, a department leader examination and approval node, and an administrative examination and approval node.
And step S103, starting the process example according to the process scheduling rule to generate a scheduling object example.
It should be noted that the flow scheduling rule includes, but is not limited to, a flow scheduling rule generated according to a dispatch policy.
Step S104, establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path, so that the current scheduling node and the node to be processed are displayed in the predefined path of the process instance.
It should be noted that the flow example in this embodiment is a display example used for displaying a predefined path, the scheduling object example refers to concrete representation of a service and service instantiation conversion, the service receives analyzed data, instantiates the data as a scheduling object, is an internal example of actual flow in a scheduling process, establishes an association relationship between the flow example and the scheduling object example through a flow engine API, and implements serial, parallel, conditional branch, and rollback flow of each scheduling node in the predefined path through the flow engine API, thereby implementing suspension, reply, and cancellation of services, and implements conditional branch judgment, link jump judgment, exception handling scheduling, and the like through a policy rule, so that a current scheduling node and a node to be processed are displayed in the predefined path of the flow example.
Compared with the prior art, the embodiment has the following beneficial effects:
1. according to the invention, different dynamic form templates are established for different business object models, and the dynamic form templates are adjusted and filled according to the preset style library and the component library to obtain the target dynamic forms matched with different business object models, so that the corresponding target dynamic forms can be automatically generated under the condition of adding new business object models, developers are not required to perform customized development of forms, the flexibility of form design is increased, and the compatibility and maintainability of the forms in different systems are improved.
2. According to the invention, the target dynamic form for data source filling is used for generating the scheduling list, the scheduling list is converted into the process instance with the predefined path, and the process instance is used for generating the scheduling object instance and then is associated with the scheduling object instance, so that the current scheduling node and the node to be processed can be displayed in the predefined path of the process instance while the scheduling object instance is automatically transferred and scheduled, the problem of low processing efficiency caused by manual transfer is solved, a user can clearly know the whole path and the current link of the dynamic form during task scheduling in a workflow manner, and the use experience of the user is improved.
In another embodiment of the present invention, when there are multiple dispatch lists simultaneously, before generating a flow instance including a predefined path according to the service type and the action type of the dispatch list, the method further comprises: judging whether a cooperative relationship exists among the scheduling lists; when a cooperative relationship exists, taking a scheduling list with the highest priority in the cooperative relationship as a target scheduling list; and monitoring the current scheduling node of the target scheduling list, and converting the next-level scheduling list of the target scheduling list into a process example when the current scheduling node is finished.
In yet another embodiment of the present invention, the method further comprises: judging whether a dependency relationship exists among the scheduling lists; when the dependency relationship exists, acquiring a first scheduling list which is depended on in the dependency relationship, a dependent node in the first scheduling list and a dependent second scheduling list; and monitoring the current scheduling node of the first scheduling list, and converting the second scheduling list into a process instance when the current scheduling node is the dependent node.
It should be noted that, in this embodiment, read-through coordination may be performed between multiple scheduling lists, that is, coordination control or dependency control between multiple scheduling lists is controlled according to a business rule. The dependence and the coordination relationship exist among the dispatching lists, namely a certain dispatching list can be started after waiting for the completion of other dispatching lists, and the relationship is called the coordination relationship of the dispatching lists; the key information of a certain scheduling list depends on the results of other scheduling lists, and the relationship is called the dependency relationship of the scheduling lists. Specifically, a plurality of scheduling single controls are controlled by a construction group, and after a process template is configured, a synchronization and dependency strategy can be configured for two service scheduling process nodes in the same process template or between different process templates. So that the two dispatch service flow nodes execute synchronously or wait for dependent execution. And (3) synchronization: the synchronization nodes must be generated together. When the flow A in the group flows to the synchronous node and the flow B in the group does not flow to the synchronous node, the flow A stops flowing, and the synchronous node is generated together when the flow B flows to the synchronous node. Dependence on: the dependent activity instance must be generated when the dependent activity instance is completed. For example, a flow in a group depends on a flow B, then the dependent activity instance of the flow a can only be generated if the dependent activity instance of the flow B is completed.
In a second aspect, the present invention provides an apparatus for scheduling based on a dynamic form, where the apparatus includes: the dynamic form generation module is used for creating a dynamic form template according to a metadata base table describing a business object model and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model; the flow example generating module is used for generating a scheduling list from the target dynamic form and generating a flow example comprising a predefined path according to the service type and the action type of the scheduling list; the scheduling object instance generating module is used for starting the process instance according to the process scheduling rule to generate a scheduling object instance; and the flow transfer scheduling module is used for establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
Optionally, the dynamic form generating module includes: the metadatabase table establishing module is used for establishing a metadatabase table matched with the business object model; the component area generating module is used for generating corresponding component areas according to the field types corresponding to the field names to be displayed in the metadata database table; and the form template generating module is used for combining each field name and the corresponding component area to obtain the dynamic form template.
Optionally, the dynamic form generation module further includes: the preprocessing dynamic form generation module is used for acquiring matched components from the preset component library according to the field type corresponding to each field name in the dynamic form template and filling the components into corresponding component areas to obtain a preprocessing dynamic form; and the preprocessing dynamic form adjusting module is used for updating the styles of the preprocessing dynamic forms according to the preset style library and adjusting the arrangement sequence of the field names in the preprocessing dynamic forms to obtain the target dynamic forms.
As shown in fig. 3, the present embodiment provides another scheduling method based on a dynamic form, including generating a dynamic form, and generating a task scheduling workflow according to the content of the dynamic form; the dynamic form is used for creating a dynamic form template according to metadata describing a business object model, establishing a corresponding style library, a component library, a template library and the like, and establishing a unified model for form loading, form analysis and form data processing; the dynamic form has the functions of flexibly configuring and expanding services, avoiding hard-coded data acquisition and form processing in the system, and improving the maintainability of the system, specifically comprising elements, attributes, ui templates, api, element rules and the like; the business object model is an object model that describes the implementation of business use cases. It is an abstraction of how business roles and business entities should be linked and collaborated to perform a business; the dynamic form can cover most form service scenes, each component can be dynamically configured, and various rules are verified. The method provides triggering calling after selection for selective controls (radio, select, checkbox), supports expressions, supports data linkage function, and can do multi-level linkage through the function. The form style and the field can be flexibly adjusted, the layout mode is diversified, and various layout modes such as grids and forms are provided.
The task scheduling work engine comprises process starting, process scheduling, process cooperation and process query. The process starting refers to generating a process instance according to dynamic matching of the service type, the action and other elements on the scheduling list, scheduling the process, generating the process instance according to the process template, starting the process and starting the process scheduling. The flow module informs the flow scheduling module of the generated flow instance, and the flow scheduling module automatically starts the corresponding flow instance according to the flow scheduling rule. And (4) flow scheduling, namely starting a business flow through a flow engine API, and establishing the association between the flow instance and the scheduling object instance. The serial, parallel, conditional branch and rollback circulation of links are realized through the process engine, and the suspension, recovery and cancellation of services are realized. And conditional branch judgment, link jump judgment, exception handling scheduling and the like are realized through policy rules. And performing circulation scheduling work of the flow example according to the predefined path. And scheduling cooperation, namely controlling cooperative control or dependent control among a plurality of scheduling lists according to the business rules. The dependence and the coordination relationship exist among the dispatching lists, namely a certain dispatching list can be started after waiting for the completion of other dispatching lists, and the relationship is called the coordination relationship of the dispatching lists; the key information of a certain scheduling list depends on the results of other scheduling lists, and the relationship is called the dependency relationship of the scheduling lists. The process query can query basic information, process matching conditions, process configuration conditions and the like of the process by taking the process instance ID and the scheduling list number as query conditions according to the process query function provided by the page.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the following steps when executing the computer program: creating a dynamic form template according to a metadata base table describing a business object model, and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model; generating a scheduling list from the target dynamic form, and generating a flow instance comprising a predefined path according to the service type and the action type of the scheduling list; starting the process instance according to a process scheduling rule to generate a scheduling object instance; and establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
In a fourth aspect, an embodiment of the present invention provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps: creating a dynamic form template according to a metadata base table describing a business object model, and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model; generating a scheduling list from the target dynamic form, and generating a flow instance comprising a predefined path according to the service type and the action type of the scheduling list; starting the process instance according to a process scheduling rule to generate a scheduling object instance; and establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A scheduling method based on a dynamic form is characterized in that the method comprises the following steps:
creating a dynamic form template according to a metadata base table describing a business object model, and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model;
generating a scheduling list from the target dynamic form, and generating a flow instance comprising a predefined path according to the service type and the action type of the scheduling list;
starting the process instance according to a process scheduling rule to generate a scheduling object instance;
and establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
2. The dynamic form-based scheduling method of claim 1 wherein creating a dynamic form template from a meta-database table describing a business object model comprises:
establishing a metadata base table matched with the business object model;
generating a corresponding component area according to the field type corresponding to each field name to be displayed in the metadata base table;
and combining each field name and the corresponding component area to obtain the dynamic form template.
3. The dynamic form-based scheduling method of claim 2, wherein the populating the dynamic form template according to a preset pattern library and a preset component library to obtain a target dynamic form matching the business object model comprises:
acquiring matched components from the preset component library according to the field type corresponding to each field name in the dynamic form template, and filling the components into corresponding component areas to obtain a preprocessed dynamic form;
and updating the style of the preprocessed dynamic form according to the preset style library, and adjusting the arrangement sequence of the field names in the preprocessed dynamic form to obtain the target dynamic form.
4. The dynamic form-based scheduling method of claim 1 wherein when there are multiple schedules simultaneously, prior to generating a flow instance including a predefined path according to the traffic type and the action type of the schedule, the method further comprises:
judging whether a cooperative relationship exists among the scheduling lists;
when the cooperative relationship exists, taking the scheduling list with the highest priority in the cooperative relationship as a target scheduling list;
and monitoring the current scheduling node of the target scheduling list, and converting the next-level scheduling list of the target scheduling list into a process example when the current scheduling node is finished.
5. The dynamic form-based scheduling method of claim 4, wherein the method further comprises:
judging whether a dependency relationship exists among the scheduling lists;
when the dependency relationship exists, acquiring a first scheduling list which is depended on in the dependency relationship, a dependent node in the first scheduling list and a dependent second scheduling list;
and monitoring the current scheduling node of the first scheduling list, and converting the second scheduling list into a process instance when the current scheduling node is the dependent node.
6. An apparatus for scheduling based on dynamic forms, the apparatus comprising:
the dynamic form generation module is used for creating a dynamic form template according to a metadata base table describing a business object model and filling the dynamic form template according to a preset pattern base and a preset component base to obtain a target dynamic form matched with the business object model;
the flow example generating module is used for generating a scheduling list from the target dynamic form and generating a flow example comprising a predefined path according to the service type and the action type of the scheduling list;
the scheduling object instance generating module is used for starting the process instance according to the process scheduling rule to generate a scheduling object instance;
and the flow transfer scheduling module is used for establishing a mapping relation between the process instance and the scheduling object instance, and performing flow transfer scheduling on the scheduling object instance according to a predefined path so as to display the current scheduling node and the node to be processed in the predefined path of the process instance.
7. The dynamic form based scheduling apparatus of claim 6 wherein the dynamic form generation module comprises:
the metadatabase table establishing module is used for establishing a metadatabase table matched with the business object model;
the component area generating module is used for generating corresponding component areas according to the field types corresponding to the field names to be displayed in the metadata database table;
and the form template generating module is used for combining each field name and the corresponding component area to obtain the dynamic form template.
8. The dynamic form-based scheduling apparatus of claim 7 wherein the dynamic form generation module further comprises:
the preprocessing dynamic form generation module is used for acquiring matched components from the preset component library according to the field type corresponding to each field name in the dynamic form template and filling the components into corresponding component areas to obtain a preprocessing dynamic form;
and the preprocessing dynamic form adjusting module is used for updating the styles of the preprocessing dynamic forms according to the preset style library and adjusting the arrangement sequence of the field names in the preprocessing dynamic forms to obtain the target dynamic forms.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 5 are implemented by the processor when executing the computer program.
10. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202211407841.5A 2022-11-10 2022-11-10 Scheduling method and device based on dynamic form, computer equipment and storage medium Pending CN115840745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211407841.5A CN115840745A (en) 2022-11-10 2022-11-10 Scheduling method and device based on dynamic form, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211407841.5A CN115840745A (en) 2022-11-10 2022-11-10 Scheduling method and device based on dynamic form, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115840745A true CN115840745A (en) 2023-03-24

Family

ID=85577064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211407841.5A Pending CN115840745A (en) 2022-11-10 2022-11-10 Scheduling method and device based on dynamic form, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115840745A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115983232A (en) * 2023-03-21 2023-04-18 青岛诺亚信息技术有限公司 Form system based on view and data integrated design
CN116484822A (en) * 2023-06-26 2023-07-25 和创(北京)科技股份有限公司 Form field expression circular dependency calculation method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115983232A (en) * 2023-03-21 2023-04-18 青岛诺亚信息技术有限公司 Form system based on view and data integrated design
CN116484822A (en) * 2023-06-26 2023-07-25 和创(北京)科技股份有限公司 Form field expression circular dependency calculation method and device
CN116484822B (en) * 2023-06-26 2023-09-01 和创(北京)科技股份有限公司 Form field expression circular dependency calculation method and device

Similar Documents

Publication Publication Date Title
CN115840745A (en) Scheduling method and device based on dynamic form, computer equipment and storage medium
CN110751358A (en) Scheduling method for airport ground service personnel, electronic equipment and storage medium
CN110705237B (en) Automatic document generation method, data processing device and storage medium
US20060069605A1 (en) Workflow association in a collaborative application
CN109491777A (en) Task executing method, device, equipment and storage medium
CN113918151A (en) Low-code page development method, device, equipment and storage medium
CN113886362A (en) Data storage system and storage method based on workflow engine and low-code platform
US20040083238A1 (en) Method, system, and storage medium for integrating project management tools
CN112711414B (en) Form interface adaptation display method and device and storage medium
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN112561253A (en) Order assignment method, system, platform and storage medium based on production plan
CN115860451A (en) Flow operation method and device, electronic equipment and storage medium
CN112396322A (en) Production plan-based process technology unit productivity assessment method and system
CN112527286A (en) Service code generation method and device, computer equipment and storage medium
CN103984554A (en) Software design document generating method and device
CN112396323A (en) Production plan-based process sheet distribution method and system
US7076779B2 (en) System for controlling and monitoring a process
CN115048103A (en) Workflow implementation method, device and system
CN110263932A (en) Multi-agent simulation system graphical combination construction method and device
CN113946561A (en) Workflow creating method, device and equipment for data warehouse and storage medium
CN110956025A (en) Method based on process template multiplexing
CN113504955A (en) BPMN-based aerospace workflow management system
CN116909563B (en) Page generation method, terminal device and storage medium
Suryawanshi Optimum scheduling and routing of material through computational techniques
CN117234512B (en) Method, system, electronic equipment and storage medium for rapidly developing business

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