Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Task running method and device

A task operation and task technology, applied in the field of operating systems, can solve problems such as logic conflicts, system crashes, and delays, and achieve the effects of preventing task conflicts, saving system space, and improving correctness

Active Publication Date: 2020-06-16
HISENSE VISUAL TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, there are many reasons why the last task is not executed, such as delay, terminal time is too long, etc., which may cause its execution time to exceed the expected time
If the previous task has not been executed, the next task will start according to the scheduled time, which will cause logical conflicts between serially executed timing tasks and even cause the system to crash; but if the timing interval is set too long, The execution efficiency of serial tasks will be reduced

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
  • Task running method and device
  • Task running method and device
  • Task running method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. Rather, they are merely examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.

[0047] In order to fully understand this application, many specific details are mentioned in the following detailed description, but those skilled in the art should understand that this application can be implemented without these specific details. In other embodiments, well-known methods, procedures, components, and circuits are not described in detail, so as not to unnecessarily obs...

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

Embodiments of the invention disclose a task running method and apparatus. The method comprises the steps of judging whether process identifier files of other tasks exist or not currently before a target task runs, wherein the process identifier files are identifier files created during task running; if the process identifier files of other tasks do not exist, running the target task; and after the running of the target task is ended, deleting the process identifier file of the target task. According to the technical scheme provided by the method and the apparatus, the next task does not run before the task which is running currently is finished, so that the conflict in task running is avoided and the correctness and efficiency of task running are improved.

Description

Technical field [0001] The invention relates to the technical field of operating systems, in particular to a task running method and device. Background technique [0002] In the LINUX system, different tasks may need to share the same program function module. In this way, if the other tasks start before one of the tasks ends, it is likely to cause conflicts and errors between tasks, thereby affecting the efficiency and efficiency of task execution. Correctness. For example, for multiple serially executed timing tasks, if the timing interval is too short, it is likely that the next task will start before the previous task has been executed. Among them, there are many reasons for the failure of the previous task to be executed, such as delays, excessive terminal time, etc., which may cause its execution time to exceed the expected time. If the previous task has not been executed, the next task is started according to the scheduled time, which will cause logical conflicts between ...

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/48
CPCG06F9/4843
Inventor 陈晓敏孙宝华
Owner HISENSE VISUAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products