CN118012494B - Embedded software configuration management and multiplexing system and method - Google Patents

Embedded software configuration management and multiplexing system and method Download PDF

Info

Publication number
CN118012494B
CN118012494B CN202410396206.4A CN202410396206A CN118012494B CN 118012494 B CN118012494 B CN 118012494B CN 202410396206 A CN202410396206 A CN 202410396206A CN 118012494 B CN118012494 B CN 118012494B
Authority
CN
China
Prior art keywords
module
code
configuration
remote
configurable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410396206.4A
Other languages
Chinese (zh)
Other versions
CN118012494A (en
Inventor
苗壮
范建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Dingxin Communication Power Engineering Co ltd
Qingdao Tuowei Technology Co.,Ltd.
Qingdao Zhidian New Energy Technology Co ltd
Qingdao Topscomm Communication Co Ltd
Original Assignee
Qingdao Dingxin Communication Power Engineering Co ltd
Qingdao Topscomm Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Dingxin Communication Power Engineering Co ltd, Qingdao Topscomm Communication Co Ltd filed Critical Qingdao Dingxin Communication Power Engineering Co ltd
Priority to CN202410396206.4A priority Critical patent/CN118012494B/en
Publication of CN118012494A publication Critical patent/CN118012494A/en
Application granted granted Critical
Publication of CN118012494B publication Critical patent/CN118012494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of embedded software, and discloses an embedded software configuration management and multiplexing system and method. The code multiplexing unit parses the configuration file and generates a code package or module library. The method comprises the following steps: and exporting the configurable parameters and the module information. Determining a configuration file format, writing an analysis script, a code template and uploading a module resource pool; updating the module list and the parameters. And generating a configuration file after the parameters are configured, and uploading the configuration file to the code multiplexing unit. Parsing the configuration file and retrieving the module information. Generating codes and packaging the codes into code packages. It is selected whether to compile the code package. The code package or library file is sent to the configuration management unit. The invention improves the multiplexing rate in a modularized and configurable mode, and is flexible and efficient. And the visualized configuration and the code packet generation are low in difficulty and few in errors. The core units are separated, only library files compiled by the high-security-level code package are locally stored, and management cost and leakage risk are low.

Description

嵌入式软件配置管理、复用系统及方法Embedded software configuration management, reuse system and method

技术领域Technical Field

本发明涉及嵌入式软件技术领域,尤其涉及一种嵌入式软件配置管理、复用系统及方法。The present invention relates to the field of embedded software technology, and in particular to an embedded software configuration management and reuse system and method.

背景技术Background technique

随着嵌入式技术的不断发展,嵌入式软件已经从过去单一的功能实现体演变为如今大规模、高集成度和复杂度的业务承载体。在市场需求日益增长的背后,如何提高嵌入式软件的复用率、减少软件碎片化进而提升嵌入式软件的开发效率、降低开发成本已成为各行业关注的焦点。特别是对于如电力等基础行业,虽然嵌入式产品种类繁多,但是就软件维度而言,均存在不同程度的相似性,因此有效管理和整合现有软件资源、产生软件模块管理和复用的规模效应是提升公司产品竞争力的关键,亦是一项亟需解决的问题。With the continuous development of embedded technology, embedded software has evolved from a single functional implementation in the past to a large-scale, highly integrated and complex business carrier today. Behind the growing market demand, how to improve the reuse rate of embedded software, reduce software fragmentation, and thus improve the development efficiency of embedded software and reduce development costs has become the focus of attention of various industries. Especially for basic industries such as electricity, although there are many types of embedded products, in terms of software dimensions, there are different degrees of similarity. Therefore, effective management and integration of existing software resources and the scale effect of software module management and reuse are the key to improving the competitiveness of the company's products, and are also a problem that needs to be solved urgently.

发明内容Summary of the invention

针对上述问题,本发明提供了一种嵌入式软件配置管理、复用系统及方法,通过对嵌入式软件进行模块化的管理和配置,实现了对嵌入式软件的高效复用,从而提升了嵌入式软件的开发效率。In view of the above problems, the present invention provides an embedded software configuration management and reuse system and method, which realizes efficient reuse of embedded software by modularly managing and configuring embedded software, thereby improving the development efficiency of embedded software.

本发明的目的可以通过以下技术方案来实现。The purpose of the present invention can be achieved through the following technical solutions.

一种嵌入式软件配置管理、复用系统,包含本地可视化模块配置管理单元以及远程模块代码复用单元;在使用过程中,通过可视化配置的方式一键生成可直接复用的模块代码包或编译后的模块库文件。An embedded software configuration management and reuse system includes a local visual module configuration management unit and a remote module code reuse unit; during use, a directly reusable module code package or a compiled module library file is generated with one click through visual configuration.

其中,通过本地可视化模块配置管理单元实现模块参数的可视化配置并生成满足特定格式要求的参数配置文件。Among them, the visual configuration of module parameters is realized through the local visual module configuration management unit and a parameter configuration file that meets specific format requirements is generated.

其中,远程模块代码复用单元,通过脚本解析模块参数配置文件,并根据模块代码模板生成可直接复用的模块代码包或编译后的模块库文件。Among them, the remote module code reuse unit parses the module parameter configuration file through a script, and generates a directly reusable module code package or a compiled module library file according to the module code template.

优选地,所述本地可视化模块配置管理单元包含远程通信模块、图形界面管理模块、参数配置生成模块以及代码导出模块。Preferably, the local visualization module configuration management unit includes a remote communication module, a graphical interface management module, a parameter configuration generation module and a code export module.

其中,远程通信模块用于与远程模块代码复用单元进行通信,负责接收和发送数据;图形界面管理模块用于模块信息可视化管理以及模块参数可视化配置;参数配置生成模块用于生成参数配置文件;代码导出模块用于输出从远程模块代码复用单元接收的可直接复用的模块代码包或编译后的模块库文件。Among them, the remote communication module is used to communicate with the remote module code reuse unit and is responsible for receiving and sending data; the graphical interface management module is used for the visual management of module information and the visual configuration of module parameters; the parameter configuration generation module is used to generate parameter configuration files; the code export module is used to output the directly reusable module code package or compiled module library file received from the remote module code reuse unit.

优选地,所述本地可视化模块配置管理单元启动时会从远程模块代码复用单元读取可配置模块列表、模块可配置参数项进行更新。Preferably, when the local visualization module configuration management unit is started, it reads the configurable module list and module configurable parameter items from the remote module code reuse unit for updating.

可配置模块列表、模块可配置参数项用于生成模块信息可视化管理、参数可视化配置界面。The configurable module list and module configurable parameter items are used to generate module information visualization management and parameter visualization configuration interface.

优选地,所述远程模块代码复用单元包含模块资源池、参数配置解析模块、代码生成模块以及代码编译模块。Preferably, the remote module code reuse unit includes a module resource pool, a parameter configuration parsing module, a code generation module and a code compilation module.

其中,模块资源池用于管理模块信息、模块参数配置文件解析脚本、模块代码模板、模块源代码、可配置模块列表以及模块可配置参数项;参数配置解析模块用于解析从本地可视化模块配置管理单元接收的参数配置文件以及在模块资源池中检索相应的模块信息;代码生成模块用于根据对应的模块代码模板生成可直接复用的模块代码,并与模块源代码的不可变更部分一同打包生成模块代码包;代码编译模块将模块代码包进行编译,生成模块库文件。Among them, the module resource pool is used to manage module information, module parameter configuration file parsing scripts, module code templates, module source code, configurable module lists and module configurable parameter items; the parameter configuration parsing module is used to parse the parameter configuration file received from the local visualization module configuration management unit and retrieve the corresponding module information in the module resource pool; the code generation module is used to generate directly reusable module code according to the corresponding module code template, and package it together with the unchangeable part of the module source code to generate a module code package; the code compilation module compiles the module code package to generate a module library file.

优选地,所述模块资源池支持对其中模块参数配置文件解析脚本、模块代码模板、模块源代码、可配置模块列表以及模块可配置参数项的动态更新。Preferably, the module resource pool supports dynamic update of module parameter configuration file parsing scripts, module code templates, module source codes, configurable module lists and module configurable parameter items.

优选地,所述本地可视化模块配置管理单元和远程模块程序管理单元可分别部署于本地计算机和远程服务器,也可部署于同一台服务器。Preferably, the local visualization module configuration management unit and the remote module program management unit can be deployed on a local computer and a remote server respectively, or can be deployed on the same server.

本地可视化模块配置管理单元和远程模块程序管理单元采用以太网进行通信。The local visualization module configuration management unit and the remote module program management unit communicate via Ethernet.

一种嵌入式软件配置管理、复用方法,包括以下步骤。An embedded software configuration management and reuse method includes the following steps.

步骤1:将需要复用的嵌入式软件按照功能需求进行模块化封装,在封装过程中根据模块特征分析复用时的变更点,导出相应的可配置参数以及模块信息。Step 1: Modularize and package the embedded software that needs to be reused according to functional requirements. During the packaging process, analyze the change points when reused based on the module characteristics, and export the corresponding configurable parameters and module information.

步骤2:根据导出的可配置参数及模块信息确定参数配置文件格式,并编写参数配置文件解析脚本以及模块代码模板。Step 2: Determine the parameter configuration file format based on the exported configurable parameters and module information, and write the parameter configuration file parsing script and module code template.

步骤3:将模块参数配置文件解析脚本、模块代码模板以及模块源代码上传至所述的远程模块代码复用单元的模块资源池中进行管理。Step 3: Upload the module parameter configuration file parsing script, the module code template and the module source code to the module resource pool of the remote module code reuse unit for management.

步骤4:更新所述的本地可视化模块配置管理单元的可配置模块列表以及模块可配置参数项。Step 4: Update the configurable module list and module configurable parameter items of the local visualization module configuration management unit.

步骤5:所述的本地可视化模块配置管理单元选择需要复用的模块进行参数配置,完成配置后根据步骤2中确定的格式生成模块参数配置文件并上传至所述的远程模块代码复用单元。Step 5: The local visualization module configuration management unit selects the module to be reused for parameter configuration. After the configuration is completed, a module parameter configuration file is generated according to the format determined in step 2 and uploaded to the remote module code reuse unit.

步骤6:所述的远程模块代码复用单元解析收到的模块参数配置文件,并从模块资源池中检索相应的模块信息。Step 6: The remote module code reuse unit parses the received module parameter configuration file and retrieves the corresponding module information from the module resource pool.

步骤7:所述的远程模块代码复用单元根据检索到的模块信息、解析得到的模块参数以及模块代码模板生成可直接复用的模块代码,并与模块源代码的不可变更部分一同打包生成模块代码包。Step 7: The remote module code reuse unit generates directly reusable module code according to the retrieved module information, the parsed module parameters and the module code template, and packages it together with the unchangeable part of the module source code to generate a module code package.

步骤8:所述的远程模块代码复用单元根据配置选择是否将模块代码包编译成模块库文件。Step 8: The remote module code reuse unit selects whether to compile the module code package into a module library file according to the configuration.

步骤9:将模块代码包或库文件发送至所述的本地可视化模块配置管理单元供使用。Step 9: Send the module code package or library file to the local visualization module configuration management unit for use.

本发明具有如下有益技术效果。The present invention has the following beneficial technical effects.

1)通过嵌入式软件模块化管理和可配置的方式,不仅提高了软件的复用率,同时亦使软件开发过程更加灵活高效。1) Through the modular management and configurable approach of embedded software, not only the software reuse rate is improved, but also the software development process is made more flexible and efficient.

2)采用可视化方式配置并一键生成所需的模块代码包,降低了软件开发人员使用模块的难度,避免了许多低级错误的发生。2) The required module code packages are configured in a visual way and generated with one click, which reduces the difficulty for software developers to use modules and avoids many low-level errors.

3)采用本地模块配置和远程模块维护分离的管理模式,对于安全等级较高的模块,本地仅保存模块代码包编译后的库文件,降低了软件资产的管理成本和泄漏风险。3) A management mode that separates local module configuration and remote module maintenance is adopted. For modules with higher security levels, only the library files compiled from the module code package are saved locally, reducing the management cost and leakage risk of software assets.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明的架构示意图。FIG1 is a schematic diagram of the architecture of the present invention.

图2为本发明实施例中的模块参数可视化配置示意图。FIG. 2 is a schematic diagram of a visualized configuration of module parameters in an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not limit the present invention.

实施例:如图1所示,本发明所述的嵌入式软件配置管理、复用系统包含本地可视化模块配置管理单元和远程模块代码复用单元两个核心单元。其中,本地可视化模块配置管理单元通过本地可视化模块配置管理单元实现模块参数的可视化配置并生成满足特定格式要求的参数配置文件;远程模块代码复用单元通过脚本解析模块参数配置文件,并根据模块代码模板生成可直接复用的模块代码包或编译后的模块库文件。Embodiment: As shown in Figure 1, the embedded software configuration management and reuse system of the present invention includes two core units: a local visualization module configuration management unit and a remote module code reuse unit. The local visualization module configuration management unit realizes the visualization configuration of module parameters and generates a parameter configuration file that meets the specific format requirements through the local visualization module configuration management unit; the remote module code reuse unit parses the module parameter configuration file through a script, and generates a directly reusable module code package or a compiled module library file according to the module code template.

本地可视化模块配置管理单元包含远程通信模块、图形界面管理模块、参数配置生成模块以及代码导出模块四个主要模块。其中远程通信模块用于与远程模块代码复用单元进行通信,负责接收和发送数据;图形界面管理模块用于模块信息可视化管理以及模块参数可视化配置;参数配置生成模块用于生成参数配置文件;代码导出模块用于输出从远程模块代码复用单元接收的可直接复用的模块代码包或编译后的模块库文件。The local visualization module configuration management unit includes four main modules: remote communication module, graphical interface management module, parameter configuration generation module and code export module. The remote communication module is used to communicate with the remote module code reuse unit and is responsible for receiving and sending data; the graphical interface management module is used for module information visualization management and module parameter visualization configuration; the parameter configuration generation module is used to generate parameter configuration files; the code export module is used to output the directly reusable module code package or compiled module library file received from the remote module code reuse unit.

远程模块代码复用单元包含模块资源池、参数配置解析模块、代码生成模块以及代码编译模块四个主要模块;其中,模块资源池用于管理模块信息、模块参数配置文件解析脚本、模块代码模板、模块源代码、可配置模块列表以及模块可配置参数项;参数配置解析模块用于解析从本地可视化模块配置管理单元接收的参数配置文件以及在模块资源池中检索相应的模块信息;代码生成模块用于根据对应的模块代码模板生成可直接复用的模块代码,并与模块源代码的不可变更部分一同打包生成模块代码包;代码编译模块将模块代码包进行编译,生成模块库文件。The remote module code reuse unit includes four main modules: module resource pool, parameter configuration parsing module, code generation module and code compilation module; among them, the module resource pool is used to manage module information, module parameter configuration file parsing script, module code template, module source code, configurable module list and module configurable parameter items; the parameter configuration parsing module is used to parse the parameter configuration file received from the local visualization module configuration management unit and retrieve the corresponding module information in the module resource pool; the code generation module is used to generate directly reusable module code according to the corresponding module code template, and package it together with the unchangeable part of the module source code to generate a module code package; the code compilation module compiles the module code package to generate a module library file.

在使用上述系统进行嵌入式软件配置管理和复用时,分为模块管理维护阶段和模块配置复用两个阶段。When the above system is used for embedded software configuration management and reuse, it is divided into two stages: module management and maintenance stage and module configuration reuse stage.

在模块管理维护阶段,首先,需要将要复用的嵌入式软件按照功能需求进行模块化封装,在封装过程中根据模块特征分析复用时的变更点,导出相应的可配置参数以及模块信息,进而确定参数配置文件格式,图2为经抽象后的某FLASH存储模块采用XML格式表示的参数配置文件,其中包含了模块名称等基本信息以及如blockNum(块数量)、blockSize(块大小)以及unitLen(单元长度)等可配置参数。In the module management and maintenance stage, first of all, the embedded software to be reused needs to be modularly packaged according to functional requirements. During the packaging process, the change points during reuse are analyzed according to the module characteristics, and the corresponding configurable parameters and module information are exported to determine the format of the parameter configuration file. Figure 2 shows the parameter configuration file of a certain FLASH storage module after abstraction in XML format, which includes basic information such as module name and configurable parameters such as blockNum (number of blocks), blockSize (block size) and unitLen (unit length).

然后,需要根据参数配置文件的格式,编写参数配置文件解析脚本以及模块代码生成模板,其中解析脚本采用Python语言编写,代码模板采用Jinja2模板引擎编写,生成C语言代码。Then, you need to write a parameter configuration file parsing script and a module code generation template according to the format of the parameter configuration file. The parsing script is written in Python, and the code template is written in Jinja2 template engine to generate C language code.

最后,将模块参数配置文件解析脚本、模块代码模板以及模块源代码上传至部署远程模块代码复用单元的服务器中。Finally, the module parameter configuration file parsing script, module code template, and module source code are uploaded to the server where the remote module code reuse unit is deployed.

在模块配置复用阶段,首先,打开可视化模块配置管理单元,待与远程模块代码复用单元建立连接并更新完可配置模块列表以及模块可配置参数项后,选择需要复用的模块进行参数配置,图2为模块参数可视化配置的示意图,图中单元采用C++语言实现。In the module configuration reuse stage, first, open the visualization module configuration management unit, and after establishing a connection with the remote module code reuse unit and updating the configurable module list and module configurable parameter items, select the module to be reused for parameter configuration. Figure 2 is a schematic diagram of the module parameter visualization configuration, and the unit in the figure is implemented in C++ language.

然后,待完成参数配置并确认,即可等待远程模块代码复用单元返回模块代码包或模块库文件。在此过程中,可视化模块配置管理单元和模块代码复用单元会在后台会完成参数配置文件生成、参数配置文件发送、模块信息检索、参数配置文件解析、模块代码包生成和编译、模块代码包或模块库文件发送等一系列动作。Then, after completing the parameter configuration and confirmation, you can wait for the remote module code reuse unit to return the module code package or module library file. During this process, the visual module configuration management unit and the module code reuse unit will complete a series of actions in the background, including parameter configuration file generation, parameter configuration file sending, module information retrieval, parameter configuration file parsing, module code package generation and compilation, and module code package or module library file sending.

上述实施例是对本发明的具体实施方式的说明,而非对本发明的限制,有关技术领域的技术人员在不脱离本发明的精神和范围的情况下,还可做出各种变换和变化以得到相对应的等同的技术方案,因此所有等同的技术方案均应归入本发明的专利保护范围。The above embodiments are descriptions of specific implementation methods of the present invention rather than limitations of the present invention. Technical personnel in the relevant technical field may make various changes and modifications to obtain corresponding equivalent technical solutions without departing from the spirit and scope of the present invention. Therefore, all equivalent technical solutions should be included in the patent protection scope of the present invention.

Claims (5)

1.一种嵌入式软件配置管理、复用系统,其特征在于,包含本地可视化模块配置管理单元以及远程模块代码复用单元;在使用过程中,通过可视化配置的方式一键生成可直接复用的模块代码包或编译后的模块库文件;1. An embedded software configuration management and reuse system, characterized in that it comprises a local visual module configuration management unit and a remote module code reuse unit; during use, a directly reusable module code package or a compiled module library file is generated by one key through visual configuration; 通过本地可视化模块配置管理单元实现模块参数的可视化配置并生成满足特定格式要求的参数配置文件;本地可视化模块配置管理单元包含远程通信模块、图形界面管理模块、参数配置生成模块以及代码导出模块;其中,远程通信模块用于与远程模块代码复用单元进行通信,负责接收和发送数据;图形界面管理模块用于模块信息可视化管理以及模块参数可视化配置;参数配置生成模块用于生成参数配置文件;代码导出模块用于输出从远程模块代码复用单元接收的可直接复用的模块代码包或编译后的模块库文件;The local visualization module configuration management unit is used to realize the visualization configuration of module parameters and generate parameter configuration files that meet specific format requirements; the local visualization module configuration management unit includes a remote communication module, a graphical interface management module, a parameter configuration generation module and a code export module; wherein the remote communication module is used to communicate with the remote module code reuse unit and is responsible for receiving and sending data; the graphical interface management module is used for the visualization management of module information and the visualization configuration of module parameters; the parameter configuration generation module is used to generate parameter configuration files; the code export module is used to output the directly reusable module code package or compiled module library file received from the remote module code reuse unit; 远程模块代码复用单元,通过脚本解析模块参数配置文件,并根据模块代码模板生成可直接复用的模块代码包或编译后的模块库文件;远程模块代码复用单元包含模块资源池、参数配置解析模块、代码生成模块以及代码编译模块;其中,模块资源池用于管理模块信息、模块参数配置文件解析脚本、模块代码模板、模块源代码、可配置模块列表以及模块可配置参数项;参数配置解析模块用于解析从本地可视化模块配置管理单元接收的参数配置文件以及在模块资源池中检索相应的模块信息;代码生成模块用于根据对应的模块代码模板生成可直接复用的模块代码,并与模块源代码的不可变更部分一同打包生成模块代码包;代码编译模块将模块代码包进行编译,生成模块库文件。The remote module code reuse unit parses the module parameter configuration file through the script, and generates a directly reusable module code package or a compiled module library file according to the module code template; the remote module code reuse unit includes a module resource pool, a parameter configuration parsing module, a code generation module and a code compilation module; wherein the module resource pool is used to manage module information, module parameter configuration file parsing scripts, module code templates, module source code, configurable module lists and module configurable parameter items; the parameter configuration parsing module is used to parse the parameter configuration file received from the local visual module configuration management unit and retrieve the corresponding module information in the module resource pool; the code generation module is used to generate directly reusable module code according to the corresponding module code template, and package it together with the unchangeable part of the module source code to generate a module code package; the code compilation module compiles the module code package to generate a module library file. 2.根据权利要求1所述的一种嵌入式软件配置管理、复用系统,其特征在于,所述本地可视化模块配置管理单元启动时会从远程模块代码复用单元读取可配置模块列表、模块可配置参数项进行更新;2. An embedded software configuration management and reuse system according to claim 1, characterized in that when the local visualization module configuration management unit is started, it reads the configurable module list and the module configurable parameter items from the remote module code reuse unit for update; 可配置模块列表、模块可配置参数项用于生成模块信息可视化管理、参数可视化配置界面。The configurable module list and module configurable parameter items are used to generate module information visualization management and parameter visualization configuration interface. 3.根据权利要求1所述的一种嵌入式软件配置管理、复用系统,其特征在于,所述模块资源池支持对其中模块参数配置文件解析脚本、模块代码模板、模块源代码、可配置模块列表以及模块可配置参数项的动态更新。3. An embedded software configuration management and reuse system according to claim 1, characterized in that the module resource pool supports dynamic updating of module parameter configuration file parsing scripts, module code templates, module source codes, configurable module lists and module configurable parameter items. 4.根据权利要求1所述的一种嵌入式软件配置管理、复用系统,其特征在于,所述本地可视化模块配置管理单元和远程模块程序管理单元可分别部署于本地计算机和远程服务器,也可部署于同一台服务器;4. An embedded software configuration management and reuse system according to claim 1, characterized in that the local visualization module configuration management unit and the remote module program management unit can be deployed on a local computer and a remote server respectively, or can be deployed on the same server; 本地可视化模块配置管理单元和远程模块程序管理单元采用以太网进行通信。The local visualization module configuration management unit and the remote module program management unit communicate via Ethernet. 5.一种应用于权利要求1所述的嵌入式软件配置管理、复用系统的嵌入式软件配置管理、复用方法,其特征在于,包括以下步骤:5. An embedded software configuration management and reuse method applied to the embedded software configuration management and reuse system according to claim 1, characterized in that it comprises the following steps: 步骤1:将需要复用的嵌入式软件按照功能需求进行模块化封装,在封装过程中根据模块特征分析复用时的变更点,导出相应的可配置参数以及模块信息;Step 1: Modularize and encapsulate the embedded software to be reused according to functional requirements. During the encapsulation process, analyze the change points during reuse based on the module characteristics, and derive the corresponding configurable parameters and module information. 步骤2:根据导出的可配置参数及模块信息确定参数配置文件格式,并编写参数配置文件解析脚本以及模块代码模板;Step 2: Determine the parameter configuration file format based on the exported configurable parameters and module information, and write the parameter configuration file parsing script and module code template; 步骤3:将模块参数配置文件解析脚本、模块代码模板以及模块源代码上传至远程模块代码复用单元的模块资源池中进行管理;Step 3: Upload the module parameter configuration file parsing script, module code template, and module source code to the module resource pool of the remote module code reuse unit for management; 步骤4:更新本地可视化模块配置管理单元的可配置模块列表以及模块可配置参数项;Step 4: Update the configurable module list and module configurable parameter items of the local visualization module configuration management unit; 步骤5:本地可视化模块配置管理单元选择需要复用的模块进行参数配置,完成配置后根据步骤2中确定的格式生成模块参数配置文件并上传至远程模块代码复用单元;Step 5: The local visualization module configuration management unit selects the module to be reused for parameter configuration. After the configuration is completed, a module parameter configuration file is generated according to the format determined in step 2 and uploaded to the remote module code reuse unit; 步骤6:远程模块代码复用单元解析收到的模块参数配置文件,并从模块资源池中检索相应的模块信息;Step 6: The remote module code reuse unit parses the received module parameter configuration file and retrieves the corresponding module information from the module resource pool; 步骤7:远程模块代码复用单元根据检索到的模块信息、解析得到的模块参数以及模块代码模板生成可直接复用的模块代码,并与模块源代码的不可变更部分一同打包生成模块代码包;Step 7: The remote module code reuse unit generates directly reusable module code according to the retrieved module information, the parsed module parameters and the module code template, and packages it together with the unchangeable part of the module source code to generate a module code package; 步骤8:远程模块代码复用单元根据配置选择是否将模块代码包编译成模块库文件;Step 8: The remote module code reuse unit selects whether to compile the module code package into a module library file according to the configuration; 步骤9:将模块代码包或库文件发送至本地可视化模块配置管理单元供使用。Step 9: Send the module code package or library file to the local visualization module configuration management unit for use.
CN202410396206.4A 2024-04-03 2024-04-03 Embedded software configuration management and multiplexing system and method Active CN118012494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410396206.4A CN118012494B (en) 2024-04-03 2024-04-03 Embedded software configuration management and multiplexing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410396206.4A CN118012494B (en) 2024-04-03 2024-04-03 Embedded software configuration management and multiplexing system and method

Publications (2)

Publication Number Publication Date
CN118012494A CN118012494A (en) 2024-05-10
CN118012494B true CN118012494B (en) 2024-07-02

Family

ID=90954816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410396206.4A Active CN118012494B (en) 2024-04-03 2024-04-03 Embedded software configuration management and multiplexing system and method

Country Status (1)

Country Link
CN (1) CN118012494B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427563A (en) * 2020-04-23 2020-07-17 遂宁摩天时代科技有限公司 Visual programming control system and method for function machine
CN113703749A (en) * 2021-09-06 2021-11-26 河北雄安新区公安局 Information system based on visual programming technology and construction method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010780B2 (en) * 2001-09-17 2006-03-07 Intel Corporation Method and system for software modularization and automatic code generation for embedded systems
CN102207887B (en) * 2011-05-04 2016-08-10 山东智慧生活数据系统有限公司 A kind of embedded OS Rapid transplant method and device thereof
KR101585044B1 (en) * 2014-04-15 2016-01-13 주식회사 셈웨어 Integrated processing system for programming languages
CN115809051A (en) * 2022-12-29 2023-03-17 东南大学 Interpreter of reconfigurable cryptographic algorithm based on customized high-level C language
CN116860209A (en) * 2023-06-28 2023-10-10 中国航空无线电电子研究所 Airborne embedded display software development system and method based on QT and SCADE
CN117389541B (en) * 2023-12-13 2024-02-23 中国人民解放军国防科技大学 Configuration system and device for generating template based on dialogue retrieval

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427563A (en) * 2020-04-23 2020-07-17 遂宁摩天时代科技有限公司 Visual programming control system and method for function machine
CN113703749A (en) * 2021-09-06 2021-11-26 河北雄安新区公安局 Information system based on visual programming technology and construction method thereof

Also Published As

Publication number Publication date
CN118012494A (en) 2024-05-10

Similar Documents

Publication Publication Date Title
US7694272B2 (en) Method, a language and a system for the definition and implementation of software solutions by using a visualizable computer executable modeling language
US6408311B1 (en) Method for identifying UML objects in a repository with objects in XML content
CN106569801A (en) Complex parameter-based configuration display control system
US20080155519A1 (en) Code translator
CN111428451B (en) Text online editing method and device, electronic equipment and storage medium
CN113312108B (en) SWIFT message verification method and device, electronic equipment and storage medium
CN114327678A (en) Real-time data processing system and method supporting multiple engines
CN111399828B (en) Model-driven logic device modeling method and terminal
CN111813814A (en) Universal model management method and device supporting multiple machine learning frameworks
CN110209389A (en) A kind of data generating tool development system based on XML
CN111240772A (en) Data processing method and device based on block chain and storage medium
CN1866283B (en) System and method for implementing rule system triggering
CN118012494B (en) Embedded software configuration management and multiplexing system and method
CN113297831B (en) Method and system for generating verifiable report webpage by Excel
CN114816356A (en) System and method for generating HTTP request code based on interface document
WO2012129864A1 (en) Method and system for expressing value-added service flow in the form of scripts
CN117971782A (en) Mirror image management method and server
CN114237574B (en) Financial business production management system, method, equipment, medium and program products
CN104809537A (en) Workflow realization method used for business intelligent analysis platform
CN114116900A (en) Efficient trading system and development method based on MDD model
CN104158695A (en) Network management method for network management system
CN117573121B (en) Graphical custom insurance document template generation method
CN110399296A (en) The method, system and medium of interactive interface between test client and server-side
CN116962407B (en) Distributed link label processing method and device, distributed link tracking system and distributed system
CN113297521B (en) Visual station building method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20241204

Address after: Dingxin Technology Industrial Park, No. 858 Huaguan Road, High tech Zone, Qingdao, Shandong Province, 266000

Patentee after: QINGDAO TOPSCOMM COMMUNICATION Co.,Ltd.

Country or region after: China

Patentee after: Qingdao Dingxin Communication Power Engineering Co.,Ltd.

Patentee after: QINGDAO DINGJUN ELECTRIC Co.,Ltd.

Address before: 266000 12 / F, 4b building, Dingxin science and Technology Industrial Park, No. 858, Huaguan Road, high tech Zone, Qingdao, Shandong

Patentee before: QINGDAO TOPSCOMM COMMUNICATION Co.,Ltd.

Country or region before: China

Patentee before: Qingdao Dingxin Communication Power Engineering Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Dingxin Technology Industrial Park, No. 858 Huaguan Road, High tech Zone, Qingdao, Shandong Province, 266000

Patentee after: QINGDAO TOPSCOMM COMMUNICATION Co.,Ltd.

Country or region after: China

Patentee after: Qingdao Zhidian New Energy Technology Co.,Ltd.

Patentee after: Qingdao Dingxin Communication Power Engineering Co.,Ltd.

Patentee after: QINGDAO DINGJUN ELECTRIC Co.,Ltd.

Address before: Dingxin Technology Industrial Park, No. 858 Huaguan Road, High tech Zone, Qingdao, Shandong Province, 266000

Patentee before: QINGDAO TOPSCOMM COMMUNICATION Co.,Ltd.

Country or region before: China

Patentee before: Qingdao Dingxin Communication Power Engineering Co.,Ltd.

Patentee before: QINGDAO DINGJUN ELECTRIC Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Dingxin Technology Industrial Park, No. 858 Huaguan Road, High tech Zone, Qingdao, Shandong Province, 266000

Patentee after: QINGDAO TOPSCOMM COMMUNICATION Co.,Ltd.

Country or region after: China

Patentee after: Qingdao Zhidian New Energy Technology Co.,Ltd.

Patentee after: Qingdao Dingxin Communication Power Engineering Co.,Ltd.

Patentee after: Qingdao Tuowei Technology Co.,Ltd.

Address before: Dingxin Technology Industrial Park, No. 858 Huaguan Road, High tech Zone, Qingdao, Shandong Province, 266000

Patentee before: QINGDAO TOPSCOMM COMMUNICATION Co.,Ltd.

Country or region before: China

Patentee before: Qingdao Zhidian New Energy Technology Co.,Ltd.

Patentee before: Qingdao Dingxin Communication Power Engineering Co.,Ltd.

Patentee before: QINGDAO DINGJUN ELECTRIC Co.,Ltd.