Modular implement method for operating system of single-chip microcomputer

An operating system and implementation method technology, applied in the direction of program startup/switching, inter-program communication, multi-program device, etc., can solve problems such as error-prone, complicated application program, difficult maintenance, etc. Effect

Inactive Publication Date: 2004-12-29
ZTE CORP
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If all these functions are completed by the application program, the application program will be very complicated and error-prone. At the same time, the expansion of the subsystem is also very troublesome. Every time a subsystem or subsystem function is added, the system structure must be modified. Out of adjustment
In addition, it is also difficult to maintain, after all, the system is too complicated, it comes from both the operating system and the application

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
  • Modular implement method for operating system of single-chip microcomputer
  • Modular implement method for operating system of single-chip microcomputer
  • Modular implement method for operating system of single-chip microcomputer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Firstly, it introduces the realization principle of the operating system in the 8031 / 8051 assembly system, and then introduces the interface provided to the application program and the structure of the application program.

[0043] The steps involved in the diagram are as follows:

[0044] Step 21 Environment initialization

[0045] Step 22: Process the timer data area

[0046] Step 23 judge whether the scheduling queue is empty

[0047] Step 24 judges whether it is a timeout message

[0048] Step 25 judge whether the verification value is correct

[0049] Step 26 Take out the messages in the queue and schedule according to the process scheduling table

[0050] Step 27 returns the message to the free memory management queue

[0051] Step 31 Save the interrupt environment

[0052] Step 32 Find the bytes to be processed in the interrupt task scheduler, and prepare to process the 0th task

[0053] Step 33 judge whether the current task needs to be scheduled

[0054...

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 present invention relates to an implement method for operating system of single-chip microcomputer for controlling sub-system in a control system composed of a main control system and a sub-system, comprising steps of arranging system dispatch to achieve dispatch function of task, dispatching application process by message trigger, meantime achieve management operation of EMS memory buffer for storing message; arranging interrupt process to achieve interrupt process function, dispatching periodicity of the interrupt task during interrupt; arranging timing scan to achieve clock managing function to supply timing and timing cancel service for users; arranging message communication to achieve message communication during the process, and supplying communication between processes in sub-system and communication between processes in main system. The invention greatly reduces complex degree of sub-system, and separates completely the operation system and application program, which greatly improves efficiency of single-chip assembler system as multigrade system of sub-system control.

Description

technical field [0001] The invention relates to the field of communication automation and control, in particular to the realization of operating system and application process in single-chip microcomputer assembly operating system. Background technique [0002] In the field of communication, automation and control, the control of the system is often divided into multi-level control, and the assembly system of the single-chip microcomputer such as 8031 / 8051 is often used as the control of the subsystem to handle the work of the single-board subsystem. In the 8031 / 8051 subsystem, whether its operating system and application structure arrangement is reasonable plays an important role in improving the security and reliability of the subsystem, and can also reduce the complexity of application design, making the application program The implementation is simpler and more readable. [0003] The existing 8031 / 8051 assembly system does not have a ready-made operating system dedicate...

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/48G06F9/54
Inventor 王永新朱西延
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products