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

Method and device for dynamically loading programs of kernel module of embedded type system

An embedded system and kernel module technology, applied in the direction of program control device, program loading/starting, etc., can solve problems affecting production efficiency and so on

Inactive Publication Date: 2015-03-11
AEROSPACE SCI & IND SHENZHEN GROUP
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The object of the present invention is to provide a method and device for dynamically loading programs in embedded system kernel modules, aiming to solve the problems in the prior art that affect the efficiency of production due to the need to distinguish compiled programs

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 device for dynamically loading programs of kernel module of embedded type system
  • Method and device for dynamically loading programs of kernel module of embedded type system
  • Method and device for dynamically loading programs of kernel module of embedded type system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0061] As an implementation manner, the detection module 302 detects whether the single board of the program to be output is the master control board or the slave control board, specifically:

[0062] Obtain the identification number of the single board of the program to be output;

[0063] It is judged according to the identification number whether the single board of the program to be output is the master control board or the slave control board.

[0064] As another implementation manner, the detection module 302 detects whether the single board of the program to be output is the master control board or the slave control board, specifically:

[0065] The type and model generated by the single board that receives the program to be output;

[0066] It is judged according to the type signal whether the single board to output the program is the master control board or the slave control board.

[0067] The compilation module 301 loads the corresponding kernel program to the mai...

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 relates to the technical field of embedded type systems, and provides a method for dynamically loading programs of a kernel module of an embedded type system. The method comprises the following steps of compiling a kernel program for a main control board and a kernel program for an auxiliary control board; detecting whether a single board of a to-be-outputted program is the main control board or the auxiliary control board; when the single board is the main control board, loading the corresponding kernel program into the main control board; when the single board is the auxiliary control board, loading the corresponding kernel program into the auxiliary control board, adopting the dynamic kernel module loading scheme, and detecting the type of the single board, so as to enable the one-time compiling program to run on different single boards of the same hardware platform or on different versions of single boards. The method has the advantages that the version maintenance cost of the kernel programs is reduced, and the development efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of embedded systems, in particular to a method and device for dynamically loading a program of an embedded system kernel module. Background technique [0002] For embedded systems, kernel modules are generally loaded by defining precompiled macros. For example, in LINUX and VXWORKS systems, the kernel module decides whether to compile a particular module into the kernel and load it when the system is running through precompiled macro definitions. Among them, the precompiled macro definition is a static implementation method, and the behavior of the kernel has been determined during the compilation period, and cannot be modified after the compilation is completed. Under the same hardware platform, when there are multiple versions, it is necessary to maintain a set of compilation switches to compile the kernel files of each version separately, and at the same time, the kernel files of each version can only be...

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 AEROSPACE SCI & IND SHENZHEN GROUP
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