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

Space-determined task scheduling method

A task scheduling and space technology, applied in the direction of responding to the generation of errors, multi-programming devices, program control devices, etc., can solve problems such as difficult inspection, and achieve the effect of satisfying strong real-time, improving efficiency and security.

Active Publication Date: 2015-06-17
AVIC NO 631 RES INST
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The commonly used operating systems in the embedded field include linux, ucOS, vxWorks, etc. These operating systems provide operating system elements and APIs such as multitasking and semaphores, but these elements can basically be dynamically created and maintained, and the number of them is constantly changing , Handles are discretely distributed in the memory, making it difficult to check if the references to these operating system elements are abnormal; especially once the data structure area is damaged, the error often spreads to a certain extent in the application before it is discovered

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] A space-determined task scheduling method, which uses a pre-statically defined method to determine the space size of the code area and data area during the compilation process. After loading into the memory through the startup loading process, the initial physical address and size of the code area and data area space All can be determined statically, and security protection mechanisms such as read-write access control are adopted for this area to avoid writing access to data such as configuration data, image files, and interrupt vector tables. At the same time, the task scheduler isolates the specific code area and data area, including the definite address space starting with zero, task control block, task stack space, semaphore control block and other elements, to avoid zero pointer, handle error reference, stack overflow , data access out of bounds, task ID wrong reference to access to a special area, and use the corresponding interrupt and service routines to take ove...

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

A space-determined task scheduling method comprises the steps that firstly, the spatial sizes of code areas and the spatial sizes of data areas are determined in the compilation process in the mode of conducting definition statically in advance; secondly, after internal storage is loaded by starting the loading process, the start physical addresses and sizes of the spaces of the code areas and the spaces of the data areas are determined statically; thirdly, safety protection is conducted on the code areas and the data areas through a safety protection mechanism, and writing access for configuration data, mapping files and an interruption vector table of the code areas and the data areas is avoided; fourthly, the specific code areas and the specific data areas are isolated; fifthly, abnormities triggered through access are taken over by an interruption and service routine, and error spreading is avoided. According to the space-determined task scheduling method, protection on an illegal pointer can be enhanced, the situation of collapsing of core data of a task scheduler can be found and positioned as soon as possible, and the safety of task scheduler platform software can be further improved.

Description

technical field [0001] The invention belongs to the field of computer operating system platform software, and relates to a space-determined task scheduling method, in particular to a task scheduler with fixed number of elements (tasks, semaphores, etc.), fixed handle space, code space and data space. Recovery methods for isospace determination and error checking. Background technique [0002] The commonly used operating systems in the embedded field include linux, ucOS, vxWorks, etc. These operating systems provide operating system elements and APIs such as multitasking and semaphores, but these elements can basically be dynamically created and maintained, and the number of them is constantly changing , The handles are discretely distributed in the memory, which makes it difficult to check if the references to these operating system elements are abnormal; especially once the data structure area is damaged, the error often spreads to a certain extent in the application before...

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/46G06F9/445G06F11/07
Inventor 邱征牛文生田莉蓉黄韬王红春陈长胜牟明于峰
Owner AVIC NO 631 RES INST
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