Method and apparatus for implementing dynamic loading in embedded real-time operating system

A real-time operating system and dynamic loading technology, applied in the computer field, can solve the problems of large storage space, high memory price, increase system cost, etc., and achieve the effect of cost saving

Active Publication Date: 2009-06-17
JIANGSU DAHAI INTELLIGENT SYST
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The biggest problem with this is that the code storage space required by an application module will be very large; when the application module runs in the embedded system, its code is stored in the memory. In order to store the product code, the memory capacity is relatively large. Large, and the price of memory is usually higher, thus increasing the cost of the overall system

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 and apparatus for implementing dynamic loading in embedded real-time operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Embodiment 1, a method for realizing dynamic loading in an embedded real-time operating system, comprising:

[0043] When the product—that is, the developed application module is running, all codes do not need to run at the same time, so the non-running parts can be stored in relatively cheap external memory, and only the running parts can be stored in memory. Thereby reducing the required memory space. For example, all the codes of an application module originally required 4M of space. The application module is composed of 5 application components (APPs), of which the basic platform occupies 2M of space, and the 5 APPs occupy a total of 2M. After using the method and device of the present invention, only 2M+2M / 5=2.4M space is needed. Of course, apps that are not running also need to be stored, but they can be stored in cheaper external storage, such as: Flash, instead of occupying memory space all the time; only when an application component is to be used, the applica...

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 discloses a method and device for implementing dynamic loading in an embedded type real-time operating system, the method comprises: dividing an application module into a basic platform component and a plurality of application components; operating the basic platform comprising a basic platform component, a database schema defining language DDL component and a real-time operating system RTOS; firstly storing the application components in an external memory by the basic platform; loading the application components from the external memory into the internal memory when the basic platform need call one application component, and operating the application component after translating and editing links; uninstalling the application component from the internal memory by the basic platform, when the application component operation is closed. The invention can save code memory space, reduce product cost and complete more functions on the same code space.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for realizing dynamic loading in an embedded real-time operating system. Background technique [0002] According to the definition of IEEE (International Institute of Electrical Engineers), embedded systems are "devices used to control, monitor, or assist the operation of equipment, machinery or plants" (devices used to control, monitor, or assist the operation of equipment, machinery or plants). This is mainly defined from the application, from which it can be seen that the embedded system is a combination of software and hardware, and can also cover auxiliary devices such as machinery. At present, a generally accepted definition of embedded system in China is: a special-purpose computer centered on applications, based on computer technology, software and hardware can be tailored, and adapted to the strict requirements of application systems for function, reliability...

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/445
Inventor 张华
Owner JIANGSU DAHAI INTELLIGENT SYST
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