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

Dynamic configuration method and device for embedded operating system

An operating system and dynamic configuration technology, applied in the direction of program control device, program loading/starting, program control design, etc., can solve the problems of inability to dynamically change the status and attributes of DTS nodes, poor code maintainability, high product risk, etc., to achieve improvement Time-to-market and development costs, maintenance cost savings and the effect of software development cycles

Pending Publication Date: 2020-05-29
SHANGHAI SUMI TECH CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The DTS (Device Tree Source, device tree source code) in the Kernel (real-time operating system) is usually hard-coded, and the DTS node status and attributes cannot be dynamically changed at runtime.
[0004] An existing solution is to add a board ID to the hardware board, and the software ROM adapts different board IDs to realize that one version of ROM corresponds to multiple boards, but this method is often used for the same project board In the case of updating but little change in requirements, such as hardware changes from EDT to PVT, it is necessary to directly determine the board ID and configuration information in the function code block. Once there are too many configurations, the code will be full of if else judgments. This leads to very poor maintainability of the code and a very high risk product

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
  • Dynamic configuration method and device for embedded operating system
  • Dynamic configuration method and device for embedded operating system
  • Dynamic configuration method and device for embedded operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is some embodiments of the present invention, but not all of them. Based on the implementation manners in the present invention, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. In addition, the singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0016] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic d...

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 provides a dynamic configuration method and device for an embedded operating system, and the method comprises the steps: enabling equipment to start and load a DTS file of a real-time operating system, and storing a mapping table of a function ID and a DTS node in the DTS file; starting configuration information stored in a reserved area on the loading reading board card, analyzing acorresponding function ID, determining corresponding DTS node information according to the function ID configuration, and sending the DTS node information to a real-time operating system of the equipment; and the real-time operating system analyzes the DTS node information and executes a driver of the equipment, and if the driver is matched with the DTS node information and the DTS node state ison, the driver is executed to enable the corresponding function to be on. According to the invention, the maintenance cost of the ROM is saved, and the development period of software is shortened.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of embedded operating systems, in particular to a method and device for dynamically configuring an embedded operating system. Background technique [0002] As the competition in the market becomes more and more fierce, the R&D side of embedded products is faced with two important problems: how to quickly launch products and seize the market. How to reduce the cost of research and development is directly related to the success or failure of the product. [0003] In order to solve the above two problems, public version projects are often launched, that is, the same hardware board is used to match different software and appearance to make different product forms. Although the hardware board can be used for one board, the software generally compiles the corresponding ROM separately for different product requirements. The DTS (Device Tree Source, device tree source code) in the Kerne...

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/4401G06F9/445
CPCG06F9/4406G06F9/44505
Inventor 汪航
Owner SHANGHAI SUMI TECH CO LTD
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