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

Event Processing Method of Real-Time Embedded Operating System

An operating system and event processing technology, which is applied in the direction of electrical digital data processing, multi-programming device, program control design, etc., to achieve the effect of accurate selection and expansion of quantity

Active Publication Date: 2021-03-12
烟台大学文经学院
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In order to solve the deficiencies in the prior art, the present invention proposes an event processing method for a real-time embedded operating system. Timing issues brought about; application tasks can wait for multiple event group control blocks at the same time, expanding the number of operating system kernel-level events that tasks can manage

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
  • Event Processing Method of Real-Time Embedded Operating System
  • Event Processing Method of Real-Time Embedded Operating System
  • Event Processing Method of Real-Time Embedded Operating System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0031] The invention includes three basic operations of creating an event group control block, acquiring an event and sending an event.

[0032] First introduce the main data structures, such as figure 1 Shown:

[0033] 1. The event waiting node includes the blocked task ID, specified bit, waiting mode, waiting delay, and the final return result and return state storage of the event acquisition operation.

[0034] The waiting mode includes two logical relationships of "AND" and "OR" and whether to consume events when acquiring events. The "AND" logic relationship indicates that the specified bit is all 1 to meet the condition, and the "OR" logic relationship indicates that one of the specified bits is 1 to meet the condition. Waiting delay refers to how long to wait when the acquisition event operation cannot meet the conditions; if there is...

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 is an event processing method of a real-time embedded operating system. Including three basic operations of creating event group control block, getting event and sending event. When sending an event, if the wait method in the event waiting node specifies the consumption event flag, the acquired event will be immediately cleared in the event value of the event group control block, and the update will be used in the processing of the next event waiting node The event value of the subsequent event group control block. The event group control block is divided into source event group control block and target event group control block. The target event group control block aggregates the source event group control block by associating an event aggregation node with the source event group control block, so as to expand the number of event group control blocks that the task can use at the same time.

Description

technical field [0001] The invention relates to an event processing method of a real-time embedded operating system, belonging to the field of real-time embedded systems. Background technique [0002] Real-time embedded operating systems are widely used in many fields such as industrial automation and aerospace, including two aspects of correct time and correct function. In the field of substation automation, the application range of real-time embedded operating systems has gradually entered from the initial measurement and control devices and automatic devices to protection devices with strict real-time requirements, which shows that the use of real-time embedded operating systems is the development of real-time embedded systems. trend. Event group is an interrupt service program and task provided by real-time embedded operating system, and an important mechanism for synchronization between tasks. The operation mode of many application tasks is based on the time group mec...

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/48G06F9/52
CPCG06F9/4881G06F9/52G06F2209/482G06F2209/484
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