Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for processing planned tasks

A technology for planning tasks and task processing, applied in the direction of multi-programming devices, etc., can solve the problem of low processing efficiency, achieve the effect of improving processing efficiency and saving resource occupancy

Active Publication Date: 2011-11-30
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of this, the present invention provides a method and system for processing planned tasks to solve the problem of low processing efficiency in the case of changing planned tasks in existing solutions. The technical solution is as follows:

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for processing planned tasks
  • Method and system for processing planned tasks
  • Method and system for processing planned tasks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 1 Shown is a flow chart of a method for processing a planned task in the present invention, including the following steps:

[0048] S101. Receive scheduled task information submitted by a user, and cache the scheduled task information;

[0049] Taking the situation mentioned in the background technology as an example, the user wants the system to execute task1 at 10:00, task2 at 11:00, task3 at 13:00, and task4 at 14:00, and input the scheduled task information into the system. The information should at least include the execution time of the task and the specific execution method of the task. After the system receives the scheduled task information submitted by the user, it can cache the information, for example, in the form of text or list. At this time, the task queue of the system is empty, and S102 is further executed.

[0050] S102, according to the execution time of each planned task, add the task with the earliest execution time to the task queue;

[...

Embodiment 2

[0063] This embodiment will describe a processing method for adding a planned task.

[0064] Users can add new scheduled tasks during system operation. When the system receives the user's new scheduled task information, it will compare the running time t0 of the new task with the running time t1 of the first task in the current task queue. If t0 is earlier than t1, the newly added task will be The task is added to the task queue, otherwise, the task information is cached.

[0065] For example, the current task queue is shown in Table 3. The user adds a task task5 that needs to be executed at 10:50. Since the running time of task5 is earlier than the running time of task3 in the current queue, the system will add the information of task5 to In the task queue, as shown in Table 4:

[0066] the moment

Task

10:50

task5

11:00

task2

[0067] Table 4

[0068] The follow-up system can still process according to the steps described in ...

Embodiment 3

[0070] This embodiment will describe a processing method for deleting a scheduled task.

[0071] After the system receives the user's scheduled task deletion information, it processes it according to the following process:

[0072] Determine whether the task to be deleted is a task in the current task queue. If not, directly delete the task information from the cache. If yes, delete the task from the task queue, and further judge whether there are other tasks in the task queue, if yes, do not perform any action, if not, execute S102.

[0073] Assuming that the current task queue is as shown in Table 3, the system receives the instruction to delete task2, and deletes the relevant information of task2 from the task queue. At this time, there are no other tasks in the task queue, so execute S102 and continue to delete the current The task with the earliest execution time in the cache is added to the task queue.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and system for processing planned tasks. A method for processing a scheduled task includes: a) the scheduled task processing system receives the scheduled task information submitted by the user, caches the scheduled task information, and performs step b); b) according to the execution time of each scheduled task in the cache, Add the task with the earliest execution time to the task queue; c) monitor the system clock in real time, and trigger the execution of tasks according to the order of the task queue, when the last task in the task queue is triggered to execute, return to the step b). By applying the technical solution of the present invention, the task queue to be maintained by the system is relatively small, which saves resource occupation. When the user needs to modify the plan, there is no need to repeatedly add and delete the timetable, which effectively improves the processing efficiency of the system.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method and system for processing planned tasks. Background technique [0002] The "task scheduling" service in computer applications allows users to pre-designate the execution time of certain operations or certain programs, and when the corresponding time arrives, the execution of operations or programs is triggered according to the user's arrangement. This service can facilitate users to centrally arrange plans for a period of time in the future at a certain time. The scheduled tasks can be executed automatically without manual intervention, thereby improving the user's work efficiency. On the other hand, it can also serve as reminders and reminders. effect. Currently, many operating systems or application software provide similar services or functions. [0003] In the prior art, when a user needs to arrange multiple planned tasks and submit related requirements to the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46
Inventor 蔡晟
Owner KINGDEE SOFTWARE(CHINA) CO LTD