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

Multi-task breakpoint debugging method based on improved task scheduling mechanism

A technology of task scheduling and debugging methods, applied in software testing/debugging, program control design, multi-programming devices, etc., can solve problems such as single, unsupported breakpoint debugging function, etc., to improve execution efficiency and reduce breakpoint search effect of time

Active Publication Date: 2019-02-05
NR ELECTRIC CO LTD +1
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, existing industrial control manufacturers often do not support this function or support a single breakpoint debugging function

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
  • Multi-task breakpoint debugging method based on improved task scheduling mechanism
  • Multi-task breakpoint debugging method based on improved task scheduling mechanism
  • Multi-task breakpoint debugging method based on improved task scheduling mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the above content, features and advantages of the present invention clearer and easier to understand, the detailed implementation steps of the present invention will be specifically described below in conjunction with the accompanying drawings.

[0030] The invention is based on the concept of object-oriented software development, and decouples the core computing task of the controller from other tasks. The middle-level language is used to realize the interpretation and execution mechanism, and the control strategy of multi-cycle operation task operation is realized, and it supports multi-category and multi-quantity debugging instructions. The whole scheme mainly includes four parts, namely, establishing the task control block structure, establishing the first-level task control process, establishing the debugging instruction preprocessing process, and establishing the second-level task control process supporting the breakpoint debugging function.

[00...

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 provides a multi-task breakpoint debugging method based on an improved task scheduling mechanism, comprising the following steps: a) according to the coordination and management requirements among multi-operation tasks, a first-level task control block is defined, and one or more first-level task control blocks constitute a first-level task control queue; (b) defining a secondary task control block according to the operation requirement of a single operation task and the storage requirement of breakpoint information; C) Establishment of a first-level task management mechanism among multi-computing tasks; (d) according to the category of breakpoint debugging function, establishing corresponding instruction preprocessing mechanism for each debugging instruction, realizing the conversion of debugging instruction to structured task control description and adding the debugging instruction to the secondary task control block; E) defining a plurality of operation states of the operation tasks, and realizing the conversion between different operation states of the operation tasks. The invention ensures the execution of the operation tasks with high priority and the full utilization of the processor resources to the maximum extent, and realizes the breakpoint debugging function of the control logic.

Description

technical field [0001] The invention belongs to the field of industrial automation control, and in particular provides a multi-task breakpoint debugging method based on an improved task scheduling mechanism, which is used for the software kernel design of a distributed controller in an industrial process control system. Background technique [0002] With the continuous improvement of the industrial production process to the automation level, the DCS / PLC control system has been widely used in various fields. In the occasions where the process is complicated and the real-time and accuracy of the control are high, the distributed controller (hereinafter referred to as the controller) not only needs to have conventional control functions, but also needs to support multiple periodic computing tasks to meet the needs of different objects in the same system. Control requirements. [0003] The complexity of the application scenario directly leads to the increase of the complexity o...

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/48G06F11/36
CPCG06F9/4818G06F11/362G06F11/3644
Inventor 卢海松吴波牛洪海徐卫峰臧峰
Owner NR ELECTRIC 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