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

Method for realizing message response mechanism on embedded computer system

An embedded computer and embedded system technology, applied in the field of computer systems, can solve the problems of restricting application function expansion, deepening the application program level, and difficult to expand functions, etc., to achieve enhanced maintainability and expandability, improved flexibility, and reduced levels effect of depth

Active Publication Date: 2011-03-09
SHANGHAI XIN YUE LIAN HUI ELECTRONICS TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to the variety of embedded systems, the differences in their hardware environments are relatively large, and the software operating environment has greatly changed. When it is necessary to input data through a specified input device and display data through a display screen, it is usually directly scanned. device, obtain the input data of the input device, and execute the corresponding function by judging the data value. When the system function is relatively simple, this processing method can meet the requirements, but with the continuous expansion of the system function, using this method will greatly Deepen the level of the application program, which greatly limits the expansion of application functions and is not convenient for system maintenance and development
Since this processing method basically operates based on data values, the program structure flow belongs to a structured flow and can only be processed according to a pre-specified flow, so it is difficult to expand other functions

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
  • Method for realizing message response mechanism on embedded computer system
  • Method for realizing message response mechanism on embedded computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described below in conjunction with accompanying drawing and specific embodiment:

[0022] After the embedded system is started and the application program obtains the control right, it first initializes the system hardware. In this process, a timer interrupt service program is initialized, and a message loop queue is initialized. The timer interrupt service routine scans the keyboard every fixed time (such as 5ms), and when a key value is obtained, the key value is written into the key value buffer.

[0023] The system defines a series of message processing functions, including the function of getting messages from the message queue, putting messages into the message queue, clearing the message queue, initializing the message queue, pressing the message conversion function, message response function, sending message function, Mail message function, etc., to process related messages of the system.

[0024] Since the system needs to...

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 provides a computer system, resolving the problem of realizing a message response mechanism in an embedded system, characterized in that the application program initializes the system after acquiring the control right, initializing a timer interrupt service program processing a scanning for the appointed input device for a fixed time in the course, and initializing a messagecycle queen; when the system initialization is completed, the system continuously executes the following steps: step 1, establishing a window according to the display need, setting correlation attributes of the window; step 2, executing the cycle function of the newly established window message, entering in the window message cycle, till the window is destroyed and closed. The invention effectively overcomes the fault of the originally structured process application of embedded system, reducing the hierarchy depth of the application program, improving the flexibility of the application program, greatly enhancing maintainability and expansion capability of the application program of the embedded system.

Description

Technical field: [0001] The invention relates to a computer system, in particular to a method for realizing a message response mechanism of an embedded computer system. Background technique: [0002] As the functions of embedded systems become more and more powerful, the applications of embedded systems become more and more extensive. [0003] However, due to the variety of embedded systems, the differences in their hardware environments are relatively large, and the software operating environment has greatly changed. When it is necessary to input data through a specified input device and display data through a display screen, it is usually directly scanned. device, obtain the input data of the input device, and execute the corresponding function by judging the data value. When the system function is relatively simple, this processing method can meet the requirements, but with the continuous expansion of the system function, using this method will greatly Deepening the leve...

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/54
Inventor 蔡向东袁仁翔王文玲
Owner SHANGHAI XIN YUE LIAN HUI ELECTRONICS TECH
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