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

Priority processing method and processing device for automatic operation and maintenance task

A technology for operation and maintenance tasks and processing methods, which is applied in multi-programming devices, electrical digital data processing, program startup/switching and other directions, and can solve problems such as task1 execution delay and task2 blocking.

Inactive Publication Date: 2021-02-19
国网宁夏电力有限公司信息通信公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, if task2 and task3 share the critical section at this time, and task3 obtains the mutex, task2 is also blocked, and only task3 can continue to execute. During the execution of task3, tasks with higher priority than task3 can be interrupted The execution of task3 causes the execution of task1 with high priority to be postponed

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
  • Priority processing method and processing device for automatic operation and maintenance task
  • Priority processing method and processing device for automatic operation and maintenance task
  • Priority processing method and processing device for automatic operation and maintenance task

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0075] The first embodiment of the present application proposes a method for prioritizing automated operation and maintenance tasks. figure 1 Shown is a flow chart of the steps of the task priority processing method in the first embodiment of the present application.

[0076] Such as figure 1 As shown, the embodiment of the present application proposes a priority processing method for automated operation and maintenance tasks, the tasks include a first task, a second task, and a third task, and the priority of the first task is higher than that of the first task Two tasks and the third task; the method comprises the steps of:

[0077] S101. When the first task is blocked due to failure to access the first critical section, increase the priority of a second task that shares the first critical section with the first task and is accessing the first critical section;

[0078] In this step, referring to the execution step 9 of the above program 1 and the execution step 5 of the p...

no. 2 example

[0103] The second embodiment of the present application proposes a method for prioritizing automated operation and maintenance tasks. figure 2 Shown is a flow chart of the steps of the task priority processing method in the second embodiment of the present application. Such as figure 2 As shown, the embodiment of the present application proposes a priority processing method for automated operation and maintenance tasks, the tasks include a first task, a second task, and a third task, and the priority of the first task is higher than that of the first task Two tasks and the third task; the method comprises the steps of:

[0104] S201. When the first task is blocked due to failure to access the first critical section, increase the priority of a second task that shares the first critical section with the first task and is accessing the first critical section;

[0105] S202. Determine whether there is a third task that shares the second critical section with the second task an...

no. 3 example

[0129] The third embodiment of the present application proposes a priority processing device for automatic operation and maintenance tasks, image 3 is a block diagram of a task priority processing device according to the third embodiment of the present application. Such as image 3 As shown, the tasks include a first task, a second task and a third task, and the priority of the first task is higher than that of the second task and the third task; the device includes:

[0130] The first priority changing module 301 is configured to, when the first task is blocked due to failure to access the first critical section, increase the task that shares the first critical section with the first task and is accessing the first critical section the priority of the second task;

[0131] Referring to the execution step 9 of the above program 1 and the execution step 5 of the program 2, according to the priority inheritance method, the priority of the second task can be raised to be the s...

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 priority processing method and processing device for an automatic operation and maintenance task. The tasks comprise a first task, a second task and a third task, wherein thepriority of the first task is higher than that of the second task and the third task; the method comprises the following steps of when a first task is blocked due to failure in accessing a first critical zone, increasing the priority of a second task which shares the first critical zone with the first task and is accessing the first critical zone; judging whether a third task which shares a second critical zone with the second task and is accessing the second critical zone exists or not; and when the third task exists, improving the priority of the third task. According to the method, execution of the second task is prevented from being delayed by the third task with low priority, so priority reversal caused by delayed execution of the first task with high priority is avoided.

Description

technical field [0001] The present application relates to the field of automated operation and maintenance information processing, in particular to a method and device for priority processing of automated operation and maintenance tasks. Background technique [0002] In the multi-task concurrent environment of automated operation and maintenance projects, conceptually, multiple tasks are executing at the same time. Specifically, at the level of a single CPU, in fact, only one task is in the execution state at any time; therefore, the operating system needs to decide Which tasks are executed and which tasks are waiting, that is, task scheduling. [0003] Priority inversion is when a high-priority task accesses a shared resource through the semaphore mechanism, the semaphore is already occupied by a low-priority task, thus causing the high-priority task to be blocked by many tasks with lower priority, real-time Difficult to guarantee. [0004] In a multitasking system, the f...

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 Applications(China)
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5038
Inventor 徐悦冯国礼夏琨王圣杰王敏刘俊杨飞王堃施科峰
Owner 国网宁夏电力有限公司信息通信公司
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