Embedded system configuration method based on source code aggregation

An embedded system and configuration method technology, which is applied in the computer field, can solve the problems that the configuration tool lacks the function of automatically detecting the user platform, automatically determines the specific configuration of the software package, and the presentation mode of configuration options is complicated, etc., so as to reduce the amount of code and processor Burden, easy to include path, configure intuitive and easy-to-understand effects

Pending Publication Date: 2019-07-23
宋子杰
View PDF28 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 2. The existing configuration tools lack the function of automatically detecting the user platform, and cannot automatically determine the specific configuration of the software package according to the platform attributes and user needs, which makes it necessary to manually configure the software package item by item, which is very cumbersome
[0005] 3. When the code generated by the existing configuration tool needs to be statically linked, that is, when only one object needs to be operated, a dynamic link interface is still generated. The dynamic link interface refers to an interface that needs to pass in a pointer to the structure of the operated object; this Makes extra useless code generated at compile time, wasting memory space
[0006] 4. Multiple source codes generated by existing configuration tools are processed as different compilation units during compilation, thus losing the opportunity to perform compiler inline optimization inside the module, increasing the size of the code and reducing the execution speed
[0007] 5. The graphical interface of the existing configuration tools is inefficient, either based on the command line interface, or based on multi-level menus and lists, and the presentation of configuration options is very complicated, making it difficult for beginners to configure correctly

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
  • Embedded system configuration method based on source code aggregation
  • Embedded system configuration method based on source code aggregation
  • Embedded system configuration method based on source code aggregation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Embodiment 1; as Figure 10A , Figure 10B , Figure 10C , Figure 10D , Figure 10E and Figure 10F Shown: as figure 2 As shown, the graphical interface module 110 of this project 100 initially selects two software packages, one is the Bluetooth server 120 and the other is the Flash file system 130, and they both have two options of dynamic configuration and static configuration.

[0056] Such as image 3 shown, as Figure 10B The plat_desc embedded platform description file 140 shown, which describes the basic situation of the embedded platform 260, the plat_desc embedded platform has a hardware bluetooth device 150, and two Flash chips 160 and 170; including the following steps:

[0057] Step 300, the user opens the configuration tool, and selects the Bluetooth server 120 and the Flash file system 130 in the graphical interface module 110;

[0058] Step 310, the configuration analyzer module 180 reads the software configuration specified by the user in the g...

Embodiment 2

[0066] Embodiment 2; as Figure 11A , Figure 11B , Figure 11C , Figure 11D , Figure 11E and Figure 11F Shown: as figure 2 As shown, the graphical interface module 410 of 400 has three functions selected by the user, one for touch input 420 , one for wireless connection 430 , and one for data storage 440 . Such as image 3 As shown, there is a plat_desc embedded platform description file 450, which describes the basic conditions and limitations of the embedded platform 460. The plat_desc embedded platform requires that the total power consumption is not higher than 500mW, and the memory capacity is not less than 200MB. Consumption limit; includes the following steps:

[0067] Step 600, the user opens the configuration tool, and selects touch input 420, wireless connection 430 and data storage 440 in the gui_module graphical interface module 410;

[0068] Step 610, the configuration analyzer module 470 reads the software configuration specified by the user in the g...

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 an embedded system configuration method based on source code aggregation. The method comprises the following steps that 1,enabling a user to realize a graphical interface module for inputting configuration information on an interface; step 2, dividing the graphical interface module into at least two logic vertical columns; step 3, enabling the user to input a description file plat_desc of the embedded software platform in the gui_module; step 4, enabling the user to select the required software package and the specific configuration thereof in the graphical interface module gui_module; step 5, configuring an analyzer conf_anal to load a description file plat_ desc of the embedded software platform selected by the user; 6, comprehensively generating a specific configuration file pack_conf of each software package according to the requirement description of the platform resources; step 7, enabling the code_gen of the code generator to read the generated pack_conf;according to the method, the development process of the embedded system is simplified, the quality of the embedded software is improved, and the requirement of embedded system configuration for the knowledge level of professionals is lowered.

Description

technical field [0001] The invention belongs to the technical field of computers, in particular to an embedded system configuration method based on source code aggregation. Background technique [0002] At present, the functions of embedded systems are becoming more and more diversified, the number of software modules used is increasing day by day, and the pressure on the management of software packages is also gradually increasing. The current traditional embedded system configuration method cannot integrate various software packages well, resulting in an exponential increase in engineering complexity. At present, the existing multi-software embedded systems have the following defects: [0003] 1. Each embedded software package contains a large number of small source files. The large number of these small source files poses a huge pressure on the project management of the integrated development environment. For example, when creating a project, these large number of small ...

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): G06F8/71
CPCG06F8/71
Inventor 宋子杰
Owner 宋子杰
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