Application method and system of embedded Devps in intelligent Internet of Things development
By using tools such as Jive, Git and Jenkins to build an embedded DevOps environment in intelligent IoT development, the problems of rapid construction and multi-hardware feedback are solved, and efficient development and system stability are achieved.
Patent Information
- Application Number
- CN202411451256.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-02-07
AI Technical Summary
In the development of smart IoT, it is difficult for existing technologies to quickly build an embedded DevOps environment, ensuring smooth feedback and secure data processing from multiple hardware configurations.
By using source code management tools such as Jive and Git, Jenkins CI/CD pipeline tools, it realizes rapid deployment and function updates of embedded systems, builds a loosely coupled DevOps environment, and supports flexible configuration of code management, inspection, testing, and building modules and integrated.
It realizes the rapid construction of an embedded DevOps environment in intelligent Internet of Things development, improves development efficiency, and ensures code quality and system security and stability.
Smart Images

Figure CN119396373A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to the Internet of Things, and specifically to an application method and system of embedded DevOps in the development of intelligent Internet of Things. Background Art
[0002] With the development of the Internet of Things and smart cars, embedded DevOps workflows have become an important part of development and testing. The main focus of DevOps workflows is to improve the efficiency of cloud infrastructure operations. A decent infrastructure support team can use the same tools as web-based applications to build IoT CI / CD pipelines. The main challenge is to write tests for as many hardware configurations as possible and ensure smooth feedback from the target devices. Data enters the cloud from IoT nodes and can be processed securely according to DevOps practices. Therefore, quickly building an embedded DevOps environment has become a challenge for embedded development such as the Internet of Things. Summary of the invention
[0003] The purpose of the present invention is to provide an application method and system of embedded DevOps in the development of intelligent Internet of Things to solve the problems raised in the above background technology.
[0004] To achieve the above object, the present invention provides the following technical solution: an application method of embedded DevOps in the development of intelligent Internet of Things, the method comprising the following steps:
[0005] Use Jive and Git source code management tools for source code creation, version control, and repository management;
[0006] Use Jenkins CI / CD pipeline tools to support code analysis, building, and unit testing to ensure code quality and stability;
[0007] Enable rapid deployment and functional updates of embedded systems, and ensure safe replacement of system components in real-time vehicle driving environments by atomically upgrading the file system tree;
[0008] Build a loosely coupled DevOps environment to quickly combine code management, inspection, testing, and construction modules to improve development efficiency.
[0009] Preferably, the method further comprises the following steps:
[0010] Choose different deployment methods based on the hardware type. For fixed hardware, use physical hardware for testing, and for non-fixed hardware, use simulated mode for testing.
[0011] Flexibly select the compilation environment, publish the software to the cloud hardware or create a virtual machine or simulate environment for testing through YAML file delivery.
[0012] Preferably, the method further comprises the following testing steps:
[0013] Conduct certification, security, and scanning tests to ensure the security and stability of software in embedded systems;
[0014] Collect test results, integrate test results through clusters or hypervisor hosts, and report to the DevOps management center;
[0015] Generate different reports based on the test results and distribute them to people in different roles for subsequent development and optimization.
[0016] Preferably, the method also includes using containers, kubernetes clusters, and cloud service technologies to develop and deploy rapid applications and microservices, abstracting application code through the underlying operating system and hardware stack, and supporting the normal operation of DevopsCI / CD.
[0017] Preferably, the method also supports the following embedded operating system DevOps environments:
[0018] Robot Operating System ROS2, a software library and tools for creating robots;
[0019] AUTOSAR, the Adaptive Automotive Open System Architecture, is a standardized software architecture for automotive electronic control units (ECUs);
[0020] An embedded operating system environment that complies with strictly controlled industry standards to ensure that DevOps implementations in embedded systems meet industry standards and security requirements.
[0021] An application system of embedded Devops in the development of intelligent Internet of Things, and an application method of embedded Devops in the development of intelligent Internet of Things, the system comprising:
[0022] Source code management module, used to create, store and manage source code, supporting version control tools such as Git;
[0023] Code Analysis and Construction module, which is used to perform static and dynamic analysis of source code, build executable files, and support Jenkins CI / CD pipeline tools;
[0024] Unit testing module, used to perform unit testing on source code to ensure code quality;
[0025] Repository management module, used to manage code bases, supporting code version control, branch management, and merge operations;
[0026] And the CI / CD integration module is used to achieve continuous integration and continuous deployment, supporting automated building, testing and deployment processes.
[0027] Preferably, the system further comprises:
[0028] Embedded system upgrade module, used to implement atomic upgrade of the file system tree, supporting the safe deployment of functional updates in the real-time environment of vehicle driving;
[0029] Loosely coupled Devops environment building module, used to quickly combine and build Devops environment, supporting flexible configuration and integration of code management, inspection, testing, and building modules;
[0030] The multi-environment deployment module is used to support the deployment of fixed hardware and non-fixed hardware, including physical hardware testing and simulated testing. It supports publishing to cloud hardware or creating virtual machines for testing through delivery methods such as yaml files.
[0031] Preferably, the system further comprises:
[0032] Test management module, used to perform authentication, security, scanning and other tests, collect test results, and integrate and report test results;
[0033] The test result publishing module is used to publish the test results to people in different roles, including developers, testers, and managers, for subsequent development and optimization;
[0034] And the Devops Management Center module is used to centrally manage the Devops process, including code management, building, testing, deployment and monitoring.
[0035] Preferably, the system further comprises:
[0036] Container and Kubernetes cluster support modules are used to support the development and deployment of rapid applications and microservices, and to achieve dynamic allocation and scheduling of resources through containerization and Kubernetes cluster management;
[0037] Cloud service support module, used to support the deployment of applications to cloud environments to achieve elastic scaling and high availability;
[0038] The underlying operating system and hardware stack abstraction module is used to abstract the interaction between application code and the underlying operating system and hardware, support industry standard abstraction frameworks, and ensure the normal operation of DevOps CI / CD.
[0039] Preferably, the system also supports the following embedded operating system environments:
[0040] Robot Operating System ROS2, a software library and tools for creating robots;
[0041] AUTOSAR, the Adaptive Automotive Open System Architecture, is a standardized software architecture for automotive electronic control units (ECUs);
[0042] An embedded operating system environment that complies with strictly controlled industry standards to ensure that DevOps implementations in embedded systems meet industry standards and security requirements.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] The application method and system of embedded DevOps in the development of intelligent Internet of Things proposed by the present invention can update an application on a hardware without reinstalling the operating system. The production environment completes DevOps through the cloud platform Kubernetes. Its purpose is to solve the problems related to large-scale deployment and management of distributed edge networks. CI / CD on a single container. The cloud platform also supports virtualization; improving the efficiency of cloud infrastructure operations. Embedded system developers using DevOps CI / CD workflows can deploy their code to local platforms or cloud platforms. Allowing a single computing system on an edge device to run multiple operating systems and mixed criticality applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose and technical solution of the present invention clearly and completely described, and the advantages more clearly understood, the embodiments of the present invention are further described in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are part of the embodiments of the present invention, rather than all of the embodiments, and are only used to explain the embodiments of the present invention, and are not used to limit the embodiments of the present invention. All other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] For example, see Figure 1 The present invention provides a technical solution: an application method of embedded DevOps in the development of intelligent Internet of Things, the method comprising the following steps:
[0048] Development and testing tool sets are quickly embedded, from prototype to production development. Standard functional workflows in the DevOps development phase. Including source code creation, code analysis, building and unit testing, repository management; supported tools such as Jive, Git, and Jenkins, and support for CI / CD pipeline tools.
[0049] Based on the upgrade of embedded systems, CI / CD is required to perform atomic upgrades of the file system tree, that is, changing tires while the vehicle is driving - an ideal choice for DevOps and CI / CD in the system. Each module is loosely coupled, and the DevOps environment is quickly combined to manage, check, and test the code, including source code construction, analysis, and unit testing. The basic test environment includes publishing to the cloud environment installation, cloud deployment, and cloudless environment (hypervisor installation and deployment). DevOps includes two types of deployment: 1. Fixed hardware (hardware replacement is not frequent) uses physical hardware for testing; 2. Non-fixed hardware (there are many hardware models, and development and testing need to be performed on a variety of hardware), using simulated mode for testing; the compilation environment can be flexibly selected, and the process of publishing to hardware is divided into two types: 1. Delivering hardware published to the cloud through yaml files and testing; 2. Booting or loading and testing by creating a virtual machine and creating a simulated mode.
[0050] The testing process includes authentication, security, scanning and other tests. After the test is completed, the test results are collected through the cluster or hypervisor host, and the test results are integrated and reported to the DevOps management center, and different test results are generated and released to people in different roles.
[0051] Embedded System DevOp Implementation uses containers, kubernetes clusters, cloud services, and technologies that support rapid applications and microservices for development and deployment through embedded system DevOps; abstracting application code from the underlying operating system and hardware stack is an important factor in making DevOps CI / CD work properly; changes to application code include frequent use of DevOps CI / CD. If there is a problem with the new build, it can be quickly rotated out of production and fixed. The operating system layer is not so forgiving, especially when changes occur in a live production environment. Therefore, industry standard abstract frameworks are supported. This is especially important in embedded systems, which must comply with strictly controlled industry standards. Without this support, it is almost impossible to do DevOps for real-time embedded systems. Support for embedded operating systems DevOps supported environments include:
[0052] Robot Operating System (ROS2), a software library and tools for creating robots;
[0053] Adaptive Automotive Open System Architecture (AUTOSAR);
[0054] Development partnerships with automotive entities have created an open;
[0055] Standardized software architecture for automotive electronic control units (ECUs);
[0056] Open Group’s future airborne capability environment;
[0057] An open real-time standard for avionics that makes safety-critical computing operations more robust, interoperable, portable and secure.
[0058] Embodiment 2, based on Embodiment 1, proposes an application system of embedded Devops in the development of intelligent Internet of Things, which is applied to the application method of embedded Devops in the development of intelligent Internet of Things, and is characterized in that: the system includes:
[0059] Source code management module, used to create, store and manage source code, supporting version control tools such as Git;
[0060] Code Analysis and Construction module, which is used to perform static and dynamic analysis of source code, build executable files, and support Jenkins CI / CD pipeline tools;
[0061] Unit testing module, used to perform unit testing on source code to ensure code quality;
[0062] Repository management module, used to manage code bases, supporting code version control, branch management, and merge operations;
[0063] And the CI / CD integration module is used to achieve continuous integration and continuous deployment, supporting automated building, testing and deployment processes.
[0064] The system also includes: an embedded system upgrade module, which is used to implement atomic upgrades of the file system tree and supports the safe deployment of functional updates in the real-time driving environment of the vehicle; a loosely coupled Devops environment construction module, which is used to quickly combine and build a Devops environment and supports flexible configuration and integration of code management, inspection, testing, and construction modules; a multi-environment deployment module, which is used to support the deployment of fixed hardware and non-fixed hardware, including physical hardware testing and simulate testing, and supports publishing to cloud hardware or creating virtual machines for testing through distribution methods such as yaml files.
[0065] The system also includes: a test management module for performing authentication, security, scanning and other tests, collecting test results, and integrating and reporting test results; a test result publishing module for publishing test results to people in different roles, including developers, testers and managers, for subsequent development and optimization; and a Devops management center module for centrally managing the Devops process, including code management, building, testing, deployment and monitoring.
[0066] The system also includes: a container and Kubernetes cluster support module to support the development and deployment of rapid applications and microservices, and to achieve dynamic allocation and scheduling of resources through containerization and Kubernetes cluster management; a cloud service support module to support the deployment of applications to cloud environments to achieve elastic scaling and high availability; an underlying operating system and hardware stack abstraction module to abstract the interaction between application code and the underlying operating system and hardware, support industry standard abstraction frameworks, and ensure the normal operation of DevOps CI / CD.
[0067] The system also supports the following embedded operating system environments: Robot Operating System ROS2, software libraries and tools for creating robots; Adaptive Automotive Open System Architecture AUTOSAR, a standardized software architecture for automotive electronic control units ECU; embedded operating system environments that comply with strictly controlled industry standards to ensure that DevOps implementation in embedded systems meets industry standards and security requirements.
[0068] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An application method of embedded DevOps in the development of intelligent Internet of Things, characterized by: The method comprises the following steps: Use Jive and Git source code management tools for source code creation, version control, and repository management; Use Jenkins CI / CD pipeline tools to support code analysis, building, and unit testing to ensure code quality and stability; Enable rapid deployment and functional updates of embedded systems, and ensure safe replacement of system components in real-time vehicle driving environments by atomically upgrading the file system tree; Build a loosely coupled DevOps environment to quickly combine code management, inspection, testing, and construction modules to improve development efficiency.
2. According to claim 1, the application method of embedded DevOps in the development of intelligent Internet of Things is characterized by: The method further comprises the following steps: Choose different deployment methods based on the hardware type. For fixed hardware, use physical hardware for testing, and for non-fixed hardware, use simulated mode for testing. Flexibly select the compilation environment, publish the software to the cloud hardware or create a virtual machine or simulate environment for testing through YAML file delivery.
3. The method for applying embedded DevOps in the development of intelligent Internet of Things according to claim 2 is characterized in that: The method also includes the following testing steps: Conduct certification, security, and scanning tests to ensure the security and stability of software in embedded systems; Collect test results, integrate test results through clusters or hypervisor hosts, and report to the DevOps management center; Generate different reports based on the test results and distribute them to people in different roles for subsequent development and optimization.
4. The method for applying embedded DevOps in the development of intelligent Internet of Things according to claim 1 is characterized in that: The approach also includes the use of containers, kubernetes clusters, and cloud service technologies for rapid application and microservice development and deployment, abstracting application code through the underlying operating system and hardware stack, and supporting the normal operation of Devops CI / CD.
5. The method for applying embedded DevOps in the development of intelligent Internet of Things according to claim 1 is characterized in that: This method also supports the following embedded operating system DevOps environments: Robot Operating System ROS2, a software library and tools for creating robots; AUTOSAR, the Adaptive Automotive Open System Architecture, is a standardized software architecture for automotive electronic control units (ECUs); An embedded operating system environment that complies with strictly controlled industry standards to ensure that DevOps implementations in embedded systems meet industry standards and security requirements.
6. An application system of embedded Devops in the development of intelligent Internet of Things, applied to the application method of embedded Devops in the development of intelligent Internet of Things as described in any one of claims 1-5, characterized in that: The system comprises: Source code management module, used to create, store and manage source code, supporting version control tools such as Git; Code analysis and construction modules for static and dynamic analysis of source code, building executable files, and supporting Jenkins CI / CD pipeline tools; Unit testing module, used to perform unit testing on source code to ensure code quality; Repository management module, used to manage code bases, supporting code version control, branch management, and merge operations; And the CI / CD integration module is used to achieve continuous integration and continuous deployment, supporting automated building, testing and deployment processes.
7. The application system of embedded DevOps in the development of intelligent Internet of Things according to claim 6 is characterized by: The system also includes: Embedded system upgrade module, used to implement atomic upgrade of the file system tree, supporting the safe deployment of functional updates in the real-time environment of vehicle driving; Loosely coupled Devops environment building module, used to quickly combine and build Devops environment, supporting flexible configuration and integration of code management, inspection, testing, and building modules; The multi-environment deployment module is used to support the deployment of fixed hardware and non-fixed hardware, including physical hardware testing and simulated testing. It supports publishing to cloud hardware or creating virtual machines for testing through delivery methods such as yaml files.
8. The application system of embedded DevOps in the development of intelligent Internet of Things according to claim 6 is characterized by: The system also includes: Test management module, used to perform authentication, security, scanning and other tests, collect test results, and integrate and report test results; The test result publishing module is used to publish the test results to people in different roles, including developers, testers, and managers, for subsequent development and optimization; And the Devops Management Center module is used to centrally manage the Devops process, including code management, building, testing, deployment and monitoring.
9. The application system of embedded DevOps in the development of intelligent Internet of Things according to claim 6 is characterized by: The system also includes: Container and Kubernetes cluster support modules are used to support the development and deployment of rapid applications and microservices, and to achieve dynamic allocation and scheduling of resources through containerization and Kubernetes cluster management; Cloud service support module, used to support the deployment of applications to cloud environments to achieve elastic scaling and high availability; The underlying operating system and hardware stack abstraction module is used to abstract the interaction between application code and the underlying operating system and hardware, support industry standard abstraction frameworks, and ensure the normal operation of DevOps CI / CD.
10. The application system of embedded DevOps in the development of intelligent Internet of Things according to claim 6 is characterized by: The system also supports the following embedded operating system environments: Robot Operating System ROS2, a software library and tools for creating robots; AUTOSAR, the Adaptive Automotive Open System Architecture, is a standardized software architecture for automotive electronic control units (ECUs); An embedded operating system environment that complies with strictly controlled industry standards to ensure that DevOps implementations in embedded systems meet industry standards and security requirements.