CN111414153A - Configurable planned task processing method and device - Google Patents

Configurable planned task processing method and device Download PDF

Info

Publication number
CN111414153A
CN111414153A CN202010231840.4A CN202010231840A CN111414153A CN 111414153 A CN111414153 A CN 111414153A CN 202010231840 A CN202010231840 A CN 202010231840A CN 111414153 A CN111414153 A CN 111414153A
Authority
CN
China
Prior art keywords
task
plan
planning
user
planned
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
CN202010231840.4A
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.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN202010231840.4A priority Critical patent/CN111414153A/en
Publication of CN111414153A publication Critical patent/CN111414153A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a configurable planned task processing method and a configurable planned task processing device, which are displayed by pre-constructing a planned model configuration interface, a user can configure planned tasks on the planned model configuration interface according to the requirements of the user, the configured planned tasks all comprise driving condition items and task execution items, whether one or more target planned tasks meeting the corresponding driving condition items exist is checked by reading at least one planned task configured by the user, and when the one or more target planned tasks exist, task execution items in the target planned tasks are called and executed. According to the scheme, only the planning model configuration interface needs to be constructed in advance to provide a universal configuration platform for the user, the user only needs to meet the requirements of different users on the planning task, the planning task can be customized and designed by directly configuring through the planning model configuration interface, and therefore the workload of designers for realizing the customized design of the user can be reduced.

Description

Configurable planned task processing method and device
Technical Field
The invention relates to the technical field of software, in particular to a configurable planned task processing method and device.
Background
In a software system, it is often necessary to repeatedly execute some program logic according to a certain rule, for example, when a certain time point is reached, the program logic needs to be executed once, or when a certain event occurs, the program logic needs to be executed once. In different software systems or operating environments, requirements of planning tasks have certain differences, software designers often need to design and implement customized design according to specific conditions, and workload is large when the customized design is implemented.
Disclosure of Invention
The embodiment of the invention provides a configurable method and a configurable device for processing a planned task, which are used for reducing the workload of a user in the process of realizing customized design.
In a first aspect, an embodiment of the present invention provides a configurable method for processing a scheduled task, including:
displaying a pre-constructed plan model configuration interface to a user;
acquiring at least one plan task configured by a user according to the plan model configuration interface; each planning task comprises a driving condition item and a task execution item;
reading the at least one planning task configured by the user, and checking whether one or more target planning tasks meeting the corresponding driving condition items exist;
and when the target plan task meeting the corresponding driving condition item is determined to exist in the checking result, calling and executing a task execution item in the target plan task.
Preferably, constructing the planning model configuration interface comprises:
configuring task-driven elements, the driven elements including time-driven and event-driven;
configuring periodic characteristics corresponding to a task running mode when the driving element is time-driven;
configuring the driving element as the frequency corresponding to the task running mode when the event is driven;
configuring a plurality of selectable planning task items;
configuring the selectable driving condition items and/or configuring the input functions of the driving condition items;
and integrating the configuration contents into the same interface for displaying.
Preferably, the planning task further comprises a task running mode;
the checking whether one or more target planning tasks meeting the corresponding driving condition items exist comprises the following steps: checking the plan tasks in the effective state in the read at least one plan task configured by the user, and checking whether one or more target plan tasks meeting the corresponding driving condition items exist in the plan tasks in the effective state;
after the invoking and executing a task execution item in the target planning task, further comprising: and determining whether the planned task needs to be executed next time according to a task running mode included in the planned task, if so, marking the state of the planned task as an effective state, and otherwise, marking the state of the planned task as a failure state.
Preferably, when the target planning task includes a plurality of task execution items, the plurality of task execution items in the target planning task are called and executed simultaneously.
Preferably, further comprising: storing at least one planning task configured by a user according to the planning model configuration interface into an external storage component;
reading from the external storage component each time the step of reading the at least one planned task configured by the user is performed.
In a second aspect, an embodiment of the present invention further provides a configurable scheduled task processing apparatus, including:
the system comprises a plan management module, a plan model configuration interface and a plan task configuration module, wherein the plan management module is used for displaying a pre-constructed plan model configuration interface to a user and acquiring at least one plan task configured by the user according to the plan model configuration interface; each planning task comprises a driving condition item and a task execution item;
the operation timing module is used for reading the at least one plan task configured by the user, checking whether one or more target plan tasks meeting the corresponding driving condition items exist or not, and triggering the service calling module when the target plan tasks meeting the corresponding driving condition items exist in the checking result;
and the service calling module is used for calling and executing the task execution items in the target plan task under the triggering of the running timing module.
Preferably, the plan management module is further configured to construct the plan model configuration interface by configuring:
configuring task-driven elements, the driven elements including time-driven and event-driven;
configuring periodic characteristics corresponding to a task running mode when the driving element is time-driven;
configuring the driving element as the frequency corresponding to the task running mode when the event is driven;
configuring a plurality of selectable planning task items;
configuring the selectable driving condition items and/or configuring the input functions of the driving condition items;
and integrating the configuration contents into the same interface for displaying.
Preferably, the planning task further comprises a task running mode;
when the running timing module checks whether one or more target planning tasks meeting the corresponding driving condition items exist, the running timing module specifically includes: checking the plan tasks in the effective state in the read at least one plan task configured by the user, and checking whether one or more target plan tasks meeting the corresponding driving condition items exist in the plan tasks in the effective state;
and the plan management module is further configured to determine whether the plan task needs to be executed next time according to a task running mode included in the plan task after the task execution item in the target plan task is called and executed, if so, mark the state of the plan task as an effective state, and otherwise, mark the state of the plan task as a failed state.
Preferably, the service invoking module is specifically configured to invoke and execute a plurality of task execution items in the target plan task simultaneously when the target plan task includes a plurality of task execution items.
Preferably, further comprising: the external storage component is used for storing at least one planning task configured by a user according to the planning model configuration interface;
the running timing module reads from the external storage component each time when executing the step of reading the at least one scheduled task configured by the user.
The embodiment of the invention provides a configurable planned task processing method and a configurable planned task processing device, which are displayed by pre-constructing a planned model configuration interface, a user can configure planned tasks on the planned model configuration interface according to the requirements of the user, the configured planned tasks all comprise driving condition items and task execution items, whether one or more target planned tasks meeting the corresponding driving condition items exist is checked by reading at least one planned task configured by the user, and when the one or more target planned tasks exist, task execution items in the target planned tasks are called and executed. According to the scheme, only the planning model configuration interface needs to be constructed in advance to provide a universal configuration platform for the user, the user only needs to meet the requirements of different users on the planning task, the planning task can be customized and designed by directly configuring through the planning model configuration interface, and therefore the workload of designers for realizing the customized design of the user can be reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow diagram of a configurable method for processing scheduled tasks according to one embodiment of the invention;
FIG. 2 is a flow diagram of another configurable method for processing scheduled tasks according to one embodiment of the invention;
FIG. 3 is a diagram illustrating an example of a planned task configuration, according to an embodiment of the invention;
FIG. 4 is a block diagram of a configurable scheduled task processing device according to one embodiment of the invention;
FIG. 5 is a block diagram of another configurable scheduled task processing device, according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a configurable method for processing a scheduled task, where the method may include:
step 101: displaying a pre-constructed plan model configuration interface to a user;
step 102: acquiring at least one plan task configured by a user according to the plan model configuration interface; each planning task comprises a driving condition item and a task execution item;
step 103: reading the at least one planning task configured by the user, and checking whether one or more target planning tasks meeting the corresponding driving condition items exist;
step 104: and when the target plan task meeting the corresponding driving condition item is determined to exist in the checking result, calling and executing a task execution item in the target plan task.
In the embodiment of the invention, a plan model configuration interface is constructed in advance for display, a user can configure plan tasks on the plan model configuration interface according to own requirements, the configured plan tasks all comprise driving condition items and task execution items, whether one or more target plan tasks meeting the corresponding driving condition items exist or not is checked by reading at least one plan task configured by the user, and when the one or more target plan tasks exist, task execution items in the target plan tasks are called and executed. According to the scheme, only the planning model configuration interface needs to be constructed in advance to provide a universal configuration platform for the user, the user only needs to meet the requirements of different users on the planning task, the planning task can be customized and designed by directly configuring through the planning model configuration interface, and therefore the workload of designers for realizing the customized design of the user can be reduced.
In an embodiment of the present invention, in order to implement customized design of a user and meet requirements of different users for planning tasks, a configuration platform needs to be provided for the user to configure, where the following configuration may be performed to construct the planning model configuration interface:
configuring task-driven elements, the driven elements including time-driven and event-driven;
configuring periodic characteristics corresponding to a task running mode when the driving element is time-driven;
configuring the driving element as the frequency corresponding to the task running mode when the event is driven;
configuring a plurality of selectable planning task items;
configuring the selectable driving condition items and/or configuring the input functions of the driving condition items;
and integrating the configuration contents into the same interface for displaying.
The time driving means that a planning task needs to be executed once when a certain time point is reached; event-driven means that a planning task needs to be executed once when a certain event occurs. For example, when the driving element is time-driven, the periodic characteristics of the task operation mode need to be configured, for example, the task operation mode is periodic, and is cycled by day or cycle, and further, for example, the task operation mode is aperiodic, and the task is executed at one time. When the driving element is event-driven, the frequency of the task operation mode needs to be configured, for example, a single time or multiple times, which indicates that after the configured frequency of a certain event occurs and the planning task of the configured frequency is executed, the planning task is in a failure state.
In this embodiment, a plurality of selectable plan task items are configured, and a software developer acquires plan task items that may be required by different users according to big data, so as to perform design development, for example, air conditioner startup, air conditioner refrigeration, light on, light off, and the like. The software developer names each configured planning task item, and when a user uses a planning model configuration interface to configure, the user can directly select the planning task item with the corresponding name according to the requirement, so that the configuration of the planning task is completed.
And configuring a selectable driving condition item, wherein the driving condition item is used for executing a planning task item when the condition occurs, and the driving condition item can be a specific time point or a specific event, for example, a software developer can configure a specific selectable time when configuring the driving condition item, or the selectable event is used by a user when configuring the driving condition item. Since the driving condition items configured by the software developer may not completely satisfy the user selection, in an embodiment of the present invention, the software developer may also configure an input function of the driving condition items, provide an input box, and the user may directly input specific time points or specific event information in the input box.
In one embodiment of the invention, the planning task comprises a task running mode besides a driving condition item and a planning task item, and the task running mode is used for limiting the periodicity characteristic or frequency of the planning task;
when checking whether one or more target planning tasks meeting the corresponding driving condition items exist, the method specifically includes: checking the plan tasks in the effective state in the read at least one plan task configured by the user, and checking whether one or more target plan tasks meeting the corresponding driving condition items exist in the plan tasks in the effective state; the planning task corresponds to state information which is in an effective state or a failure state; when the planning task is executed, the planning task in the effective state set by the user is executed, and the planning task in the failure state is ignored;
therefore, after the task execution item in the target planning task is called and executed, the method may further include: and determining whether the planned task needs to be executed next time according to a task running mode included in the planned task, if so, marking the state of the planned task as an effective state, and otherwise, marking the state of the planned task as a failure state.
In the embodiment, for the planning tasks needing to be executed for multiple times, the user only needs to configure once, and the multiple times of execution of the planning tasks can be automatically realized, so that the workload of the user is reduced, and the user experience is improved.
In an embodiment of the present invention, when configuring a planning task, a user may need to execute a plurality of task execution items under the same driving condition item, and therefore, when configuring, a combination of a plurality of task execution items may also be configured as needed, and when the task execution items included in the target planning task are a plurality of task execution items, the plurality of task execution items in the target planning task are invoked and executed at the same time, thereby meeting the requirements of the user.
In one embodiment of the present invention, in order to implement management of the planning task configured by the user and implement persistent storage of the configuration data, the method may further include: storing at least one planning task configured by a user according to the planning model configuration interface into an external storage component; reading from the external storage component each time the step of reading the at least one planned task configured by the user is performed.
Referring to fig. 2, an embodiment of the present invention describes a configurable planned task processing method by taking a configuration example of actually performing a planned task by a user, where the method may include:
step 201: and constructing a planning model configuration interface.
In this embodiment, the configured planning model configuration interface needs to meet the configuration requirement of the user on the planning task, wherein the driving elements for the planning task mainly include two types, one is time-driven, and the other is event-driven, so that the task driving elements need to be configured first. During configuration, the two driving elements can be configured in the same interface for the user to select.
Further, a task running mode needs to be configured, and when the driving element is time driving, a periodic characteristic corresponding to the task running mode needs to be configured, for example, daily cycle, weekly cycle, and single running are configured; when the driving element is an event element, it is necessary to configure the frequency corresponding to the task running mode, for example, a single time, N times, where N is the maximum number of times that the scheduled task is triggered to execute, and N is an integer not less than 1.
Further, a plurality of planning task items which can be selected are required to be configured, such as air conditioner on, air conditioner cooling, light on, light off and the like. The user can directly select the configuration according to the requirement.
Further, it is also necessary to configure the selectable driving condition items, for example, the time when the configuration details can be selected, or the selectable event for the user to use in the configuration.
Further, in order to meet different requirements of users, a software developer can configure an input function of a driving condition item, and provide an input box, and the user can directly input specific time points or specific event information in the input box.
Step 202: and when the user needs to perform planning task configuration, the planning model configuration interface is displayed to the user.
Step 203: and (4) analyzing the self requirements of the user, and configuring the planning task according to the guide information on the planning model configuration interface.
In this embodiment, the user can analyze the self-demand according to the following steps:
1. analyzing driving elements: whether the scheduled task is driven by time or by event, the embodiment takes time driving as an example, and event driving can refer to time-driven configuration execution process.
2. Analyzing a task running mode: after determining whether the planning task is driven by time, the characteristics of the planning execution period are further analyzed, whether the planning task is aperiodic or periodic. Taking an air conditioner centralized control system in a school as an example, the school generally has a fixed work and rest time arrangement, class is taken at 8 am every morning on monday to friday, class is taken at 12 am, a refrigeration mode of the air conditioner needs to be started at 7:50 am every morning on monday to friday, the air conditioner is turned off at 12:00, and an air conditioner switch is locked to prevent students from operating, so that the scheduled task can be determined to be a periodic schedule, and the task operation mode is from monday to friday.
3. Content analysis of the planning task: including driving condition items and task execution items, where the planning task is divided into fine-grained tasks, for example, planning task 1 may include two task execution items: "air conditioner starts" and "air conditioner refrigerates", its driving condition item is "7: 50", plan task 2 can include two task execution items: the air conditioner is turned off and the infrared locking is carried out, wherein the driving condition items are 12: 00.
Referring to fig. 3, an example of a planned task configuration provided in this embodiment is shown.
Step 204: and storing the configuration content of the user in an external storage component.
The external storage component may be a database or a cloud disk, etc. to ensure persistent storage of user-configured content.
Step 205: the method comprises the steps of reading at least one planning task configured by a user from an external storage component, checking the planning tasks in an effective state, and checking whether one or more target planning tasks meeting corresponding driving condition items exist in the planning tasks in the effective state.
If the planning task needs to be executed, the corresponding state is an effective state, and if the planning task does not need to be executed, the corresponding state is a failure state.
When the plan task reading and checking process is executed, the running timing module which needs to execute the process can be in a self-awakening state, namely, the running timing module needs to be checked once every set time period, for example, once every 1 minute, so as to determine whether a target plan task meeting the corresponding driving condition item exists, and at this time, it is determined that the current time point is 7:50 in Monday morning, the driving condition item meeting the plan task 1 is met, and the plan task 1 is determined to be the target plan task.
Step 206: and when the target plan task meeting the corresponding driving condition item is determined to exist in the checking result, calling and executing a task execution item in the target plan task.
Since the scheduled task 1 includes two task execution items "air-conditioning on" and "air-conditioning cooling", the two task execution items need to be called and executed at the same time. The 'air conditioner starting up' and 'air conditioner refrigerating' are all corresponding execution codes designed in advance by software developers, and the corresponding execution codes are directly called by the service calling module to realize the execution of corresponding task execution items.
Step 207: and determining whether the planned task needs to be executed next time according to a task running mode included in the planned task, if so, marking the state of the planned task as an effective state, and otherwise, marking the state of the planned task as a failure state.
Because the task running mode of the planning task 1 is periodic and needs to be executed next time, after the execution of the planning task 1 is completed, the state of the planning task 1 needs to be still marked as an effective state for the next check and invocation.
The embodiment completes the processes of construction of a planning model configuration interface, configuration of a planning task by a user through the planning model configuration interface, and verification, calling and execution of the configured planning task, so that the planning task can be configured as required by the user, a large amount of customized design workload of software developers is saved, the efficiency is high, and the user experience is better.
Referring to fig. 4, an embodiment of the present invention further provides a configurable scheduled task processing apparatus, including:
the system comprises a plan management module 401, a plan model configuration interface and a plan task configuration module, wherein the plan management module is used for displaying a pre-constructed plan model configuration interface to a user and acquiring at least one plan task configured by the user according to the plan model configuration interface; each planning task comprises a driving condition item and a task execution item;
a running timing module 402, configured to read the at least one plan task configured by the user, check whether there are one or more target plan tasks meeting the corresponding driving condition item, and trigger the service invocation module when it is determined that there are the target plan tasks meeting the corresponding driving condition item in the check result;
the service calling module 403 is configured to call and execute a task execution item in the target plan task under the trigger of the operation timing module.
In an embodiment of the present invention, the plan management module is further configured to construct the plan model configuration interface by configuring:
configuring task-driven elements, the driven elements including time-driven and event-driven;
configuring periodic characteristics corresponding to a task running mode when the driving element is time-driven;
configuring the driving element as the frequency corresponding to the task running mode when the event is driven;
configuring a plurality of selectable planning task items;
configuring the selectable driving condition items and/or configuring the input functions of the driving condition items;
and integrating the configuration contents into the same interface for displaying.
In one embodiment of the invention, the planning task further comprises a task running mode;
when the running timing module checks whether one or more target planning tasks meeting the corresponding driving condition items exist, the running timing module specifically includes: checking the plan tasks in the effective state in the read at least one plan task configured by the user, and checking whether one or more target plan tasks meeting the corresponding driving condition items exist in the plan tasks in the effective state;
and the plan management module is further configured to determine whether the plan task needs to be executed next time according to a task running mode included in the plan task after the task execution item in the target plan task is called and executed, if so, mark the state of the plan task as an effective state, and otherwise, mark the state of the plan task as a failed state.
In an embodiment of the present invention, the service invocation module is specifically configured to invoke and execute a plurality of task execution items in the target planning task simultaneously when the target planning task includes a plurality of task execution items.
Referring to fig. 5, in an embodiment of the present invention, to implement persistent storage of user configuration content, the configurable scheduled task processing device may further include: an external storage component 501, configured to store at least one planning task configured by a user according to the planning model configuration interface;
the running timing module reads from the external storage component each time when executing the step of reading the at least one scheduled task configured by the user.
In summary, the embodiments of the present invention can at least achieve the following advantages:
1. in the embodiment of the invention, a planning model configuration interface is constructed in advance to be displayed, a user can configure planning tasks on the planning model configuration interface according to the requirement of the user, the configured planning tasks all comprise driving condition items and task execution items, whether one or more target planning tasks meeting the corresponding driving condition items exist is checked by reading at least one planning task configured by the user, and when the one or more target planning tasks exist, task execution items in the target planning tasks are called and executed. According to the scheme, only the planning model configuration interface needs to be constructed in advance to provide a universal configuration platform for the user, the user only needs to meet the requirements of different users on the planning task, the planning task can be customized and designed by directly configuring through the planning model configuration interface, and therefore the workload of designers for realizing the customized design of the user can be reduced.
2. In this embodiment, when a planning model configuration interface is constructed, task driving elements are configured, a task operating mode is configured, a plurality of selectable planning task items and driving condition items are configured, so that a user can configure the planning task items and the driving condition items as required without customizing design by a software developer, an input box is provided by configuring an input function of the driving condition items, and the user can directly input specific time points or specific event information in the input box for the driving condition items which are not designed by the software developer, so that the requirements of the user can be met.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
It is noted that, herein, 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 other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A configurable method of processing scheduled tasks, comprising:
displaying a pre-constructed plan model configuration interface to a user;
acquiring at least one plan task configured by a user according to the plan model configuration interface; each planning task comprises a driving condition item and a task execution item;
reading the at least one planning task configured by the user, and checking whether one or more target planning tasks meeting the corresponding driving condition items exist;
and when the target plan task meeting the corresponding driving condition item is determined to exist in the checking result, calling and executing a task execution item in the target plan task.
2. The configurable method of task planning as set forth in claim 1 wherein constructing the planning model configuration interface comprises:
configuring task-driven elements, the driven elements including time-driven and event-driven;
configuring periodic characteristics corresponding to a task running mode when the driving element is time-driven;
configuring the driving element as the frequency corresponding to the task running mode when the event is driven;
configuring a plurality of selectable planning task items;
configuring the selectable driving condition items and/or configuring the input functions of the driving condition items;
and integrating the configuration contents into the same interface for displaying.
3. The configurable planned task processing method of claim 2,
the planning task also comprises a task running mode;
the checking whether one or more target planning tasks meeting the corresponding driving condition items exist comprises the following steps: checking the plan tasks in the effective state in the read at least one plan task configured by the user, and checking whether one or more target plan tasks meeting the corresponding driving condition items exist in the plan tasks in the effective state;
after the invoking and executing a task execution item in the target planning task, further comprising: and determining whether the planned task needs to be executed next time according to a task running mode included in the planned task, if so, marking the state of the planned task as an effective state, and otherwise, marking the state of the planned task as a failure state.
4. The configurable planned task processing method according to claim 1, wherein when the target planned task includes a plurality of task execution items, the plurality of task execution items in the target planned task are invoked and executed at the same time.
5. The configurable method of processing scheduled tasks according to any of claims 1-4, further comprising: storing at least one planning task configured by a user according to the planning model configuration interface into an external storage component;
reading from the external storage component each time the step of reading the at least one planned task configured by the user is performed.
6. A configurable scheduled task processing apparatus, comprising:
the system comprises a plan management module, a plan model configuration interface and a plan task configuration module, wherein the plan management module is used for displaying a pre-constructed plan model configuration interface to a user and acquiring at least one plan task configured by the user according to the plan model configuration interface; each planning task comprises a driving condition item and a task execution item;
the operation timing module is used for reading the at least one plan task configured by the user, checking whether one or more target plan tasks meeting the corresponding driving condition items exist or not, and triggering the service calling module when the target plan tasks meeting the corresponding driving condition items exist in the checking result;
and the service calling module is used for calling and executing the task execution items in the target plan task under the triggering of the running timing module.
7. The configurable planned task processing device of claim 6, wherein the plan management module is further configured to construct the plan model configuration interface by:
configuring task-driven elements, the driven elements including time-driven and event-driven;
configuring periodic characteristics corresponding to a task running mode when the driving element is time-driven;
configuring the driving element as the frequency corresponding to the task running mode when the event is driven;
configuring a plurality of selectable planning task items;
configuring the selectable driving condition items and/or configuring the input functions of the driving condition items;
and integrating the configuration contents into the same interface for displaying.
8. The configurable planned task processing device of claim 7,
the planning task also comprises a task running mode;
when the running timing module checks whether one or more target planning tasks meeting the corresponding driving condition items exist, the running timing module specifically includes: checking the plan tasks in the effective state in the read at least one plan task configured by the user, and checking whether one or more target plan tasks meeting the corresponding driving condition items exist in the plan tasks in the effective state;
and the plan management module is further configured to determine whether the plan task needs to be executed next time according to a task running mode included in the plan task after the task execution item in the target plan task is called and executed, if so, mark the state of the plan task as an effective state, and otherwise, mark the state of the plan task as a failed state.
9. The configurable planned task processing device according to claim 6, wherein the service invocation module is specifically configured to invoke and execute a plurality of task execution items in the target planned task at the same time when the target planned task includes a plurality of task execution items.
10. The configurable scheduled task processing device of any of claims 6-9, further comprising: the external storage component is used for storing at least one planning task configured by a user according to the planning model configuration interface;
the running timing module reads from the external storage component each time when executing the step of reading the at least one scheduled task configured by the user.
CN202010231840.4A 2020-03-27 2020-03-27 Configurable planned task processing method and device Pending CN111414153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010231840.4A CN111414153A (en) 2020-03-27 2020-03-27 Configurable planned task processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010231840.4A CN111414153A (en) 2020-03-27 2020-03-27 Configurable planned task processing method and device

Publications (1)

Publication Number Publication Date
CN111414153A true CN111414153A (en) 2020-07-14

Family

ID=71491520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010231840.4A Pending CN111414153A (en) 2020-03-27 2020-03-27 Configurable planned task processing method and device

Country Status (1)

Country Link
CN (1) CN111414153A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867219A (en) * 2012-09-27 2013-01-09 乐华建科技(北京)有限公司 System and method for automatically scheduling business
CN108762911A (en) * 2018-06-13 2018-11-06 平安科技(深圳)有限公司 Timing task management method, apparatus, computer equipment and storage medium
CN109298951A (en) * 2018-08-21 2019-02-01 平安科技(深圳)有限公司 The execution method and terminal device of Celery task
US20200097920A1 (en) * 2018-09-25 2020-03-26 Salesforce.Com, Inc. Method and system for automatically creating action plans based on an action plan template

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867219A (en) * 2012-09-27 2013-01-09 乐华建科技(北京)有限公司 System and method for automatically scheduling business
CN108762911A (en) * 2018-06-13 2018-11-06 平安科技(深圳)有限公司 Timing task management method, apparatus, computer equipment and storage medium
CN109298951A (en) * 2018-08-21 2019-02-01 平安科技(深圳)有限公司 The execution method and terminal device of Celery task
US20200097920A1 (en) * 2018-09-25 2020-03-26 Salesforce.Com, Inc. Method and system for automatically creating action plans based on an action plan template

Similar Documents

Publication Publication Date Title
CN109313739B (en) System and method for providing visualization of workflow
US7080142B2 (en) Extensible computer management rule engine
US7080105B2 (en) System and method for data backup
US8589884B2 (en) Method and system for identifying regression test cases for a software
CN109359949B (en) Flow display method and device
US20140164961A1 (en) System and method for an extensible workflow management
EP1770619A1 (en) Executable task modeling systems and methods
US20070143761A1 (en) Task scheduler system and method for managing tasks in an embedded system without a real time operating system
Monk Lightweight techniques to encourage innovative user interface design
Chaouche et al. A higher-order agent model with contextual planning management for ambient systems
EP3961523A1 (en) Managing production pipelines
CN113342472A (en) Micro-service cluster creating method and device, electronic equipment and readable storage medium
CN107861766B (en) Application starting method and device and computer readable storage medium
CN109582382A (en) Loading method, device, storage medium and the terminal device of configuration information
CN113190427A (en) Caton monitoring method and device, electronic equipment and storage medium
JPH1115646A (en) Technique information managing system
CN111414153A (en) Configurable planned task processing method and device
US7171656B2 (en) Generic embedded application technology architecture
CN114816389B (en) Management system building method, device, equipment and medium based on meta-model
JP2007241873A (en) Program for monitoring change in computer resource on network
EP2988469A1 (en) A method and apparatus for updating a user interface of one program unit in response to an interaction with a user interface of another program unit
CN103827758A (en) Management system with versatile display
US20180060825A1 (en) System and method for managing applications in the cloud
CN114637564B (en) Data visualization method and device, electronic equipment and storage medium
CN101101547A (en) Dynamic computer system and structure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200714

RJ01 Rejection of invention patent application after publication