CN112764739A - Standardized BSP graphical configuration system and method based on domestic operating system - Google Patents

Standardized BSP graphical configuration system and method based on domestic operating system Download PDF

Info

Publication number
CN112764739A
CN112764739A CN202110075729.5A CN202110075729A CN112764739A CN 112764739 A CN112764739 A CN 112764739A CN 202110075729 A CN202110075729 A CN 202110075729A CN 112764739 A CN112764739 A CN 112764739A
Authority
CN
China
Prior art keywords
bsp
configuration
layer
user
operating system
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.)
Pending
Application number
CN202110075729.5A
Other languages
Chinese (zh)
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.)
Shanghai Chuangjing Information Technology Co ltd
Original Assignee
Shanghai Chuangjing Information Technology 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 Shanghai Chuangjing Information Technology Co ltd filed Critical Shanghai Chuangjing Information Technology Co ltd
Priority to CN202110075729.5A priority Critical patent/CN112764739A/en
Publication of CN112764739A publication Critical patent/CN112764739A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention provides a standardized BSP graphical configuration system and a standardized BSP graphical configuration method based on a domestic operating system, which comprise the following steps: the front-end display layer determines a graphical display module to be loaded according to a flow template selected by a user after a domestic operating system is started and provides a corresponding attribute configuration interface; the BSP representation layer is used for organizing and constraining the front-end display layer, and the configuration mode and the configuration module of the BSP in the preset environment are determined through the flow template; the service processing layer provides a user service operation collection according to the loaded BSP template and the flow template; the user layer generates BSP configuration service operation through a BSP presentation layer flow template constructed by the front-end presentation layer, and generates a user layer BSP file by loading data configuration of the data layer through processing logic of the service processing layer; the invention provides a graphical configuration interface, and a user can gradually complete the design and development of BSP and automatically generate BSP files according to the existing template guide and the attribute configuration provided by different modules.

Description

Standardized BSP graphical configuration system and method based on domestic operating system
Technical Field
The invention relates to the technical field of computers, in particular to a standardized BSP graphical configuration system and method based on a domestic operating system.
Background
BSP, Board Support Package, Board level Support Package. It derives from the design idea that the embedded operating system is independent of the hardware, and the operating system is designed to run on a virtual hardware platform. For a specific hardware platform, codes related to hardware are all packaged in a BSP, the BSP provides a virtual hardware platform upwards, and the BSP interacts with an operating system through a defined interface. The BSP is the set of all hardware-related code bodies.
At present, BSP development requires designers to have comprehensive knowledge in software and hardware, and the technical requirements on personnel are higher; the correlation between the BSP development and hardware is strong, the BSP needs to be correspondingly adapted for the same operating system and different hardware configurations, and the modification related to the BSP is more complicated due to the fact that different hardware combinations are more for different operating systems; in general, it is very difficult to safely develop a new BSP, which requires approximately 20 advanced engineers to work continuously for a month. With fixed BSP template modification, BSP can be implemented faster. How the BSP template organizes management is the problem to be solved firstly; the configuration efficiency can be greatly improved by selecting the previously configured BSP for the board cards with the same type and the systems, but in the existing work flow, the transmission of the BSP template is ensured through the communication of people, and the BSP template is easily influenced by the isolation of projects and organizations; at present, BSP is designed and implemented mainly by modifying certain specific files, and directly modifying related files easily causes code inconsistency and increases invisible errors on software design, thereby increasing the difficulty of system debugging and code maintenance.
The invention designs and realizes a BSP development design guide with a graphical interface, and guides a designer to gradually complete the design and development of BSP by selecting graphical components, and finally generates a corresponding BSP file by the guide without directly modifying a source file by a designer.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a standardized BSP graphical configuration system and method based on a domestic operating system.
The invention provides a standardized BSP graphical configuration system based on a domestic operating system, which comprises: the system comprises a front-end display layer, a BSP (base station protocol) representation layer, a service processing layer and a user layer;
the front-end display layer provides a configuration unit according to user configuration, and the configuration unit can be set and cut through graphic component attribute configuration or database configuration; after a domestic operating system is started, determining a graphical display module to be loaded according to a flow template selected by a user and providing a corresponding attribute configuration interface;
the BSP representation layer is used for organizing and constraining the front-end display layer, and the configuration mode and the configuration module of the BSP in the preset environment are determined through the flow template;
the service processing layer provides a user service operation collection according to the loaded BSP template and the flow template;
the user layer generates BSP configuration service operation through a BSP presentation layer flow template constructed by the front-end presentation layer, and generates a user layer BSP file by loading data configuration of the data layer through processing logic of the service processing layer;
the data layer separates the database from the business processing and is used for storing all data in the business processing process.
Preferably, the configuration unit in the front-end display layer includes: CPU, operating system, memory and peripheral equipment.
Preferably, the service operation collection in the service processing layer includes template management, process loading, attribute configuration, correctness checking, sub-module management, BSP generation, log management, and/or user right management.
Preferably, the BSP presentation layer supports process template multiplexing and submodule configuration, and the BSP presentation form is fixed by modifying a process template or a database.
Preferably, the system further comprises a parsing layer, where the parsing layer is a background processing service of the client and the server, and includes: template analysis, flow analysis, attribute analysis, data loading and data updating service; before service calling, authority verification is needed, and log recording is needed for data updating.
Preferably, the system also comprises a data layer, wherein the data layer is used for realizing query, insertion, update and deletion operations on data tables and data files, and decoupling the data and the operations.
The invention provides a standardized BSP graphical configuration method based on a domestic operating system, which comprises the following steps:
step M1: opening a client, sending an authentication request by the client, and logging in through authentication of a server;
step M2: and selecting to create a new BSP file or create the BSP file based on the BSP template according to requirements.
Preferably, the step M2 includes:
step M2.1: when the BSP template is selected to be created, extracting related content from a configuration tool database to generate a BSP file;
step M2.2: when a new BSP file is selected, dynamically guiding a user to complete BSP configuration item by item based on a flow template, supporting the cutting of a configuration item, and providing a reference value or code for the user to make a decision.
Preferably, said step M2.2 comprises:
step M2.2.1: analyzing the selected flow template, and loading a configuration submodule; dynamically guiding a user to complete sub-module configuration item by item;
step M2.2.2: recording a corresponding operation log to a data layer, and supporting an operation log viewing function;
step M2.2.3: after all the attributes are configured, the settings of the loading submodule are analyzed, and a corresponding BSP file is generated.
Preferably, said step M2.2.1 includes: when dynamically guiding a user to complete sub-module configuration item by item, each step needs to verify whether the input attribute is matched with the attribute value set in advance, and when the verification parameter is incorrect, a corresponding prompt window pops up.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention provides a graphical configuration interface, and a user can gradually complete the design and development of BSP according to the existing template guide and the attribute configuration provided by different modules and automatically generate BSP files;
2. for a system and software and hardware modules related to BSP configuration, splitting the system and the software and hardware modules into modules with relatively independent functions, and performing attribute configuration based on an existing BSP configuration template to generate new BSP configuration of the same type;
3. the BSP is managed in a unified mode according to an operating system and software and hardware, project and department barriers are broken, the BSP is converted into a public asset library, and existing BSP configuration templates and configuration experiences are conveniently reused;
4. for similar systems, software knowledge can be isolated according to the selected BSP template, and one-click BSP generation is required for users to debug;
5. the system and the hardware module can be continuously expanded according to the use experience of the user, and the existing development experience and debugging problem positioning and solving experience can be reused.
6. An operator does not need to be familiar with an operating system, hardware knowledge, drive development capacity, coding capacity and a BSP configuration process;
6. modular multiplexing is supported, guiding flow guidance is supported, and free combination is supported;
7. the probability of artificially introducing errors is low, graphical configuration is supported, and software and hardware modules are freely expanded and packaged;
8. the configuration efficiency is high, and one-key configuration can be achieved at the fastest speed.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a flowchart of a standardized BSP graphical configuration method based on a domestic operating system.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
Example 1
The invention provides a standardized BSP graphical configuration system and method based on a domestic operating system. The invention provides a complete one-stop BSP configuration and generation function, and uses a graphical interface to automatically generate a BSP file according to a selected BSP template configuration process and a selected software and hardware configuration. The BSP configuration method has the functions of BSP template management and submodule expansion, can effectively reuse the existing BSP configuration experience, reduces repeated labor in BSP configuration, improves configuration efficiency, enables the user to focus on BSP debugging mainly, and improves working efficiency.
The standardized BSP graphical configuration system and method based on the domestic operating system will be explained below. In a standardized BSP graphical configuration system, a structured analysis method is adopted for design, and a modular division function is adopted, so that the whole tool platform module is clearly divided, has a single function, and is easy to manage and expand and develop in the later period. The system architecture level is roughly divided into six layers with relatively independent functions: the system comprises a front-end display layer, a BSP (base station protocol) representation layer, a service processing layer, an analysis layer, a data layer and a user layer.
Basic configuration units are provided at the front-end presentation layer according to user configuration: CPU, operating system, memory, peripheral equipment and the like. This is the basic unit of operation for BSP configuration, which can be set and tailored through graphical component attribute configuration or database configuration. After the system is started, determining a graphical display module to be loaded according to a flow template selected by a user and providing a corresponding attribute configuration interface;
the BSP representation layer is an organization constraint on the front-end display layer, determines that the BSP under a certain specific environment needs to configure modules through the flow template, supports flow template multiplexing and sub-module configuration, and can customize the representation form of the BSP by modifying the flow template or the database;
the service processing layer is a service operation set provided for users according to the loaded BSP template and the loaded flow, and basically covers all service operations in BSP configuration; template management, process loading, attribute configuration, correctness verification, submodule management, BSP generation, log management, user authority management and the like. The service processing layer is the main foreground page function of the service function operation module visible to the user;
the analysis layer is a background processing service of the client and the server, and mainly comprises the following steps: template analysis, flow analysis, attribute analysis, data loading and data updating service, wherein authority verification is required before service calling, and logs are required to be recorded for data updating;
the data layer simply realizes the operations of selecting (inquiring), inserting (inserting), updating (updating), deleting (deleting) and the like on the data list and the data file to decouple the data and the operation, separates the database storage from the service processing, and increases the portability, the expandability and the maintainability;
the user layer generates BSP configuration service operation according to a BSP presentation layer flow constructed by a user through the front-end display layer, and finally generates a user layer file through the processing logic of the service layer and the data configuration of the loading data layer, wherein the user layer presentation mode is the BSP file finally provided for the user, including makefile, config.h, corresponding hardware driving files and the like, and needs to be compatible with the operating system development environment currently used by the user.
The workflow of the standardized BSP graphical configuration system is as follows: as shown in figure 1 of the drawings, in which,
step 1: a user opens a client, the client sends a user authentication request, and after login authentication of a server, a BSP can be created;
step 2: when the BSP is created, new creation or creation based on a template can be selected, and if the BSP is created based on the template, the template and a configuration mode (a standard BSP configuration template with a built-in Tianmai and a Tianmai 2) need to be selected;
and step 3: alternative typical or custom configurations:
typical configuration: the method can automatically extract related contents from a configuration tool database, and generate a BSP file by one key;
self-defining configuration: the tool can dynamically guide a user to complete BSP configuration item by item, support the cutting of configuration items and provide reference values or codes for the user to make decisions;
and 4, step 4: if the user-defined configuration is selected, analyzing the selected configuration template, loading the configuration sub-module, and dynamically guiding the user to complete the sub-module configuration item by item; if the typical configuration is selected, loading the default configuration from the database to directly generate a BSP file;
and 5: when the attribute configuration is carried out, whether the input attribute is matched with the value set in the previous step or not is automatically verified in each step, the validity of the parameter is automatically verified, and when the parameter setting is incorrect, a corresponding prompt window is popped up;
step 6: if the user operation is the operation of updating the database, the corresponding operation log needs to be recorded, and the operation log checking function is supported, so that the user can conveniently locate the problem;
and 7: after all the attributes are configured, clicking a BSP generation button, analyzing and loading the settings of the sub-modules according to the user settings, and generating corresponding BSP files.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (10)

1. A standardized BSP graphical configuration system based on a domestic operating system is characterized by comprising: the system comprises a front-end display layer, a BSP (base station protocol) representation layer, a service processing layer and a user layer;
the front-end display layer provides a configuration unit according to user configuration, and the configuration unit can be set and cut through graphic component attribute configuration or database configuration; after a domestic operating system is started, determining a graphical display module to be loaded according to a flow template selected by a user and providing a corresponding attribute configuration interface;
the BSP representation layer is used for organizing and constraining the front-end display layer, and the configuration mode and the sub-module configuration of the BSP in the preset environment are determined through the flow template;
the service processing layer provides a user service operation collection according to the loaded BSP template and the flow template;
the user layer generates BSP configuration service operation through a BSP presentation layer flow template constructed by the front-end presentation layer, and generates a user layer BSP file by loading data configuration of the data layer through processing logic of the service processing layer;
the data layer separates the database from the business processing and is used for storing all data in the business processing process.
2. The standardized BSP graphical configuration system based on a domestic operating system according to claim 1, wherein the configuration unit in the front-end presentation layer comprises: CPU, operating system, memory and peripheral equipment.
3. The standardized BSP graphical configuration system based on the domestic operating system according to claim 1, wherein the service operation collection in the service processing layer includes template management, process loading, attribute configuration, correctness checking, sub-module management, BSP generation, log management and/or user rights management.
4. The standardized BSP graphical configuration system based on the domestic operating system of claim 1, wherein the BSP representation layer supports process template multiplexing and sub-module configuration by modifying process templates or database-valued BSP representation.
5. The standardized BSP graphical configuration system based on the domestic operating system of claim 1, further comprising a parsing layer, wherein the parsing layer is a background processing service of a client and a server, and comprises: template analysis, flow analysis, attribute analysis, data loading and data updating service; before service calling, authority verification is needed, and log recording is needed for data updating.
6. The standardized BSP graphical configuration system based on the domestic operating system of claim 1, further comprising a data layer, wherein the data layer is used for implementing query, insert, update and delete operations on data tables and data files, and decoupling data and operations.
7. A standardized BSP graphical configuration method based on a domestic operating system is characterized by comprising the following steps:
step M1: opening a client, sending an authentication request by the client, and logging in through authentication of a server;
step M2: and selecting to create a new BSP file or create the BSP file based on the BSP template according to requirements.
8. The standardized BSP graphic configuration method based on the domestic operating system of claim 7, wherein the step M2 includes:
step M2.1: when the BSP template is selected to be created, extracting related content from a configuration tool database to generate a BSP file;
step M2.2: when a new BSP file is selected, dynamically guiding a user to complete BSP configuration item by item based on a flow template, supporting the cutting of a configuration item, and providing a reference value or code for the user to make a decision.
9. The standardized BSP graphic configuration method based on the domestic operating system according to claim 8, wherein the step M2.2 includes:
step M2.2.1: analyzing the selected flow template, and loading a configuration submodule; dynamically guiding a user to complete sub-module configuration item by item;
step M2.2.2: recording a corresponding operation log to a data layer, and supporting an operation log viewing function;
step M2.2.3: after all the attributes are configured, the settings of the loading submodule are analyzed, and a corresponding BSP file is generated.
10. The standardized BSP graphic configuration method based on the domestic operating system of claim 9, wherein the step M2.2.1 comprises: when dynamically guiding a user to complete sub-module configuration item by item, each step needs to verify whether the input attribute is matched with the attribute value set in advance, and when the verification parameter is incorrect, a corresponding prompt window pops up.
CN202110075729.5A 2021-01-20 2021-01-20 Standardized BSP graphical configuration system and method based on domestic operating system Pending CN112764739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110075729.5A CN112764739A (en) 2021-01-20 2021-01-20 Standardized BSP graphical configuration system and method based on domestic operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110075729.5A CN112764739A (en) 2021-01-20 2021-01-20 Standardized BSP graphical configuration system and method based on domestic operating system

Publications (1)

Publication Number Publication Date
CN112764739A true CN112764739A (en) 2021-05-07

Family

ID=75703610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110075729.5A Pending CN112764739A (en) 2021-01-20 2021-01-20 Standardized BSP graphical configuration system and method based on domestic operating system

Country Status (1)

Country Link
CN (1) CN112764739A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1877521A (en) * 2006-06-30 2006-12-13 浙江大学 Method for accomplishing embedded system board support package across different operating system
US20090019423A1 (en) * 2007-07-13 2009-01-15 Digi International Inc. Xml board support customization
CN101488093A (en) * 2009-03-11 2009-07-22 华为技术有限公司 Embedded computer system and its hardware configuration method
CN103218594A (en) * 2012-11-07 2013-07-24 无锡成电科大科技发展有限公司 Radio frequency identification terminal
CN106648615A (en) * 2016-11-07 2017-05-10 中国航空无线电电子研究所 VxWorks-based BSP code development system
CN110832823A (en) * 2017-05-11 2020-02-21 无线通信与技术公司 Cloud-based WIFI network setup for multiple access points

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1877521A (en) * 2006-06-30 2006-12-13 浙江大学 Method for accomplishing embedded system board support package across different operating system
US20090019423A1 (en) * 2007-07-13 2009-01-15 Digi International Inc. Xml board support customization
CN101488093A (en) * 2009-03-11 2009-07-22 华为技术有限公司 Embedded computer system and its hardware configuration method
CN103218594A (en) * 2012-11-07 2013-07-24 无锡成电科大科技发展有限公司 Radio frequency identification terminal
CN106648615A (en) * 2016-11-07 2017-05-10 中国航空无线电电子研究所 VxWorks-based BSP code development system
CN110832823A (en) * 2017-05-11 2020-02-21 无线通信与技术公司 Cloud-based WIFI network setup for multiple access points

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
B. KORDIC等: "Hands-on system programming labs & projects based on E2LP platform", 《2015 38TH INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO)》, 16 July 2015 (2015-07-16), pages 790 - 793 *
SANJAY_WU: "使用RT-Thread Studio创建基于BSP工程", pages 1 - 7, Retrieved from the Internet <URL:https://blog.csdn.net/Sanjay_Wu/article/details/103726271> *
拨云见日出东方: "RT-Thread STM32系列BSP制作教程", pages 1 - 13, Retrieved from the Internet <URL:https://blog.csdn.net/goven0/article/details/106054512/> *
褚哲等: "嵌入式实时操作系统VxWorks下BSP分析及VxWorks裁减", 《天津工程师范学院学报》, vol. 15, no. 2, 21 July 2005 (2005-07-21), pages 27 - 30 *

Similar Documents

Publication Publication Date Title
CN101383871B (en) Network element configuration implementing method and apparatus
WO2008045117A1 (en) Methods and apparatus to analyze computer software
US9658842B2 (en) Application runtime expert for deployment of an application on multiple computer systems
CN109101428B (en) UI automation test system
CN111401029B (en) Document version updating system and method based on document partition and collaborative editing
JP4370525B2 (en) Application environment check apparatus and method and program thereof
CN109976803B (en) File generation method and device
US11120212B2 (en) Creating and modifying applications from a mobile device
CN104391694A (en) Intelligent mobile terminal software public service support platform system
CN104008441A (en) Task management system and method for automatically submitting files into version library
CN111737227A (en) Data modification method and system
CN110865975A (en) Method and device for managing document, electronic equipment and storage medium
CN114328250A (en) Automatic self-checking method, medium and device for software system
CN113743895A (en) Component management method and device, computer equipment and storage medium
CN112764739A (en) Standardized BSP graphical configuration system and method based on domestic operating system
CN115827051A (en) Software integration management system, method and server
CN114218105A (en) UI automatic regression testing system based on configuration application mode
CN114579123A (en) Display frame, page display method, electronic device and storage medium
WO2021260866A1 (en) Generation device, generation method, and generation program
Cisco Setting up SQL Databases
CN109600416B (en) Remote login method and device for service server, electronic equipment and storage medium
Uytterhoeven et al. Zabbix 4 Network Monitoring: Monitor the performance of your network devices and applications using the all-new Zabbix 4.0
CN112947990B (en) Development library creating method, device and computer readable medium
CN111352637B (en) Method, device and equipment for deploying machine learning system
US20240095153A1 (en) Test code generator, test code generation method, and, test code generaration program

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