CN111708625A - Multi-user task execution method, device, equipment and storage medium - Google Patents
Multi-user task execution method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111708625A CN111708625A CN202010547625.5A CN202010547625A CN111708625A CN 111708625 A CN111708625 A CN 111708625A CN 202010547625 A CN202010547625 A CN 202010547625A CN 111708625 A CN111708625 A CN 111708625A
- Authority
- CN
- China
- Prior art keywords
- task
- execution
- executed
- calendar
- time information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000012545 processing Methods 0.000 claims description 24
- 230000000737 periodic effect Effects 0.000 claims description 11
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the application discloses a multi-user task execution method, a multi-user task execution device, a multi-user task execution equipment and a storage medium. The method comprises the following steps: according to the execution requirement information of the user task, a task execution calendar is formulated; acquiring task plans of at least two users, and determining the execution time information of tasks according to the task plans; and determining a task list to be executed according to the task execution calendar, the task plan and the corresponding execution time information, and executing the tasks of at least two users according to the task list to be executed. According to the scheme, the task list to be processed is systematically determined according to the execution time information and the task execution calendar aiming at the differentiated task plans of different users, the automatic ordered execution requirement of multi-user tasks is met, and the execution efficiency of the user tasks is improved.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a multi-user task execution method, a multi-user task execution device, a multi-user task execution equipment and a storage medium.
Background
Nowadays, cloud services are often provided for multiple users at the same time, and many business requirements of the users need to use automated tasks, such as: and automatically synchronizing data, automatically updating data according to business requirements and the like. The service requirement is automatically realized through an automation task, and the manual burden is reduced.
However, at present, tasks for multiple users cannot be systematically processed according to different situations, processing efficiency is low, and the requirement of automatic ordered processing of multiple user diversity tasks cannot be met.
Disclosure of Invention
The embodiment of the application provides a multi-user task execution method, a multi-user task execution device and a multi-user task execution storage medium, and aims to systematically make an execution scheme aiming at a multi-user differentiated task so as to realize ordered execution.
In one embodiment, an embodiment of the present application provides a multi-user task execution method, including:
according to the execution requirement information of the user task, a task execution calendar is formulated;
acquiring task plans of at least two users, and determining the execution time information of tasks according to the task plans;
and determining a task list to be executed according to the task execution calendar, the task plan and the corresponding execution time information, and executing the tasks of at least two users according to the task list to be executed.
In another embodiment, an embodiment of the present application further provides a multi-user task execution apparatus, including:
the task execution calendar making module is used for making a task execution calendar according to the execution requirement information of the user task;
the execution time information determining module is used for acquiring task plans of at least two users and determining the execution time information of the tasks according to the task plans;
and the to-be-executed task list determining module is used for determining the to-be-executed task list according to the task execution calendar, the task plan and the corresponding execution time information, and is used for executing the tasks of at least two users according to the to-be-executed task list.
In another embodiment, an embodiment of the present application further provides an apparatus, including: one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the multi-user task execution method of any one of the embodiments of the present application.
In yet another embodiment, the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the multi-user task execution method according to any one of the embodiments of the present application.
In the embodiment of the application, a task execution calendar is formulated according to the execution requirement information of the user task; determining the execution time information of the task according to the task plan; according to the task execution calendar, the task plan and the corresponding execution time information, the task table to be executed is determined and is used for executing tasks of at least two users according to the task table to be executed, aiming at different task plans of different users, the task table to be processed is systematically determined according to the execution time information and the task execution calendar, the automatic ordered execution requirement of multi-user tasks is met, and the execution efficiency of the user tasks is improved.
Drawings
FIG. 1 is a flow chart of a method for multi-user task execution according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a cloud service application system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a multi-user task execution method according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a multi-user task execution according to another embodiment of the present invention;
FIG. 5 is a block diagram of a multi-user task execution apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a multi-user task execution device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a multi-user task execution method according to an embodiment of the present invention. The multi-user task execution method provided by the embodiment can be applied to the case of executing tasks of multiple users, and particularly can be applied to the case of processing different services of multiple users when the users use cloud services to process services. The method may be specifically performed by a multi-user task execution apparatus, which may be implemented by software and/or hardware, and which may be integrated in a multi-user task execution device. Referring to fig. 1, the method of the embodiment of the present application specifically includes:
and S110, making a task execution calendar according to the execution requirement information of the user task.
The user is a user using the cloud service, and the cloud service can execute tasks of the user, so that service requirements of the user are met, such as data access, data synchronization, data update and the like. The execution requirement information of the user task may be execution date information determined according to the scene of the user task or the application requirement, for example, for a scene with a business requirement only on a weekday, the weekday may be determined as a date for executing the business, and the business does not need to be executed on the weekend.
In the embodiment of the application, in order to efficiently utilize time and implement ordered and reasonable arrangement of services, as shown in fig. 2, a task manager in a cloud service application system may formulate a task execution calendar according to execution requirement information of a user task, label an execution day and a non-execution day, execute a corresponding task if the task is on the execution day, and not execute the corresponding task if the task is on the non-execution day. The execution day may be a cyclic period of one week, specifying which days are task execution days, for example: one week is a cycle period, 1 represents an execution day, 0 represents a non-execution day, and tasks are executed every day in the week: 1111111, only weekdays perform tasks during a week: 1111100, only Tuesday, Quadry, and sixty tasks are performed during the week: 0101010. the above is only an example, and the setting of the specific cycle period, the execution day and the non-execution day may be determined according to actual situations, and is not limited herein.
In the embodiment of the application, the task execution calendar is formulated, so that the reasonable planning of the task execution date is realized, the ordered progress of the tasks is ensured, and the efficiency of task execution is improved.
And S120, acquiring task plans of at least two users, and determining the execution time information of the tasks according to the task plans.
The task plan can be a task that the user needs to execute and a task execution time. The mission plan can be divided into a time point type, a periodic type and a regional time type, and is respectively marked. In the embodiment of the application, the tasks of the user are divided into two types, namely an independent task and a chained task, and for an independent task plan, the task plan can be set to be a time point type, for example: the 10 o' clock execution per day is a time point type. It may be set to a periodic type, for example: the periodic type is performed every 3 minutes. The time-domain setting may be a time-domain setting, which specifies that all the time-domain setting is performed within a certain time period. Expressed in time-minutes-seconds of the day, multi-time period settings are supported, such as: any time, minute and second can be executed: the time period from 0 point to 1 point can be executed: 000000-010000. The working time can be implemented as follows: 090000-113000, 140000-180000. For the chained task plan, a time point type can be set, when the task expires, each node task is executed according to the chained node sequence set by the user, for example: A. b, C the three tasks form a chain task chainTask1, the sequence is set as 1, 2 and 3, the execution time is planned to 9 points, then according to the inquired configuration information, the system triggers the task A of the chainTask1 at 9 points, after the task A is executed, the task B is executed, and after the task B is executed, the task C is executed. If the chain task plan is set to periodic, A, B, C tasks of chainTask1 are triggered sequentially periodically. If the chained task plan is set as a regional time type, the chained task plan can be executed within a specified time period. Likewise, multi-time period settings are supported, expressed in time minutes and seconds of the day. And in the set regional time, according to the task node sequence set by the user, and by combining the actual utilization condition of the system resources, selecting the proper execution time of each node in the time region.
In the embodiment of the present application, since the task plan includes the task that the user needs to execute and the task execution time, as shown in fig. 2, the task manager in the cloud service application system may obtain the execution time information of the task through analysis and analysis of the task plan, where the execution time information is time point type information if the task plan is a time point type task plan, the execution time information is periodic type information if the task plan is a periodic type task plan, and the execution time information is regional time type information if the task plan is regional time type information. The execution time information is determined through the task plan, the execution time of the task can be clearly and intuitively determined, and the task can be timely and orderly processed according to the execution time of the task in the follow-up process.
S130, determining a task list to be executed according to the task execution calendar, the task plan and the corresponding execution time information, and executing the tasks of at least two users according to the task list to be executed.
The to-be-executed task table may be information of the to-be-executed task stored in a structured manner, for example, information of the to-be-executed task in a table form, or information of the to-be-executed task in other forms. And the task execution module is used for executing the tasks of at least two users according to the task table to be executed. For the executed task, as shown in fig. 2, the task executor may delete the record in the pre-execution task table, and store the relevant record of the executed task, such as the task execution state in the database for the convenience of problem query and failed task rerun.
In an embodiment of the present application, the task execution calendar includes an execution day and a non-execution day; correspondingly, according to the task execution calendar, the task plan and the corresponding execution time information, determining a task list to be executed, including: and setting a task corresponding to the execution time information at a time corresponding to the execution time information in each execution day.
For example, if the task plan of the user is a time point type plan, that is, one task is executed at 9 points, and the execution day in the task execution calendar is monday to friday, 9 points of monday to friday are set in the to-be-executed task list to execute the task, so that the task of the user is triggered to be executed in time, and the differentiated tasks of the users can be executed in order and in time.
The execution time information comprises time point type information, periodic type information or regional time type information; correspondingly, according to the task execution calendar, the task plan and the corresponding execution time information, determining a task table to be executed, and after the task table to be executed is used for executing the tasks of at least two users, the method further comprises the following steps: if the execution time information of the tasks of the at least two users is periodic information or regional time information and the task execution time information of the at least two users is the same, monitoring the current use condition of the processing resources; and determining the actual execution time of the tasks of at least two users according to the current use condition.
For example, processing resources for executing a user task may be limited, and if a large number of tasks are processed in a centralized manner, a great pressure may be caused, which affects task execution efficiency, and even it is difficult to ensure that the tasks are executed normally. Therefore, in the embodiment of the present application, for the task plan corresponding to the periodic information or the regional information, the actual execution time of the task can be adaptively adjusted according to the current use condition of the processing resource. For example, task1 and task 2 both need to be completed within a time period from 9 to 11, and if the processing resources from 9 to 10 are monitored to be more stressed, task1 and task 2 can be set to be executed from 10 to 11. The task1 can be executed at 9-10 points, and the task 2 can be executed at 10-11 points, so that reasonable planning and allocation are realized, and the processing efficiency is improved.
In the embodiment of the application, a task execution calendar is formulated according to the execution requirement information of the user task; determining the execution time information of the task according to the task plan; according to the task execution calendar, the task plan and the corresponding execution time information, the task table to be executed is determined and is used for executing tasks of at least two users according to the task table to be executed, aiming at different task plans of different users, the task table to be processed is systematically determined according to the execution time information and the task execution calendar, the automatic ordered execution requirement of multi-user tasks is met, and the execution efficiency of the user tasks is improved.
Fig. 3 is a flowchart of a multi-user task execution method according to another embodiment of the present invention. Details which are not described in detail in the present embodiment are described in the above embodiments. Referring to fig. 3, the multi-user task execution method provided in this embodiment may include:
and S210, making a task execution calendar according to the execution requirement information of the user task.
S220, scanning the task execution calendar and the task plan in the preset period according to the preset period.
For example, as shown in fig. 4, the task scanner may periodically scan the task plan and the task execution calendar within a preset period time period according to a preset period, for example, if the preset period is one week, scan the task execution calendar and the task plan within one week, and determine an execution day and a non-execution day in the task execution calendar, so as to facilitate the subsequent formulation of the to-be-executed task table according to the task execution calendar. The tasks in the generated pre-execution task table can be sequenced according to the sequence of the execution time, so that the task executor can perform task execution operation subsequently according to the sequence.
In this embodiment of the present application, if the number of the task plans is greater than a preset number threshold, scanning a task execution calendar and a task plan within a preset period according to a preset period includes: dividing at least two users into at least two groups; and setting at least two scanning times, and respectively scanning the task plans of at least two groups of users based on the at least two scanning times.
The preset number threshold value can be set according to actual conditions. Illustratively, if the number of task plans of a plurality of users is greater than the preset number threshold, a large number of person plans are scanned at a time, which burdens the task scanner and affects the processing efficiency of the task scanner, and therefore, at least two users may be grouped, and the same number of different scanning times may be set corresponding to the number of the groups, and the task plans of the users may be scanned based on the different scanning times. For example, the users numbered 1-10 scan at 0 point of every Monday, and the users numbered 11-20 scan at 1 point of every Monday, so that the time scanning is staggered, the processing pressure of the task scanner is reduced, and the processing efficiency is improved. After each scanning is finished, the task scanner can be in a dormant state, and the scanning is triggered again in the next scanning period.
In this embodiment of the present application, after determining the task table to be executed according to the task execution calendar, the task plan, and the corresponding execution time information in the preset period, the method further includes: if the task plan and/or the task execution calendar are monitored to be updated, the task plan and/or the task execution calendar are rescanned; and determining to update the tasks to be executed according to the scanned updated task plan and/or the updated task execution calendar, adding the tasks to be executed into the task table to be executed, and deleting the tasks to be executed which are not executed and are generated before the task plan or the task execution calendar is updated.
Illustratively, if the processor monitors that there is an update to the task plan and/or task execution calendar, such as adding a task plan and/or task execution calendar, modifying a task plan and/or task execution calendar, deleting a task plan and/or task execution calendar, etc., the task scanner is triggered to rescan the updated task plan and/or task execution calendar, and generating and updating the task to be executed according to the updated task plan and/or the task execution calendar, adding the updated task to the corresponding execution time in the task table to be executed, thereby realizing the timely update of the processing task table according to the update information, meeting the requirement of the real-time change of the user, and the tasks to be executed which are generated before the task plan or the task execution calendar is updated and are not executed are deleted, so that the repeated execution caused by the repeated execution of the tasks to be executed is avoided.
And S230, acquiring task plans of at least two users, and determining the execution time information of the tasks according to the task plans.
S240, determining a task list to be executed according to the task execution calendar, the task plan and the corresponding execution time information in the preset period, and executing the tasks of at least two users according to the task list to be executed.
And S250, if the task plans of at least two users contain the same task content and different task contents, setting identifications corresponding to the different task contents aiming at the task plans corresponding to the different task contents.
For example, the cloud service is usually provided for a plurality of users to use simultaneously, when designing a data model, there may be a case where the plurality of users share the same database table, and data records of the users are distinguished by user numbers, so that data of the users are guaranteed not to interfere with and affect each other. And when the user creates a task plan and a task execution duration, different user tasks are identified through the input of the user number parameters. If different users have the same task plan but different specific business processing logics, different business processing logics can be met through the business parameters.
And S260, setting a task to execute the task plan with the identifier.
For example: A. the user B needs to delete the message template exceeding the validity period automatically, but the service processing logic of the user A has special requirements: if the message template is created by the administrator, the deletion operation is not performed even if the validity period is exceeded. The message template data table is A, B user shared data table, A, B user can respectively create task plans task A and task B, the two task plans are realized corresponding to the same task, namely, the message template exceeding the validity period is automatically deleted. However, when the task plan of a is created, a manager (administrator) identifier needs to be transmitted, when the task is executed, a special task is identified according to the identifier, and the message template created by the administrator is automatically shielded, so that the special requirement that if the message template created by the administrator is used, the deletion operation is not performed even if the validity period is exceeded is realized.
According to the technical scheme, the task plan can be effectively time-divided and grouped through scanning according to the preset period, the processing efficiency is improved, the task plan in the preset period and the task execution calendar are combined in an orderly mode, the task execution plan is formulated systematically, and the differentiated tasks of a plurality of different users can be executed normally and orderly. In addition, one task is set for executing the task plan containing the same task content, so that the processing efficiency is improved, and the personalized task is specially processed by setting the identification parameters, so that the processing requirements of different users on the differentiated personalized task are met.
Fig. 5 is a schematic structural diagram of a multi-user task execution device according to an embodiment of the present invention. The device can be suitable for the situation of executing tasks of a plurality of users, and particularly can be used for the situation of processing different services of the plurality of users when the users use the cloud service to process the services. The apparatus may be implemented in software and/or hardware, and the apparatus may be integrated in a multi-user task execution device. Referring to fig. 5, the apparatus is configured in a continental central control machine, and specifically includes:
the task execution calendar making module 310 is used for making a task execution calendar according to the execution requirement information of the user task;
the execution time information determining module 320 is configured to obtain task plans of at least two users, and determine execution time information of a task according to the task plans;
and the to-be-executed task table determining module 330 is configured to determine the to-be-executed task table according to the task execution calendar, the task plan and the corresponding execution time information, and execute the tasks of the at least two users according to the to-be-executed task table.
In an embodiment of the present application, the apparatus further includes:
the scanning module is used for scanning a task execution calendar and a task plan in a preset period according to the preset period;
accordingly, the to-be-executed task table determining module 330 includes:
and the task table determining unit is used for determining the task table to be executed according to the task execution calendar, the task plan and the corresponding execution time information in the preset period.
In this embodiment of the application, if the number of the task plans is greater than a preset number threshold, the to-be-executed task table determining module 330 includes:
a grouping unit for grouping at least two users into at least two groups;
and the grouping scanning unit is used for setting at least two scanning times and respectively scanning the task plans of at least two groups of users based on the at least two scanning times.
In an embodiment of the present application, the apparatus further includes:
the update monitoring module is used for rescanning the task plan and/or the task execution calendar if the task plan and/or the task execution calendar are monitored to be updated;
and the updating and adding module is used for determining to update the tasks to be executed according to the scanned updated task plan and/or the updated task execution calendar, adding the updated tasks to the task list to be executed, and deleting the tasks to be executed which are not executed and are generated before the task plan or the task execution calendar is updated.
In the embodiment of the present application, the execution time information includes time point type information, period type information, or regional time type information;
correspondingly, the device further comprises:
the processing resource monitoring module is used for monitoring the current use condition of the processing resources if the execution time information of the tasks of the at least two users is periodic information or regional time information and the task execution time information of the at least two users is the same;
and the actual execution time determining module is used for determining the actual execution times of the tasks of at least two users according to the current use condition.
In an embodiment of the present application, the task execution calendar includes an execution day and a non-execution day;
accordingly, the to-be-executed task table determining module 330 includes:
and the execution day task setting unit is used for setting the task corresponding to the execution time information at the time corresponding to the execution time information in each execution day.
In an embodiment of the present application, the apparatus further includes:
the identification setting module is used for setting identifications corresponding to different task contents aiming at the task plans corresponding to the different task contents if the task plans of at least two users contain the same task contents and different task contents;
and the execution module is used for setting a task to execute the task plan provided with the identifier.
The multi-user task execution device provided by the embodiment of the application can execute the multi-user task execution method provided by any embodiment of the application, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 6 is a schematic structural diagram of a multi-user task execution device according to an embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary device 412 suitable for use in implementing embodiments of the present application. The device 412 shown in fig. 6 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present application.
As shown in fig. 6, the multi-user task execution apparatus 412 may include: one or more processors 416; the memory 428 is used for storing one or more programs, when the one or more programs are executed by the one or more processors 416, the one or more processors 416 are enabled to implement the multi-user task execution method provided by the embodiment of the present application, including:
according to the execution requirement information of the user task, a task execution calendar is formulated;
acquiring task plans of at least two users, and determining the execution time information of tasks according to the task plans;
and determining a task list to be executed according to the task execution calendar, the task plan and the corresponding execution time information, and executing the tasks of at least two users according to the task list to be executed.
The components of the multi-user task execution device 412 can include, but are not limited to: one or more processors or processors 416, a memory 428, and a bus 418 that couples the various device components including the memory 428 and the processors 416.
The multi-user task execution device 412 typically includes a variety of computer device readable storage media. These storage media may be any available storage media that can be accessed by multi-user task execution device 412 and include both volatile and non-volatile storage media, removable and non-removable storage media.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in memory 428, such program modules 442 including, but not limited to, an operating device, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The multi-user task execution device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 426, etc.), with one or more devices that enable a user to interact with the multi-user task execution device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the multi-user task execution device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, the multi-user task execution device 412 can also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) through the network adapter 420. As shown in FIG. 6, network adapter 420 communicates with the other modules of multi-user task execution device 412 via bus 418. It should be appreciated that, although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with the multi-user task execution device 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, and data backup storage devices, among others.
The processor 416 executes various functional applications and data processing by executing at least one of other programs of the plurality of programs stored in the memory 428, for example, to implement a multi-user task execution method provided by the embodiments of the present application.
One embodiment of the present invention provides a storage medium containing computer-executable instructions that, when executed by a computer processor, perform a multi-user task execution method, comprising:
according to the execution requirement information of the user task, a task execution calendar is formulated;
acquiring task plans of at least two users, and determining the execution time information of tasks according to the task plans;
and determining a task list to be executed according to the task execution calendar, the task plan and the corresponding execution time information, and executing the tasks of at least two users according to the task list to be executed.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable storage media. The computer readable storage medium may be a computer readable signal storage medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor device, apparatus, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the present application, a computer readable storage medium may be any tangible storage medium that can contain, or store a program for use by or in connection with an instruction execution apparatus, device, or apparatus.
A computer readable signal storage medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal storage medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution apparatus, device, or apparatus.
Program code embodied on a computer readable storage medium may be transmitted using any appropriate storage medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for multi-user task execution, the method comprising:
according to the execution requirement information of the user task, a task execution calendar is formulated;
acquiring task plans of at least two users, and determining the execution time information of tasks according to the task plans;
and determining a task list to be executed according to the task execution calendar, the task plan and the corresponding execution time information, and executing the tasks of at least two users according to the task list to be executed.
2. The method of claim 1, wherein prior to obtaining mission plans for at least two users and determining execution time information for a mission from the mission plans, the method further comprises:
scanning a task execution calendar and a task plan in a preset period according to the preset period;
correspondingly, according to the task execution calendar, the task plan and the corresponding execution time information, determining a task list to be executed, including:
and determining a task list to be executed according to the task execution calendar, the task plan and the corresponding execution time information in the preset period.
3. The method of claim 2, wherein if the number of task plans is greater than a preset number threshold, scanning task execution calendars and task plans within a preset period according to a preset period comprises:
dividing at least two users into at least two groups;
and setting at least two scanning times, and respectively scanning the task plans of at least two groups of users based on the at least two scanning times.
4. The method of claim 2, wherein after determining the task table to be executed according to the task execution calendar, the task plan and the corresponding execution time information in the preset period, the method further comprises:
if the task plan and/or the task execution calendar are monitored to be updated, the task plan and/or the task execution calendar are rescanned;
and determining to update the tasks to be executed according to the scanned updated task plan and/or the updated task execution calendar, adding the tasks to be executed into the task table to be executed, and deleting the tasks to be executed which are not executed and are generated before the task plan or the task execution calendar is updated.
5. The method of claim 1, wherein the execution time information comprises time point type information, period type information, or region time type information;
correspondingly, according to the task execution calendar, the task plan and the corresponding execution time information, determining a task table to be executed, and after the task table to be executed is used for executing the tasks of at least two users, the method further comprises the following steps:
if the execution time information of the tasks of the at least two users is periodic information or regional time information and the task execution time information of the at least two users is the same, monitoring the current use condition of the processing resources;
and determining the actual execution time of the tasks of at least two users according to the current use condition.
6. The method of claim 1, wherein the task execution calendar includes an execution day and a non-execution day;
correspondingly, according to the task execution calendar, the task plan and the corresponding execution time information, determining a task list to be executed, including:
and setting a task corresponding to the execution time information at a time corresponding to the execution time information in each execution day.
7. The method of claim 1, wherein after determining the list of tasks to be executed based on a task execution calendar, the task plan, and corresponding execution time information, the method further comprises:
if the task plans of at least two users contain the same task content and different task contents, setting identifications corresponding to the different task contents aiming at the task plans corresponding to the different task contents;
and setting a task to execute the task plan with the identifier.
8. A multi-user task execution apparatus, comprising:
the task execution calendar making module is used for making a task execution calendar according to the execution requirement information of the user task;
the execution time information determining module is used for acquiring task plans of at least two users and determining the execution time information of the tasks according to the task plans;
and the to-be-executed task list determining module is used for determining the to-be-executed task list according to the task execution calendar, the task plan and the corresponding execution time information, and is used for executing the tasks of at least two users according to the to-be-executed task list.
9. A multi-user task execution device, the device comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a multi-user task execution method as recited in any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the multi-user task execution method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010547625.5A CN111708625A (en) | 2020-06-16 | 2020-06-16 | Multi-user task execution method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010547625.5A CN111708625A (en) | 2020-06-16 | 2020-06-16 | Multi-user task execution method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111708625A true CN111708625A (en) | 2020-09-25 |
Family
ID=72540428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010547625.5A Pending CN111708625A (en) | 2020-06-16 | 2020-06-16 | Multi-user task execution method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111708625A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286734A (en) * | 2020-12-24 | 2021-01-29 | 深圳市科力锐科技有限公司 | Backup task execution method, device, equipment and storage medium |
CN112564971A (en) * | 2020-12-07 | 2021-03-26 | 广州芯德通信科技股份有限公司 | Tr069 protocol-based automatic batch CPE (customer premise Equipment) management method |
CN115396691A (en) * | 2021-05-21 | 2022-11-25 | 北京金山云网络技术有限公司 | Data stream processing method and device and electronic equipment |
WO2023275588A1 (en) * | 2021-06-28 | 2023-01-05 | Sensetime International Pte. Ltd. | Methods and apparatuses for automatic operational maintenance |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100169146A1 (en) * | 2008-12-30 | 2010-07-01 | International Business Machines Corporation | Automated scheduling of to-do items within a calendar |
CN102193899A (en) * | 2006-11-06 | 2011-09-21 | 戴尔营销美国公司 | System for managing data across a plurality of environments and method thereof |
CN103001850A (en) * | 2012-01-16 | 2013-03-27 | 陈晓亮 | System and method for forwarding messages |
CN103473256A (en) * | 2012-06-06 | 2013-12-25 | 国际商业机器公司 | Defining content retention rules using a domain-specific language |
CN108762911A (en) * | 2018-06-13 | 2018-11-06 | 平安科技(深圳)有限公司 | Timing task management method, apparatus, computer equipment and storage medium |
CN109901920A (en) * | 2019-01-18 | 2019-06-18 | 中国平安财产保险股份有限公司 | Method for scheduling task and device, electric terminal |
CN111126941A (en) * | 2019-11-22 | 2020-05-08 | 泰康保险集团股份有限公司 | Caring plan processing method and device, electronic equipment and storage medium |
CN111143043A (en) * | 2019-12-02 | 2020-05-12 | 天津同阳科技发展有限公司 | Scheduled task processing method, device, equipment and medium based on Quartz service |
CN111212102A (en) * | 2019-11-29 | 2020-05-29 | 泰康保险集团股份有限公司 | Task push management method, device and system, storage medium and electronic equipment |
-
2020
- 2020-06-16 CN CN202010547625.5A patent/CN111708625A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102193899A (en) * | 2006-11-06 | 2011-09-21 | 戴尔营销美国公司 | System for managing data across a plurality of environments and method thereof |
US20100169146A1 (en) * | 2008-12-30 | 2010-07-01 | International Business Machines Corporation | Automated scheduling of to-do items within a calendar |
CN103001850A (en) * | 2012-01-16 | 2013-03-27 | 陈晓亮 | System and method for forwarding messages |
CN103473256A (en) * | 2012-06-06 | 2013-12-25 | 国际商业机器公司 | Defining content retention rules using a domain-specific language |
CN108762911A (en) * | 2018-06-13 | 2018-11-06 | 平安科技(深圳)有限公司 | Timing task management method, apparatus, computer equipment and storage medium |
CN109901920A (en) * | 2019-01-18 | 2019-06-18 | 中国平安财产保险股份有限公司 | Method for scheduling task and device, electric terminal |
CN111126941A (en) * | 2019-11-22 | 2020-05-08 | 泰康保险集团股份有限公司 | Caring plan processing method and device, electronic equipment and storage medium |
CN111212102A (en) * | 2019-11-29 | 2020-05-29 | 泰康保险集团股份有限公司 | Task push management method, device and system, storage medium and electronic equipment |
CN111143043A (en) * | 2019-12-02 | 2020-05-12 | 天津同阳科技发展有限公司 | Scheduled task processing method, device, equipment and medium based on Quartz service |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112564971A (en) * | 2020-12-07 | 2021-03-26 | 广州芯德通信科技股份有限公司 | Tr069 protocol-based automatic batch CPE (customer premise Equipment) management method |
CN112564971B (en) * | 2020-12-07 | 2022-02-22 | 广州芯德通信科技股份有限公司 | Tr069 protocol-based automatic batch CPE (customer premise Equipment) management method |
CN112286734A (en) * | 2020-12-24 | 2021-01-29 | 深圳市科力锐科技有限公司 | Backup task execution method, device, equipment and storage medium |
CN112286734B (en) * | 2020-12-24 | 2021-06-11 | 深圳市科力锐科技有限公司 | Backup task execution method, device, equipment and storage medium |
CN115396691A (en) * | 2021-05-21 | 2022-11-25 | 北京金山云网络技术有限公司 | Data stream processing method and device and electronic equipment |
WO2023275588A1 (en) * | 2021-06-28 | 2023-01-05 | Sensetime International Pte. Ltd. | Methods and apparatuses for automatic operational maintenance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111708625A (en) | Multi-user task execution method, device, equipment and storage medium | |
CN109582466B (en) | Timed task execution method, distributed server cluster and electronic equipment | |
KR100509794B1 (en) | Method of scheduling jobs using database management system for real-time processing | |
CN108090731A (en) | A kind of information processing method and equipment | |
CN109284180B (en) | Task scheduling method and device, electronic equipment and storage medium | |
CN110471754B (en) | Data display method, device, equipment and storage medium in job scheduling | |
CN111061798B (en) | Configurable data transmission and monitoring method, equipment and medium | |
CN110427258B (en) | Resource scheduling control method and device based on cloud platform | |
CN111143043B (en) | Scheduled task processing method, device, equipment and medium based on Quartz service | |
CN109144697B (en) | Task scheduling method and device, electronic equipment and storage medium | |
CN112631919B (en) | Contrast test method, device, computer equipment and storage medium | |
US20160224393A1 (en) | System and method of distributing processes stored in a common database | |
CN113312161A (en) | Application scheduling method, platform and storage medium | |
CN109117141A (en) | Simplify method, apparatus, the electronic equipment, computer readable storage medium of programming | |
CN113220431A (en) | Cross-cloud distributed data task scheduling method, device and storage medium | |
CN114356521A (en) | Task scheduling method and device, electronic equipment and storage medium | |
CN115185697A (en) | Cluster resource scheduling method, system, equipment and storage medium based on kubernets | |
US20210365275A1 (en) | Automated task management techniques | |
CN114168297A (en) | Method, device, equipment and medium for scheduling collection tasks | |
WO2024119930A1 (en) | Scheduling method and apparatus, and computer device and storage medium | |
US20180341521A1 (en) | Managing job schedules | |
US20050065992A1 (en) | Restricting resources consumed by ghost agents | |
CN112783604B (en) | PaaS-based application scheduling and workflow arrangement method and system | |
CN114675954A (en) | Task scheduling method and device | |
CN111400003A (en) | Task processing method and device |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220916 Address after: 12 / F, 15 / F, 99 Yincheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 200120 Applicant after: Jianxin Financial Science and Technology Co.,Ltd. Address before: 25 Financial Street, Xicheng District, Beijing 100033 Applicant before: CHINA CONSTRUCTION BANK Corp. Applicant before: Jianxin Financial Science and Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right |