Method and device for processing tasks

A technology for processing tasks and tasks, applied in the computer field, can solve problems such as unachievable existing solutions, task timeout, and affecting subsequent task execution, etc.
CN101719079AInactive Publication Date: 2010-06-02CHINA ELECTRIC POWER RES INST +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA ELECTRIC POWER RES INST
Publication Date
2010-06-02
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and a device for processing tasks. The method comprises following steps of: acquiring tasks to be executed; adding the acquired tasks into an executing queue; monitoring the executing queue; and respectively starting executing task threads for each task while finding that a task is present in the executing queue. The method and the device ensure that the current tasks does not influence tasks behind while executing, and ensure that a plurality of tasks which are executed in the same time are processed synchronously.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of computer technology, in particular to a method and device for processing tasks. Background technique

[0002] With the development of information technology, a large number of information systems have been put into use. In order to meet the orderliness of the work, when a large number of information systems exist, it is necessary to schedule the tasks in these information systems, and then execute these tasks.

[0003] Existing Java applications use a timer framework to schedule tasks. The main thread registers tasks, and the tasks registered by the main thread all have their own execution time. For the frontmost task, if it is judged that the current time does not exceed the execution time of the obtained task, then the task is executed.

[0004] During the research process, the inventor found that the existing scheme for scheduling and executing tasks has at least the following disadvantages: if the exe...

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