Novel power fusion type terminal software development management method
Through Vscode plug-ins and packaging libraries, the power integration terminal software development process is simplified and engineering management is automated, which solves the problems of complexity and high maintenance costs in traditional methods, achieves efficient development and maintenance, and improves development efficiency and stability.
Patent Information
- Application Number
- CN202311340120.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-17
- Publication Date
- 2024-09-17
AI Technical Summary
Traditional power convergence terminal software development methods are complicated, the development cycle is long, and maintenance costs are high. Developers need to pay attention to underlying details, which increases development difficulty and maintenance costs. Version management is also difficult, making software upgrades and maintenance complex.
Provides a new power integration terminal software development and management method. Through Vscode plug-ins and packaging libraries, it simplifies the development process, provides high-level abstract library functions and unified interfaces, automates project creation, compilation, packaging and version management, and reduces development complexity and maintenance. cost.
It simplifies the development process, improves development efficiency and cross-platform development capabilities, reduces maintenance costs, makes applications more stable and maintainable, reduces developers' attention to underlying details, and improves developers' work efficiency and job satisfaction. .
Smart Images

Figure CN118656108A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power convergence terminal, and in particular to a novel electric power convergence terminal software development and management method. Background Art
[0002] In the power sector, converged terminal software development involves complex underlying details such as underlying operating system interfaces and external communication interfaces. Traditional development methods require developers to handle these underlying details separately during the development process, which includes writing operating system-specific code and manually encapsulating and maintaining external communication interfaces. These underlying operating system interfaces are usually implemented differently on different operating system platforms, making cross-platform development more cumbersome and complex. At the same time, handling the details of external communication interfaces requires developers to write a lot of communication code to ensure the secure transmission and correct processing of data.
[0003] The existing implementation schemes try to simplify this process by using common development tools (programming languages and existing frameworks, various function libraries, cross-platform development tools, and integrated development environments). However, these common tools do not completely solve the problem because they still require developers to manually handle the encapsulation and maintenance of the underlying interfaces. This means that developers need to spend a lot of time and energy writing and maintaining code related to the underlying hardware and operating system, rather than focusing on the core business logic of the application.
[0004] Therefore, traditional methods and general tools face many challenges in the development of power converged terminal software, including complexity, extended development cycle, and increased maintenance costs.
[0005] The disadvantages of the existing technology include: 1) Long development cycle and high development cost: The traditional power converged terminal software development method requires developers to spend a lot of time dealing with the complexity of the underlying interface and communication protocol. This leads to a long development cycle and requires more human resources and costs. The purpose of this invention is to reduce the development cycle by providing a highly abstract development framework and tools. Developers can create applications faster because they no longer need to deal with the underlying details from scratch.
[0006] 2) Developers need to pay attention to the details of the underlying interface, which makes development difficult: Traditional development methods require developers to have in-depth knowledge of underlying programming to handle the complexity of operating system interfaces and communication protocols. This increases the technical threshold for development and makes it more difficult to find qualified developers. The present invention reduces the difficulty of development by encapsulating the underlying interface and providing high-level abstract library functions. Developers can focus more on the business logic of the application without having to deeply understand the underlying details.
[0007] 3) Increased maintenance costs as external interface protocols change: The protocols of external communication interfaces often change, which leads to increased maintenance costs. In traditional development methods, these changes must be manually updated and adapted, which may lead to unstable applications or require a lot of maintenance work. The purpose of this invention is to alleviate this problem by providing an encapsulation of the protocol interface library. When the protocol changes, the developer only needs to update the library function without modifying the entire application. This reduces maintenance costs and makes the application more stable and maintainable.
[0008] 4) Difficult version management leads to software upgrade and maintenance issues: Traditional power converged terminal software development methods face challenges in version management. Due to the lack of an effective version control mechanism, software upgrades and maintenance often become complicated and error-prone. This may lead to compatibility issues between different versions, making software upgrades tricky. The purpose of this invention is to use a more comprehensive version management mechanism to ensure that the upgrade and maintenance process is smoother and more controllable. Through better version management, the maintainability and stability of the software can be improved, and the maintenance cost can be reduced. Summary of the invention
[0009] In order to make up for the deficiencies of the prior art, the present invention provides a new method for the development and management of power convergence terminal software. The present invention aims to solve the challenges faced by traditional power convergence terminal software development methods by simplifying the development process, reducing the focus on underlying details, improving development efficiency and reducing maintenance costs, and a more comprehensive version management mechanism. By introducing abstract encapsulation, high-level library functions, unified interfaces and tools, the goal of the present invention is to enable developers to more easily develop, maintain and upgrade power convergence terminal applications to adapt to changing needs and protocols.
[0010] The present invention is implemented by the following technical solution: a new power fusion terminal software development management method, presented in the form of a Vscode plug-in, specifically comprising the following steps: S1. Display menu interface: After the plug-in is deployed to Vscode, the menu interface will be automatically displayed, including project creation, project modification, project compilation, project packaging, version management buttons and shortcut keys for corresponding functions.
[0011] S2. Loading package library: When publishing, the package library will be integrated into the plug-in. Through the configuration file provided during integration, the library list will be preloaded into the plug-in for storage. S3, Project creation: When the plug-in recognizes the shortcut button signal or the create project button is clicked, it will automatically display the create project interface to guide the user to create a project, and automatically open the project after the project is created; S4. Modify the project: When the plug-in recognizes the shortcut button signal or the project modification button is clicked, it will automatically identify whether the project has been created, and automatically read the relevant information of the existing project, and then display the project modification interface. After the modification is completed, the project will be reopened; S5. Project compilation: When the plug-in recognizes the shortcut button signal or the project compilation button is clicked, it will automatically generate the makefile required for compilation and automatically execute the compilation process. After the compilation is completed, the generated executable file will be automatically placed in the corresponding output path; S6, Project Packaging: When the plug-in recognizes the shortcut button signal or the project packaging button is clicked, the project packaging interface will pop up, guide the user to fill in the relevant information, and then automatically package according to the converged terminal software packaging specifications; S7. Version management: The plug-in automatically records version information based on the information filled in by the user, and provides an interface for easy query.
[0012] As a preferred solution, the vscode plug-in specifically includes the following steps: T1. Plugin structure: Vscode plugins consist of a set of JavaScript or TypeScript files. The core of the plugin is the `extension.ts` file, which contains the logic of the plugin. This file will use the API provided by Vscode to interact with the editor; T2. Use of Vscode API: Vscode plugins include using the API provided by Vscode to access and control Vscode functions; for example, through the `vscode.workspace` API, plugins can access and manage workspaces. Through the `vscode.window` API, plugins can create and control editor windows. Through the `vscode.commands` API, plugins can register and execute commands.
[0013] T3, event-driven: Vscode plug-in monitors editor events and then performs corresponding operations when the event is triggered; T4. Interface customization: Use the Webview API to embed custom HTML, CSS, and JavaScript in the plug-in to achieve specific interface effects; T5. Packaging and publishing: The plug-in is published in the form of a .vsix file, which is installed in the local Vscode.
[0014] As a preferred solution, the encapsulation library is based on C++ object-oriented programming and conditional compilation technology, and each part specifically includes the following contents: S21, general package for converged terminals: The purpose of general class encapsulation is to encapsulate common functions and modules into easy-to-use C++ classes. First, a set of C++ classes are designed to meet the general needs of power convergence terminals. Each class represents a basic functional module class. These classes use the object-oriented programming features of C++ to organize related functions into objects and provide simple interfaces for developers to call. S22, operating system API interface encapsulation: Operating system API interface encapsulation provides a unified interface on different operating system platforms. Using C++ conditional compilation and preprocessing macros, each operating system has written a specific API encapsulation, including calls to operating system functions such as file operations, network communications, and thread management. Through conditional compilation, the appropriate encapsulation implementation is selected according to the target operating system. S23, library function call encapsulation: The library function call encapsulation provides a simplified library function interface to handle external protocols and functions; C++ functions are designed to encapsulate external protocols.
[0015] According to a new type of electric power converged terminal software development management method as described in claim 1, it is characterized in that the project creation, project modification, project compilation, project packaging, and version management belong to project management.
[0016] As a preferred solution, project creation is the process of copying the basic components required by users in the edge development framework to specific project projects, specifically: S31, with visual engineering creation guidance process; S32, automatically obtain a list of basic components for the user to select independently; S33, supports users to set project path, project name and other information by themselves, and automatically generates APP name according to the project name set by the user; S34, automatically generating a project directory according to the project path and basic components selected by the user, and automatically importing the content related to the basic components selected by the user into the project path; S35. After the project is created, a JSON file storing the project information is automatically generated; S36. According to the basic component content selected by the user and the agreed basic component macro definition, the project_name.cmake file for CMAKE compilation is automatically generated.
[0017] As a preferred solution, modifying the project is to support users to add or delete components after the project is created. The plug-in provides an interface for users to operate. The plug-in reads the content in the basic component mapping table and also needs to read the existing components in the project information file. Users can delete or add components by themselves.
[0018] As a preferred solution, project compilation: CMAKE compilation is performed according to the project_name.cmake file generated when the project is created, and the compiled executable file is automatically placed in the output directory.
[0019] As a preferred solution, project packaging is divided into TTU packaging and SCU packaging according to the relevant requirements of the converged terminal software, specifically: S61. Support the selection of different packaging tools for packaging, including TTU and SCU; S62. During the packaging operation, the information in the project information file automatically fills in the packaging tool path parameters, and supports manual modification by users; S63. Before the packaging operation, the plug-in automatically obtains the information in the project information file and displays it in the interface, supporting the user to modify it. After the user modifies and packages according to the modified information, the plug-in automatically writes the latest information into the project information file; S64. Support automatic naming of program packages according to version numbers.
[0020] S65. After packaging, the plug-in needs to copy the packaged files to the debug or release folder.
[0021] The paths to the S66, TTU, and SCU packaging tools are obtained from the plugin map file.
[0022] As a preferred solution, version management is to record the packaged version, specifically: S71. Record the release package version in Excel storage mode; S72. Support customized version number format; S73. Support automatic version number increment management by reading version record files; S74. After packaging is completed, a pop-up window automatically pops up to ask whether the version needs to be recorded. If it is necessary to record, an interface pops up for the user to enter the version number and update the record; S75. Support users to view all current version information; S76. Version number and version information need to be recorded; S77. After the version is updated, the version number in the project information file is automatically updated.
[0023] Due to the adoption of the above technical solution, the present invention has the following beneficial effects compared with the prior art: 1. Simplify the development process: Compared with the prior art, the present invention simplifies the development process of power converged terminal software. By providing the encapsulation of converged terminal general classes and operating system API interfaces, developers do not need to delve into the underlying details, thereby reducing the complexity of development.
[0024] 2. Improve development efficiency: The present invention provides library function call encapsulation, which enables developers to quickly access protocol interfaces and common functions, thereby improving development efficiency. This helps to speed up project completion and reduce development costs.
[0025] 3. Cross-platform development: Compared with the prior art, the present invention simplifies the challenge of cross-platform development by providing a unified system-level calling interface, which means that developers can more easily port applications to different operating system platforms without having to rewrite most of the code.
[0026] 4. Convenient project management: The plug-in of the present invention integrates the functions of project creation, editing, compilation, version management and project packaging, providing a one-stop project management solution. This helps to improve the overall manageability of the project.
[0027] 5. Reduce maintenance costs: Since the present invention provides encapsulation of external interface protocols, when the protocol changes, developers only need to update the library function without having to modify the entire application. This reduces maintenance costs and makes the application more stable and maintainable.
[0028] 6. Improve developer focus: The present invention allows developers to focus on the implementation of core business logic without having to pay attention to the changes and complexity of the underlying interface protocol. This helps improve developer work efficiency and job satisfaction.
[0029] In summary, the present invention has obvious advantages in simplifying the development process, improving development efficiency, realizing cross-platform development, providing convenient engineering management, reducing maintenance costs and improving developer focus. Compared with the existing technology, it is expected to improve the quality and efficiency of power converged terminal software development.
[0030] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 It is the overall architecture diagram of the present invention; Figure 2 It is the overall flow chart of the plug-in of the present invention; Figure 3 The initialization interface for loading the plug-in for the first time requires the user to configure the packaging tool path related to the power convergence software; Figure 4This is an example of the sudden display of the plug-in on the right side of Vscode. The icon of the present invention is "C"; Figure 5 Display the plugin menu interface; Figure 6 Create an interface display for the project; Figure 7 Display of the package library list selection interface during project creation; Figure 8 Create settings information display interface for the project; Fig. 9 After the project is created, ask whether to open the interface display immediately; Fig.10 After the project is created, the plug-in automatically displays the interface of the project in Vscode; Fig.11 The plug-in menu is displayed after the project is created. In addition to the project creation, other related setting buttons are also displayed one after another; Fig.12 Modify the interface display for the project; Fig.13 Modify the information display interface for the project; Fig.14 Display the interface to ask whether the project modification is effective; Fig.15 Compile and display for the project; Fig.16 Package the interface for the project; Fig.17 After packaging is completed, the interface will ask whether to add a new version; Fig.18 Display the version information saving interface; Fig.19 This is the version viewing interface display. DETAILED DESCRIPTION
[0032] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0033] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0034] Combine the following Figures 1 to 3 The novel power convergence terminal software development and management method according to the embodiment of the present invention is specifically described.
[0035] like Figure 1 , Figure 2 As shown, the present invention proposes a new type of power converged terminal software development and management method, characterized in that the method is presented in the form of a Vscode plug-in, and its main functions include general terminal fusion, encapsulation library of operating system API interface, user interface, project creation guide, project management and compilation and other functions. The overall architecture is shown in Figure 1; The overall process of the plug-in is as follows Figure 2 As shown: Specifically including the following steps: S1. Display menu interface: After the plug-in is deployed to Vscode, the menu interface will be automatically displayed, including project creation, project modification, project compilation, project packaging, version management buttons and shortcut keys for corresponding functions.
[0036] S2. Loading package library: The package library will be integrated into the plug-in during release. The library list will be preloaded into the plug-in through the configuration file provided during integration for use during project creation and modification. S3, Project creation: When the plug-in recognizes the shortcut button signal or the create project button is clicked, it will automatically display the create project interface to guide the user to create a project, and automatically open the project after the project is created; S4. Modify the project: When the plug-in recognizes the shortcut button signal or the project modification button is clicked, it will automatically identify whether the project has been created, and automatically read the relevant information of the existing project, and then display the project modification interface. After the modification is completed, the project will be reopened; S5. Project compilation: When the plug-in recognizes the shortcut button signal or the project compilation button is clicked, it will automatically generate the makefile required for compilation and automatically execute the compilation process. After the compilation is completed, the generated executable file will be automatically placed in the corresponding output path; S6, Project Packaging: When the plug-in recognizes the shortcut button signal or the project packaging button is clicked, the project packaging interface will pop up, guide the user to fill in the relevant information, and then automatically package according to the converged terminal software packaging specifications; S7. Version management: The plug-in automatically records version information based on the information filled in by the user, and provides an interface for easy query.
[0037] The vscode plugin implementation principle is based on an event-driven mechanism, using the Vscode API to interact with the editor to provide various project-related functions, such as project creation, editing, management, version control, compilation, and packaging. These functions enable developers to create and manage projects more easily in Vscode and improve development efficiency. The plugin implementation principle is based on JavaScript and is consistent with the Vscode extension development specification. Specifically, it includes the following steps: T1. Plugin structure: Vscode plugins consist of a set of JavaScript or TypeScript files. The core of the plugin is the `extension.ts` file, which contains the logic of the plugin. This file will use the API provided by Vscode to interact with the editor; T2. Use of Vscode API: The implementation principle of Vscode plug-in includes using the API provided by Vscode to access and control the functions of Vscode; for example, through the `vscode.workspace` API, the plug-in can access and manage the workspace. Through the `vscode.window` API, the plug-in can create and control the editor window. Through the `vscode.commands` API, the plug-in can register and execute commands.
[0038] T3. Event-driven: The implementation principle of Vscode plug-ins is event-driven. Plug-ins can monitor editor events, such as document changes, command execution, etc., and then perform corresponding operations when the event is triggered. This event-driven mechanism allows plug-ins to respond to user interactions.
[0039] T4. Interface customization: Use the Webview API to embed custom HTML, CSS, and JavaScript in the plug-in to achieve specific interface effects; T5. Packaging and publishing: The plug-in is published in the form of a .vsix file, which is the installation package format of the Vscode plug-in. Users can install the file into the local Vscode.
[0040] The encapsulation library is based on C++ object-oriented programming and conditional compilation technology. Each part includes the following: S21, general package for converged terminals: The purpose of general class encapsulation is to encapsulate common functions and modules into easy-to-use C++ classes to simplify the work of developers. First, a set of C++ classes are designed to meet the general needs of power convergence terminals. Each class represents a basic functional module class. These classes use the object-oriented programming features of C++ to organize related functions into objects and provide simple interfaces for developers to call. S22, operating system API interface encapsulation: Operating system API interface encapsulation provides a unified interface on different operating system platforms to simplify cross-platform development. To achieve this, C++ conditional compilation and preprocessor macros are used to write specific API encapsulation for each operating system, including calls to operating system functions such as file operations, network communications, and thread management. Through conditional compilation, the appropriate encapsulation implementation is selected according to the target operating system. In this way, developers can use the same interface calls on different operating systems without having to worry about platform differences.
[0041] S23, library function call encapsulation: The purpose of library function call encapsulation is to provide a simplified library function interface to handle external protocols and functions; a series of C++ functions are designed to encapsulate external protocols; enabling developers to handle protocol details through simple function calls. These encapsulation functions can include error handling, data conversion and other functions to provide a comprehensive solution.
[0042] Project creation, project modification, project compilation, project packaging, and version management belong to project management.
[0043] Project creation is the process of copying the basic components required by users in the edge development framework to specific engineering projects, specifically: S31, with visual engineering creation guidance process; S32, automatically obtain a list of basic components for the user to select independently; S33, supports users to set project path, project name and other information by themselves, and automatically generates APP name according to the project name set by the user; S34, automatically generating a project directory according to the project path and basic components selected by the user, and automatically importing the content related to the basic components selected by the user into the project path; S35. After the project is created, a JSON file storing the project information is automatically generated; S36. According to the basic component content selected by the user and the agreed basic component macro definition, the project_name.cmake file for CMAKE compilation is automatically generated.
[0044] Modifying a project is to support users to add or delete components after the project is created. The plug-in provides an interface for users to operate. The plug-in reads the content in the basic component mapping table and also needs to read the existing components in the project information file. Users can delete or add components by themselves.
[0045] Project compilation: Compile CMAKE according to the project_name.cmake file generated when the project is created, and automatically put the compiled executable file into the output directory.
[0046] Project packaging is divided into TTU packaging and SCU packaging according to the relevant requirements of converged terminal software, specifically: S61. Support the selection of different packaging tools for packaging, including TTU and SCU; S62. During the packaging operation, the information in the project information file automatically fills in the packaging tool path parameters, and supports manual modification by users; S63. Before the packaging operation, the plug-in automatically obtains the information in the project information file and displays it in the interface, supporting the user to modify it. After the user modifies and packages according to the modified information, the plug-in automatically writes the latest information into the project information file; S64. Support automatic naming of program packages according to version numbers.
[0047] S65. After packaging, the plug-in needs to copy the packaged files to the debug or release folder.
[0048] The paths to the S66, TTU, and SCU packaging tools are obtained from the plugin map file.
[0049] Version management is to record the packaged version, specifically: S71. Record the release package version in Excel storage mode; S72. Support customized version number format (string); S73. Supports automatic version number increment management by reading version record files (the default is +1 based on the original version number).
[0050] S74. After packaging is completed, a pop-up window automatically pops up to ask whether the version needs to be recorded. If it is necessary to record, an interface pops up for the user to enter the version number and update the record; S75. Support users to view all current version information; S76. Version number and version information need to be recorded; S77. After the version is updated, the version number in the project information file is automatically updated.
[0051] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0052] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A new type of power convergence terminal software development and management method, characterized in that , the method is presented in the form of a Vscode plug-in, and specifically includes the following steps: S1. Display menu interface: After the plug-in is deployed to Vscode, the menu interface will be automatically displayed, including project creation, project modification, project compilation, project packaging, version management buttons and shortcut keys for corresponding functions; S2. Loading package library: When publishing, the package library will be integrated into the plug-in. Through the configuration file provided during integration, the library list will be preloaded into the plug-in for storage. S3, Project creation: When the plug-in recognizes the shortcut button signal or the create project button is clicked, it will automatically display the create project interface to guide the user to create a project, and automatically open the project after the project is created; S4. Modify the project: When the plug-in recognizes the shortcut button signal or the project modification button is clicked, it will automatically identify whether the project has been created, and automatically read the relevant information of the existing project, and then display the project modification interface. After the modification is completed, the project will be reopened; S5. Project compilation: When the plug-in recognizes the shortcut button signal or the project compilation button is clicked, it will automatically generate the makefile required for compilation and automatically execute the compilation process. After the compilation is completed, the generated executable file will be automatically placed in the corresponding output path; S6, Project Packaging: When the plug-in recognizes the shortcut button signal or the project packaging button is clicked, the project packaging interface will pop up, guide the user to fill in the relevant information, and then automatically package according to the converged terminal software packaging specifications; S7. Version management: The plug-in automatically records version information based on the information filled in by the user, and provides an interface for easy query.
2. A new type of electric power converged terminal software development and management method according to claim 1, characterized in that , the vscode plug-in specifically includes the following steps: T1. Plugin structure: Vscode plugins consist of a set of JavaScript or TypeScript files. The core of the plugin is the `extension.ts` file, which contains the logic of the plugin. This file will use the API provided by Vscode to interact with the editor; T2. Use of Vscode API: Vscode plug-ins include using the API provided by Vscode to access and control Vscode functions; for example, through the `vscode.workspace` API, plug-ins can access and manage workspaces; through the `vscode.window` API, plug-ins can create and control editor windows; through the `vscode.commands` API, plug-ins can register and execute commands; T3, event-driven: Vscode plug-in monitors editor events and then performs corresponding operations when the event is triggered; T4. Interface customization: Use the Webview API to embed custom HTML, CSS, and JavaScript in the plug-in to achieve specific interface effects; T5. Packaging and publishing: The plug-in is published in the form of a .vsix file, which is installed in the local Vscode.
3. A new type of electric power converged terminal software development and management method according to claim 1, characterized in that ,The encapsulation library is based on C++ object-oriented programming and conditional compilation technology, and each part specifically includes the following contents: S21, general package for converged terminals: The purpose of general class encapsulation is to encapsulate common functions and modules into easy-to-use C++ classes. First, a set of C++ classes are designed to meet the general needs of power convergence terminals. Each class represents a basic functional module class. These classes use the object-oriented programming features of C++ to organize related functions into objects and provide simple interfaces for developers to call. S22, operating system API interface encapsulation: Operating system API interface encapsulation provides a unified interface on different operating system platforms. Using C++ conditional compilation and preprocessing macros, each operating system has written a specific API encapsulation, including calls to operating system functions such as file operations, network communications, and thread management. Through conditional compilation, the appropriate encapsulation implementation is selected according to the target operating system. S23, library function call encapsulation: The library function call encapsulation provides a simplified library function interface to handle external protocols and functions; C++ functions are designed to encapsulate external protocols.
4. A new type of electric power converged terminal software development and management method according to claim 1, characterized in that ,The project creation, project modification, project compilation, project packaging, and version management belong to project management.
5. A new type of electric power converged terminal software development and management method according to claim 1, characterized in that ,The project creation is the process of copying the basic components required by the user in the edge development framework to the specific ,project project, specifically: S31, with visual engineering creation guidance process; S32, automatically obtain a list of basic components for the user to select independently; S33, supports users to set project path, project name and other information by themselves, and automatically generates APP name according to the project name set by the user; S34, automatically generating a project directory according to the project path and basic components selected by the user, and automatically importing the content related to the basic components selected by the user into the project path; S35. After the project is created, a JSON file storing the project information is automatically generated; S36. According to the basic component content selected by the user and the agreed basic component macro definition, the project_name.cmake file for CMAKE compilation is automatically generated.
6. A new type of electric power converged terminal software development and management method according to claim 1, characterized in that ,The modification project is after the project is created, it supports the user to add or delete ,components. The plug-in provides an interface for the user to operate. The plug-in reads the content in the ,basic component mapping table, and also needs to read the existing ,components in the project information file. The user can delete or add ,themselves.
7. A new type of electric power convergence terminal software development and management method according to claim 1, characterized in that ,The project compilation: CMAKE compiles according to the project_name.cmake file generated when the project is created, and the compiled executable file is automatically placed in the output directory.
8. A new type of electric power convergence terminal software development and management method according to claim 1, characterized in that ,The project packaging is divided into TTU packaging and SCU packaging according to the ,relevant requirements of the converged terminal software, specifically: S61. Support the selection of different packaging tools for packaging, including TTU and SCU; S62. During the packaging operation, the information in the project information file automatically fills in the packaging tool path parameters, and supports manual modification by users; S63. Before the packaging operation, the plug-in automatically obtains the information in the project information file and displays it in the interface, supporting the user to modify it. After the user modifies and packages according to the modified information, the plug-in automatically writes the latest information into the project information file; S64. Support automatic naming of program packages according to version numbers; S65. After packaging, the plug-in needs to copy the packaged files to the debug or release folder; The paths to the S66, TTU, and SCU packaging tools are obtained from the plugin map file.
9. A new type of electric power converged terminal software development and management method according to claim 1, characterized in that ,The version management is to record the packaged version, specifically: S71. Record the release package version in Excel storage mode; S72. Support customized version number format; S73. Support automatic version number increment management by reading version record files; S74. After packaging is completed, a pop-up window automatically pops up to ask whether the version needs to be recorded. If it is necessary to record, an interface pops up for the user to enter the version number and update the record; S75. Support users to view all current version information; S76. Version number and version information need to be recorded; S77. After the version is updated, the version number in the project information file is automatically updated.
